-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
139 lines (120 loc) · 2.76 KB
/
styles.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
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
body {
font-family: sans-serif;
font-size: 1.2em;
color: #cbf7fb;
background-image: url(imgs/back.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
#box {
background: rgba(14, 25, 37, 0.9);
border: solid 2px #112f41;
margin-right: 1em;
overflow: hidden;
padding: 10px;
width: fit-content;
margin: auto
}
input[type="checkbox"] {
display: none;
}
input[type="checkbox"]:not(:checked) + label {
color: #acafaf;
}
label {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
display: inline-block;
}
label > img, h2 > img {
height: 1.2em;
vertical-align: sub;
}
/* When unchecked, grey out */
input[type="checkbox"]:not(:checked) + label > img {
filter: saturate(10%) brightness(70%);
}
button {
font-size: 1em;
background: #262626;
background-image: -moz-linear-gradient(center top, #172D37 0%, #233E4D 100%);
background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%, #172D37), color-stop(100%, #233E4D));
background-image: -webkit-linear-gradient(top, #172D37 0%, #233E4D 100%);
background-image: -o-linear-gradient(top, #172D37 0%, #233E4D 100%);
background-image: -ms-linear-gradient(top, #172D37 0%, #233E4D 100%);
background-image: linear-gradient(to bottom, #172D37 0%, #233E4D 100%);
border: 1px solid #233E4D;
border-radius: 4px;
color: #42CCD2;
vertical-align: middle;
padding: 1px 1em;
margin: .5em;
}
#profile {
width: 256px;
max-width: 100%;
margin: 5px;
}
.corner {
bottom: 5px;
left: 5px;
position: fixed;
width: 3em;
fill: #233E4D;
stroke: #42CCD2;
cursor: pointer;
stroke-width: 1px;
}
#overlay {
display: none;
position: absolute;
top: 0;
left: 0;
background: #233E4D;
}
#template {
display: none;
}
.blacklist {
margin: 3px;
border-radius: 3px;
box-shadow: inset 0 0px 2px 4px #42CCD2;
background-size: contain;
}
.blacklist img, .blacklist {
max-width: 100%;
}
.blacklist img {
opacity: 0;
}
.category {
display: grid;
grid-template-rows: 1fr;
grid-template-columns: repeat( auto-fill, minmax(128px, 1fr) );
grid-auto-rows: min-content;
max-width: calc(100vw - 2em);
padding: 0 1em 1em 1em;
}
.category > h2 {
grid-column: 1 / -1;
grid-row: 1;
font-size: 2em;
}
.blacklist.off {
filter: grayscale(100%);
box-shadow: inset 0 0px 2px 4px rgba(36, 45, 50, 0.9);
}
#close {
z-index: 1;
}