-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
52 lines (48 loc) · 846 Bytes
/
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
/* Wrapper for inline SVG elements and responsiveness (thanks, IE11) */
body {
padding: 60px 30px;
}
.intro {
position: relative;
width: 100%;
text-align: center;
transition: 0.6s ease-in-out;
}
body.oh-no .intro {
transform: rotate(12deg);
}
.intro__subhead {
position: relative;
}
body.oh-no .intro__subhead:after {
content: " y u do dis :'(";
display: block;
position: absolute;
top: 100%;
left: 50%;
color: red;
font-weight: bold;
text-align: center;
}
.lemmehaveit {
width: 100%;
}
.cupcake-canvas {
width: 100%;
max-width: 300px;
margin: 0 auto;
}
.cupcake-svg-container {
box-sizing: content-box;
position: relative;
width: 100%;
height: 0;
padding-bottom: calc(100% * 289 / 594);
}
.cupcake-svg-container svg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}