-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
284 lines (233 loc) · 4.24 KB
/
style.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*-------------------------start of personal css------------
Colour palette
navy 1f2b3b
blue 42567a
slate blue 617191
lilac 9e9abf
mauve c9becb
chai c2ad9d
cream eee8e1
MOBILE FIRST ------*/
body{
box-sizing: border-box;
font-family: "Jost", "Lucida Console", "Lucida Sans Typewriter", "Lucida Grande", sans-serif;
line-height: 1.5;
color: #1f2b3b;
}
nav{
padding-top: 30px;
padding-bottom: 50px;
background-image: linear-gradient(180deg, #1f2b3b 37%, #42567a 62%, #9e9abf 77%, #c9becb 87%, #c2ad9d 94%, #eee8e1 100%);
color: #eee8e1;
}
ul{
list-style: square;
padding-left: 2em;
}
cite{
display: block;
font-style: italic;
padding-top: 1em;
font-weight: 300;
}
main{
max-width: 220px;
margin: auto;
padding-bottom: 3em;
}
h1{
text-align: center;
font-weight:600;
font-size: 2em;
line-height: 1.25em;
margin-top: 1.5em;
}
h1 + cite{
display: block;
font-family: "Shadows Into Light", "Bradley Hand", "Apple Chancery", cursive;
text-align: center;
margin-top: 1.5em;
}
p{
margin-top: 1.5em;
}
#signage {
font-family: "Chakra Petch", "Courier", "Andale Mono", monospace;
text-transform: uppercase;
font-size: .7em;
color: black;
letter-spacing: .05em;
padding: 0 1em;
}
#signage li{
padding-left: 1em;
list-style: square;
}
#handwritting {
font-family: "Shadows into light", "Bradley Hand", "Apple chancery", cursive;
text-align: center;
}
h2{
font-size: 2em;
text-align: center;
padding-top: 2em;
font-weight: 500;
}
h3{
font-size: 1.5em;
text-align: center;
padding-top: 2em;
font-weight: 500;
}
h2+h3{
padding-top: 2em;
}
nav ul{
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
list-style: none;
}
a {
text-decoration: none;
}
a:link {
color: inherit;
}
a:visited {
color: inherit;
}
a:focus {
background-color: #617191;
}
p a{
text-decoration: underline;
}
footer a{
text-decoration: underline;
}
footer{
text-align: center;
color: grey;
font-size: .8em;
padding-bottom: 1em;
}
/*------------------ 500---------------------*/
@media (min-width: 500px){
main{
max-width: 70%;
margin: auto;
}
cite{
padding: 1em 1em 0em 1em;
}
}
/*------------------ 700---------------------*/
@media (min-width: 700px){
header li{
font-size: 1.25em;
padding-bottom: 1em;
}
main{
font-size: 1.25em;
}
#signage{
margin: 1em 4em;
font-size: .8em;
}
#handwritting{
font-size: 1.25em;
}
h1 + cite{
font-size: 1.25em;
margin-top: auto;
}
cite{
padding: 1em 2em 0em 2em;
}
ul{
padding-left: 3em;
}
}
/*------------------ 900---------------------*/
@media (min-width: 900px){
main{
max-width: 60%;
margin: auto;
}
h1{
display:flex;
flex-direction: column;
max-width: 20%;
flex-flow: column wrap;
margin: auto;
padding-top: 1em;
}
nav ul{
display: flex;
flex-direction: row;
justify-content: center;
}
nav li{
padding: 0 20px;
}
nav{
padding-top: 60px;
padding-bottom: 80px;
}
}
/*------------------ full layout---------------------*/
@media (min-width: 1200px){
main{
max-width: 40%;
margin: auto;
}
}