-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
96 lines (85 loc) · 3.27 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
border: 0;
outline: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
height: 100vh;
background-color: #ccc;
overflow: hidden;
}
canvas {
background-color: hsl(0 0% 10%);
}
.dialog {
position: fixed;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0.9;
backdrop-filter: blur(10px);
}
form {
display: flex;
flex-direction: column;
gap: 2px;
background-color: hsl(0 0% 90%);
padding: 10px 20px;
border-radius: 5px;
box-shadow: 0 3px 5px 0 hsl(0 0% 0% / 30%);
width: 95%;
max-width: 400px;
}
input {
padding: 5px 10px;
border-radius: 5px;
background-color: hsl(0 0% 100%);
}
form label,
form button {
margin-top: 10px;
}
form button,
div.cancel,
div.delete {
background-color: hsl(0 0% 100%);
padding: 10px;
border-radius: 5px;
cursor: pointer;
transition: all 0.2s ease-in-out;
font-size: 0.8rem;
text-align: center;
}
input[type='checkbox'] {
margin-left: 5px;
}
form button:hover,
div.cancel:hover,
div.delete:hover {
background-color: hsl(0 0% 85%);
}
button.run,
button.clear,
body > h1 {
position: fixed;
top: 10px;
left: 50%;
transform: translateX(-50%);
padding: 10px 20px;
font-size: 1.3rem;
}
button.clear {
top: 70px;
}
body > h1 {
color: white;
top: 200px;
font-size: 2rem;
pointer-events: none;
text-align: center;
}