LeonBasinWriter commited on
Commit
6176a33
·
verified ·
1 Parent(s): 52bdefe

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +131 -17
style.css CHANGED
@@ -1,28 +1,142 @@
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
  h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ --bg-color: #fdfcf0; /* Warm cream paper */
3
+ --text-color: #1a1a1a;
4
+ --accent-color: #c04e2e; /* Terracotta */
5
+ --secondary-color: #666;
6
+ --border-color: #e5e0d0;
7
+ }
8
+
9
  body {
10
+ background-color: var(--bg-color);
11
+ color: var(--text-color);
12
+ font-family: 'EB Garamond', serif;
13
+ line-height: 1.6;
14
+ margin: 0;
15
+ padding: 0;
16
+ }
17
+
18
+ .container {
19
+ max-width: 800px;
20
+ margin: 0 auto;
21
+ padding: 0 2rem;
22
+ }
23
+
24
+ header {
25
+ padding: 3rem 0;
26
+ border-bottom: 1px solid var(--border-color);
27
+ margin-bottom: 4rem;
28
+ }
29
+
30
+ .header-nav {
31
+ display: flex;
32
+ justify-content: space-between;
33
+ align-items: baseline;
34
+ margin-bottom: 1rem;
35
+ }
36
+
37
+ .logo {
38
+ font-family: 'Playfair Display', serif;
39
+ font-size: 1.5rem;
40
+ font-weight: 700;
41
+ }
42
+
43
+ nav a {
44
+ text-decoration: none;
45
+ color: var(--text-color);
46
+ margin-left: 1.5rem;
47
+ font-family: 'Inter', sans-serif;
48
+ font-size: 0.9rem;
49
+ text-transform: uppercase;
50
+ letter-spacing: 0.05em;
51
+ }
52
+
53
+ .header-concept {
54
+ font-family: 'Inter', sans-serif;
55
+ font-size: 0.8rem;
56
+ color: var(--secondary-color);
57
+ text-transform: uppercase;
58
+ letter-spacing: 0.1em;
59
+ }
60
+
61
+ .hero {
62
+ margin-bottom: 6rem;
63
  }
64
 
65
  h1 {
66
+ font-family: 'Playfair Display', serif;
67
+ font-size: 4rem;
68
+ line-height: 1.1;
69
+ margin: 0 0 1.5rem 0;
70
+ color: var(--text-color);
71
+ }
72
+
73
+ .subtitle {
74
+ font-size: 1.4rem;
75
+ color: var(--secondary-color);
76
+ max-width: 600px;
77
+ }
78
+
79
+ .article-list article {
80
+ margin-bottom: 4rem;
81
+ display: grid;
82
+ grid-template-columns: 120px 1fr;
83
+ gap: 2rem;
84
+ }
85
+
86
+ time {
87
+ font-family: 'Inter', sans-serif;
88
+ font-size: 0.8rem;
89
+ color: var(--accent-color);
90
+ text-transform: uppercase;
91
+ letter-spacing: 0.05em;
92
+ padding-top: 0.5rem;
93
  }
94
 
95
+ h2 {
96
+ font-family: 'Playfair Display', serif;
97
+ font-size: 2rem;
98
+ margin: 0 0 1rem 0;
99
+ line-height: 1.2;
100
  }
101
 
102
+ .article-body p {
103
+ font-size: 1.2rem;
104
+ margin-bottom: 1rem;
105
+ color: #333;
 
 
106
  }
107
 
108
+ .tags {
109
+ display: flex;
110
+ gap: 1rem;
111
  }
112
+
113
+ .tags span {
114
+ font-family: 'Inter', sans-serif;
115
+ font-size: 0.75rem;
116
+ color: var(--secondary-color);
117
+ border: 1px solid var(--border-color);
118
+ padding: 2px 8px;
119
+ border-radius: 4px;
120
+ }
121
+
122
+ footer {
123
+ margin-top: 8rem;
124
+ padding: 4rem 0;
125
+ border-top: 1px solid var(--border-color);
126
+ font-family: 'Inter', sans-serif;
127
+ font-size: 0.8rem;
128
+ color: var(--secondary-color);
129
+ }
130
+
131
+ .footer-content {
132
+ display: flex;
133
+ justify-content: space-between;
134
+ }
135
+
136
+ @media (max-width: 600px) {
137
+ h1 { font-size: 2.5rem; }
138
+ .article-list article {
139
+ grid-template-columns: 1fr;
140
+ gap: 0.5rem;
141
+ }
142
+ }