-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (73 loc) · 1.16 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
@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: grid;
place-items: center;
height: 100vh;
background: #f8fddf;
font-family: "Lato", sans-serif;
color: #2b2b2b;
}
a {
text-decoration: none;
color: #d33f2e;
font-size: 0.9rem;
}
.container {
width: 100%;
max-width: 800px;
height: 100%;
padding: 1em;
display: grid;
grid-template-rows: 800px 1fr;
align-items: start;
}
section {
width: 100%;
max-width: 800px;
height: 100%;
max-height: 800px;
position: relative;
}
.svg-content {
position: absolute;
top: 0;
left: 0;
}
footer {
padding: 1em 0 2em;
text-align: center;
display: grid;
place-items: center;
}
footer a {
margin-top: 20px;
}
footer div {
border: none;
outline: none;
width: 40px;
height: 40px;
background: #ffa004;
border-radius: 50%;
display: grid;
place-items: center;
cursor: pointer;
}
footer div svg {
width: 20px;
height: 20px;
fill: none;
stroke-width: 3;
stroke: #fff;
text-align: center;
}
@media (max-width: 580px) {
.container {
grid-template-rows: 1fr 30%;
}
}