|
1 | | -/* |
2 | | - * Additional customizations for the Project OASIS documentation site. |
3 | | - * |
4 | | - * This file replaces the stylesheet that used to be generated by the |
5 | | - * bootstrap automation workflow. It intentionally keeps the overrides |
6 | | - * lightweight so that future teams can extend them as needed while |
7 | | - * ensuring MkDocs always has a valid asset to load during builds. |
8 | | - */ |
| 1 | +/* Central extension point for lightweight, reusable visual tweaks. */ |
9 | 2 |
|
10 | 3 | :root { |
11 | | - /* Provide a subtle brand accent that matches the ESIIL palette. */ |
12 | 4 | --oasis-accent: #135d7f; |
13 | 5 | } |
14 | 6 |
|
15 | | -/* Make hero images and other wide media scale gracefully. */ |
16 | | -.md-content img { |
17 | | - border-radius: 6px; |
18 | | - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); |
| 7 | +/* Keep homepage hero content a bit more breathable. */ |
| 8 | +.md-content h1 { |
| 9 | + margin-bottom: 0.5rem; |
19 | 10 | } |
20 | 11 |
|
21 | | -/* Improve the spacing for long bullet lists used in the templates. */ |
22 | | -.md-typeset ul { |
23 | | - margin-bottom: 0.8em; |
| 12 | +.md-content > p:first-of-type { |
| 13 | + font-size: 1.05rem; |
| 14 | + max-width: 68ch; |
24 | 15 | } |
25 | 16 |
|
26 | | -/* Highlight inline code a little more to help with command visibility. */ |
27 | | -.md-typeset code { |
28 | | - background-color: rgba(19, 93, 127, 0.08); |
29 | | - border-radius: 4px; |
30 | | - padding: 0.1rem 0.25rem; |
| 17 | +/* Subtle polish for Material buttons used across docs. */ |
| 18 | +.md-button { |
| 19 | + border-radius: 999px; |
| 20 | +} |
| 21 | + |
| 22 | +.oasis-hover-button { |
| 23 | + transition: transform 0.15s ease, box-shadow 0.15s ease; |
| 24 | +} |
| 25 | + |
| 26 | +.oasis-hover-button:hover { |
| 27 | + transform: translateY(-1px); |
| 28 | + box-shadow: 0 0.3rem 0.9rem rgba(19, 93, 127, 0.22); |
| 29 | +} |
| 30 | + |
| 31 | +/* Reusable responsive embed wrapper for iframes and maps. */ |
| 32 | +.oasis-embed { |
| 33 | + position: relative; |
| 34 | + width: 100%; |
| 35 | + padding-top: 56.25%; |
| 36 | + border-radius: 0.5rem; |
| 37 | + overflow: hidden; |
| 38 | + box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.12); |
| 39 | +} |
| 40 | + |
| 41 | +.oasis-embed iframe { |
| 42 | + position: absolute; |
| 43 | + inset: 0; |
| 44 | + width: 100%; |
| 45 | + height: 100%; |
| 46 | + border: 0; |
31 | 47 | } |
0 commit comments