Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
titaniumnetwork-dev
GitHub Repository: titaniumnetwork-dev/Incognito-old
Path: blob/main/static/src/index.css
1324 views
1
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&display=swap');
2
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');
3
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');
4
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
5
@import url('./fa.css');
6
7
body {
8
--header-background: #FFF;
9
--header-shadow: rgba(0, 0, 0, 0.1) 0px 5px 10px 0px;
10
--border-color: rgb(0, 0, 0, .2);
11
--text-color: #343434;
12
--secondary-color: dodgerblue;
13
--scrollbar-thumb-color: rgb(32, 148, 252, 0.3);
14
--scrollbar-track-color: rgb(32, 148, 252, 0.1);
15
--width: 80%;
16
background: #FFF;
17
font-family: Roboto;
18
color: var(--text-color);
19
margin: 0;
20
display: flex;
21
flex-direction: column;
22
min-height: 100vh;
23
}
24
25
@font-face {
26
font-family: 'Material Icons';
27
font-style: normal;
28
font-weight: 400;
29
src: url('./material.woff2') format('woff2');
30
}
31
32
* {
33
box-sizing: border-box;
34
scrollbar-width:thin;
35
scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);
36
}
37
38
::-webkit-scrollbar {
39
width: 7px;
40
}
41
::-webkit-scrollbar-track {
42
background: var(--scrollbar-track-color)
43
}
44
::-webkit-scrollbar-thumb {
45
background: var(--scrollbar-thumb-color);
46
}
47
48
49
body[data-appearance="ocean"] {
50
--border-color: rgb(255, 255, 255, .2);
51
--text-color: #FFF;
52
--header-background: #282d3f;
53
--secondary-color: mediumseagreen;
54
--scrollbar-thumb-color: rgb(52, 184, 116, 0.3);
55
--scrollbar-track-color: rgb(52, 184, 116, 0.1);
56
background: #161923
57
}
58
59
body[data-appearance="lime"] {
60
--border-color: rgb(255, 255, 255, .2);
61
--text-color: #FFF;
62
--header-background: #185ADB;
63
--secondary-color: #FFC947;
64
--scrollbar-thumb-color: rgb(52, 184, 116, 0.3);
65
--scrollbar-track-color: rgb(52, 184, 116, 0.1);
66
background:#0A1931;
67
}
68
69
body[data-appearance="terminal"] {
70
--border-color: rgb(255, 255, 255, .2);
71
--text-color: #FFF;
72
--header-background: #000;
73
--secondary-color: mediumseagreen;
74
--scrollbar-thumb-color: rgb(52, 184, 116, 0.3);
75
--scrollbar-track-color: rgb(52, 184, 116, 0.1);
76
font-family: Ubuntu Mono;
77
background:#000;
78
}
79
80
body[data-appearance="midnight"] {
81
--border-color:rgb(255, 255, 255, .2);
82
--header-background: #181818;
83
--text-color: #FFF;
84
--secondary-color: dodgerblue;
85
background: #121212;
86
}
87
88
header {
89
background: var(--header-background);
90
/*border-bottom: 1px solid var(--border-color);*/
91
top: 0;
92
left: 0;
93
right: 0;
94
width: 100%;
95
height: 80px;
96
}
97
98
h1, h2, h3, h4, h5, h6 {
99
margin: 0;
100
font-weight: 500;
101
font-family: Noto Sans JP;
102
}
103
104
body[data-appearance="terminal"] h1, body[data-appearance="terminal"] h2, body[data-appearance="terminal"] h3, body[data-appearance="terminal"] h4, body[data-appearance="terminal"] h5, body[data-appearance="terminal"] h6 {
105
font-family: Ubuntu Mono;
106
}
107
108
h1 {
109
font-size: 30px;
110
}
111
112
nav {
113
display: flex;
114
margin: 0 auto;
115
width: var(--width);
116
height: 80px;
117
justify-content: space-between;
118
align-items: center;
119
}
120
121
body[data-page=home] {
122
--width: 93%;
123
}
124
125
body[data-page=home] nav section .home {
126
display: none;
127
}
128
129
nav section:first-child *:first-child {
130
margin-left: 0;
131
}
132
133
nav section:last-child *:last-child {
134
margin-right: 0;
135
}
136
137
a {
138
color: var(--secondary-color);
139
text-decoration: underline;
140
cursor: pointer;
141
}
142
143
nav a {
144
margin: 0 15px;
145
text-decoration: none;
146
color: var(--text-color);
147
font-size: 15px;
148
}
149
150
nav a:hover {
151
text-decoration: underline;
152
}
153
154
footer {
155
margin-top: auto;
156
width: 100%;
157
height: 80px;
158
display: flex;
159
justify-content: center;
160
align-items: center;
161
}
162
163
footer nav a, footer nav span {
164
font-size: 14px;
165
color: var(--text-color);
166
}
167
168
.button {
169
padding: 15px 18px;
170
display: inline-block;
171
cursor: pointer;
172
margin: 5px 6px;
173
color: #FFF;
174
text-decoration: none;
175
border-radius: 3px;
176
background: #242424;
177
border: solid 1px #282828;
178
font-family: inherit;
179
}
180
181
.button[data-style="secondary"] {
182
background: transparent;
183
border: solid 1px var(--secondary-color);
184
color: var(--secondary-color);
185
}
186
187
.quick-button {
188
padding: 14px 18px;
189
display: inline-block;
190
cursor: pointer;
191
margin: 5px 6px;
192
color: var(--text-color);
193
text-decoration: none;
194
font-size: 14px;
195
border-radius: 30px;
196
background: none;
197
border: 1px solid var(--border-color);
198
font-family: inherit;
199
}
200
201
.quick-button i {
202
margin-right: 3px;
203
}
204
205
.nav-logo {
206
width: 35px;
207
height: 35px;
208
}
209
210
.home-logo {
211
display: flex;
212
align-items: center;
213
justify-content: center;
214
margin-bottom: 18px;
215
}
216
217
.home-logo svg, .home-logo img {
218
width: 80px;
219
height: 80px;
220
margin-right: 10px;
221
}
222
223
.home-logo .text {
224
height: 80px;
225
display: inline-block;
226
font-size: 70px;
227
color: var(--secondary-color);
228
}
229
230
.home {
231
width: 100%;
232
height: calc(100vh - 160px);
233
padding-top: 10%;
234
text-align: center;
235
}
236
237
.banner {
238
background: url(./pattern.png) repeat;
239
background-size: 54px;
240
width: var(--width);
241
padding: 60px calc(50% - calc(var(--width) / 2));
242
display: flex;
243
justify-content: space-between;
244
align-items: center;
245
color: #FFF;
246
box-sizing: content-box;
247
}
248
249
.faq {
250
display: grid;
251
margin: 15px auto;
252
width: var(--width);
253
grid-template-columns: auto auto;
254
justify-content: space-between;
255
}
256
257
.faq section {
258
width: 595px;
259
margin: 8px 0px;
260
}
261
262
.settings {
263
display: flex;
264
margin: 15px auto 0px auto;
265
width: var(--width);
266
flex-direction: column;
267
}
268
269
.content {
270
margin: 15px auto;
271
width: var(--width);
272
}
273
274
.thumbnails {
275
margin: 15px auto;
276
width: var(--width);
277
display: flex;
278
flex-wrap: wrap;
279
justify-content: space-between;
280
}
281
282
.gs-search {
283
width: 305px;
284
}
285
286
.horizontal-border {
287
width: 100%;
288
height: 1px;
289
display: block;
290
background: var(--border-color);
291
margin: 10px 0px;
292
}
293
294
.options {
295
width: 600px;
296
/* TODO: only set max height if there is an overflow (This is hard to do without js) */
297
padding-left: 0;
298
list-style-type: none;
299
overflow-y: auto;
300
}
301
302
/*
303
.options li {
304
width: 100%;
305
padding: 20px;
306
border-bottom: 1px solid var(--border-color);
307
cursor: pointer;
308
}
309
*/
310
311
/* Experiment */
312
.options li {
313
padding: 14px 18px;
314
display: inline-block;
315
cursor: pointer;
316
margin: 5px 6px;
317
color: var(--text-color);
318
text-decoration: none;
319
font-size: 14px;
320
border-radius: 30px;
321
background: none;
322
border: 1px solid var(--border-color);
323
font-family: inherit;
324
}
325
326
.options li i {
327
margin-right: 3px;
328
}
329
330
.options li:hover, .options li[data-selected] {
331
color: var(--secondary-color);
332
}
333
334
/*
335
.options li:last-child {
336
border-bottom: none;
337
}
338
*/
339
340
input {
341
background: none;
342
font-family: inherit;
343
padding: 0px 10px;
344
height: 48px;
345
border: 1px solid var(--border-color);
346
color: var(--text-color);
347
border-radius: 3px;
348
outline: none;
349
}
350
351
.frame {
352
width: 100%;
353
height: calc(100vh - 160px);
354
display: none;
355
}
356
357
.frame iframe {
358
width: 100%;
359
height: 100%;
360
background: white;
361
border: none;
362
}
363
364
.frame[data-service="web"] {
365
height: 100%;
366
position: absolute;
367
overflow: hidden;
368
}
369
370
.frame .controls {
371
right: 10%;
372
margin-top: 25px;
373
position: absolute;
374
}
375
376
.frame .controls button {
377
width: 40px;
378
height: 40px;
379
margin: 0px 5px;
380
font-family: 'Material Icons';
381
font-weight: normal;
382
font-style: normal;
383
font-size: 23px;
384
line-height: 1;
385
letter-spacing: normal;
386
text-transform: none;
387
display: inline-block;
388
white-space: nowrap;
389
word-wrap: normal;
390
direction: ltr;
391
cursor: pointer;
392
-moz-font-feature-settings: 'liga';
393
-moz-osx-font-smoothing: grayscale;
394
border: 1px solid var(--border-color);
395
border-radius: 3px;
396
color: var(--secondary-color);
397
background: var(--header-background);
398
padding: 0;
399
}
400
401
.thumbnail {
402
display: inline-block;
403
width: 225px;
404
height: 305px;
405
border-radius: 5px;
406
margin: 0 10px 20px 0;
407
text-decoration: none;
408
color: var(--text-color);
409
cursor: pointer;
410
border: 1px solid var(--border-color);
411
background: var(--header-background);
412
}
413
414
.thumbnail img {
415
width: 100%;
416
height: 255px;
417
border-radius: 5px 5px 0 0;
418
border-bottom: 1px solid var(--border-color);
419
}
420
421
.thumbnail .title {
422
width: 90%;
423
text-align: center;
424
margin: 0 auto;
425
margin-top: 0px;
426
margin-top: 12px;
427
font-size: 14px;
428
white-space: nowrap;
429
overflow: hidden;
430
text-overflow: ellipsis;
431
}
432
433
.gs-empty {
434
display: none;
435
}
436
437
body[data-page="home"] form input {
438
width: 440px;
439
}
440
441
body[data-page="settings"] .tab input {
442
width: 450px;
443
}
444
445
.tip {
446
padding: 20px 0;
447
position: fixed;
448
margin-left: auto;
449
margin-right: auto;
450
left: 0;
451
right: 0;
452
width: 70%;
453
border-radius: 5px;
454
text-align: center;
455
background: var(--header-background);
456
border: 1px solid var(--border-color);
457
bottom: 80px;
458
}
459
460
@media only screen and (max-width: 1535px) {
461
.faq section {
462
width: 90%;
463
}
464
}
465
466
@media only screen and (max-width: 545px) {
467
.home-logo img {
468
width: 55px;
469
height: 55px;
470
}
471
.home-logo .text {
472
height: 55px;
473
font-size: 55px;
474
}
475
body[data-page=home] form input {
476
width: 65%;
477
}
478
.gs-search {
479
width: 100%;
480
}
481
.faq h1 {
482
font-size: 25px;
483
}
484
}
485
486
@media only screen and (max-width: 710px) {
487
body[data-page=settings] .tab input {
488
width: calc(100% - 155px)
489
}
490
.options {
491
width: 90%
492
}
493
.options li {
494
display: block;
495
}
496
.quick-button {
497
display: block;
498
}
499
}
500
501
@media only screen and (max-width: 890px) {
502
.faq {
503
grid-template-columns: auto;
504
}
505
}
506
507