-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (57 loc) · 1.23 KB
/
Copy pathstyle.css
File metadata and controls
71 lines (57 loc) · 1.23 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
66
67
68
69
70
71
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz@9..40&display=swap');
:root {
--set-gap: 30px;
}
body {
background-color: #afb3b7;
color: #0d1f23;
font-family: 'DM Sans', sans-serif;
}
.keyboard-entry {
display: flex;
flex-direction: row;
gap: 10px;
}
.set {
display: flex;
flex-direction: row;
gap: var(--set-gap);
.key {
--size: 30px;
--border-size: 1px;
align-items: center;
border: var(--border-size) solid black;
border-radius: 2px;
box-sizing: border-box;
display: flex;
justify-content: center;
height: var(--size);
position: relative;
width: var(--size);
& + .key::before {
--size: 20px;
align-items: center;
border: 1px solid black;
box-sizing: border-box;
content: "+";
display: flex;
height: var(--size);
justify-content: center;
left: calc((-1 * (var(--set-gap) / 2)) + (-1 * (var(--size) / 2)) - var(--border-size));
position: absolute;
width: var(--size);
}
}
}
.label {
}
.list-of-entries {
width: 400px; /* TEMPORARY */
display: grid;
grid-template-columns: auto auto;
grid-auto-rows: auto;
grid-auto-flow: row;
.keyboard-entry {
display: contents;
}
}