-
Notifications
You must be signed in to change notification settings - Fork 11
/
style.css
60 lines (57 loc) · 1.36 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
/* ===========================================
Defining media queries
=========================================== */
/* ===========================================
Mixin for writing out breakpoint names in
an after pseudo element
=========================================== */
/* ===========================================
Calling our writing-out function
=========================================== */
@media only screen and (min-width: 25em) {
body:after {
content: "bp-small";
display: none;
}
}
@media only screen and (min-width: 35em) {
body:after {
content: "bp-medium";
display: none;
}
}
@media only screen and (min-width: 65em) {
body:after {
content: "bp-large";
display: none;
}
}
/* ===========================================
Demo styling only
=========================================== */
html {
height: 100%;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
body {
margin: 0;
text-align: center;
font-size: 4vw;
font-family: sans-serif;
background: #E33D61;
color: #FFFFFF;
text-transform: uppercase;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
font-weight: normal;
}
span {
display: block;
color: #812236;
font-weight: bold;
font-size: 5.5vw;
}