Skip to content

Commit 73d7282

Browse files
committed
responsive css
1 parent 68b6421 commit 73d7282

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

static/main.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11

22
:root {
3-
font-size: 20px;
3+
font-size: larger;
44
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
55
color: #e8f1f7;
66
}
77

8+
@media (orientation: portrait) {
9+
:root {
10+
font-size: xx-large;
11+
}
12+
}
13+
814
body {
915
background-color: #2D333B;
1016
}
@@ -26,6 +32,12 @@ body {
2632
border-radius: 20px;
2733
}
2834

35+
@media (orientation: portrait) {
36+
.container {
37+
margin: 1rem;
38+
}
39+
}
40+
2941
.upload-btn {
3042
background-color: #47ff4a;
3143
}

0 commit comments

Comments
 (0)