-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
81 lines (68 loc) · 1.05 KB
/
index.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
body {
font-family: Montserrat;
}
section {
min-height: 100vh;
display: grid;
place-content: center;
}
section > div {
max-width: 1065px;
display: flex;
align-items: flex-start;
gap: 20px;
justify-content: space-between;
}
.column-center {
flex-direction: column;
justify-content: center;
align-items: center;
}
h1 {
font-size: 8em;
font-weight: 1000;
line-height: 0.8;
margin: 0;
}
h1 + span {
font-size: 2em;
}
h2 {
font-size: 3em;
font-weight: 1000;
margin: 0;
}
h2 + span {
margin: 1em 0;
font-size: 2em;
display: block;
}
button {
cursor: pointer;
background-color: #ffae03;
border: 2px solid black;
padding: 0.25em 1.5em;
font-weight: bold;
font-size: 1em;
display: flex;
align-items: center;
transition: transform 200ms;
}
button > img {
margin-left: 0.5em;
transition: transform 200ms;
}
button.big {
font-size: 1.75em;
border-width: 4px;
}
button.big > img {
width: 34px;
height: 41px;
}
button:hover {
transform: scale(1.05);
}
button:hover img {
transform: rotateZ(360deg);
}