forked from jimibue/git-2301
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
92 lines (78 loc) · 1.27 KB
/
main.css
File metadata and controls
92 lines (78 loc) · 1.27 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* DO NOT EDIT THIS FILE */
body {
font-size: 14pt;
font-weight: 300;
line-height: 1.75;
}
h1 {
font-size: 2.75em;
font-weight: 700;
line-height: 1.3;
margin: 1em 0 1em 0;
letter-spacing: -0.035em;
}
h2 {
font-weight: 900;
line-height: 1.5;
margin: 0 0 2em 0;
letter-spacing: 0.35em;
font-size: 1.3em;
}
p {
margin: 0 0 2em 0;
}
header p {
margin: -1em 0 1em 0;
}
body {
width: 100%;
max-width: 68em;
margin: 0 auto;
padding: 0 2.5em;
margin-bottom: 1em;
}
html {
box-sizing: border-box;
}
* {
box-sizing: inherit;
}
/* Tiles */
.tiles {
display: flex;
flex-wrap: wrap;
position: relative;
margin: -1.25em 0 0 -1.25em;
}
.tiles .box-wrapper {
position: relative;
width: calc(33.3333333333% - 1.25em);
margin: 1.25em 0 0 1.25em;
}
.tiles .box-wrapper > .box {
padding-top: 95%;
position: relative;
display: block;
}
.tiles .box-wrapper > a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 1em;
border-bottom: 0;
text-align: center;
text-decoration: none;
z-index: 3;
}
.tiles .box-wrapper > a h2 {
margin: 0;
}
.tiles .box-wrapper > a .content > :last-child {
margin-bottom: 0;
}