-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsite.css
More file actions
71 lines (62 loc) · 1.34 KB
/
site.css
File metadata and controls
71 lines (62 loc) · 1.34 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
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
main {
min-height: 0;
flex: 1 0 auto;
}
.article.content {
/* Override 100vh from myst-theme:styles/typography.css so content div
* doesn't grow <main> to push the footer offscreen.
*/
min-height: 0;
}
.footer {
/* Make footer "sticky" to page bottom (also the above flex rules), per
* the flexbox strategy described here:
* https://css-tricks.com/couple-takes-sticky-footer/#aa-there-is-flexbox
* and here:
* https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/
* This solution does not require hardcoding a fixed footer height in the
* style rules.
*/
flex-shrink: 0;
background: #013243;
color: white;
padding-left: 2rem;
padding-right: 2rem;
padding-left: 3.5rem;
padding-right: 3.5rem;
/* Outer content grid */
& .outer-grid {
/* spacer, project description, spacer, link columns, spacer */
grid-template-columns: 3fr 3fr 4fr;
align-items: center;
margin-bottom: 0rem;
& li {
list-style: none;
}
}
@media (max-width: 640px) {
& .outer-grid {
grid-template-columns: 1fr;
justify-items: start;
}
}
/* Heading colours */
& a,
h1,
h2,
h3,
h4,
h5,
h6 {
color: white;
}
& h1 {
font-size: 1.25rem;
font-weight: bold;
}
}