-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
137 lines (111 loc) · 1.92 KB
/
main.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/* resources used:
https://css-tricks.com/fun-viewport-units/
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
https://css-tricks.com/dont-overthink-flexbox-grids/
colors obtained with http://jxnblk.com/colorable/demos/text/
*/
body {
color: #000000;
background-color: #FCFCFC;
display: flex;
justify-content: flex-start;
font-family: 'Zilla Slab', 'Roboto Mono', serif;
font-size: 20px;
}
.col {
}
ul {
padding-left: 0;
list-style-type: none;
}
.post>ul {
}
nav {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
font-weight: 600;
font-size: 30px;
max-width: 200px;
}
nav ul {
list-style-type: none;
}
nav ul .active {
font-style: italic;
}
.content {
order: 2;
flex: 5;
/*
font-family: Georgia;
font-size: calc(16px + .5vw);
line-height: calc(1.1em + 0.5vw);
*/
display: flex;
flex-direction: column;
margin-left: 3vw;
margin-right: 5vw;
max-width: 60vw;
}
.tile {
}
.nav {
order: 1;
display: flex;
flex-direction: column;
}
ul.nav li a, ul.nav li a:visited {
color: black;
text-decoration: none;
}
ul.nav li a:hover {
text-decoration: underline;
}
.nav .square {
width: 20vw;
height: 20vw;
font-size: calc(16px + 1.5vw);
line-height: calc(1.1em + 0.5vw);
display: flex;
}
.nav .square.alpha {
background-color: crimson;
}
.nav .square.beta {
background-color: steelblue;
}
@media screen and (max-width: 700px) {
.nav .square { font-size: calc(12px + 1vw); }
}
@media screen and (max-width: 500px) {
.nav .square { font-size: calc(12px + .5vw); }
}
.active {
list-style-type: square;
}
h1, h2 {
}
.post h1, .tile h1 {
display: block;
font-size: calc(18px + 1.5vw);
}
.post h2, .tile h2 {
display: block;
text-transform: uppercase;
font-size: 0.8em;
}
.post .text {
text-align: justify;
}
.tile h3 {
display: inline;
margin-right: 10px;
background-color: black;
color: white;
padding: 3px 6px;
text-transform: lowercase;
}
.tile span {
}