|
43 | 43 | } |
44 | 44 |
|
45 | 45 | .objectives { |
46 | | - margin-top: 2em; |
| 46 | + margin-top: 0; |
47 | 47 | text-align: left; |
48 | 48 | max-width: 90%; |
49 | 49 | margin-left: auto; |
50 | 50 | margin-right: auto; |
| 51 | + display: flex; |
| 52 | + flex-direction: column; |
| 53 | + justify-content: center; |
51 | 54 | } |
52 | 55 |
|
53 | 56 | .objectives h3 { |
|
79 | 82 | text-align: left; |
80 | 83 | font-size: clamp(1rem, 2vw, 1.2em); |
81 | 84 | line-height: 1.6; |
82 | | - margin: 1em 0; |
| 85 | + margin: 0; |
83 | 86 | max-width: 90%; |
84 | 87 | margin-left: auto; |
85 | 88 | margin-right: auto; |
| 89 | + display: flex; |
| 90 | + flex-direction: column; |
| 91 | + justify-content: center; |
86 | 92 | } |
87 | 93 |
|
88 | 94 | .bulletList li { |
|
92 | 98 | .codeBlock { |
93 | 99 | font-size: 0.8em; |
94 | 100 | line-height: 1.4; |
95 | | - margin: 1em 0; |
| 101 | + margin: 0; |
96 | 102 | border-radius: 8px; |
97 | 103 | background: #1e1e1e; |
98 | 104 | padding: 1em; |
99 | 105 | text-align: left; |
| 106 | + overflow: auto; |
| 107 | + height: 100%; |
| 108 | + display: flex; |
| 109 | + align-items: center; |
100 | 110 | } |
101 | 111 |
|
102 | 112 | .codeBlock code { |
103 | 113 | font-family: 'Consolas', 'Monaco', 'Courier New', monospace; |
104 | 114 | } |
105 | 115 |
|
106 | 116 | .caption { |
107 | | - font-size: 0.9em; |
108 | | - color: #999; |
109 | | - margin-top: 1em; |
| 117 | + font-size: clamp(0.8rem, 1.5vw, 0.95em); |
| 118 | + line-height: 1.4; |
| 119 | + color: #e0e0e0; |
| 120 | + margin-top: 0.5em; |
110 | 121 | font-style: italic; |
| 122 | + font-weight: 500; |
111 | 123 | } |
112 | 124 |
|
113 | 125 | .comparison { |
114 | 126 | display: grid; |
115 | 127 | grid-template-columns: 1fr 1fr; |
116 | 128 | gap: clamp(1em, 2vw, 1.5em); |
117 | | - margin: 1em 0; |
118 | | - max-height: 400px; |
| 129 | + margin: 1.5em 0 0.5em 0; |
| 130 | + flex: 1; |
| 131 | + min-height: 0; |
| 132 | + max-height: none; |
119 | 133 | } |
120 | 134 |
|
121 | 135 | .comparisonLeft, |
|
151 | 165 |
|
152 | 166 | .comparison ul { |
153 | 167 | text-align: left; |
154 | | - font-size: clamp(0.65rem, 1.3vw, 0.75em); |
| 168 | + font-size: clamp(0.85rem, 1.6vw, 0.95em); |
155 | 169 | list-style: none; |
156 | 170 | padding: 0; |
157 | 171 | } |
158 | 172 |
|
159 | 173 | .comparison li { |
160 | | - margin: 0.35em 0; |
| 174 | + margin: 0.45em 0; |
161 | 175 | padding-left: 1.2em; |
162 | 176 | position: relative; |
163 | 177 | line-height: 1.4; |
|
182 | 196 | display: grid; |
183 | 197 | grid-template-columns: 1fr 1fr; |
184 | 198 | gap: clamp(1em, 2vw, 1.5em); |
185 | | - margin: 1em 0; |
186 | | - max-height: 400px; |
| 199 | + margin: 0; |
| 200 | + height: 100%; |
| 201 | + max-height: none; |
187 | 202 | } |
188 | 203 |
|
189 | 204 | .metaphorColumn, |
|
241 | 256 | } |
242 | 257 |
|
243 | 258 | .visualContainer { |
244 | | - margin: 2em 0; |
245 | 259 | display: flex; |
246 | 260 | justify-content: center; |
247 | 261 | align-items: center; |
| 262 | + overflow: visible; |
| 263 | + width: 100%; |
| 264 | + height: 85%; |
| 265 | + transform: scale(1.5); |
| 266 | + transform-origin: center center; |
| 267 | +} |
| 268 | + |
| 269 | +.visualContainer > * { |
| 270 | + object-fit: contain; |
248 | 271 | } |
249 | 272 |
|
250 | 273 | .takeawayList { |
251 | 274 | text-align: left; |
252 | 275 | font-size: clamp(0.9rem, 1.8vw, 1.1em); |
253 | 276 | line-height: 1.6; |
254 | | - margin: 1em 0; |
| 277 | + margin: 0; |
255 | 278 | list-style: none; |
256 | 279 | padding: 0; |
257 | 280 | max-width: 90%; |
258 | 281 | margin-left: auto; |
259 | 282 | margin-right: auto; |
| 283 | + display: flex; |
| 284 | + flex-direction: column; |
| 285 | + justify-content: center; |
260 | 286 | } |
261 | 287 |
|
262 | 288 | .takeawayList li { |
|
277 | 303 | .executionFlow { |
278 | 304 | text-align: left; |
279 | 305 | max-width: 90%; |
280 | | - margin: 1em auto; |
| 306 | + margin: 0 auto; |
281 | 307 | padding: 0.5em; |
282 | | - max-height: 450px; |
| 308 | + height: 100%; |
283 | 309 | overflow-y: auto; |
284 | 310 | } |
285 | 311 |
|
|
427 | 453 | } |
428 | 454 |
|
429 | 455 | :global(.reveal h1) { |
430 | | - font-size: clamp(1.8rem, 3.5vw, 2.2em); |
| 456 | + font-size: clamp(2.5rem, 4.5vw, 3.0em); |
431 | 457 | color: var(--ifm-color-primary); |
432 | 458 | max-width: 90%; |
433 | 459 | margin-left: auto; |
|
464 | 490 | background: var(--ifm-color-primary); |
465 | 491 | } |
466 | 492 |
|
467 | | -/* Ensure slide content fits within viewport */ |
| 493 | +/* Fixed layout structure for consistent positioning across slides */ |
468 | 494 | :global(.reveal .slides section) { |
469 | 495 | max-width: 95%; |
470 | 496 | margin-left: auto; |
471 | 497 | margin-right: auto; |
| 498 | + height: 100%; |
| 499 | + display: flex; |
| 500 | + flex-direction: column; |
| 501 | + justify-content: flex-start; |
| 502 | + padding: 1em 0 2.5em 0; |
| 503 | + box-sizing: border-box; |
| 504 | +} |
| 505 | + |
| 506 | +/* Title area - fixed height and position */ |
| 507 | +:global(.reveal .slides section > h2) { |
| 508 | + margin-top: 0; |
| 509 | + margin-bottom: 0.5em; |
| 510 | + flex-shrink: 0; |
| 511 | +} |
| 512 | + |
| 513 | +/* Title slides have h1 instead */ |
| 514 | +:global(.reveal .slides section > h1) { |
| 515 | + margin-top: 2em; |
| 516 | + margin-bottom: 1em; |
| 517 | + flex-shrink: 0; |
| 518 | +} |
| 519 | + |
| 520 | +/* Content area - fills remaining space */ |
| 521 | +:global(.reveal .slides section) > *:not(h1):not(h2):not(.slideCaption):not(.comparison):not(.marketingReality) { |
| 522 | + flex-grow: 1; |
| 523 | + display: flex; |
| 524 | + flex-direction: column; |
| 525 | + justify-content: center; |
| 526 | + min-height: 0; |
| 527 | +} |
| 528 | + |
| 529 | +/* Caption area - fixed at bottom when present */ |
| 530 | +.slideCaption { |
| 531 | + margin-top: auto; |
| 532 | + margin-bottom: 0; |
| 533 | + flex-shrink: 0; |
| 534 | + padding-top: 0.5em; |
| 535 | + padding-bottom: 0; |
472 | 536 | } |
473 | 537 |
|
474 | 538 | :global(.reveal p), |
|
0 commit comments