-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
110 lines (100 loc) · 1.75 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
/*
mustard: #ffc757;
teal: #119aa2;
aubergine: #4b3f73
*/
@import url("https://fonts.googleapis.com/css?family=Lato");
@font-face {
font-family: 'Taste';
src: url("https://www.andrewt.net/fonts/Taste Book.otf");
font-weight: normal;
font-style: normal;
}
body, section, footer { font-family: 'Lato'; }
body, section { color: #383838; }
a { color: #119aa2; }
a:hover { color: #4b3f73; }
body {
margin: 2em 0;
padding: 0;
font-size: 1.5em;
}
p, h1, .options { padding: 0 4rem; }
h1, footer {
position: relative;
background: #ffc757;
color: #4b3f73;
border: 0.5rem solid #4b3f73;
border-width: 0.5rem 0;
}
h1:before, footer:before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: calc(100% - 1rem);
border: 0.5rem solid #119aa2;
border-width: 0.5rem 0;
content: '';
pointer-events: none;
}
h1 {
font-family: 'Taste', sans-serif;
font-weight: normal;
font-size: 4rem;
line-height: 4rem;
padding-top: 2rem;
padding-bottom: 1.5rem;
}
strong { color: black; font-weight: 800; }
footer {
color: black;
clear: both;
padding: 1rem 4rem;
margin: 4rem 0 10rem;
}
footer a {
color: #4b3f73;
font-weight: bold;
text-decoration: none;
}
footer a:hover {
color: #119aa2;
font-weight: bold;
text-decoration: underline;
}
.options {
display: flex;
flex-wrap: wrap;
margin: -1rem;
}
.option {
background: #ffc757;
border: 0.5em solid #4b3f73;
color: black;
text-decoration: none;
flex: 1;
flex-basis: 15rem;
margin: 1rem;
}
.title {
font-family: 'Taste', sans-serif;
font-weight: normal;
font-size: 2.5rem;
color: #119aa2;
display: block;
margin: 0;
padding: 1rem;
}
.description {
margin: 0;
padding: 1rem;
}
.option:hover {
background: #4b3f73;
border: 0.5em solid #119aa2;
color: white;
}
.option:hover .title {
color: #ffc757;
}