-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (79 loc) · 1.48 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
:root {
/* Colors */
--red: #f8333c;
--background: #f7f7f2;
--foreground: #46494c;
--border-radius: 70px;
--box-shadow: 8px 8px 13px #cbcbc6, -8px -8px 13px #ffffff;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
background-color: var(--background);
color: var(--foreground);
display: grid;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1rem;
font-weight: 400;
height: 100vh;
line-height: 1.5;
margin: 0;
place-items: center;
}:root {
/* Colors */
--red: #f8333c;
--background: #f7f7f2;
--foreground: #46494c;
--border-radius: 70px;
--box-shadow: 8px 8px 13px #cbcbc6, -8px -8px 13px #ffffff;
}
.p {
margin-bottom: 1rem;
margin-top: 0;;
}
.title {
margin-top: 0;
font-size: 25px;
}
.timer {
font-size: 3rem;
}
.flex-gap *{
margin: 10px;
}
.flex-row {
flex-direction: row !important;
}
.flex-center {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.timer-card {
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
margin-bottom: 1.75rem;
width: 16rem;
padding: 2.75rem 1.15rem;
}
.btn {
border: none;
padding: 1.75rem;
border-radius: 25px;
box-shadow: var(--box-shadow);
user-select: none;
cursor: pointer;
}
.btn:hover {
transform: scale(1.1);
transition-duration: 5ms;
}
.btn:active {
transform: translate(0,5px);
}