-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
120 lines (96 loc) · 2.02 KB
/
styles.scss
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
@import "lewiscarroll/stylesheet.css";
$yellow: #e2d131;
$green: #60bd58;
$red: #ee3340;
$purple: #963c97;
$orange: #f6871f;
$magenta: #da5ca3;
html {
font-size: 1em;
@media screen and (max-width: 768px) {
& { font-size: 0.8em; }
}
}
body {
animation: colorchange 90s infinite; /* animation-name followed by duration in seconds*/
/* you could also use milliseconds (ms) or something like 2.5s */
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
font-weight: 400;
line-height: 1.45;
font-family: 'lewiscarrollregular', serif;
/* Adds the same amount of margin top on the h1 to the bottom of the page */
padding-bottom: 63px;
}
@keyframes colorchange
{
0% {background: $yellow;}
16% {background: $green;}
32% {background: $red;}
48% {background: $purple;}
64% {background: $orange;}
80% {background: $magenta;}
100% {background: $yellow;}
}
h1, h2, h3, h4 {
//margin: 1.414em 0 0.5em;
margin: 0;
font-weight: inherit;
line-height: 1.2;
text-align: center;
}
h1 {
margin-top: 1em;
@media screen and (max-width: 768px) {
& { margin-top: 0.5em; }
}
font-size: 3.998em;
}
h2 {font-size: 2.827em;}
h3 {font-size: 1.999em;}
h4 {font-size: 1.414em;}
p {margin-bottom: 1.3em;}
a {
color: black;
}
small, .font_small {font-size: 0.707em;}
img.hatter {
height: 50vh;
@media screen and (max-width: 767px) {
& { height: 40vh; }
}
width: auto;
text-align: center;
}
/* Mailchimp Signup form */
#mc_embed_signup {
margin: 20px auto;
}
label {
display: inline-block;
width: 120px;
}
input[type="text"],
input[type="email"],
input[type="submit"] {
background: rgba(0, 0, 0, 0.1) none repeat scroll 0 0;
border: 1px solid #333;
border-radius: 4px;
font-family: "lewiscarrollregular",serif;
font-size: 1.414em;
margin-bottom: 6px;
padding: 6px;
}
input[type="submit"] {
cursor: pointer;
margin-top: 10px;
width: 100%;
}
div#mce-success-response {
background: rgba(255,255,255,0.5);
padding: .5em;
width: 320px;
max-width: 100%;
}