|
7 | 7 |
|
8 | 8 | .quarto-listing .quarto-post:has(> .session-cycle-heading) { |
9 | 9 | flex-wrap: wrap; |
| 10 | + column-gap: 2em; |
| 11 | + row-gap: 0; |
10 | 12 | } |
11 | 13 |
|
12 | 14 | .quarto-listing .session-cycle-heading { |
13 | | - order: -1; |
| 15 | + order: -2; |
14 | 16 | flex: 0 0 100%; |
15 | | - margin: 0.75rem 0 1.25rem; |
| 17 | + margin: 0.75rem 0 0; |
16 | 18 | padding: 0.6rem 0.85rem; |
17 | 19 | border-left: 0.4rem solid var(--color-primary); |
18 | 20 | border-bottom: 1px solid var(--color-secondary); |
|
21 | 23 | font-size: clamp(1.25rem, 1.8vw, 1.55rem); |
22 | 24 | } |
23 | 25 |
|
| 26 | +.quarto-listing .session-cycle-description { |
| 27 | + order: -1; |
| 28 | + flex: 0 0 100%; |
| 29 | + margin: 0.5rem 0 0.75rem; |
| 30 | + padding: 0; |
| 31 | +} |
| 32 | + |
| 33 | +.quarto-listing .session-cycle-description p { |
| 34 | + margin: 0; |
| 35 | +} |
| 36 | + |
24 | 37 | @media (min-width: 768px) { |
25 | 38 | .quarto-listing .quarto-listing-default .quarto-post > .metadata { |
26 | 39 | flex: 0 1 15%; |
|
42 | 55 | width: 5.75rem; |
43 | 56 | } |
44 | 57 | } |
| 58 | + |
| 59 | +/* Place the session registration action beside the title metadata. */ |
| 60 | +main.content:has(.session-join-action) { |
| 61 | + position: relative; |
| 62 | +} |
| 63 | + |
| 64 | +.session-join-action { |
| 65 | + position: absolute; |
| 66 | + top: 4.875rem; |
| 67 | + right: 1.5rem; |
| 68 | + min-width: 9rem; |
| 69 | + font-weight: 700; |
| 70 | + text-align: center; |
| 71 | +} |
| 72 | + |
| 73 | +@media (max-width: 767.98px) { |
| 74 | + .session-join-action { |
| 75 | + position: static; |
| 76 | + margin: 0 0 1.5rem; |
| 77 | + } |
| 78 | +} |
| 79 | + |
| 80 | +.all-sessions-menu { |
| 81 | + display: none; |
| 82 | +} |
| 83 | + |
| 84 | +.all-sessions-menu.all-sessions-menu-ready { |
| 85 | + display: block; |
| 86 | + position: static; |
| 87 | + width: auto; |
| 88 | + margin-top: 1rem; |
| 89 | + padding-top: 0.75rem; |
| 90 | + border-top: 1px solid var(--bs-border-color); |
| 91 | + font-size: 0.9rem; |
| 92 | +} |
| 93 | + |
| 94 | +#TOC:has(> .all-sessions-menu) { |
| 95 | + max-height: calc(100vh - 5rem); |
| 96 | + overflow-y: auto; |
| 97 | + padding-right: 0.35rem; |
| 98 | + scrollbar-width: thin; |
| 99 | +} |
| 100 | + |
| 101 | +.all-sessions-title { |
| 102 | + margin: 0 0 0.5rem; |
| 103 | + color: var(--bs-body-color); |
| 104 | + font-size: 1rem; |
| 105 | + font-weight: 700; |
| 106 | +} |
| 107 | + |
| 108 | +.all-sessions-menu ul { |
| 109 | + margin: 0; |
| 110 | + padding-left: 0; |
| 111 | + list-style: none; |
| 112 | +} |
| 113 | + |
| 114 | +.all-sessions-menu li { |
| 115 | + margin-bottom: 0.55rem; |
| 116 | + line-height: 1.3; |
| 117 | +} |
| 118 | + |
| 119 | +.all-sessions-menu a, |
| 120 | +.all-sessions-menu a:hover, |
| 121 | +.all-sessions-menu a:focus { |
| 122 | + color: var(--bs-link-color); |
| 123 | + text-decoration: none; |
| 124 | +} |
0 commit comments