-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaygrounds.css
More file actions
109 lines (90 loc) · 1.35 KB
/
playgrounds.css
File metadata and controls
109 lines (90 loc) · 1.35 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
.dark-mode a {
color: #66aaff;
}
.dark-mode a:visited {
color: #b388ff;
}
.dark-mode a:hover,
.dark-mode a:focus {
color: #ffd166;
}
.light-mode a {
color: #0074d9;
}
.light-mode a:visited {
color: #005fa3;
}
.light-mode a:hover,
.light-mode a:focus {
color: #ff851b;
}
:root {
--special: rgb(127, 127, 127);
--special_light: rgba(127, 127, 127, 0.25);
--padding: 1rem;
}
body {
color-scheme: light dark;
color: var(--special);
font-family: sans-serif;
font-size: 12pt;
width: 100vw;
height: 100vh;
margin: 0;
display: grid;
grid-template-rows: auto 1fr;
}
header,
footer {
overflow: hidden;
padding: var(--padding);
}
main>div {
padding: var(--padding);
}
aside {
position: relative;
background-color: var(--special_light);
min-width: 15rem;
padding: var(--padding);
overflow: auto;
}
aside.collapsed {
width: 1rem;
padding: 0;
}
aside.collapsed>* {
display: none;
}
aside::after,
aside::before {
position: absolute;
top: 0;
left: 0;
font-family: "Font Awesome 5 Free";
font-weight: 900;
padding-top: 1rem;
cursor: pointer;
}
aside.left::after {
content: "\f137";
left: 16.5rem;
}
aside.left.collapsed::after {
content: "\f138";
left: 0.5rem;
}
aside.right::before {
content: "\f138";
left: -0.5rem;
}
aside.right.collapsed::before {
content: "\f137";
right: 0;
}
.search {
float: right;
}
.fa-moon {
cursor: pointer;
}