Debian Codegraph @

utils/gh-pages/main.css

raw
1 :root {
2 --main-color: #111;
3 --main-bg: #f0f0ff;
4 --model-bg: #99f;
5 --modal-emoji-bg: white;
6 --table-font-family: monospace;
7 --table-header-bg: #ccf;
8 --table-listheader-bg: #ddf;
9 --table-even-bg: #ddf;
10 --table-odd-bg: #f0f0ff;
11 --font-family: "Segoe UI", "Nimbus Sans L", "Liberation Sans", "Open Sans", FreeSans, Arial, sans-serif;
12 }
13
14 body {
15 font-size: larger;
16 font-family: var(--font-family);
17 background-color: var(--main-bg);
18 color: var(--main-color);
19 position:relative;
20 min-height: 90vh;
21 }
22
23 h1 {
24 text-align: center;
25 font-size: x-large;
26 }
27
28 .footer {
29 position: absolute;
30 bottom: -3em;
31 padding: 1em;
32 }
33
34 .controls {
35 text-align: center;
36 }
37
38 .search {
39 display: inline-block;
40 box-sizing: border-box;
41 border-radius: 4px;
42 height: 2.1em;
43 background-color: #fff;
44 border: 1px solid rgba(0, 0, 0, 0.15);
45 box-shadow: 0 2px 3px rgba(0, 0, 0, 0.06);
46 padding-left: .5em;
47 padding-right: .5em;
48 }
49
50 #search_full {
51 appearance: none;
52 font-size: 1em;
53 background: none;
54 outline: none;
55 border: none;
56 padding: 0;
57 height: 2.1em;
58 width: 17em;
59 }
60
61 .search_icon {
62 border-radius: 0 4px 4px 0;
63 color: #999;
64 font-size: 1.25em;
65 padding: 0 0.5em 0 0;
66 margin-top: -1px;
67 margin-bottom: -1px;
68 margin-right: -3px;
69 line-height: 1.5;
70 cursor: default;
71 }
72
73 .copiable {
74 user-select: all;
75 cursor: copy;
76 }
77
78 .copiable.copied::after {
79 display: block;
80 height: 28px;
81 opacity: 1.0;
82 background-color: #EEE;
83 color: black;
84 border-radius: 10px;
85 padding: 3px;
86 margin: 0px;
87 line-height: normal;
88 font-size: 15px;
89 font-weight: normal;
90 font-family: var(--font-family);
91 content: "Copied!";
92 position: absolute;
93 box-shadow: 0px 0px 10px #999 inset;
94 transition: opacity 2s
95 }
96
97 .copiable.copiedfadeout::after {
98 opacity: 0.0 !important;
99 }
100
101 .spinnerholder {
102 display: inline-block;
103 text-align: center;
104 margin: auto;
105 line-height: 2em;
106 vertical-align: middle;
107 width: 2em;
108 }
109
110 .roundspinner {
111 position: relative;
112 height: 30px;
113 width: 30px;
114 margin: 0px auto;
115 display: inline-block;
116 animation: spinnerrotation 3s infinite linear;
117 cursor: wait;
118 border: 3px solid #3e899fab;
119 border-bottom-color: transparent;
120 border-radius: 50%
121 }
122
123 @keyframes spinnerrotation {
124 from {
125 transform: rotate(0deg)
126 }
127
128 to {
129 transform: rotate(359deg)
130 }
131 }
132
133 .modal {
134 box-sizing: content-box;
135 background-color: transparent;
136 position: fixed;
137 left: 50%;
138 top: 50%;
139 transform: translate(-50%, -50%);
140 z-index: 10;
141 max-height: 300px;
142 min-width: 280px;
143 max-width: 300px;
144 }
145
146 @media (min-width: 600px) and (min-height: 480px) {
147 .modal {
148 max-height: 460px;
149 max-width: 400px;
150 }
151 }
152
153 @media (min-width: 600px) and (min-height: 680px) {
154 .modal {
155 max-height: 660px;
156 max-width: 400px;
157 }
158 }
159
160 @media (min-width: 800px) and (min-height: 780px) {
161 .modal {
162 max-height: 760px;
163 max-width: 500px;
164 }
165 }
166
167 @media (min-width: 900px) and (min-height: 780px) {
168 .modal {
169 max-height: 760px;
170 max-width: 700px;
171 }
172 }
173
174 .modal .content {
175 background-color: var(--model-bg);
176 overflow-y: auto;
177 overflow-x: hidden;
178 padding: 15px;
179 max-width: 783px;
180 height: 100%;
181 max-height: 90vh;
182 width: 100%;
183 box-shadow: 5px 5px 10px black;
184 }
185
186 .modal samp {
187 display: block;
188 background-color: #fffd;
189 padding: 2px;
190 border-radius: 4px;
191 }
192
193 .modal samp.emoji {
194 display: block;
195 font-size: 100px;
196 background-color: var(--modal-emoji-bg);
197 text-align: center;
198 line-height: 1.2;
199 border: 2px solid #333;
200 box-shadow: 0px 0px 5px #999 inset;
201 padding: 25px 10px 10px 10px;
202 margin: 0px auto;
203 }
204
205 @media (min-width: 600px) and (min-height: 480px) {
206 .modal samp.emoji {
207 font-size: 126px;
208 line-height: 180px;
209 border: 4px solid #333;
210 box-shadow: 0px 0px 10px #999 inset;
211 }
212 }
213
214 .modal code {
215 display: block;
216 background-color: #fffd;
217 padding: 2px;
218 border-radius: 4px;
219 margin: 4px 0px;
220 }
221
222 .modal .name {
223 text-align: center;
224 font-size: larger;
225 font-weight: bolder;
226 margin-top: 0.3em;
227 }
228
229 table {
230 margin: auto;
231 }
232
233 td {
234 font-family: monospace;
235 word-wrap: anywhere;
236 }
237
238 td:first-child {
239 text-align: center
240 }
241
242 tr:nth-child(2n+1) {
243 background-color: var(--table-odd-bg)
244 }
245
246 tr:nth-child(2n) {
247 background-color: var(--table-even-bg)
248 }
249
250 tr.empty {
251 display: none
252 }
253
254 tr>th:nth-child(3),
255 tr>td:nth-child(3),
256 tr>th:nth-child(4),
257 tr>td:nth-child(4),
258 tr>th:nth-child(5),
259 tr>td:nth-child(5) {
260 display: none
261 }
262
263 .allcolumns tr>th:nth-child(3),
264 .allcolumns tr>td:nth-child(3),
265 .allcolumns tr>th:nth-child(4),
266 .allcolumns tr>td:nth-child(4),
267 .allcolumns tr>th:nth-child(5),
268 .allcolumns tr>td:nth-child(5) {
269 display: table-cell
270 }
271
272 tr.listheader>* {
273 background-color: var(--table-listheader-bg);
274 position: -webkit-sticky;
275 position: sticky;
276 top: 0;
277 }
278
279 tr.header>* {
280 background-color: var(--table-header-bg);
281 position: -webkit-sticky;
282 position: sticky;
283 top: 28px;
284 }
285
286 tr.listheader.UNICODE_EMOJI_ENGLISH>th:first-child {
287 background-color: #012169;
288 background-image: radial-gradient(white 15%, #012169 60%);
289 color: #c8102e
290 }
291
292 tr.listheader.UNICODE_EMOJI_ALIAS_ENGLISH>th:first-child {
293 background-image: radial-gradient(#c8102e80 5%, #ffffff80 15%, #01216980 60%);
294 color: black
295 }
296
297 tr.listheader.UNICODE_EMOJI_SPANISH>th:first-child {
298 background-color: #ffc400;
299 background-image: linear-gradient(#c60b1e, #ffc400, #ffc400, #c60b1e);
300 color: black
301 }
302
303 tr.listheader.UNICODE_EMOJI_PORTUGUESE>th:first-child {
304 background-color: red;
305 background-image: linear-gradient(to right, #060, red, red, red);
306 color: white
307 }
308
309 tr.listheader.UNICODE_EMOJI_ITALIAN>th:first-child {
310 background-color: #6cb06c;
311 background-image: linear-gradient(to right, #6cb06c, white, #f72a2a);
312 color: black
313 }