-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
82 lines (80 loc) · 1.48 KB
/
index.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
:root {
--themeClr: hsl(359, 60%, 65%);
--invert: 1;
--from: 0%;
--code-font: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
background: #fff;
}
#main {
position: relative;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#display {
font-family: var(--code-font);
user-select: none;
font-variant-numeric: tabular-nums;
font-size: clamp(3rem, 22vw, 9rem);
font-weight: 700;
font-style: oblique;
color: var(--themeClr);
filter: invert(var(--invert));
mix-blend-mode: difference;
}
#display_counter {
user-select: none;
color: var(--themeClr);
filter: invert(var(--invert));
mix-blend-mode: difference;
}
#main::before {
content: "";
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
transform: rotate(0.02deg) translateY(var(--from));
will-change: transform;
background-color: var(--themeClr);
transition: transform 1020ms linear 0s;
}
.time-input {
display: flex;
justify-content: space-evenly;
}
.set-longbreak {
display: flex;
justify-content: space-between;
}
.autoBreak,
.autoStart,
.themeMode {
display: flex;
justify-content: space-between;
align-items: center;
}
.autoBreak {
margin-bottom: 0.5rem;
}
.notify-panel {
display: flex;
align-items: center;
justify-content: space-between;
}
.volume-slider {
margin-top: 1em;
display: flex;
align-items: center;
}