-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (111 loc) · 1.93 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
105
106
107
108
109
110
111
112
113
114
115
116
:root {
--dark-green: #0b5038;
--dark-blue: #43456b;
--dark-purple: #6e194a;
--dark-brown: #876645;
--light-blue: #7e90d6;
--light-purple: #a82872;
--light-brown: #b68049;
--main-green: #28ab26;
--main-red: #ff4b4b;
--timer-output: black;
}
* {
box-sizing: border-box;
}
body {
font-family: 'Quantico', sans-serif;
}
.timer-container {
max-width: 600px;
max-height: 70vh;
margin-top: 10vh;
margin-left: auto;
margin-right: auto;
border-radius: 0.5rem;
box-shadow: inset 0 0 10px #dcdcdc;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
overflow: hidden;
}
.timer-container > :first-child {
margin-top: 2rem;
}
.main-timer-output {
font-size: 3rem;
color: var(--timer-output);
}
.main-timer-output > * {
display: inline-block;
width: 4rem;
}
.lap-item> :first-child{
padding: 0 0.5rem;
color: var(--dark-brown);
}
/*timer buttons*/
.timer-btns > * {
padding: 1rem;
border-radius: 0.2rem;
border: 1px solid #999895;
color: white;
font-weight: 700;
}
.timer-btns > *:hover {
cursor: pointer;
box-shadow: inset 0 0 10px #716d64;
}
.start {
background: var(--main-green);
}
.pause {
background: var(--main-red);
}
.add-lap {
background: var(--light-brown);
}
.clear-lap {
background: var(--light-blue);
}
.reset {
background-color: var(--light-purple);
}
.add-lap:active {
background: var(--dark-brown);
}
.clear-lap:active {
background: var(--dark-blue);
}
.reset:active {
background: var(--dark-purple);
}
/*end timer buttons*/
/*laps*/
.laps {
max-height: 100%;
overflow: hidden;
}
.laps li {
padding: 0.5rem 2rem 0.5rem 0.5rem;
}
.scroll {
overflow-y: scroll;
}
/* width */
::-webkit-scrollbar {
width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f7f7f7;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: rgb(228, 228, 228);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: rgb(214, 214, 214);
}