|
1 | | -@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); |
| 1 | +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap&subset=cyrillic'); |
| 2 | +@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap&subset=cyrillic'); |
2 | 3 |
|
3 | 4 | @tailwind base; |
4 | 5 | @tailwind components; |
5 | 6 | @tailwind utilities; |
6 | 7 |
|
7 | 8 | @layer base { |
8 | 9 | html { |
9 | | - font-family: 'Inter', system-ui, sans-serif; |
| 10 | + font-family: 'Source Sans Pro', system-ui, sans-serif; |
10 | 11 | } |
11 | 12 |
|
12 | 13 | body { |
13 | | - @apply bg-jade-dark text-smoke; |
| 14 | + @apply bg-jade text-smoke font-body; |
| 15 | + } |
| 16 | + |
| 17 | + /* Заголовки используют Inter */ |
| 18 | + h1, h2, h3, h4, h5, h6 { |
| 19 | + font-family: 'Inter', system-ui, sans-serif; |
14 | 20 | } |
15 | 21 |
|
16 | 22 | footer { |
|
65 | 71 |
|
66 | 72 | /* Custom prose styles for markdown content */ |
67 | 73 | .prose { |
68 | | - @apply text-smoke; |
| 74 | + @apply text-smoke font-body; |
69 | 75 | } |
70 | 76 |
|
71 | 77 | .prose h1 { |
72 | | - @apply text-3xl font-bold text-gold mb-6; |
| 78 | + @apply text-3xl font-bold text-gold mb-6 font-heading; |
73 | 79 | } |
74 | 80 |
|
75 | 81 | .prose h2 { |
76 | | - @apply text-2xl font-bold text-gold mb-4 mt-8; |
| 82 | + @apply text-2xl font-bold text-gold mb-4 mt-8 font-heading; |
77 | 83 | } |
78 | 84 |
|
79 | 85 | .prose h3 { |
80 | | - @apply text-xl font-semibold text-gold mb-3 mt-6; |
| 86 | + @apply text-xl font-semibold text-gold mb-3 mt-6 font-heading; |
81 | 87 | } |
82 | 88 |
|
83 | 89 | .prose h4 { |
84 | | - @apply text-lg font-semibold text-gold mb-2 mt-4; |
| 90 | + @apply text-lg font-semibold text-gold mb-2 mt-4 font-heading; |
85 | 91 | } |
86 | 92 |
|
87 | 93 | .prose p { |
88 | | - @apply mb-4 leading-relaxed; |
| 94 | + @apply mb-4 leading-relaxed font-body; |
89 | 95 | } |
90 | 96 |
|
91 | 97 | .prose hr { |
|
101 | 107 | } |
102 | 108 |
|
103 | 109 | .prose li { |
104 | | - @apply mb-1; |
| 110 | + @apply mb-1 font-body; |
105 | 111 | } |
106 | 112 |
|
107 | 113 | .prose blockquote { |
108 | | - @apply border-l-4 border-gold bg-dark pl-4 py-2 mb-4 italic; |
| 114 | + @apply border-l-4 border-gold bg-dark pl-4 py-2 mb-4 italic font-body; |
109 | 115 | } |
110 | 116 |
|
111 | 117 | .prose code { |
112 | | - @apply bg-dark text-gold px-1 py-0.5 rounded text-sm; |
| 118 | + @apply bg-dark text-gold px-1 py-0.5 rounded text-sm font-mono; |
113 | 119 | } |
114 | 120 |
|
115 | 121 | .prose pre { |
|
121 | 127 | } |
122 | 128 |
|
123 | 129 | .prose a { |
124 | | - @apply text-jade hover:text-jade-dark underline; |
| 130 | + @apply text-jade hover:text-jade-dark underline font-body; |
125 | 131 | } |
126 | 132 |
|
127 | 133 | .prose strong { |
128 | | - @apply font-semibold text-gold-light; |
| 134 | + @apply font-semibold text-gold-light font-body; |
129 | 135 | } |
130 | 136 |
|
131 | 137 | .prose em { |
132 | | - @apply italic text-jade; |
| 138 | + @apply italic text-jade font-body; |
133 | 139 | } |
134 | 140 |
|
135 | 141 | .prose img { |
|
141 | 147 | } |
142 | 148 |
|
143 | 149 | .prose th { |
144 | | - @apply bg-smoke border border-smoke-dark px-4 py-2 text-left font-semibold; |
| 150 | + @apply bg-smoke border border-smoke-dark px-4 py-2 text-left font-semibold font-heading; |
145 | 151 | } |
146 | 152 |
|
147 | 153 | .prose td { |
148 | | - @apply border border-smoke-dark px-4 py-2; |
| 154 | + @apply border border-smoke-dark px-4 py-2 font-body; |
149 | 155 | } |
0 commit comments