-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
115 lines (99 loc) · 2.02 KB
/
styles.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
105
106
107
108
109
110
111
112
113
114
html {
box-sizing: border-box;
cursor: url('/img/wow-cursor.png'), auto; /* Cursor do Mouse do World of Warcraft */
}
*, *::before, *::after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
:root {
--pomodoro: hsla(216, 93%, 35%, 0.795);
--shortBreak: hsla(103, 98%, 22%, 0.938);
--longBreak: hsl(46, 100%, 40%);
}
body {
background-color: var(--pomodoro);
transition: background-color 1s ease;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
user-select: none;
}
progress {
border-radius: 2px;
width: 100%;
height: 12px;
position: fixed;
top: 0;
}
progress::-webkit-progress-bar {
background-color: rgba(0, 0, 0, 0.1);
}
progress::-webkit-progress-value {
background-color: #fff;
}
.timer {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 20px;
text-align: center;
}
.clock {
margin-top: 50px;
margin-bottom: 30px;
font-size: 15rem;
line-height: 1;
display: flex;
align-items: center;
font-family: arial, sans-serif;
}
.mode-button {
font-size: 16px;
height: 28px;
cursor: pointer;
box-shadow: none;
font-weight: 300;
color: #fff;
border: 1px solid transparent;
margin: 0px;
border-radius: 4px;
padding: 2px 12px;
background: none;
}
.mode-button.active {
border-color: #fff;
}
.main-button {
cursor: pointer;
box-shadow: rgb(235, 235, 235) 0px 6px 0px;
font-size: 22px;
height: 55px;
text-transform: uppercase;
color: hsl(175, 26%, 41%);
font-weight: bold;
width: 200px;
background-color: white;
border-width: initial;
border-style: none;
margin: 20px 0px 0px;
padding: 0px 12px;
border-radius: 4px;
transition: color 0.5s ease-in-out 0s;
}
button:focus, button:active {
outline: none;
}
.main-button.active {
transform: translateY(6px);
box-shadow: none;
outline: none;
}
.hidden {
display: none;
}
@media screen and (max-width: 550px) {
.clock {
font-size: 8rem;
}
}