Debian Codegraph @

src/skin/css/firstRun.css

raw
1 /* base styles, using foundation 6 defaults */
2 html {
3 font-family:sans-serif;
4 line-height:1.15;
5 -ms-text-size-adjust:100%;
6 -webkit-text-size-adjust:100%;
7 }
8
9 article,aside,footer,header,nav,section {
10 display:block;
11 }
12
13 a {
14 background-color:transparent;
15 -webkit-text-decoration-skip:objects;
16 }
17 a:active,a:hover {
18 outline-width:0;
19 }
20
21 img {
22 border-style:none;
23 }
24
25 html {
26 box-sizing:border-box;
27 font-size:100%;
28 }
29 *,*::before,*::after {
30 box-sizing:inherit;
31 }
32 body /* base font and color for privacy badger */ {
33 margin:0;
34 padding:0;
35 background:#fefefe;
36 font-family:"OpenSans-Light",sans-serif;
37 font-weight:normal;
38 line-height:1.5;
39 color:#000;
40 -webkit-font-smoothing:antialiased;
41 -moz-osx-font-smoothing:grayscale;
42 overflow-x: hidden;
43 }
44 img {
45 display:inline-block;
46 vertical-align:middle;
47 max-width:100%;
48 height:auto;
49 -ms-interpolation-mode:bicubic;
50 }
51
52 /* xy grid, selected foundation classes */
53 .small-12 {
54 flex:0 0 100%;
55 max-width:100%;
56 }
57 .grid-container {
58 padding-right:.625rem;
59 padding-left:.625rem;
60 max-width:75rem;
61 margin:0 auto;
62 }
63 @media print, screen and (min-width: 40em) {
64 .grid-container {
65 padding-right:.9375rem;
66 padding-left:.9375rem;
67 }
68 }
69
70 .grid-container.full {
71 padding-right:0;
72 padding-left:0;
73 max-width:100%;
74 margin:0 auto;
75 }
76 .grid-x {
77 display:flex;
78 flex-flow:row wrap;
79 }
80 .cell {
81 flex:0 0 auto;
82 min-height:0px;
83 min-width:0px;
84 width:100%;
85 }
86
87 .grid-x>.small-shrink,.grid-x>.small-full,.grid-x>.small-1,.grid-x>.small-2,.grid-x>.small-3,.grid-x>.small-4,.grid-x>.small-5,.grid-x>.small-6,.grid-x>.small-7,.grid-x>.small-8,.grid-x>.small-9,.grid-x>.small-10,.grid-x>.small-11,.grid-x>.small-12 {
88 flex-basis:auto;
89 }
90 @media print, screen and (min-width: 40em) {
91 .grid-x>.medium-10 {
92 flex-basis:auto;
93 }
94
95 }
96 @media print, screen and (min-width: 64em) {
97 .grid-x>.large-3,.grid-x>.large-4 {
98 flex-basis:auto;
99 }
100 }
101 .grid-x>.small-12 {
102 width:100%;
103 }
104 @media print, screen and (min-width: 40em) {
105 .grid-x>.medium-10 {
106 width:83.33333%;
107 }
108 }
109 @media print, screen and (min-width: 64em) {
110 .grid-x>.large-3 {
111 width:25%;
112 }
113 .grid-x>.large-4 {
114 width:33.33333%;
115 }
116 }
117 .grid-margin-x {
118 margin-left:-.625rem;
119 margin-right:-.625rem;
120 }
121 @media print, screen and (min-width: 40em) {
122 .grid-margin-x {
123 margin-left:-.9375rem;
124 margin-right:-.9375rem;
125 }
126 }
127
128 .grid-margin-x>.small-12 {
129 width:calc(100% - 1.25rem);
130 }
131 @media print, screen and (min-width: 40em) {
132
133 .grid-margin-x>.small-12 {
134 width:calc(100% - 1.875rem);
135 }
136 .grid-margin-x>.medium-10 {
137 width:calc(83.33333% - 1.875rem);
138 }
139 }
140 @media print, screen and (min-width: 64em) {
141 .grid-margin-x>.large-3 {
142 width:calc(25% - 1.875rem);
143 }
144 .grid-margin-x>.large-4 {
145 width:calc(33.33333% - 1.875rem);
146 }
147 }
148 .grid-padding-x .grid-padding-x {
149 margin-right:-.625rem;
150 margin-left:-.625rem;
151 }
152 @media print, screen and (min-width: 40em) {
153 .grid-padding-x .grid-padding-x {
154 margin-right:-.9375rem;
155 margin-left:-.9375rem;
156 }
157 }
158
159 .grid-padding-x>.cell {
160 padding-right:.625rem;
161 padding-left:.625rem;
162 }
163 @media print, screen and (min-width: 40em) {
164 .grid-padding-x>.cell {
165 padding-right:.9375rem;
166 padding-left:.9375rem;
167 }
168 }
169
170 @media print, screen and (min-width: 64em) {
171 .large-up-3>.cell {
172 width:33.33333%;
173 }
174 .large-up-4>.cell {
175 width:25%;
176 }
177 }
178
179 @media print, screen and (min-width: 64em) {
180 .grid-margin-x.large-up-3>.cell {
181 width:calc(33.33333% - 1.875rem);
182 }
183 .grid-margin-x.large-up-4>.cell {
184 width:calc(25% - 1.875rem);
185 }
186 }
187
188 .grid-padding-y {
189 margin-top:-.625rem;
190 margin-bottom:-.625rem;
191 }
192 @media print, screen and (min-width: 40em){
193 .grid-padding-y {
194 margin-top:-.9375rem;
195 margin-bottom:-.9375rem;
196 }
197 }
198
199 /* end xy grid */
200 div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,th,td {
201 margin:0;
202 padding:0;
203 }
204 p {
205 margin-bottom:1rem;
206 font-size:inherit;
207 line-height:1.6;
208 text-rendering:optimizeLegibility;
209 }
210
211 /* Privacy Badger header fonts */
212 h1,
213 h2,
214 h3{
215 font-family:"NotoSans",serif;
216 font-style:normal;
217 font-weight:normal;
218 color:inherit;
219 text-rendering:optimizeLegibility;
220 }
221
222 h1 {
223 font-size:1.875rem;
224 line-height:1.4;
225 margin-top:0;
226 margin-bottom:.5rem;
227 }
228 h2 {
229 font-size:1.25rem;
230 line-height:1.4;
231 margin-top:0;
232 margin-bottom:.5rem;
233 }
234 h3 {
235 font-size:1.5rem;
236 line-height:1.4;
237 margin-top:0;
238 margin-bottom:.5rem;
239 }
240
241 @media print, screen and (min-width: 40em) {
242 h1 {
243 font-size:3.5rem;
244 }
245 h2 {
246 font-size:2.5rem;
247 }
248 h3 {
249 font-size:1.9375rem;
250 }
251 }
252
253 p {
254 font-family:"OpenSans-Light",sans-serif;
255 }
256
257 a {
258 line-height: inherit;
259 color: #000;
260 font-weight: bold;
261 text-decoration: underline;
262 cursor: pointer;
263 }
264 a:hover, a:focus {
265 color: #F06A0A;
266 }
267 a img {
268 border:0;
269 }
270
271 hr {
272 border-top:0;
273 border-right:0;
274 border-bottom:1px solid #cacaca;
275 border-left:0;
276 box-sizing:content-box;
277 clear:both;
278 height:0;
279 margin:1.25rem auto;
280 max-width:75rem;
281 overflow:visible;
282 }
283 ul,ol,dl {
284 margin-bottom:1rem;
285 list-style-position:outside;
286 line-height:1.6;
287 }
288 li {
289 font-size:inherit;
290 }
291 ul {
292 margin-left:1.25rem;
293 list-style-type:disc;
294 }
295 ol {
296 margin-left:1.25rem;
297 }
298 ul ul,ol ul,ul ol,ol ol {
299 margin-left:1.25rem;
300 margin-bottom:0;
301 }
302 .text-left {
303 text-align:left;
304 }
305 .text-right {
306 text-align:right;
307 }
308 .text-center {
309 text-align:center;
310 }
311 .text-justify {
312 text-align:justify;
313 }
314
315 /* buttons */
316 .button {
317 display:inline-block;
318 vertical-align:middle;
319 margin:0 0 1rem 0;
320 font-family:"OpenSans-Bold";
321 padding:0.85em 1em;
322 -webkit-appearance:none;
323 border:1px solid transparent;
324 border-radius:0;
325 transition:background-color 0.25s ease-out,color 0.25s ease-out;
326 font-size:0.9rem;
327 line-height:1;
328 text-align:center;
329 cursor:pointer;
330 background-color:#F06A0A;
331 color:#fefefe;
332 }
333 .button:hover, .button:focus {
334 background-color: #cc5a09;
335 color: #000;
336 }
337
338 .button.large {
339 font-size: 1.2rem;
340 padding: 0.8rem 2rem;
341 margin-top: 1rem;
342 text-decoration: none;
343 text-transform: uppercase;
344 }
345
346 .top-bar {
347 align-items: center;
348 background-color: #333;
349 color: white;
350 display: flex;
351 flex-flow: row wrap;
352 flex-wrap: wrap;
353 font-family: "OpenSans-Light",sans-serif;
354 font-size: 0.6rem;
355 justify-content: center;
356 padding: 0.5rem 0.5rem 0.5rem;
357 }
358 #eff-logo {
359 position: absolute;
360 left: 1rem;
361 }
362 .top-bar a {
363 color: #ddd;
364 }
365 .top-bar a:hover {
366 color: #f06a0a;
367 }
368 .top-bar img {
369 max-width: 3rem;
370 margin-inline-end: 0.2rem;
371 }
372 .top-bar span {
373 margin: 0 4rem;
374 text-align: center;
375 }
376 @media print, screen and (min-width: 40em) {
377 .top-bar img {
378 margin-inline-end: 1rem;
379 max-width: 4rem;
380 }
381 .top-bar {
382 flex-wrap:nowrap;
383 font-size: 0.9rem;
384 padding: 0.75rem 0.5rem 0.75rem;
385 }
386 .top-bar span {
387 margin: 0 6rem;
388 }
389 }
390 .top-bar-title {
391 flex:0 0 auto;
392 margin:0.5rem 1rem 0.5rem 0;
393 }
394
395 b {
396 font-family: "OpenSans-Bold", sans-serif;
397 }
398
399 /* visibility classes */
400 .hide {
401 display:none !important;
402 }
403 .invisible {
404 visibility:hidden;
405 }
406 @media screen and (max-width: 39.9375em) {
407 .hide-for-small-only {
408 display:none !important;
409 }
410 }
411 @media screen and (max-width: 0em), screen and (min-width: 40em) {
412 .show-for-small-only {
413 display:none !important;
414 }
415 }
416 @media print, screen and (min-width: 40em) {
417 .hide-for-medium {
418 display:none !important;
419 }
420 }
421 @media screen and (max-width: 39.9375em) {
422 .show-for-medium {
423 display:none !important;
424 }
425 }
426 @media screen and (min-width: 40em) and (max-width: 63.9375em) {
427 .hide-for-medium-only {
428 display:none !important;
429 }
430 }
431 @media screen and (max-width: 39.9375em), screen and (min-width: 64em) {
432 .show-for-medium-only {
433 display:none !important;
434 }
435 }
436 @media print, screen and (min-width: 64em) {
437 .hide-for-large {
438 display:none !important;
439 }
440 }
441 @media screen and (max-width: 63.9375em) {
442 .show-for-large {
443 display:none !important;
444 }
445 }
446 @media screen and (min-width: 64em) and (max-width: 74.9375em) {
447 .hide-for-large-only {
448 display:none !important;
449 }
450 }
451 @media screen and (max-width: 63.9375em), screen and (min-width: 75em) {
452 .show-for-large-only {
453 display:none !important;
454 }
455 }
456
457 .align-right {
458 justify-content:flex-end;
459 }
460 .align-center {
461 justify-content:center;
462 }
463 .align-justify {
464 justify-content:space-between;
465 }
466 .align-spaced {
467 justify-content:space-around;
468 }
469
470 /* share links */
471 #share-container {
472 margin-top: 2rem;
473 }
474 .share-links {
475 display:flex;
476 flex-wrap:wrap;
477 gap:0.65rem;
478 justify-content:center;
479 margin-top: 1rem;
480 z-index:3;
481 }
482 .share-links>a {
483 position:relative;
484 width:2.6rem;
485 height:2.6rem;
486 overflow:hidden;
487 }
488
489 .share-links>a:hover, .share-links>a:focus {
490 filter: brightness(0.85);
491 }
492 .share-links>a i {
493 position:relative;
494 display:inline-block;
495 height:2.6rem;
496 width:2.6rem;
497 z-index:2;
498 }
499 .share-links>a span {
500 position:absolute;
501 visibility:hidden;
502 display:inline-block;
503 top:0;
504 right:0;
505 z-index:1;
506 opacity:0.9;
507 width:12.5rem;
508 height:2.6rem;
509 box-sizing:content-box;
510 line-height:2.6rem;
511 padding-left:.45614rem;
512 text-align:left;
513 text-transform:uppercase;
514 font-size:0.9rem;
515 background-color:white;
516 border-left:0.312rem solid #fff;
517 }
518 .share-links>a:first-child {
519 margin-top:0;
520 margin-left:0;
521 }
522 .share-links>a.share-facebook i {
523 background:url("../images/facebook.svg");
524 }
525 .share-links>a.share-mastodon i {
526 background:url("../images/mastodon.svg");
527 }
528 .share-links>a.share-bluesky i {
529 background:url("../images/bluesky.svg");
530 }
531
532 /* fonts */
533 @font-face {
534 font-family:'NotoSans';
535 src:url("../fonts/NotoSans-Black.ttf") format("truetype");
536 font-weight:900;
537 font-style:normal;
538 }
539 @font-face {
540 font-family:'OpenSans-Light';
541 src:url("../fonts/OpenSans-Light.ttf") format("truetype");
542 font-weight:300;
543 font-style:normal;
544 }
545 @font-face {
546 font-family:'OpenSans-Bold';
547 src:url("../fonts/OpenSans-Bold.ttf") format("truetype");
548 font-weight:600;
549 font-style:normal;
550 }
551
552 /* pb specific */
553 body {
554 font-size:16px;
555 padding-bottom:3rem;
556 }
557
558 .text {
559 margin:1rem 0;
560 }
561 .caret-down {
562 display:flex;
563 flex-flow:row wrap;
564 padding:1.5rem 0 3rem;
565 }
566 .caret-down img {
567 width:6rem;
568 filter: brightness(0);
569 }
570 .grid-container.full {
571 margin-bottom: 5rem;
572 }
573
574 /* Pin nudge present only on Chromium browsers */
575 #pb-features-pin {
576 display: none;
577 padding-bottom: 1rem;
578 }
579 #pb-features-pin h3 {
580 font-size: 2.5rem;
581 }
582 .unpinned-chrome #pb-features-pin {
583 display: flex;
584 }
585 .unpinned-chrome #pb-features-0 {
586 background-color: #DFDFE6;
587 flex-flow: row-reverse wrap;
588 margin: 3.5rem 0 5.5rem;
589 padding: 1.5rem 0 1.5rem;
590 }
591 .unpinned-chrome #pb-features-0 h3 {
592 display: none;
593 }
594
595 /* Reduced motion version of pinning instructions */
596 #pinning-instructions-reduced-motion {
597 display: flex;
598 flex-direction: row;
599 flex-wrap: wrap;
600 justify-content: center;
601 align-items: center;
602 width: unset;
603 margin-right: unset;
604 margin-left: unset;
605 }
606 #pinning-instructions-reduced-motion img {
607 width: 50%;
608 min-width: 200px;
609 height: fit-content;
610 flex-grow: 1;
611 }
612
613 /* Pinning instructions animation toggle */
614 #pb-features-pin button {
615 font-family: "OpenSans-Bold", sans-serif;
616 padding: 0.5rem;
617 text-transform: uppercase;
618 cursor: pointer;
619 background-color: #DFDFE6;
620 color: #333;
621 border: none;
622 border-bottom: 2px solid #333;
623 margin-top: 0.5rem;
624 display: block;
625 margin-right: auto;
626 margin-left: auto;
627 }
628 #pb-features-pin button:hover {
629 color: #000;
630 background-color: #c9c9cf;
631 }
632 #toggle-animation-icon {
633 margin-right: 5px;
634 }
635
636 #pb-settings #toolbar-img-container {
637 position: relative;
638 margin-top: 0;
639 }
640 #toolbar-img-container::before {
641 content: '';
642 position: absolute;
643 top: 20%;
644 left: 50%;
645 transform: translateX(-50%);
646 width: 100vw;
647 height: 60%;
648 background-color: #DFDFE6;
649 z-index: -1;
650 }
651
652 #badger-img-container {
653 position: relative;
654 }
655 #badger-img-container::before {
656 content: '';
657 position: absolute;
658 top: 20%;
659 left: 50%;
660 transform: translateX(-50%);
661 width: 100vw;
662 height: 60%;
663 background-color: #EC9329;
664 z-index: -1;
665 }
666
667 #pb-settings div {
668 display: flex;
669 flex-direction: column;
670 align-items: center;
671 font-size: 17px;
672 padding: 1rem;
673 margin: 2rem 0 3rem;
674 width: 100%;
675 }
676
677 #toolbar-icon {
678 max-width: min(550px, 90vw);
679 max-height: 450px;
680 }
681 [id*="pb-features-"] img {
682 max-width: 400px;
683 width: 100%;
684 }
685 [id*="pb-features-"] {
686 display:flex;
687 flex-flow:row wrap;
688 padding:3rem 0 2rem;
689 }
690 #pb-features-0 {
691 gap: 1.5rem;
692 padding-bottom: 4rem;
693 }
694 @media print, screen and (min-width: 40em) {
695 [id*="pb-features-"] {
696 gap: 1.5rem;
697 }
698 #pb-features-0 {
699 padding:5rem 0;
700 }
701 }
702 [id*="pb-features-"] div {
703 width:calc(100% - 1.875rem);
704 margin-right:.9375rem;
705 margin-left:.9375rem;
706 text-align:center;
707 align-content: center;
708 }
709 @media print, screen and (min-width: 40em) {
710 [id*="pb-features-"] div {
711 width:calc(40% - 1.875rem);
712 margin-right:.9375rem;
713 margin-left:.9375rem;
714 }
715 }
716 @media print, screen and (min-width: 50em) {
717 [id*="pb-features-"] div {
718 width:calc(33.33333% - 1.875rem);
719 margin-right:.9375rem;
720 margin-left:.9375rem;
721 }
722 }
723 [id*="pb-features-"] h3 {
724 font-size:1.5rem;
725 text-align:center;
726 margin-top:1rem;
727 }
728 @media print, screen and (min-width: 40em) {
729 [id*="pb-features-"] h3 {
730 text-align: start;
731 font-size: 1.9375rem;
732 }
733 }
734 [id*="pb-features-"] .text, [id*="pb-features-"] p {
735 text-align: start;
736 }
737
738 #pb-donate, #pb-donate-button, #pb-donate-help {
739 display:flex;
740 flex-flow:row wrap;
741 }
742 #pb-donate img {
743 max-width:200px;
744 }
745 @media print, screen and (min-width: 40em) {
746 #pb-donate img {
747 max-width:250px;
748 }
749 }
750 #pb-donate div:not(#badger-img-container), #pb-donate-button div, #pb-donate-help span {
751 width:calc(100% - 1.875rem);
752 margin-right:.9375rem;
753 margin-left:.9375rem;
754 }
755 @media print, screen and (min-width: 40em) {
756 #pb-donate div:not(#badger-img-container), #pb-donate-button div, #pb-donate-help span {
757 width:calc(33.33333% - 1.875rem);
758 margin-right:.9375rem;
759 margin-left:.9375rem;
760 }
761
762 }
763 #pb-donate h3 {
764 font-size:1.5rem;
765 text-align:center;
766 margin-top:1rem;
767 }
768 @media print, screen and (min-width: 40em) {
769 #pb-donate h3 {
770 font-size:1.9375rem;
771 }
772 }
773 #pb-donate-help span {
774 text-align:center;
775 }
776 #pb-donate {
777 padding-top: 4rem;
778 }
779
780 #pb-privacy-policy, #pb-privacy-policy a {
781 font-family:"OpenSans-Light",sans-serif;
782 font-size:0.9rem;
783 text-align:center;
784 font-weight: unset;
785 }
786
787 #pb-donate-help {
788 margin-top: 2rem;
789 margin-bottom:0;
790 }
791
792 #pb-donate-help h3 {
793 margin-bottom: 0;
794 }
795
796 @media (prefers-color-scheme: dark) {
797 :root {
798 color-scheme: dark;
799 }
800
801 body {
802 background-color: #222;
803 color: #ddd;
804 }
805
806 a {
807 color: #ddd;
808 }
809
810 .button:hover, .button:focus {
811 color: #000;
812 }
813
814 .unpinned-chrome #pb-features-0, #toolbar-img-container::before {
815 background-color: #333;
816 }
817
818 .share-links > a span {
819 background-color: #555;
820 border-left: 0.4275rem solid #555;
821 color: #fff;
822 }
823
824 .caret-down img {
825 /* Filter generated by https://angel-rs.github.io/css-color-filter-generator/ to convert color to #ddd */
826 filter: brightness(0) saturate(100%) invert(98%) sepia(0%) saturate(5139%) hue-rotate(58deg) brightness(126%) contrast(73%);
827 }
828 }