Skip to content

Commit 81bc5d4

Browse files
committed
chore: css styles, font size, readability
1 parent 1f665fb commit 81bc5d4

File tree

7 files changed

+60
-34
lines changed

7 files changed

+60
-34
lines changed

messages/foundation/problematics/personal-regiment.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@
2424

2525
- У шаманов? Закрытые каналы, где доверенные лица ~~Кремля~~ единодушно-лицемерно... *обсуждают-ну-что-они-там-обсуждают*? Опять какие все в ведре и вокруг, пидорасы, а они — Д'Артаньяны, да? Уууф. Единодушно. Оренжа в очередной раз обиделась и ливнула, потому что её кошку не оценили? У Амани оказалось больше симпов на бусти, чем...? Ничего нового. Бож, как это людям не надоедает? Может, дело в инклюзивности?
2626

27-
- Драконов можно скипать сразу. А стоп. И не потому что там *furry*. Алексей-Керровитар же перенёс их из друидов? Фурри — это УТП. Открыто. Смело. Прогрессивно... Но бля, даже здесь Вождь-Дракон-Шаман Амани смотрит на тебя сверху. [Как портреты советских вождей в туалетах.](https://youtu.be/IC0-h3cj8YY?t=91) Будь начеку, товарищ! Водоворот бдитъ! Ничего не скажешь, "М" - медийка.
27+
- Драконов можно скипать сразу. А стоп. И не потому что там *furry*. Алексей-Керровитар же перенёс их из друидов? Фурри — это УТП. Открыто. Смело. Прогрессивно... Но бля, даже здесь Вождь-Дракон-Шаман Амани смотрит на тебя сверху. [Как портреты советских вождей в туалетах.](https://youtu.be/IC0-h3cj8YY?t=91) Самого его нет, а портрет — есть.
28+
29+
> Будь начеку, товарищ! Водоворот бдитъ!
30+
31+
Я конечно не врач, но сука, это сходство. Медийная болезнь, она как ветрянка, а может даже хуже. Переносится по воздуху, короткий инкубационный период, агрессивно проявляется во внешнюю среду, по всему лицу, телу и не только.
2832

2933
- А вот у разбойников весело. Прям логово. Это вам не уютное местечко, это агрессивная среда, суки. Атмосферненько. Подлинно-душевно. Кто бы что ни говорил, социальная анархия в чате — соблазнительная концепция. Главное, не вступать в горячий фан-клуб любителей ВА-шек Мейникса и админки.
3034

31-
- А ещё есть маги, охотники... охотники на демонов... охотники на охотников... короче, The Boys, мать их.
35+
- А ещё есть маги, охотники... охотники на демонов... охотники на охотников... короче, Классовые-дискорды, мать их.
3236

3337
---
3438

pages/_document.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ export default function Document() {
66
<Head>
77
<link rel="preconnect" href="https://fonts.googleapis.com" />
88
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
9+
{/* Inter - для заголовков */}
10+
<link
11+
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap&subset=cyrillic"
12+
rel="stylesheet"
13+
/>
14+
{/* Source Sans Pro - для чтения */}
15+
<link
16+
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap&subset=cyrillic"
17+
rel="stylesheet"
18+
/>
919
</Head>
1020
<body>
1121
<Main />

pages/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function Home(): JSX.Element {
2525
className="rounded-sm"
2626
/>
2727
<div>
28-
<h1 className="text-2xl font-serif font-bold tracking-tight text-gold">
28+
<h1 className="text-2xl font-heading font-bold tracking-tight text-gold">
2929
TEMPLE FIVE DAWNS
3030
</h1>
3131
<div className="text-xs text-white-dark tracking-widest mt-1">ХРАМ ПЯТИ РАССВЕТОВ</div>
@@ -56,7 +56,7 @@ export default function Home(): JSX.Element {
5656
/>
5757
<div className="absolute bottom-0 left-0 p-8 z-20">
5858
<div className="inline-block bg-gold px-3 py-1 text-xs font-semibold text-dark uppercase tracking-wider mb-4">Архив сообщества</div>
59-
<h1 className="text-4xl md:text-5xl font-serif font-bold text-gold mb-4 max-w-2xl">
59+
<h1 className="text-4xl md:text-5xl font-heading font-bold text-gold mb-4 max-w-2xl">
6060
Храм Пяти Рассветов: Взгляд Изнутри
6161
</h1>
6262
<p className="text-lg text-smoke mb-6 max-w-2xl">
@@ -74,7 +74,7 @@ export default function Home(): JSX.Element {
7474
{/* Featured articles - 4 columns on desktop */}
7575
<div className="lg:col-span-4 space-y-8">
7676
<div className="p-6 border-l-4 border-jade bg-smoke shadow-sm">
77-
<h2 className="text-2xl font-serif font-bold mb-4 text-purple">Избранные материалы</h2>
77+
<h2 className="text-2xl font-heading font-bold mb-4 text-purple">Избранные материалы</h2>
7878
<div className="space-y-6">
7979
<Link href="/messages/foundation/library/pacifism_article" className="block group">
8080
<div className="text-sm text-dark-light uppercase tracking-wider mb-1">Библиотека</div>
@@ -108,7 +108,7 @@ export default function Home(): JSX.Element {
108108
<div className="border-t border-b border-jade py-12">
109109
<div className="flex items-center mb-8">
110110
<div className="w-12 h-1 bg-jade mr-4"></div>
111-
<h2 className="text-jade text-2xl font-serif font-bold">О проекте</h2>
111+
<h2 className="text-jade text-2xl font-heading font-bold">О проекте</h2>
112112
</div>
113113

114114
<div className="text-gold grid grid-cols-1 lg:grid-cols-2 gap-12">

pages/messages/[...slug].tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function MarkdownPage({ file, htmlContent }: MarkdownPageProps):
1111
<div className="min-h-screen bg-dark flex items-center justify-center">
1212
<div className="text-center max-w-md mx-auto px-4">
1313
<div className="bg-purple-dark border border-purple rounded-2xl p-8 shadow-lg">
14-
<h1 className="text-2xl font-bold text-gold mb-4">Документ не найден</h1>
14+
<h1 className="text-2xl font-heading font-bold text-gold mb-4">Документ не найден</h1>
1515
<p className="text-smoke mb-6">Запрашиваемый документ не существует или был удалён.</p>
1616
<Link href="/messages" className="bg-jade hover:bg-jade-dark text-dark px-6 py-3 rounded-lg font-medium transition-colors">
1717
Вернуться к списку
@@ -112,7 +112,7 @@ export default function MarkdownPage({ file, htmlContent }: MarkdownPageProps):
112112
<aside className="lg:col-span-4 space-y-8">
113113
{/* Table of Contents */}
114114
<div className="bg-purple-dark border border-purple rounded-2xl p-6 shadow-lg">
115-
<h3 className="text-lg font-bold text-gold mb-4">Содержание</h3>
115+
<h3 className="text-lg font-heading font-bold text-gold mb-4">Содержание</h3>
116116
<nav className="space-y-2">
117117
<a href="#overview" className="block text-sm text-smoke hover:text-jade transition-colors">
118118
Обзор документа
@@ -128,7 +128,7 @@ export default function MarkdownPage({ file, htmlContent }: MarkdownPageProps):
128128

129129
{/* Related Documents */}
130130
<div className="bg-dark border border-purple rounded-2xl p-6 shadow-lg">
131-
<h3 className="text-lg font-bold text-gold mb-4">Похожие документы</h3>
131+
<h3 className="text-lg font-heading font-bold text-gold mb-4">Похожие документы</h3>
132132
<div className="space-y-4">
133133
<Link href="/messages/foundation" className="block group">
134134
<div className="text-sm text-jade uppercase tracking-wider mb-1">Основы</div>
@@ -150,7 +150,7 @@ export default function MarkdownPage({ file, htmlContent }: MarkdownPageProps):
150150

151151
{/* Share */}
152152
<div className="bg-gold-dark border border-gold rounded-2xl p-6 shadow-lg">
153-
<h3 className="text-lg font-bold text-dark mb-4">Поделиться</h3>
153+
<h3 className="text-lg font-heading font-bold text-dark mb-4">Поделиться</h3>
154154
<div className="flex space-x-3">
155155
<button className="bg-jade hover:bg-jade-dark text-dark p-3 rounded-lg transition-colors">
156156
<svg className="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">

pages/messages/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ export default function MessagesPage({ files, categories, imageCount }: Messages
3434
<main className="max-w-screen-xl mx-auto px-4 sm:px-8 py-16">
3535
{/* Hero Section */}
3636
<section className="text-center mb-16">
37-
<h1 className="text-5xl md:text-6xl font-extrabold text-monk-900 mb-6 tracking-tight">
37+
<h1 className="text-5xl md:text-6xl font-heading font-extrabold text-monk-900 mb-6 tracking-tight">
3838
💬 Сообщения и документы
3939
</h1>
40-
<p className="text-2xl text-monk-600 max-w-3xl mx-auto leading-relaxed">
40+
<p className="text-2xl font-body text-monk-600 max-w-3xl mx-auto leading-relaxed">
4141
Архив документов, стратегических материалов и персональных обращений сообщества
4242
</p>
4343
</section>
@@ -71,7 +71,7 @@ export default function MessagesPage({ files, categories, imageCount }: Messages
7171
<div key={category} className="space-y-8">
7272
{/* Category Header */}
7373
<div className="border-b border-monk-200 pb-6">
74-
<h2 className="text-3xl font-bold text-monk-900 mb-2">
74+
<h2 className="text-3xl font-heading font-bold text-monk-900 mb-2">
7575
📁 {categoryName}
7676
</h2>
7777
<p className="text-monk-600 text-lg">
@@ -100,11 +100,11 @@ export default function MessagesPage({ files, categories, imageCount }: Messages
100100
)}
101101
</div>
102102

103-
<h3 className="text-xl font-bold text-monk-900 mb-3 line-clamp-2 group-hover:text-primary-600 transition-colors">
103+
<h3 className="text-xl font-heading font-bold text-monk-900 mb-3 line-clamp-2 group-hover:text-primary-600 transition-colors">
104104
{file.title}
105105
</h3>
106106

107-
<p className="text-monk-600 mb-4 line-clamp-3 leading-relaxed">
107+
<p className="text-monk-600 mb-4 line-clamp-3 leading-relaxed font-body">
108108
{file.excerpt}
109109
</p>
110110

@@ -157,7 +157,7 @@ export default function MessagesPage({ files, categories, imageCount }: Messages
157157
{/* Call to Action */}
158158
<section className="mt-20 text-center">
159159
<div className="bg-gradient-to-r from-primary-50 to-gold-50 rounded-3xl p-12 shadow-lg">
160-
<h2 className="text-3xl font-bold text-monk-900 mb-4">
160+
<h2 className="text-3xl font-heading font-bold text-monk-900 mb-4">
161161
Изучите архив сообщества
162162
</h2>
163163
<p className="text-xl text-monk-600 mb-8 max-w-2xl mx-auto">

public/globals.css

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
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');
23

34
@tailwind base;
45
@tailwind components;
56
@tailwind utilities;
67

78
@layer base {
89
html {
9-
font-family: 'Inter', system-ui, sans-serif;
10+
font-family: 'Source Sans Pro', system-ui, sans-serif;
1011
}
1112

1213
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;
1420
}
1521

1622
footer {
@@ -65,27 +71,27 @@
6571

6672
/* Custom prose styles for markdown content */
6773
.prose {
68-
@apply text-smoke;
74+
@apply text-smoke font-body;
6975
}
7076

7177
.prose h1 {
72-
@apply text-3xl font-bold text-gold mb-6;
78+
@apply text-3xl font-bold text-gold mb-6 font-heading;
7379
}
7480

7581
.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;
7783
}
7884

7985
.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;
8187
}
8288

8389
.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;
8591
}
8692

8793
.prose p {
88-
@apply mb-4 leading-relaxed;
94+
@apply mb-4 leading-relaxed font-body;
8995
}
9096

9197
.prose hr {
@@ -101,15 +107,15 @@
101107
}
102108

103109
.prose li {
104-
@apply mb-1;
110+
@apply mb-1 font-body;
105111
}
106112

107113
.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;
109115
}
110116

111117
.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;
113119
}
114120

115121
.prose pre {
@@ -121,15 +127,15 @@
121127
}
122128

123129
.prose a {
124-
@apply text-jade hover:text-jade-dark underline;
130+
@apply text-jade hover:text-jade-dark underline font-body;
125131
}
126132

127133
.prose strong {
128-
@apply font-semibold text-gold-light;
134+
@apply font-semibold text-gold-light font-body;
129135
}
130136

131137
.prose em {
132-
@apply italic text-jade;
138+
@apply italic text-jade font-body;
133139
}
134140

135141
.prose img {
@@ -141,9 +147,9 @@
141147
}
142148

143149
.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;
145151
}
146152

147153
.prose td {
148-
@apply border border-smoke-dark px-4 py-2;
154+
@apply border border-smoke-dark px-4 py-2 font-body;
149155
}

tailwind.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,14 @@ module.exports = {
4646
}
4747
},
4848
fontFamily: {
49-
sans: ['Inter', 'system-ui', 'sans-serif'],
49+
// Основные шрифты
50+
sans: ['Source Sans Pro', 'system-ui', 'sans-serif'], // Для чтения
51+
heading: ['Inter', 'system-ui', 'sans-serif'], // Для заголовков
5052
serif: ['Georgia', 'serif'],
53+
54+
// Утилитарные классы
55+
'display': ['Inter', 'system-ui', 'sans-serif'], // Для больших заголовков
56+
'body': ['Source Sans Pro', 'system-ui', 'sans-serif'], // Для основного текста
5157
},
5258
},
5359
},

0 commit comments

Comments
 (0)