-
Notifications
You must be signed in to change notification settings - Fork 127
/
index.css
122 lines (101 loc) · 1.83 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
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
@import 'normalize.css';
@import './colors.css';
@import './form.css';
@import './grid.css';
@import './typography.css';
body {
border-top: 5px solid var(--orange);
border-bottom: 5px solid var(--orange);
}
body, header, main {
background-color: var(--tan);
}
header {
padding-top: 4rem;
h4 a:first-child {
margin-right: 1em;
}
h4 a + a {
margin-left: .5em;
}
svg {
display: inline-block;
height: 2em;
width: 2em;
vertical-align: top;
margin-top: -.25em;
path {
fill: var(--orange);
}
}
ul.nav {
padding: 0;
margin: 0 0 1.5rem;
li {
display: inline-block;
}
li + li {
margin-left: 1em;
}
}
}
main {
min-height: 90vh;
padding-bottom: 2rem;
section {
margin: 1.5rem 0;
&:first-child {
margin-top: 0;
}
}
}
footer {
font-size: x-large;
@media (--xs-viewport-only) {
margin: 1rem;
margin-bottom: calc(1rem + env(safe-area-inset-bottom));
}
@media (--sm-viewport) {
padding: 1rem 2rem;
}
&.fixed {
position: fixed;
left: 0;
bottom: 0;
right: 0;
}
}
p, ul, .text-gray {
color: var(--gray);
}
ul {
padding-left: 22px;
}
table {
width: 100%;
margin: 1em auto;
@media (--sm-viewport) {
width: 75%;
}
td, th {
padding: 0 5px;
vertical-align: baseline;
&:first-child, &:last-child {
padding: 0;
}
}
}
.sponsor {
margin-bottom: 20px;
}
.sponsor + .sponsor {
margin-left: 20px;
}
select {
appearance: none;
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00IDE2TDAgOWg4TTQgMGw0IDdIMCIvPjwvc3ZnPg==) no-repeat right 10px center;
border: solid 1px var(--lighter-gray);
color: var(--gray);
float: right;
padding: 0 10px;
}