-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (76 loc) · 1.52 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
89
90
@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');
* {
border: 0;
box-sizing: border-box;
margin: 0;
padding: 0;
text-decoration: none;
}
:root {
--font-family: 'Quicksand', sans-serif;
--bg-color: #395b64;
--primary-color: #e7f6f2;
--button-color: #a5c9ca;
--black: #2c3333;
}
body {
background-color: var(--bg-color);
color: var(--primary-color);
font-family: var(--font-family);
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
margin: 0 1em;
gap: 2.5rem;
}
h1 {
font-size: 3em;
}
h2 {
font-size: 4em;
}
h3 {
font-size: 1.5em;
}
.message {
font-size: 1em;
}
.box {
border: 2px solid var(--primary-color);
display: inline-block;
font-size: 3em;
padding: 0.625rem;
margin: 1.25rem;
}
button {
font-family: var(--font-family);
font-weight: bold;
font-size: 1em;
color: var(--black);
padding: 1rem 2rem;
background-color: var(--button-color);
border: 3px solid var(--button-color);
cursor: pointer;
transition: 0.3s;
}
button:hover,
button:focus {
border: 3px solid var(--black);
}
@media screen and (min-width: 1280px) {
h1 {
font-size: 5em;
}
h3 {
font-size: 2em;
}
.message {
font-size: 1.5em;
}
.box {
font-size: 4em;
}
}