-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmobile.css
More file actions
78 lines (75 loc) · 1.37 KB
/
mobile.css
File metadata and controls
78 lines (75 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@media only screen and (max-width: 700px) {
/* Global */
* {
--sidebar-header-height: 50px;
--sidebar-button-size: 30px;
}
html {
overflow: hidden;
}
/* Body */
body {
width: 100vw;
overflow-y: scroll;
transition: 0.2s;
}
body.sidebar-left #sidebar-left {
opacity: 1;
pointer-events: all;
}
/* Sections */
.section {
flex-direction: column;
width: 100vw;
}
.image-section {
flex-direction: column;
}
.section .section-meta {
width: 100vw;
text-align: center;
}
.section .section-list {
width: 100vw;
box-sizing: border-box;
margin: 0;
}
/* Header */
#header {
flex-direction: column;
height: 100dvh;
}
#cube {
--face-size: 20vw;
}
#cube-container {
overflow: hidden;
}
#title h1 {
font-size: 4em;
margin: 0;
}
#title img {
width: 100%;
height: auto;
}
#title h2 {
font-size: 2em;
}
/* Cards */
.card-content h2 {
font-size: 1.2em;
}
.cards {
flex-direction: column;
}
.card {
width: 70%;
margin: 10px;
margin-left: auto;
margin-right: auto;
}
#footer {
flex-direction: column;
}
}