|
| 1 | +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap'); |
| 2 | + |
| 3 | +:root { |
| 4 | + --bg: #fbfaf8; |
| 5 | + --ink: #0f0f0e; |
| 6 | + --ink-soft: #3a3a36; |
| 7 | + --accent: #1a3a2a; |
| 8 | + --accent-light: #e8ece9; |
| 9 | + --border: #e2e2df; |
| 10 | +} |
| 11 | + |
| 12 | +* { box-sizing: border-box; } |
| 13 | + |
| 14 | +body { |
| 15 | + margin: 0; |
| 16 | + padding: 0; |
| 17 | + background: var(--bg); |
| 18 | + color: var(--ink); |
| 19 | + font-family: 'Inter', sans-serif; |
| 20 | + line-height: 1.6; |
| 21 | +} |
| 22 | + |
| 23 | +header { |
| 24 | + background: white; |
| 25 | + border-bottom: 1px solid var(--border); |
| 26 | + padding: 20px 40px; |
| 27 | + position: sticky; |
| 28 | + top: 0; |
| 29 | + z-index: 100; |
| 30 | + display: flex; |
| 31 | + justify-content: space-between; |
| 32 | + align-items: center; |
| 33 | +} |
| 34 | + |
| 35 | +.brand { |
| 36 | + font-family: 'Playfair Display', serif; |
| 37 | + font-size: 1.4rem; |
| 38 | + color: var(--accent); |
| 39 | + text-decoration: none; |
| 40 | +} |
| 41 | + |
| 42 | +.nav-links a { |
| 43 | + margin-left: 20px; |
| 44 | + text-decoration: none; |
| 45 | + color: var(--ink-soft); |
| 46 | + font-size: 0.9rem; |
| 47 | + font-weight: 500; |
| 48 | + transition: color 0.2s; |
| 49 | +} |
| 50 | + |
| 51 | +.nav-links a:hover { color: var(--accent); } |
| 52 | + |
| 53 | +.container { |
| 54 | + max-width: 900px; |
| 55 | + margin: 60px auto; |
| 56 | + padding: 0 40px; |
| 57 | +} |
| 58 | + |
| 59 | +h1, h2, h3 { |
| 60 | + font-family: 'Playfair Display', serif; |
| 61 | + color: var(--accent); |
| 62 | + margin-top: 2rem; |
| 63 | +} |
| 64 | + |
| 65 | +h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 1.5rem; } |
| 66 | + |
| 67 | +p { margin-bottom: 1.5rem; color: var(--ink-soft); font-size: 1.05rem; } |
| 68 | + |
| 69 | +.topic-grid { |
| 70 | + display: grid; |
| 71 | + grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); |
| 72 | + gap: 30px; |
| 73 | + margin-top: 40px; |
| 74 | +} |
| 75 | + |
| 76 | +.topic-card { |
| 77 | + background: white; |
| 78 | + border: 1px solid var(--border); |
| 79 | + padding: 30px; |
| 80 | + text-decoration: none; |
| 81 | + color: inherit; |
| 82 | + transition: transform 0.2s, border-color 0.2s; |
| 83 | + border-radius: 4px; |
| 84 | +} |
| 85 | + |
| 86 | +.topic-card:hover { |
| 87 | + transform: translateY(-4px); |
| 88 | + border-color: var(--accent); |
| 89 | +} |
| 90 | + |
| 91 | +.topic-card h3 { |
| 92 | + margin: 0 0 10px 0; |
| 93 | + font-size: 1.25rem; |
| 94 | +} |
| 95 | + |
| 96 | +.topic-card p { |
| 97 | + font-size: 0.9rem; |
| 98 | + margin: 0; |
| 99 | + line-height: 1.4; |
| 100 | +} |
| 101 | + |
| 102 | +.tag { |
| 103 | + display: inline-block; |
| 104 | + font-size: 0.7rem; |
| 105 | + font-weight: 600; |
| 106 | + text-transform: uppercase; |
| 107 | + letter-spacing: 0.05em; |
| 108 | + color: var(--accent); |
| 109 | + background: var(--accent-light); |
| 110 | + padding: 4px 8px; |
| 111 | + margin-bottom: 15px; |
| 112 | + border-radius: 2px; |
| 113 | +} |
| 114 | + |
| 115 | +.footer { |
| 116 | + margin-top: 100px; |
| 117 | + padding: 40px; |
| 118 | + border-top: 1px solid var(--border); |
| 119 | + text-align: center; |
| 120 | + font-size: 0.8rem; |
| 121 | + color: var(--ink-soft); |
| 122 | +} |
| 123 | + |
| 124 | +blockquote { |
| 125 | + margin: 2rem 0; |
| 126 | + padding: 20px 30px; |
| 127 | + border-left: 4px solid var(--accent); |
| 128 | + background: white; |
| 129 | + font-style: italic; |
| 130 | + font-size: 1.1rem; |
| 131 | +} |
| 132 | + |
| 133 | +table { |
| 134 | + width: 100%; |
| 135 | + border-collapse: collapse; |
| 136 | + margin: 2rem 0; |
| 137 | +} |
| 138 | + |
| 139 | +th { |
| 140 | + text-align: left; |
| 141 | + padding: 12px; |
| 142 | + background: var(--accent-light); |
| 143 | + font-size: 0.9rem; |
| 144 | + text-transform: uppercase; |
| 145 | + letter-spacing: 0.05em; |
| 146 | +} |
| 147 | + |
| 148 | +td { |
| 149 | + padding: 12px; |
| 150 | + border-bottom: 1px solid var(--border); |
| 151 | + font-size: 0.95rem; |
| 152 | +} |
| 153 | + |
| 154 | +pre { |
| 155 | + background: #f4f4f2; |
| 156 | + padding: 20px; |
| 157 | + overflow-x: auto; |
| 158 | + border-radius: 4px; |
| 159 | +} |
0 commit comments