-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
142 lines (112 loc) · 2.08 KB
/
style.css
File metadata and controls
142 lines (112 loc) · 2.08 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
:root {
--bg: #35363A;
--color1: lightgrey;
--color2: #5c5764;
--blue: #1e90ff;
--blue2: #93d5ff;
--grey: #252426;
--red: #ef2828;
--glow: #252426;
--font1: 'Monospace';
--font2: 'Verdana';
}
/* The switch - the box around the slider */
.switch {
border-radius: 2px;
margin-top: 5px;
position: relative;
display: inline-block;
width: 63px;
height: 35px;
}
/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.slider {
border-radius: 2px;
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--color2);
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
border-radius: 2px;
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: var(--color1);
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: var(--blue);
}
input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
background-color: var(--blue2);
}
.button1 {
text-decoration: none;
font-weight: bold;
font-family: var(--font1);
border-radius: 2px;
margin-top: 2%;
margin-bottom: 2%;
display: inline-block;
cursor: pointer;
padding: 16px 32px;
font-size: 150%;
background-color: var(--bg);
color: var(--color1);
border: 5px solid var(--color1);
}
.active, .button1:hover {
background-color: var(--color1);
color: var(--color2);
}
.row2 {
margin: 0px 0px;
}
/* Add padding BETWEEN each column */
.row2,
.row2 > .column2 {
padding: 5px;
}
/* Create four equal columns that floats next to each other */
.column2 {
float: left;
width: 33%;
}
/* Clear floats after rows */
.row2:after {
content: "";
display: table;
clear: both;
padding: 25px;
}
/* Content */
.content2 {
padding: 10px;
border: 2px solid var(--bg);
}
.content2:hover {
border: 2px solid var(--bg);
padding: 10px;
}