-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (87 loc) · 1.17 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
font-size: 10px;
font-family: "Montserrat", sans-serif;
letter-spacing: 0.5ch;
}
.container {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.header {
text-align: center;
}
.header h1 {
margin: 3rem 0 1.5rem;
font-size: 3.5rem;
}
.header p {
font-size: 1.5rem;
}
.pads {
display: flex;
flex-direction: row;
background: lightblue;
width: 100%;
}
.pads > div {
width: 12rem;
height: 12rem;
flex: 1;
}
.pad1 {
background: lightcoral;
}
.pad2 {
background: lightgreen;
}
.pad3 {
background: lightsalmon;
}
.pad4 {
background: lightseagreen;
}
.pad5 {
background: lightpink;
}
.pad6 {
background: lightblue;
}
@keyframes jump {
0% {
bottom: 0%;
left: 20%;
}
50% {
bottom: 50%;
left: 50%;
}
100% {
bottom: 0%;
left: 80%;
}
}
.visual > div {
z-index: -1;
position: absolute;
width: 3rem;
height: 3rem;
border-radius: 50%;
}
@media screen and (min-width: 768px) {
html {
font-size: 12px;
}
}
@media screen and (min-width: 1200px) {
html {
font-size: 14px;
}
}