-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (90 loc) · 1.7 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500&display=swap");
*,
*::before,
*::after {
margin: 0;
padding: 0;
list-style: none;
outline: none;
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #d3a7a7;
padding: 5em 0;
}
h1, h3, p {
text-align: center;
color: #001f3e;
opacity: 0.9;
}
h1 {
font: bold 80px/120% Arial, "Helvetica", sans-serif;
}
h3 {
text-transform: uppercase;
font: bold 34px/120% Georgia, serif;
}
p {
font: 400 16px/120% "Rubik", sans-serif;
padding: 0.3em 1em;
}
section {
border-radius: 30px;
background: linear-gradient(145deg, #be9696, #e2b3b3);
box-shadow: 20px 20px 60px #b38e8e, -20px -20px 60px #f3c0c0;
height: 300px;
width: 200px;
margin-top: 2em;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
#reset {
height: 40px;
width: 80px;
background-color: #d3a7a7;
border: 2px solid #001f3e;
color: #001f3e;
border-radius: 40%;
margin: 0;
letter-spacing: 0.5px;
font: 400 15px/120% "Rubik", sans-serif;
}
button {
text-align: center;
background-color: #001f3e;
color: #f0f0f0;
height: 40px;
width: 40px;
margin-top: 2em;
margin-bottom: 1em;
outline: none;
border: 0;
border-radius: 50%;
font: 500 15px/120% "Rubik", sans-serif;
}
button:first-of-type {
margin-right: 15px;
}
button:hover {
transform: scale(0.95);
cursor: pointer;
}
@media screen and (max-width: 426px) {
h3 {
font-size: 24px;
}
p {
font-size: 14px;
padding: 0.3em 1em;
}
#reset {
font-size: 14px;
}
}