Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
amethystnetwork-dev
GitHub Repository: amethystnetwork-dev/Incognito
Path: blob/main/static/css/index.css
917 views
1
/**
2
* Incognito
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
@import 'appearance.css';
19
@import 'fa/fa.css';
20
21
@font-face {
22
font-family: 'material icons';
23
font-style: normal;
24
font-weight: 400;
25
src: url("./material.woff2") format('woff2');
26
}
27
@font-face {
28
font-family: 'Open Sans';
29
font-style: normal;
30
font-weight: 300;
31
font-stretch: 100%;
32
src: url('./OpenSans-wght.ttf') format('truetype');
33
}
34
@font-face {
35
font-family: 'Ubuntu Mono';
36
font-style: normal;
37
font-weight: 300;
38
src: url('./UbuntuMono.ttf') format('truetype');
39
}
40
@font-face {
41
font-family: 'Ubuntu Mono';
42
font-style: normal;
43
font-weight: 400;
44
src: url('./UbuntuMono.ttf') format('truetype');
45
}
46
@font-face {
47
font-family: 'Roboto';
48
font-style: normal;
49
font-weight: 300;
50
src: url('./Roboto-Regular.ttf') format('truetype');
51
}
52
@font-face {
53
font-family: 'Roboto';
54
font-style: italic;
55
font-weight: 300;
56
src: url('./Roboto-Italic.ttf') format('truetype');
57
}
58
@font-face {
59
font-family: 'Roboto';
60
font-style: normal;
61
font-weight: 400;
62
src: url('./Roboto-Regular.ttf') format('truetype');
63
}
64
@font-face {
65
font-family: 'Roboto';
66
font-style: italic;
67
font-weight: 400;
68
src: url('./Roboto-Regular.ttf') format('truetype');
69
}
70
@font-face {
71
font-family: 'Roboto';
72
font-style: normal;
73
font-weight: 500;
74
src: url('./Roboto-Regular.ttf') format('truetype');
75
}
76
77
* {
78
box-sizing: border-box;
79
scrollbar-width: thin;
80
scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
81
font-family: var(--font-family);
82
color: var(--text-color);
83
}
84
::-webkit-scrollbar {
85
height: 12px;
86
width: 7px;
87
background: var(--scrollbar-track-color);
88
}
89
::-webkit-scrollbar-thumb {
90
background: var(--scrollbar-thumb-color);
91
}
92
body {
93
flex-direction: column;
94
display: flex;
95
margin: 0;
96
padding: 0;
97
--width-padding: 15%;
98
min-height: 100vh;
99
}
100
.access-panel {
101
display: flex;
102
position: absolute;
103
z-index: 1;
104
width: 100%;
105
max-width: 500px;
106
color: #222;
107
font-family: Roboto;
108
align-self: center;
109
max-height: 20px;
110
}
111
.access-panel .controls {
112
background: var(--background);
113
transform: translateY(-100%);
114
transition: 0.2s;
115
visibility: hidden;
116
width: 100%;
117
padding: 7px 10px;
118
display: flex;
119
align-items: center;
120
border: 1px solid var(--border-color);
121
border-top: none;
122
border-radius: 0 0 5px 5px;
123
box-shadow: rgba(0,0,0,.24) 0 3px 8px;
124
height: 15px;
125
}
126
.access-panel:hover .controls {
127
transform: none;
128
visibility: visible;
129
max-height: none;
130
height: 51.4px;
131
}
132
.access-panel .controls input {
133
background: 0 0;
134
border: none;
135
margin: 0 10px;
136
color: var(--text-color);
137
font-family: var(--font-family);
138
flex-grow: 1;
139
outline: none;
140
}
141
.access-panel .controls .icon {
142
width: 20px;
143
height: 20px;
144
margin: 0 5px 0 10px;
145
}
146
.tip {
147
width: calc(100% - 37%);
148
left: 0;
149
right: 0;
150
bottom: 15px;
151
margin: 0 auto;
152
font-size: 14px;
153
padding: 15px 20px;
154
text-align: center;
155
position: absolute;
156
}
157
.access-panel .controls .interact {
158
color: var(--accent);
159
border: none;
160
background: 0 0;
161
font-size: 22px;
162
cursor: pointer;
163
font-family: Material Icons;
164
padding: 5px 7px;
165
margin: 0 5px;
166
}
167
a {
168
color: var(--accent);
169
}
170
body[data-search] {
171
--width-padding: 4%;
172
}
173
.tab-wrapper input {
174
padding: 14px 18px;
175
display: inline-block;
176
margin: 5px 0;
177
color: var(--text-color);
178
text-decoration: none;
179
font-size: 14px;
180
background: 0 0;
181
border: 1px solid var(--border-color);
182
border-radius: 2px;
183
outline: none;
184
font-family: inherit;
185
}
186
*[data-selected] {
187
color: var(--accent);
188
}
189
section p a {
190
color: var(--text-color);
191
}
192
.suggestion {
193
padding: 35px 0;
194
font-size: 20px;
195
border-bottom: 1px solid var(--border-color);
196
cursor: pointer;
197
}
198
.suggestion:first-child {
199
border-top: 1px solid var(--border-color);
200
}
201
.suggestion:hover {
202
background: rgba(0,0,0,.1);
203
}
204
::placeholder {
205
color: var(--text-color);
206
opacity: 0.55;
207
}
208
.widget {
209
width: 300px;
210
height: 440px;
211
border: 1px solid var(--border-color);
212
border-radius: 5px;
213
position: absolute;
214
right: calc(var(--width-padding) - 0.0px);
215
top: 80px;
216
visibility: collapse;
217
}
218
#open-nav {
219
display: none;
220
}
221
.gs-library {
222
display: grid;
223
grid-template-columns: repeat(auto-fill,166px);
224
justify-content: space-between;
225
grid-gap: 20px;
226
margin: 10px 0 30px;
227
}
228
.gs-entry {
229
width: 166px;
230
height: 166px;
231
background: #fff;
232
border-radius: 5px;
233
display: none;
234
cursor: pointer;
235
}
236
.gs-entry[data-active] {
237
display: inline-block;
238
}
239
.gs-entry:hover {
240
transform: scale(1.05);
241
transition: 0.1s;
242
}
243
header {
244
height: 80px;
245
width: 100%;
246
padding: 0 var(--width-padding);
247
display: flex;
248
align-self: center;
249
transition: 0.2s;
250
}
251
header[data-init] {
252
transition: none;
253
}
254
header[data-page] {
255
padding: 0 20%;
256
height: 100vh;
257
}
258
.selector-wrapper {
259
display: flex;
260
flex-direction: column;
261
border: 1px solid var(--border-color);
262
width: 400px;
263
max-height: 200px;
264
overflow-y: scroll;
265
}
266
.selector {
267
padding: 20px 18px;
268
display: inline-block;
269
cursor: pointer;
270
color: var(--text-color);
271
text-decoration: none;
272
font-size: 14px;
273
background: 0 0;
274
border-bottom: 1px solid var(--border-color);
275
font-family: inherit;
276
}
277
.selector:hover {
278
text-decoration: underline;
279
}
280
.selector[data-selected] {
281
color: var(--accent);
282
}
283
.selector:last-child {
284
border-bottom: none;
285
}
286
.search button {
287
background: 0 0;
288
border: none;
289
padding: 10px;
290
cursor: pointer;
291
}
292
.search i,
293
nav i {
294
color: var(--accent);
295
font-size: 14px;
296
}
297
.interactive {
298
display: flex;
299
flex-grow: 1;
300
height: 42px;
301
font-size: 14px;
302
border: none;
303
color: var(--text-color);
304
background: inherit;
305
outline: none;
306
}
307
footer {
308
height: 80px;
309
width: 100%;
310
padding: 0 var(--width-padding);
311
display: flex;
312
align-self: center;
313
margin-top: auto;
314
}
315
main {
316
width: 100%;
317
padding: 0 var(--width-padding);
318
display: flex;
319
align-self: center;
320
flex-direction: column;
321
transition: 0.2s;
322
}
323
.gs-player {
324
position: absolute;
325
left: 0;
326
right: 0;
327
}
328
.gs-frame {
329
width: 100%;
330
height: calc(100vh - 80px);
331
border: none;
332
}
333
.author,
334
.description {
335
padding: 0 var(--width-padding);
336
}
337
.description {
338
margin-bottom: 20px;
339
}
340
.search {
341
display: flex;
342
flex-grow: 1;
343
align-items: center;
344
justify-content: left;
345
}
346
nav {
347
display: flex;
348
align-items: center;
349
justify-content: right;
350
}
351
#open-nav {
352
display: none;
353
align-items: center;
354
justify-content: right;
355
}
356
header a {
357
text-decoration: none;
358
margin: 0 20px;
359
font-size: 14px;
360
cursor: pointer;
361
color: var(--text-color);
362
}
363
footer span,
364
header span {
365
text-decoration: none;
366
margin: 0 20px;
367
font-size: 14px;
368
cursor: pointer;
369
}
370
footer a {
371
text-decoration: none;
372
margin: 0 20px;
373
font-size: 14px;
374
cursor: pointer;
375
color: var(--text-color);
376
}
377
.data-section {
378
border-bottom: 1px solid var(--border-color);
379
padding: 30px 0;
380
}
381
.data-section:first-child {
382
border-top: 1px solid var(--border-color);
383
}
384
nav a:hover {
385
text-decoration: underline;
386
}
387
.nav-logo {
388
margin-left: 0;
389
width: 35px;
390
height: 35px;
391
}
392
.search a:first-child {
393
margin-left: 0;
394
}
395
nav *:last-child {
396
margin-right: 0;
397
}
398
.logo {
399
width: 100%;
400
padding-top: 12%;
401
justify-content: center;
402
align-self: center;
403
align-items: center;
404
display: flex;
405
margin-bottom: 16px;
406
}
407
.logo-moon {
408
width: 80px;
409
height: 80px;
410
}
411
.logo-text {
412
font-size: 70px;
413
color: var(--accent);
414
margin-left: 10px;
415
}
416
.access {
417
display: flex;
418
justify-content: center;
419
}
420
.access-input {
421
background: 0 0;
422
font-family: inherit;
423
padding: 0 10px 0 15px;
424
height: 48px;
425
border: 1px solid var(--border-color);
426
border-radius: 30px 0 0 30px;
427
border-right: none;
428
width: 440px;
429
color: var(--text-color);
430
outline: none;
431
}
432
.access-submit {
433
border: 1px solid var(--border-color);
434
border-left: 0;
435
border-radius: 0 30px 30px 0;
436
margin: 0;
437
padding: 0;
438
width: 50px;
439
height: 48px;
440
background: 0 0;
441
}
442
#close-nav {
443
display: none;
444
position: absolute;
445
right: 15px;
446
top: 15px;
447
width: 40px;
448
height: 40px;
449
padding: 0;
450
align-items: center;
451
justify-content: center;
452
font-size: 30px;
453
font-family: Material Icons;
454
color: var(--accent);
455
}
456
#close-nav:hover {
457
background: 0;
458
}
459
@media only screen and (max-width:1080px) {
460
nav {
461
display: none;
462
position: absolute;
463
width: 100%;
464
height: 100%;
465
left: 0;
466
right: 0;
467
justify-content: center;
468
flex-direction: column;
469
background: var(--background);
470
}
471
nav a {
472
width: 100%;
473
text-align: center;
474
margin: 0;
475
font-size: 17px;
476
padding: 35px 0;
477
}
478
nav a:hover {
479
text-decoration: none;
480
background: rgb(0,0,0,.2);
481
}
482
#open-nav[data-open] {
483
display: flex;
484
}
485
.selector-wrapper {
486
width: 100%;
487
}
488
}
489
.particles {
490
position: fixed;
491
width: 100%;
492
height: 100%;
493
top: 0;
494
z-index: -1;
495
}
496
497