|
| 1 | +:root { |
| 2 | + /* Your palette */ |
| 3 | + --c0: #211F1F; /* background */ |
| 4 | + --c1: #250000; /* surface */ |
| 5 | + --c2: #730000; /* accent/danger */ |
| 6 | + --c3: #c9b1b1; /* text-muted */ |
| 7 | + --c4: #a05b5b; /* secondary accent */ |
| 8 | + |
| 9 | + /* Base */ |
| 10 | + background-color: var(--c0); |
| 11 | + color: #ffffff; |
| 12 | + |
| 13 | + /* Sensible defaults used across the site */ |
| 14 | + --background: var(--c0); |
| 15 | + --card-background: var(--c1); |
| 16 | + --text: #ffffff; |
| 17 | + --text-muted: var(--c3); |
| 18 | + --border: rgba(201, 177, 177, 0.25); |
| 19 | + |
| 20 | + --primary: var(--c2); |
| 21 | + --primary-hover: var(--c4); |
| 22 | + --link: var(--c4); |
| 23 | +} |
| 24 | + |
| 25 | +/* Page background */ |
| 26 | +body { |
| 27 | + background: var(--c0) !important; |
| 28 | + color: #ffffff !important; |
| 29 | +} |
| 30 | + |
| 31 | +/* Cards / panels */ |
| 32 | +main, section, .container, .card, .box, .markdown, .shadow { |
| 33 | + background: var(--c1) !important; |
| 34 | + border-color: rgba(201, 177, 177, 0.20) !important; |
| 35 | +} |
| 36 | + |
| 37 | +/* Headings and normal text */ |
| 38 | +h1, h2, h3, h4, h5, h6, p, li, small, span, div { |
| 39 | + color: inherit; |
| 40 | +} |
| 41 | + |
| 42 | +/* Links */ |
| 43 | +a { |
| 44 | + color: var(--link) !important; |
| 45 | +} |
| 46 | +a:hover { |
| 47 | + color: var(--primary) !important; |
| 48 | +} |
| 49 | + |
| 50 | +/* Buttons */ |
| 51 | +button, .button, a.button, input[type="submit"] { |
| 52 | + background: var(--primary) !important; |
| 53 | + color: #fff !important; |
| 54 | + border: 1px solid rgba(201, 177, 177, 0.25) !important; |
| 55 | +} |
| 56 | +button:hover, .button:hover, a.button:hover { |
| 57 | + background: var(--primary-hover) !important; |
| 58 | +} |
| 59 | + |
| 60 | +/* Badges / status chips */ |
| 61 | +.badge, .tag, .pill { |
| 62 | + background: rgba(115, 0, 0, 0.25) !important; |
| 63 | + border: 1px solid rgba(201, 177, 177, 0.25) !important; |
| 64 | + color: #fff !important; |
| 65 | +} |
| 66 | + |
| 67 | +/* Graph/legend text if present */ |
| 68 | +svg text { |
| 69 | + fill: #ffffff !important; |
| 70 | +} |
0 commit comments