|
16 | 16 | text-align: center; |
17 | 17 | } |
18 | 18 |
|
19 | | -.docs-container-page h2 { |
20 | | - margin-top: 3rem; |
21 | | - margin-bottom: 1.5rem; |
| 19 | +/* Special styling for root page subtitle */ |
| 20 | +.docs-container-page h1 + p strong { |
| 21 | + font-size: 1.2rem; |
| 22 | + color: #4a5568; |
| 23 | + font-weight: 500; |
| 24 | +} |
| 25 | + |
| 26 | +/* Action buttons styling for root page */ |
| 27 | +.action-buttons { |
| 28 | + display: flex; |
| 29 | + gap: 1rem; |
| 30 | + justify-content: center; |
| 31 | + margin: 2rem 0; |
| 32 | + flex-wrap: wrap; |
| 33 | +} |
| 34 | + |
| 35 | +.btn { |
| 36 | + display: inline-block; |
| 37 | + padding: 0.75rem 1.5rem; |
| 38 | + border-radius: 8px; |
| 39 | + text-decoration: none; |
| 40 | + font-weight: 500; |
| 41 | + font-size: 1rem; |
| 42 | + transition: all 0.2s ease; |
| 43 | + border: 2px solid transparent; |
| 44 | +} |
| 45 | + |
| 46 | +.btn-primary { |
| 47 | + background: linear-gradient(135deg, #4169E1, #1E3A8A); |
| 48 | + color: white; |
| 49 | + box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); |
| 50 | +} |
| 51 | + |
| 52 | +.btn-primary:hover { |
| 53 | + transform: translateY(-2px); |
| 54 | + box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2); |
| 55 | + color: white; |
| 56 | + text-decoration: none; |
| 57 | +} |
| 58 | + |
| 59 | +.btn-secondary { |
| 60 | + background: white; |
| 61 | + color: #4a5568; |
| 62 | + border: 2px solid #e2e8f0; |
| 63 | + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05); |
| 64 | +} |
| 65 | + |
| 66 | +.btn-secondary:hover { |
| 67 | + background: #f8fafc; |
| 68 | + border-color: #cbd5e0; |
| 69 | + transform: translateY(-1px); |
| 70 | + box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.1); |
22 | 71 | color: #2d3748; |
23 | | - font-size: 1.8rem; |
24 | | - font-weight: 600; |
| 72 | + text-decoration: none; |
25 | 73 | } |
26 | 74 |
|
| 75 | +/* Feature sections styling */ |
27 | 76 | .docs-container-page h3 { |
28 | 77 | margin-top: 2.5rem; |
29 | 78 | margin-bottom: 1.25rem; |
|
32 | 81 | font-weight: 600; |
33 | 82 | } |
34 | 83 |
|
| 84 | +/* Emoji in headings */ |
| 85 | +.docs-container-page h3:has-text("🔧"), |
| 86 | +.docs-container-page h3:has-text("⚡"), |
| 87 | +.docs-container-page h3:has-text("🚀"), |
| 88 | +.docs-container-page h3:has-text("🔒") { |
| 89 | + display: flex; |
| 90 | + align-items: center; |
| 91 | + gap: 0.5rem; |
| 92 | +} |
| 93 | + |
| 94 | +.docs-container-page h2 { |
| 95 | + margin-top: 3rem; |
| 96 | + margin-bottom: 1.5rem; |
| 97 | + color: #2d3748; |
| 98 | + font-size: 1.8rem; |
| 99 | + font-weight: 600; |
| 100 | +} |
| 101 | + |
35 | 102 | /* Fix code blocks in documentation pages */ |
36 | 103 | .docs-container-page pre { |
37 | 104 | margin: 2rem 0; |
|
150 | 217 | text-decoration: none; |
151 | 218 | } |
152 | 219 |
|
| 220 | +/* Don't apply link styling to buttons */ |
| 221 | +.docs-container-page .btn { |
| 222 | + border-bottom: none !important; |
| 223 | +} |
| 224 | + |
| 225 | +.docs-container-page .btn:hover { |
| 226 | + border-bottom: none !important; |
| 227 | +} |
| 228 | + |
153 | 229 | /* Paragraph spacing */ |
154 | 230 | .docs-container-page p { |
155 | 231 | margin-bottom: 1.75rem; |
|
319 | 395 | padding-right: 3rem; |
320 | 396 | font-size: 13px; |
321 | 397 | } |
| 398 | + |
| 399 | + .action-buttons { |
| 400 | + flex-direction: column; |
| 401 | + align-items: center; |
| 402 | + } |
| 403 | + |
| 404 | + .btn { |
| 405 | + width: 100%; |
| 406 | + max-width: 200px; |
| 407 | + text-align: center; |
| 408 | + } |
322 | 409 | } |
0 commit comments