|
| 1 | +/* assets/css/custom.css |
| 2 | + Leadership palette + typographic scale for GitHub Pages (Jekyll) |
| 3 | + Paste this file into your repo under docs/assets/css/custom.css or assets/css/custom.css |
| 4 | +*/ |
| 5 | + |
| 6 | +:root{ |
| 7 | + --color-title: #0B2545; |
| 8 | + --color-section: #1B3A63; |
| 9 | + --color-subsection: #2B4F80; |
| 10 | + --color-body: #222222; |
| 11 | + --color-link: #0A66C2; |
| 12 | + --max-width: 980px; |
| 13 | + --content-padding: 28px; |
| 14 | + --line-height: 1.6; |
| 15 | + --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; |
| 16 | +} |
| 17 | + |
| 18 | +/* Page container */ |
| 19 | +body { |
| 20 | + font-family: var(--font-sans); |
| 21 | + color: var(--color-body); |
| 22 | + background: #ffffff; |
| 23 | + line-height: var(--line-height); |
| 24 | + margin: 0; |
| 25 | + padding: 0; |
| 26 | + -webkit-font-smoothing: antialiased; |
| 27 | + -moz-osx-font-smoothing: grayscale; |
| 28 | +} |
| 29 | + |
| 30 | +/* Constrain content for improved readability */ |
| 31 | +.container { |
| 32 | + max-width: var(--max-width); |
| 33 | + margin: 28px auto; |
| 34 | + padding: var(--content-padding); |
| 35 | + box-sizing: border-box; |
| 36 | +} |
| 37 | + |
| 38 | +/* Headings: simulate darker titles via color and weight */ |
| 39 | +h1 { |
| 40 | + color: var(--color-title); |
| 41 | + font-size: 2.0rem; /* leadership title */ |
| 42 | + line-height: 1.15; |
| 43 | + margin: 0 0 0.6rem 0; |
| 44 | + font-weight: 700; |
| 45 | + letter-spacing: -0.01em; |
| 46 | +} |
| 47 | + |
| 48 | +h2 { |
| 49 | + color: var(--color-section); |
| 50 | + font-size: 1.45rem; /* section */ |
| 51 | + margin: 1.2rem 0 0.5rem 0; |
| 52 | + font-weight: 600; |
| 53 | +} |
| 54 | + |
| 55 | +h3 { |
| 56 | + color: var(--color-subsection); |
| 57 | + font-size: 1.15rem; /* subsection */ |
| 58 | + margin: 1.0rem 0 0.4rem 0; |
| 59 | + font-weight: 600; |
| 60 | +} |
| 61 | + |
| 62 | +h4 { |
| 63 | + color: var(--color-subsection); |
| 64 | + font-size: 1.0rem; |
| 65 | + margin: 0.8rem 0 0.3rem 0; |
| 66 | + font-weight: 600; |
| 67 | +} |
| 68 | + |
| 69 | +/* Paragraphs and lists */ |
| 70 | +p, li { |
| 71 | + color: var(--color-body); |
| 72 | + font-size: 0.98rem; |
| 73 | + margin: 0 0 0.9rem 0; |
| 74 | +} |
| 75 | + |
| 76 | +/* Code blocks and inline code */ |
| 77 | +pre, code { |
| 78 | + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace; |
| 79 | + background: #f6f8fa; |
| 80 | + border-radius: 6px; |
| 81 | + padding: 0.35rem 0.5rem; |
| 82 | + font-size: 0.92rem; |
| 83 | + color: #111827; |
| 84 | +} |
| 85 | + |
| 86 | +pre { |
| 87 | + padding: 1rem; |
| 88 | + overflow: auto; |
| 89 | +} |
| 90 | + |
| 91 | +/* Links and accents */ |
| 92 | +a { |
| 93 | + color: var(--color-link); |
| 94 | + text-decoration: none; |
| 95 | + font-weight: 600; |
| 96 | +} |
| 97 | +a:hover { |
| 98 | + text-decoration: underline; |
| 99 | +} |
| 100 | + |
| 101 | +/* Blockquote for emphasis */ |
| 102 | +blockquote { |
| 103 | + border-left: 4px solid #e6eef9; |
| 104 | + background: #fbfdff; |
| 105 | + padding: 0.6rem 1rem; |
| 106 | + margin: 0 0 1rem 0; |
| 107 | + color: #333; |
| 108 | + border-radius: 4px; |
| 109 | +} |
| 110 | + |
| 111 | +/* Tables */ |
| 112 | +table { |
| 113 | + border-collapse: collapse; |
| 114 | + width: 100%; |
| 115 | + margin: 0.6rem 0 1rem 0; |
| 116 | +} |
| 117 | +th, td { |
| 118 | + border: 1px solid #e6e9ee; |
| 119 | + padding: 0.5rem 0.75rem; |
| 120 | + text-align: left; |
| 121 | + font-size: 0.95rem; |
| 122 | +} |
| 123 | +th { |
| 124 | + background: #f7fbff; |
| 125 | + color: var(--color-section); |
| 126 | + font-weight: 600; |
| 127 | +} |
| 128 | + |
| 129 | +/* Small screens */ |
| 130 | +@media (max-width: 720px) { |
| 131 | + :root { --max-width: 92%; --content-padding: 18px; } |
| 132 | + h1 { font-size: 1.6rem; } |
| 133 | + h2 { font-size: 1.2rem; } |
| 134 | + h3 { font-size: 1.05rem; } |
| 135 | +} |
0 commit comments