-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
96 lines (92 loc) · 1.66 KB
/
main.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
body {
display: flex;
flex-direction: column;
background-color: #353535;
}
html, body {
height: 100vh;
margin: 0;
}
.header {
padding: 0.2em;
font-family: arial,sans-serif;
font-size: 0.8em;
}
.header .content {
display: grid;
grid-template-columns: 10fr 1fr 10fr;
text-align: center;
}
.header .content a {
color: #fff;
opacity: 0.8;
text-decoration: none;
}
.header .content a:hover {
opacity: 1;
}
.container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5px;
height: 100%;
}
.jse-theme-dark {
--jse-theme-color: #224F98;
--jse-panel-background: #1e1e1e;
}
.jse-menu > *:nth-child(1),
.jse-menu > *:nth-child(2),
.jse-menu > *:nth-child(3),
.jse-menu > *:nth-child(4)
{
display: none;
}
/* Togle light/dark mode */
#switch {
position: relative;
display: none;
width: 36px;
height: 17px;
}
#switch input {
display:none;
/* margin-left: 50px; */
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #1e1e1e;
-webkit-transition: .2s;
transition: .2s;
}
.slider:before {
position: absolute;
content: "";
height: 13px;
width: 13px;
left: 2px;
bottom: 2px;
background-color: #3883FA;
-webkit-transition: .2s;
transition: .2s;
}
.slider.round {
border-radius: 17px;
}
.slider.round:before {
border-radius: 50%;
}
input:checked + .slider {
background-color: #3883FA;
}
input:checked + .slider:before {
background-color: #fff;
-webkit-transform: translateX(19px);
-ms-transform: translateX(19px);
transform: translateX(19px);
}