-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.scss
65 lines (50 loc) · 979 Bytes
/
index.scss
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
$page_background: #d75653;
html, body {
width: 100%;
height: 100%;
}
// https://stackoverflow.com/questions/70020000/how-to-make-div-cover-whole-page-and-not-only-viewport
div#background {
position: fixed;
top: 0;
left: 0;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow-x: auto;
background-color: $page_background;
display: flex;
justify-content: center;
}
#timer_div {
margin-top: 30px;
margin-bottom: auto;
padding: 10px;
width: 400px;
text-align: center;
align-content: space-between;
border-radius: 14px;
background-color: scale-color($page-background, $lightness: +15%);
}
#timer_button {
font-size: 24px;
padding: 12px 28px;
width: 200px;
border-radius: 12px;
transition-duration: 0.2s;
cursor: pointer;
&:hover {
background-color: #aaaaaa;
}
}
#time_remaining {
font-size: 50px;
padding: 0px;
margin: 0px;
}
footer {
position: fixed;
justify-content: right;
bottom: 0;
}