Debian Codegraph @

website/theme/static/style.css

raw symbols SCIP
1 :root {
2 --primary-h: 217;
3 --primary-s: 100%;
4 --primary-l: 19%;
5
6 --text-h: 0;
7 --text-s: 0%;
8
9 --color-primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
10 --link-color: hsl(var(--primary-h), 100%, 35%);
11 --font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
12 --text-color: hsl(var(--text-h), var(--text-s), 2%);
13
14 --nav-link-hover-color: #e9ecef
15 }
16
17 /* start css reset */
18
19 *,
20 *::before,
21 *::after {
22 box-sizing: border-box;
23 }
24
25 * {
26 margin: 0;
27 }
28
29 input,
30 button,
31 textarea,
32 select {
33 font: inherit;
34 }
35 /* end css reset */
36
37 body {
38 font-family: var(--font-family);
39 background-color: white;
40 }
41
42 h1,
43 h2,
44 h3 {
45 line-height: 1.2;
46 }
47
48 code {
49 background-color: #f5f5f5;
50 padding: 0.058rem 0.25rem;
51 border-radius: 4px;
52 color: #c7254e;
53 font-size: 0.92em;
54 }
55
56 pre {
57 background-color: #f5f5f5;
58 padding: 0.9rem;
59 border-radius: 6px;
60 overflow-x: auto;
61 margin: 1.5rem 0;
62 border: 1px solid #ddd;
63 line-height: 1.1;
64 }
65
66 pre code {
67 padding: 0;
68 color: var(--text-color);
69 font-size: 0.85rem;
70 }
71
72 @media only screen and (max-width: 25em) {
73 .profile {
74 max-width: 100%;
75 }
76 }
77
78 @media print {
79 body {
80 max-width: none;
81 }
82 }
83
84 .page {
85 font-family: var(--font-family);
86 background-color: white;
87 color: var(--text-color);
88 line-height: 1.6;
89 }
90
91 .page__container {
92 min-height: 100vh;
93 display: flex;
94 flex-direction: column;
95 }
96
97 .header {
98 background-color: #f8f9fa;
99 padding: 0.5rem 0;
100 color: var(--text-color);
101 border-bottom: 1px solid #dee2e6;
102 }
103
104 .header__container {
105 max-width: 1200px;
106 margin: 0 auto;
107 padding: 0 1rem;
108 display: flex;
109 justify-content: space-between;
110 align-items: center;
111 flex-wrap: wrap;
112 gap: 1rem;
113 }
114
115 .header__brand {
116 flex-shrink: 0;
117 }
118
119 .brand__link {
120 display: flex;
121 align-items: center;
122 gap: 0.3rem;
123 text-decoration: none;
124 color: inherit;
125 padding: 0rem 0.4rem;
126 border-radius: 4px;
127 transition: color 0.05s ease;
128 }
129
130 .brand__link:hover {
131 background-color: var(--nav-link-hover-color);
132 border-radius: 4px;
133 }
134
135 .brand__logo {
136 flex-shrink: 0;
137 }
138
139 .brand__image {
140 width: 80px;
141 height: 80px;
142 display: block;
143 }
144
145 .brand__text {
146 display: flex;
147 flex-direction: column;
148 }
149
150 .brand__title {
151 font-size: 1.5rem;
152 font-weight: 600;
153 line-height: 1.2;
154 color: var(--color-primary);
155 }
156
157 .brand__subtitle {
158 font-size: 1rem;
159 font-weight: 400;
160 color: hsl(var(--primary-h), 0%, 35%);
161 }
162
163 .nav__list {
164 display: flex;
165 list-style: none;
166 margin: 0;
167 padding: 0;
168 }
169
170 .nav__link {
171 color: var(--link-color);
172 text-decoration: none;
173 font-weight: 600;
174 font-size: 1.15rem;
175 padding: 0.75rem 1rem;
176 border-radius: 4px;
177 }
178
179 .nav__link:hover {
180 color: hsl(var(--primary-h), var(--primary-s), 20%);
181 background-color: var(--nav-link-hover-color);
182 border-radius: 4px;
183 }
184
185 .main {
186 flex: 1;
187 padding: 3rem 0;
188 }
189
190 .main__container {
191 max-width: 1200px;
192 margin: 0 auto;
193 padding: 0 1rem;
194 }
195
196 .home-page {
197 max-width: 850px;
198 margin: 0 auto;
199 }
200
201 .main-page__header {
202 text-align: center;
203 margin-bottom: 3rem;
204 }
205
206 .main-page__header-text {
207 font-size: 4.5rem;
208 color: var(--color-primary);
209 line-height: 1.1;
210 margin: 0;
211 }
212
213 .newsletter-box {
214 background-color: #f8f9fa;
215 border: 1px solid #dee2e6;
216 border-radius: 8px;
217 padding: 2rem;
218 margin-top: 2rem;
219 }
220
221 .newsletter-box h2 {
222 margin-top: 0;
223 margin-bottom: 1rem;
224 color: var(--color-primary);
225 }
226
227 .newsletter-box p {
228 margin-bottom: 1.5rem;
229 }
230
231 .newsletter-form__content {
232 display: flex;
233 gap: 1rem;
234 flex-wrap: wrap;
235 }
236
237 .newsletter-form__input {
238 padding-left: 1rem;
239 padding-right: 1rem;
240 border: 1px solid #ddd;
241 border-radius: 6px;
242 font-size: 1rem;
243 flex: 1;
244 min-width: 250px;
245 max-width: 350px;
246 }
247
248 .newsletter-form__input:focus {
249 outline: none;
250 border-color: var(--color-primary);
251 box-shadow: 0 0 0 2px hsl(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
252 }
253
254 .newsletter-form__button {
255 padding: 0.75rem 1.5rem;
256 background-color: var(--color-primary);
257 color: white;
258 border: none;
259 border-radius: 4px;
260 font-size: 1rem;
261 font-weight: 500;
262 cursor: pointer;
263 transition: background-color 0.2s ease;
264 }
265
266 .newsletter-form__button:hover {
267 background-color: hsl(var(--primary-h), var(--primary-s), 10%);
268 }
269
270 .articles-page {
271 max-width: 1000px;
272 margin: 0 auto;
273 }
274
275 .articles-page__header {
276 text-align: center;
277 margin-bottom: 2rem;
278 }
279
280 .articles-page__title {
281 font-size: 2.5rem;
282 font-weight: 600;
283 color: var(--color-primary);
284 margin-bottom: 0.5rem;
285 }
286
287 .articles-page__subtitle {
288 font-size: 1.125rem;
289 color: #6c757d;
290 line-height: 1.5;
291 }
292
293 .articles-grid {
294 display: flex;
295 flex-direction: column;
296 gap: 2rem;
297 }
298
299 .articles__list {
300 display: flex;
301 flex-direction: column;
302 gap: 2rem;
303 }
304
305 .article-card {
306 background-color: white;
307 border-radius: 8px;
308 border: 1px solid #ddd;
309 padding-top: 2rem;
310 padding-left: 2rem;
311 padding-right: 2rem;
312 padding-bottom: 1rem;
313 transition: transform 0.05s ease, box-shadow 0.05s ease;
314 cursor: pointer;
315 box-shadow: 0 1.5px 4.5px rgba(0, 0, 0, 0.1);
316 }
317
318 .article-card:hover {
319 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
320 }
321
322 .article-card__header {
323 margin-bottom: 0.75rem;
324 }
325
326 .article-card__title {
327 font-size: 1.5rem;
328 font-weight: 600;
329 line-height: 1.3;
330 color: var(--color-primary);
331 }
332
333
334 .article-card__content ul,
335 .article-card__content ol {
336 margin-bottom: 1rem;
337 padding-left: 2rem;
338 }
339
340 .article-card__content li {
341 margin-bottom: 0.25rem;
342 }
343
344 .article-card__content a {
345 color: var(--link-color);
346 text-decoration: none;
347 }
348
349
350 .article-card__content p {
351 margin-bottom: 1rem;
352 }
353
354 .article-card__content {
355 overflow-wrap: break-word;
356 }
357
358 .article-card__content a:hover {
359 text-decoration: underline;
360 }
361
362 .article-card-meta {
363 display: flex;
364 gap: 0.5rem;
365 flex-wrap: wrap;
366 align-items: center;
367 margin-bottom: 0.75rem;
368 }
369
370 .article-card-meta__separator {
371 font-size: 0.75rem;
372 color: var(--color-primary);
373 }
374
375 .article-card-meta__item {
376 display: flex;
377 gap: 0.25rem;
378 align-items: center;
379 }
380
381 .article-card-meta__value {
382 font-size: 1rem;
383 color: var(--color-primary);
384 }
385
386 .article-card-meta__value a {
387 color: var(--link-color);
388 text-decoration: none;
389 }
390
391 .article-card-meta__value a:hover {
392 text-decoration: underline;
393 }
394
395 .article-page {
396 max-width: 850px;
397 margin: 0 auto;
398 }
399
400 .article__header {
401 margin-bottom: 2rem;
402 padding-bottom: 2rem;
403 border-bottom: 2px solid #e2e2e2;
404 }
405
406 .article__title {
407 font-size: 2.5rem;
408 font-weight: 600;
409 line-height: 1.2;
410 margin-bottom: 1.5rem;
411 color: var(--color-primary);
412 }
413
414 .article-meta {
415 display: flex;
416 gap: 0.5rem;
417 flex-wrap: wrap;
418 align-items: center;
419 }
420
421 .article-meta__separator {
422 font-size: 0.75rem;
423 color: var(--color-primary);
424 }
425
426 .article-meta__item {
427 display: flex;
428 gap: 0.25rem;
429 align-items: center;
430 }
431
432 .article-meta__value {
433 font-size: 1.2rem;
434 color: var(--color-primary);
435 }
436
437 .article-meta__value a {
438 color: var(--link-color);
439 text-decoration: none;
440 }
441
442 .article-meta__value a:hover {
443 text-decoration: underline;
444 }
445
446 .article-content {
447 line-height: 1.6;
448 font-size: 1.125rem;
449 color: var(--text-color);
450 overflow-wrap: break-word;
451 }
452
453 .article-content h1,
454 .article-content h2,
455 .article-content h3,
456 .article-content h4,
457 .article-content h5,
458 .article-content h6 {
459 margin-top: 2rem;
460 margin-bottom: 1rem;
461 line-height: 1.3;
462 color: var(--color-primary);
463 }
464
465 .article-content h1 {
466 font-size: 2rem;
467 }
468
469 .article-content h2 {
470 font-size: 1.5rem;
471 }
472
473 .article-content h3 {
474 font-size: 1.25rem;
475 }
476
477 .article-content p {
478 margin-bottom: 1rem;
479 }
480
481 .article-content ul,
482 .article-content ol {
483 margin-bottom: 1rem;
484 padding-left: 2rem;
485 }
486
487 .article-content li {
488 margin-bottom: 0.25rem;
489 }
490
491 .article-content a {
492 color: var(--link-color);
493 text-decoration: none;
494 }
495
496 .article-content a:hover {
497 text-decoration: underline;
498 }
499
500 .article__image {
501 display: block;
502 max-width: 85%;
503 margin: 1.5em auto;
504 }
505
506 .article-content hr {
507 margin-top: 1.5rem;
508 margin-bottom: 1.5rem;
509 border: 1px solid #e2e2e2;
510 }
511
512 .cta-buttons {
513 display: flex;
514 gap: 1.5rem;
515 justify-content: center;
516 align-items: center;
517 margin: 2rem 0;
518 }
519
520 .cta-button {
521 display: inline-flex;
522 align-items: center;
523 gap: 0.75rem;
524 padding: 0.8rem 1.2rem;
525 background-color: hsl(var(--primary-h), 80%, 56%);
526 color: white !important;
527 text-decoration: none !important;
528 font-weight: 600;
529 font-size: 1.1rem;
530 border: none;
531 border-radius: 6px;
532 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
533 text-align: center;
534 cursor: pointer;
535 }
536
537 .cta-icon {
538 width: 1.2rem;
539 height: 1.2rem;
540 filter: brightness(0) invert(1);
541 }
542
543 .cta-button:hover {
544 background-color: hsl(var(--primary-h), 80%, 51%);
545 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
546 }
547
548 .footnote {
549 padding-top: 1.25rem;
550 }
551
552 .static-page {
553 max-width: 850px;
554 margin: 0 auto;
555 }
556
557 .page-content__header {
558 margin-bottom: 2rem;
559 padding-bottom: 2rem;
560 border-bottom: 1px solid #eee;
561 }
562
563 .page-content__title {
564 font-size: 2.5rem;
565 font-weight: 600;
566 line-height: 1.2;
567 color: var(--color-primary);
568 }
569
570 .page-body {
571 line-height: 1.7;
572 color: var(--text-color);
573 overflow-wrap: break-word;
574 }
575
576 .page-body h1,
577 .page-body h2,
578 .page-body h3,
579 .page-body h4,
580 .page-body h5,
581 .page-body h6 {
582 margin-top: 2rem;
583 margin-bottom: 1rem;
584 line-height: 1.3;
585 color: var(--color-primary);
586 }
587
588 .page-body h1 {
589 font-size: 2rem;
590 }
591
592 .page-body h2 {
593 font-size: 1.5rem;
594 }
595
596 .page-body h3 {
597 font-size: 1.25rem;
598 }
599
600 .page-body p {
601 margin-bottom: 1rem;
602 }
603
604 .page-body ul,
605 .page-body ol {
606 margin-bottom: 1rem;
607 padding-left: 2rem;
608 }
609
610 .page-body li {
611 margin-bottom: 0.25rem;
612 }
613
614 .page-body a {
615 color: var(--link-color);
616 text-decoration: none;
617 }
618
619 .page-body a:hover {
620 text-decoration: underline;
621 }
622
623 .footer {
624 background-color: #f8f8f8;
625 border-top: 1px solid #ddd;
626 margin-top: auto;
627 }
628
629 .footer__container {
630 max-width: 1200px;
631 margin: 0 auto;
632 padding: 1rem;
633 }
634
635 .footer__content {
636 text-align: center;
637 }
638
639 .footer__text {
640 color: #666;
641 font-size: 0.875rem;
642 }
643
644 .separator {
645 border-bottom: 2px solid #cccccc;
646 }
647
648 @media (max-width: 768px) {
649 .header__container {
650 flex-direction: column;
651 text-align: center;
652 }
653
654 .nav__list {
655 flex-wrap: wrap;
656 justify-content: center;
657 }
658
659 .brand__link {
660 flex-direction: column;
661 text-align: center;
662 }
663
664 .article__title {
665 font-size: 2rem;
666 }
667
668 .article-card-meta,
669 .article-meta {
670 flex-direction: column;
671 gap: 0.5rem;
672 }
673
674 .newsletter-form__content {
675 flex-direction: column;
676 align-items: center;
677 }
678
679 .newsletter-form__input {
680 max-width: 100%;
681 }
682
683 .articles__title {
684 font-size: 1.75rem;
685 }
686
687 .cta-buttons {
688 flex-direction: column;
689 gap: 1rem;
690 }
691 }