-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
81 lines (65 loc) · 1.29 KB
/
style.css
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
79
80
81
body {
margin: 0;
touch-action: none;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background: #333;
color: #ccc;
display: flex;
}
* {
box-sizing: border-box;
}
main {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
}
nav {
display: flex;
position: relative;
flex-direction: column;
align-items: center;
background: #444;
font-size: max(1.3vw, 12pt);
overflow: auto;;
}
nav a {
display: flex;
align-items: center;
width: 100%;
cursor: pointer;
color: rgb(228, 93, 93);
text-decoration: none;
padding: 1em;
}
nav a:hover, nav a.active {
background: #555555;
}
iframe {
height: 100%;
}
footer {
/* position: absolute; */
bottom: 0;
padding: 1em;
width: 100%;
text-align: center;
}
footer a {
color: #ccc;
text-decoration: none;
}
@media only screen and (max-width: 600px) {
body {
flex-direction: column;
}
nav {
flex-direction: row;
align-items: stretch;
}
nav a {
flex: 0 0 8em;
justify-content: center;
}
}