-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathcanvas.css
86 lines (83 loc) · 1.57 KB
/
canvas.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
@import "../../vendor/inter.css";
html {
font-size: 16px;
}
body {
padding: 0;
margin: 0;
font-family: "Inter", -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI",
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
font-weight: 500;
line-height: 1.5;
background-color: #757575;
}
@supports (font-variation-settings: normal) {
body {
font-family: "Inter var", -apple-system, BlinkMacSystemFont, Roboto,
"Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
}
}
#a {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100vw;
height: 100vh;
}
#pack-list {
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 10;
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 1rem;
list-style: none;
overflow-y: auto;
}
.deck-btn {
display: block;
width: 100%;
margin: 0.5rem 0;
padding: 0.5rem;
border: 0;
font: inherit;
line-height: 1.15;
text-align: left;
color: #000;
background-color: rgba(255, 255, 255, 0.8);
text-shadow: 0 1px 0 #fff;
border-radius: 0.5rem;
cursor: pointer;
appearance: none;
}
.deck-btn:hover,
.deck-btn:focus {
background-color: #e0e0e0;
}
.deck-btn:active {
color: #fff;
background-color: #000;
}
@media (min-width: 768px) {
#pack-list {
width: 20%;
min-width: 300px;
padding: 1rem 2rem;
background-color: rgba(255, 255, 255, 0.4);
}
.deck-btn {
background-color: #fff;
}
}
.deck-icon {
display: inline-block;
width: 2rem;
text-align: center;
}