-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
76 lines (63 loc) · 1.01 KB
/
index.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
/*
vertical/horiztonal centered fixed-width, flexible height box
credit: https://stackoverflow.com/a/6182661
masonry layout
credit: https://w3bits.com/css-masonry/
*/
body, a {
font-family: "Helvetica Neue";
}
body {
background-color: #1c1c1c;
}
a, a:visited, a:hover, a:active {
color: #0087ff;
cursor: pointer;
text-decoration: underline;
}
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
.outer {
display: flex;
align-items: center;
justify-content: center;
}
.middle {
display: table-cell;
vertical-align: top;
}
.inner {
column-count: 2;
column-gap: 1.5em;
margin: 1.5em auto;
width: 80%;
}
@media only screen and (min-width: 768px) {
.inner {
column-count: 3;
}
}
@media only screen and (max-width: 500px) {
.inner {
column-count: 1;
}
}
.box {
background: #262626;
border-radius: 5px;
display: inline-block;
font-size: 150%;
margin: 0 0 1.5em;
padding: 1em;
width: 100%;
}
h3 {
margin: 0;
color: #8a8a8a
}