~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
74cf8e5a
—
pyrossh 4 weeks ago
update font sizes
- src/pages/index.module.css +10 -0
src/pages/index.module.css
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
.description {
|
|
2
2
|
font-size: 1.1rem;
|
|
3
|
+
@media (max-width: 720px) {
|
|
4
|
+
font-size: 1rem;
|
|
5
|
+
}
|
|
3
6
|
}
|
|
4
7
|
|
|
5
8
|
h2 {
|
|
6
9
|
font-size: 1.4rem;
|
|
7
10
|
font-weight: 600;
|
|
11
|
+
@media (max-width: 720px) {
|
|
12
|
+
font-size: 1.15rem;
|
|
13
|
+
}
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
section {
|
|
@@ -47,6 +53,9 @@ section {
|
|
|
47
53
|
line-height: 2.25rem;
|
|
48
54
|
font-weight: 700;
|
|
49
55
|
margin-bottom: 1rem;
|
|
56
|
+
@media (max-width: 720px) {
|
|
57
|
+
font-size: 1.6rem;
|
|
58
|
+
}
|
|
50
59
|
}
|
|
51
60
|
|
|
52
61
|
.firstSection {
|
|
@@ -156,6 +165,7 @@ section {
|
|
|
156
165
|
font-size: 1.1rem;
|
|
157
166
|
|
|
158
167
|
@media (max-width: 720px) {
|
|
168
|
+
font-size: 1rem;
|
|
159
169
|
flex-direction: column;
|
|
160
170
|
}
|
|
161
171
|
}
|