-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
65 lines (56 loc) · 1.01 KB
/
style.css
File metadata and controls
65 lines (56 loc) · 1.01 KB
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
html,
body {
margin: 0;
padding: 0;
background-color: #0d1116;
}
* {
margin: 0;
padding: 0;
}
:root {
--graph-bg: #000;
--default-square-bg: #161b22;
--level3: darkblue;
--level5: blue;
--level10: lightskyblue;
}
.graph-container {
height: 100vh;
background-color: var(--graph-bg);
display: flex;
justify-content: center;
align-items: center;
}
.graph {
width: 90vw;
height: 25vh;
padding: 10px;
border: 1px solid black;
display: grid;
grid-template-columns: repeat(52, 1fr);
overflow: auto;
}
ul {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
list-style: none;
display: grid;
grid-template-rows: repeat(7, 20px);
}
.square {
width: 50%;
aspect-ratio: 1;
background-color: var(--default-square-bg);
}
.square[data-value="3"] {
background-color: var(--level3);
}
.square[data-value="5"] {
background-color: var(--level5);
}
.square[data-value="10"] {
background-color: var(--level10);
}