Update Firefox detection in CSS.
[lw2-viewer.git] / www / theme-rts.css.php
blob94c775ea9767e0436f4fa0d6f08e11c64b66cba6
1 <?php
2 $UI_font = "'Proxima Nova', 'GW-Symbols', sans-serif";
3 $text_font = "'Garamond Premier Pro', 'Georgia', 'Times New Roman', serif";
4 $hyperlink_color = "#888";
5 ?>
7 /******************************/
8 /* READTHESEQUENCES.COM THEME */
9 /******************************/
11 /*===========*/
12 /* VARIABLES */
13 /*===========*/
15 /* Color scheme.
17 :root {
18 --GW-toggle-widget-color: #bbb;
19 --GW-toggle-widget-hover-color: #777;
22 /*======*/
23 /* BASE */
24 /*======*/
26 body {
27 color: #000;
28 background-color: #fffffa;
29 font-family: <?php echo $UI_font; ?>;
31 #content {
32 line-height: 1.55;
35 /*=========*/
36 /* NAV BAR */
37 /*=========*/
39 .nav-inner {
40 font-size: 1.375em;
41 font-weight: 600;
43 .nav-bar-top:not(#primary-bar) .nav-inner {
44 font-size: 1em;
47 *.nav-inner,
48 #nav-item-search button {
49 font-weight: <?php echo ($platform == 'Mac') ? '200' : '300'; ?>;
50 color: #888;
53 #bottom-bar.decorative {
54 border: none;
56 #bottom-bar.decorative::before,
57 #bottom-bar.decorative::after {
58 content: "GW";
59 font-weight: 200;
60 display: block;
61 text-align: center;
62 padding: 0.25em 0 1em 0;
64 #bottom-bar.decorative::before {
65 width: 100%;
66 color: transparent;
67 background-image: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/one_pixel_DDD.gif")) ?>');
68 background-repeat: repeat-x;
69 background-position: center 35%;
70 margin: 0 30px;
72 #bottom-bar.decorative::after {
73 color: #d8d8d8;
74 position: absolute;
75 left: 0;
76 right: 0;
77 margin: auto;
78 background-color: #fff;
79 padding-right: 4px;
80 padding-left: 4px;
82 <?php fit_content("#bottom-bar.decorative::after"); ?>
84 /* Accesskey hints */
86 .nav-inner::after {
87 display: block;
88 position: absolute;
89 left: 5px;
90 top: -2px;
91 font-weight: <?php echo ($platform == 'Mac') ? '200' : '300'; ?>;
92 font-size: 0.7em;
93 color: #d8d8d8;
95 .inactive-bar .nav-inner::after {
96 color: #ccc;
98 .nav-inner:hover::after {
99 color: #bbb;
102 /* This makes the navbar items look like tabs: */
104 #bottom-bar {
105 border-top: 1px solid #bbb;
106 margin-top: 2em;
108 .post-page #bottom-bar {
109 margin-top: 0.5em;
111 #content.no-nav-bars {
112 margin: auto;
114 #content.no-comments #bottom-bar {
115 margin-top: 0.125em;
117 .nav-bar .nav-item:not(:last-child) {
118 border-right: 1px solid #bbb;
120 .nav-bar .nav-item:not(.nav-current):not(#nav-item-search):hover,
121 #nav-item-search:focus-within {
122 background-color: #f0f0eb;
124 .nav-bar a:hover,
125 .nav-bar a:focus,
126 .nav-bar button:hover,
127 .nav-bar button:focus {
128 color: #333;
129 text-shadow: 0px 0px 0.5px #333;
131 #bottom-bar .nav-item a::before,
132 #top-nav-bar a::before {
133 font-size: 1em;
134 bottom: -2px;
135 color: #aaa;
137 #bottom-bar .nav-item a:hover::before,
138 #top-nav-bar a:hover::before {
139 color: #333;
141 #bottom-bar #nav-item-first a::before,
142 #top-nav-bar a.nav-item-first::before {
143 content: "\F0D9\F0D9";
145 #bottom-bar #nav-item-prev a::before,
146 #top-nav-bar a.nav-item-prev::before {
147 content: "\F0D9";
149 #bottom-bar #nav-item-top a::before {
150 content: "\F0D8";
152 #bottom-bar #nav-item-next a::before,
153 #top-nav-bar a.nav-item-next::before {
154 content: "\F0DA";
156 #bottom-bar #nav-item-last a::before,
157 #top-nav-bar a.nav-item-last::before {
158 content: "\F0DA\F0DA";
160 #bottom-bar #nav-item-next a::before {
161 margin-left: -1em;
162 left: 2.85em;
164 .nav-bar + .nav-bar {
165 position: relative;
166 border-style: solid;
167 border-color: #bbb;
169 .nav-bar {
170 border-width: 1px 0 0 0;
172 .active-bar {
173 border-width: 1px 0;
176 /* Search tab */
178 #nav-item-search form::before {
179 color: #999;
181 #nav-item-search button:hover {
182 color: #333;
184 #nav-item-search input::placeholder {
185 color: #d00;
186 font-weight: normal;
189 /* User/login tab */
191 #inbox-indicator::before {
192 color: #ddd;
195 /*= Top pagination UI hover tooltips =*/
197 #top-nav-bar a::after,
198 #bottom-bar a::after {
199 color: #222;
200 text-shadow: none;
203 /*==============*/
204 /* PAGE TOOLBAR */
205 /*==============*/
207 .page-toolbar {
208 z-index: 1;
210 .page-toolbar * {
211 color: #888;
212 font-weight: <?php echo ($platform == 'Mac') ? '300' : '400'; ?>;
214 .page-toolbar a:hover,
215 .page-toolbar button:hover {
216 text-shadow: 0px 0px 0.5px #333;
218 .logout-button {
219 color: #d33;
222 /*===================*/
223 /* TOP PAGINATION UI */
224 /*===================*/
226 #top-nav-bar {
227 margin: 0;
228 flex-wrap: wrap;
229 grid-column: 2;
230 min-width: 240px;
232 #top-nav-bar .page-number {
233 font-family: <?php echo $text_font; ?>;
234 padding-top: 7px;
236 #top-nav-bar .page-number-label {
237 font-family: <?php echo $UI_font; ?>;
238 bottom: 70%;
240 #top-nav-bar::after {
241 content: "";
242 background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
243 background-origin: content-box;
244 background-repeat: no-repeat;
245 display: block;
246 margin: 0.125em auto 0 auto;
247 padding: 0 12.5%;
248 height: 1px;
249 flex: 1 0 100%;
252 /*==============*/
253 /* SUBLEVEL NAV */
254 /*==============*/
256 .sublevel-nav .sublevel-item {
257 color: #777;
258 background-color: #fffffa;
260 .sublevel-nav .sublevel-item:not(.selected):hover {
261 background-color: #ddd;
262 color: #000;
264 .sublevel-nav .sublevel-item:not(.selected):active,
265 .sublevel-nav .sublevel-item.selected {
266 background-color: #ddd;
267 border-color: #ddd;
268 color: #000;
269 text-shadow:
270 0 -1px 0 #fff,
271 0 0.5px 0.5px #000;
274 .sublevel-nav:not(.sort) .sublevel-item {
275 border-style: solid;
276 border-color: #ddd;
277 border-width: 1px 0 1px 1px;
279 .sublevel-nav:not(.sort) .sublevel-item:first-child {
280 border-radius: 8px 0 0 8px;
282 .sublevel-nav:not(.sort) .sublevel-item:last-child {
283 border-width: 1px;
284 border-radius: 0 8px 8px 0;
287 /*=====================*/
288 /* SORT ORDER SELECTOR */
289 /*=====================*/
291 .sublevel-nav.sort .sublevel-item {
292 font-feature-settings: 'smcp';
293 padding: 7px 7px 6px 7px;
294 text-transform: uppercase;
295 box-shadow: 1px 1px 0 0 #bbb inset;
296 pointer-events: auto;
298 .sublevel-nav.sort {
299 padding: 20px 0 0 0;
300 border-radius: 8px;
301 pointer-events: none;
302 background-color: #bbb;
303 overflow: hidden;
304 box-shadow:
305 0 0 1px #aaa,
306 0 0 3px #aaa,
307 0 0 5px #aaa;
309 .sublevel-nav.sort::before {
310 text-transform: uppercase;
311 font-weight: 600;
312 color: #444;
313 text-shadow: 0.5px 0.5px 0 #fff;
314 line-height: 2;
315 z-index: 1;
317 .sublevel-nav.sort::after {
318 content: "";
319 position: absolute;
320 display: block;
321 top: 0;
322 left: 0;
323 width: 100%;
324 height: 100%;
325 border-radius: 6px 6px 8px 8px;
326 box-shadow:
327 0 0 0 1px #bbb inset,
328 0 20px 0 0 #bbb inset,
329 0 20px 0 1px #aaa inset,
330 0 0 0 3px #fffffa;
333 /*================*/
334 /* WIDTH SELECTOR */
335 /*================*/
336 /* THEME SELECTOR */
337 /*================*/
339 #width-selector button,
340 #theme-selector button {
341 box-shadow:
342 0 0 0 4px #fffffa inset,
343 0 0 0 5px #bbb inset;
345 #width-selector button:hover,
346 #width-selector button.selected,
347 #theme-selector button:hover,
348 #theme-selector button.selected {
349 box-shadow:
350 0 0 0 1px #bbb inset,
351 0 0 0 4px #fffffa inset,
352 0 0 0 5px #bbb inset;
355 #theme-selector button::before {
356 font-size: 0.9375em;
357 padding: 6px;
358 font-weight: 300;
359 color: #bbb;
360 background-color: #fff;
362 #theme-selector button:hover::before,
363 #theme-selector button.selected::before {
364 color: #444;
366 #width-selector button::after {
367 color: #aaa;
368 font-weight: 300;
371 /*======================*/
372 /* THEME TWEAKER TOGGLE */
373 /*======================*/
375 #theme-tweaker-toggle button {
376 color: #777;
379 /*=================*/
380 /* QUICKNAV WIDGET */
381 /*=================*/
383 #quick-nav-ui a {
384 box-shadow: 0 0 0 1px #ccc inset;
385 color: #bbb;
386 border-radius: 4px;
388 #quick-nav-ui a[href='#bottom-bar'] {
389 line-height: 1.8;
391 #quick-nav-ui a:active {
392 transform: scale(0.9);
394 #quick-nav-ui a[href='#comments'].no-comments {
395 opacity: 0.4;
396 color: #bbb;
398 @media only screen and (hover: hover) {
399 #quick-nav-ui a:hover {
400 background-color: #f0f0eb;
401 color: #333;
402 text-shadow: 0px 0px 0.5px #333;
404 #quick-nav-ui a:focus:not(:hover) {
405 transform: none;
406 text-shadow: none;
410 /*======================*/
411 /* NEW COMMENT QUICKNAV */
412 /*======================*/
414 #new-comment-nav-ui .new-comments-count,
415 #new-comment-nav-ui .new-comments-count::after {
416 color: #999;
417 font-weight: normal;
419 #new-comment-nav-ui .new-comments-count {
420 text-shadow: 0.5px 0.5px 0 #fff;
422 #new-comment-nav-ui .new-comment-sequential-nav-button {
423 color: #999;
425 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
426 color: #e6e6e6;
427 text-shadow: none;
429 @media only screen and (hover: hover) {
430 #new-comment-nav-ui .new-comments-count:hover {
431 text-shadow:
432 0 0 1px #fff,
433 0 0 3px #fff,
434 0 0 5px #fff,
435 0 0 8px #fff,
436 0.5px 0.5px 0 #fff;
438 #new-comment-nav-ui .new-comment-sequential-nav-button:focus {
439 color: #d00;
443 /*=================*/
444 /* HNS DATE PICKER */
445 /*=================*/
447 #hns-date-picker span {
448 color: #777;
449 text-shadow: 0.5px 0.5px 0 #fff;
450 font-weight: 600;
452 #hns-date-picker input[type='text'] {
454 #hns-date-picker input {
455 border: 1px solid <?php echo ($platform == 'Mac') ? '#bbb' : '#aaa'; ?>;
456 color: <?php echo ($platform == 'Mac') ? '#888' : '#666'; ?>;
457 background-color: transparent;
459 #hns-date-picker input:hover,
460 #hns-date-picker input:focus {
461 color: <?php echo ($platform == 'Mac') ? '#666' : '#444'; ?>;
463 #hns-date-picker span {
464 color: <?php echo ($platform == 'Mac') ? '#aaa' : '#888'; ?>;
467 /*====================*/
468 /* DARK MODE SELECTOR */
469 /*====================*/
471 #dark-mode-selector {
472 outline: 1px solid #777;
474 #dark-mode-selector button {
475 color: #777;
477 #dark-mode-selector button.selected {
478 background-color: #777;
479 color: #fff;
481 #dark-mode-selector button:not(.selected) + button:not(.selected) {
482 box-shadow: 1px 0 0 0 #777 inset;
484 #dark-mode-selector button:disabled:hover {
485 text-shadow: none;
487 #dark-mode-selector button::after {
488 font-family: <?php echo $UI_font; ?>;
489 color: #999;
490 text-shadow: none;
493 /*======================*/
494 /* TEXT SIZE ADJUSTMENT */
495 /*======================*/
497 #text-size-adjustment-ui button {
498 color: #777;
500 #text-size-adjustment-ui button.default {
501 font-weight: 600;
503 #text-size-adjustment-ui button:disabled:hover {
504 text-shadow: none;
506 #text-size-adjustment-ui::after {
507 color: #aaa;
508 font-weight: 300;
511 /*=============================*/
512 /* COMMENTS VIEW MODE SELECTOR */
513 /*=============================*/
515 #comments-view-mode-selector a {
516 color: #777;
519 /*==========*/
520 /* ARCHIVES */
521 /*==========*/
523 .archive-nav {
524 border: 1px solid transparent;
526 .archive-nav *[class^='archive-nav-item'] {
527 border-style: solid;
528 border-color: #ddd;
529 border-width: 1px 0 1px 1px;
531 .archive-nav div[class^='archive-nav-']:nth-of-type(2) *[class^='archive-nav-item'] {
532 border-top-width: 0;
533 border-bottom-width: 0;
535 .archive-nav div[class^='archive-nav-']:last-of-type *[class^='archive-nav-item'] {
536 border-bottom-width: 1px;
538 .archive-nav *[class^='archive-nav-item']:last-child {
539 border-right-width: 1px;
541 .archive-nav span[class^='archive-nav-item'] {
542 font-weight: bold;
543 background-color: #ddd;
546 .archive-nav a:link,
547 .archive-nav a:visited {
548 color: #999;
549 font-weight: 300;
551 .archive-nav a:hover,
552 .archive-nav span[class^='archive-nav-item'] {
553 font-weight: 300;
554 background-color: #f0f0eb;
555 color: #333;
556 text-shadow: 0px 0px 0.5px #333;
558 .archive-nav a:active {
559 transform: scale(0.9);
561 .archive-nav a:focus:not(:hover) {
562 transform: none;
564 .archive-nav a.archive-nav-item-day:hover {
565 background-color: #ddd;
568 /*===============*/
569 /* KEYBOARD HELP */
570 /*===============*/
572 #nav-item-about button.open-keyboard-help {
573 font-weight: 400;
576 /*==========*/
577 /* LISTINGS */
578 /*==========*/
580 h1.listing {
581 margin: 0.7em 20px 0.1em 20px;
582 max-width: calc(100% - 40px);
583 font-family: <?php echo $UI_font; ?>, 'Font Awesome';
584 text-align: center;
587 h1.listing .link-post-link {
588 font-size: 0.6875em;
589 top: 6px;
590 color: #888;
592 h1.listing .post-title-link {
593 font-family: <?php echo $text_font; ?>;
594 text-decoration: none;
595 color: #690010;
596 font-weight: 500;
597 text-shadow: 0.5px 0.5px 0.5px #de7069;
598 padding: 0 2px 1px 1px;
601 @media only screen and (hover: hover) {
602 h1.listing .post-title-link {
603 max-width: calc(100% - 60px);
604 padding: 2px 2px 1px 1px;
606 h1.listing a:hover,
607 h1.listing a:focus {
608 text-shadow:
609 0px 0px 0.5px #ff987b,
610 0px 0px 1.5px #c05651,
611 0.5px 0.5px 0.5px #de7069;
612 background-color: rgba(255,255,250,0.85);
614 h1.listing:focus-within::before {
615 display: inline-block;
616 vertical-align: top;
617 position: relative;
618 left: -0.125em;
619 top: 1px;
620 color: #690010;
622 h1.listing .link-post-link:hover {
623 color: #690010;
624 text-shadow:
625 0.5px 0.5px 0 #fff,
626 -0.5px -0.5px 0 #fff,
627 0 0 2px #fff,
628 0 0 3px #00c;
632 h1.listing .edit-post-link {
633 padding: 5px 3px 36px 0.5em;
634 top: 0;
635 right: 0;
637 h1.listing .edit-post-link:hover {
638 text-decoration: none;
640 #content.user-page h1.listing .edit-post-link {
641 background-color: #fff;
644 /*======*/
645 /* SPAM */
646 /*======*/
648 h1.listing.spam {
649 opacity: 0.1;
651 h1.listing.spam + .post-meta {
652 opacity: 0.25;
654 h1.listing.spam:hover,
655 h1.listing.spam + .post-meta:hover,
656 h1.listing.spam:hover + .post-meta {
657 opacity: 1.0;
660 /*===================*/
661 /* LISTING POST-META */
662 /*===================*/
664 h1.listing + .post-meta {
665 justify-content: center;
667 h1.listing + .post-meta > * {
668 line-height: 1.5;
670 h1.listing + .post-meta .post-section {
671 order: 1;
673 h1.listing + .post-meta .post-section::before {
674 left: unset;
676 h1.listing + .post-meta .link-post-domain {
677 order: 2;
678 flex-basis: 100%;
681 /*============*/
682 /* USER PAGES */
683 /*============*/
685 #content.user-page h1.page-main-heading {
686 border-bottom: 1px solid #ccc;
689 #content.user-page #top-nav-bar {
690 margin: -0.5em 0 0.25em 0;
691 grid-column: 1 / span 3;
694 #content.user-page h1.listing {
695 padding: 6px 6px 0 6px;
696 max-width: 100%;
697 margin: 1rem 0 0 0;
699 #content.own-user-page h1.listing,
700 h1.listing.own-post-listing {
701 padding-right: 36px;
703 @media only screen and (hover: hover) {
704 #content.user-page h1.listing:focus-within::before {
705 top: -2px;
708 #content.user-page h1.listing::after {
709 content: "";
710 display: block;
711 position: absolute;
712 top: 0;
713 left: 0;
714 width: 100%;
715 height: calc(100% + 1.25em);
716 box-shadow: 0px 0px 10px #555;
718 #content.user-page h1.listing.link-post-listing::after {
719 height: calc(100% + 2.125em);
721 #content.user-page h1.listing + .post-meta {
722 margin: 6px 6px 1.5rem 35px;
724 #content.user-page h1.listing + .post-meta::after {
725 display: none;
728 #content.conversations-user-page h1.listing {
729 padding: 8px 6px;
730 font-size: 1.75rem;
732 #content.conversations-user-page h1.listing + .post-meta {
733 padding: 6px 4px;
734 margin: 0;
737 .user-stats .karma-total {
738 font-weight: bold;
741 /*===============*/
742 /* CONVERSATIONS */
743 /*===============*/
745 #content.conversation-page h1.page-main-heading {
746 font-family: <?php echo $text_font; ?>;
749 /*============*/
750 /* LOGIN PAGE */
751 /*============*/
753 .login-container form input[type='submit'] {
754 font-weight: bold;
755 background-color: #eee;
756 border: 1px solid #ccc;
758 .login-container form input[type='submit']:hover,
759 .login-container form input[type='submit']:focus {
760 background-color: #ddd;
761 border: 1px solid #aaa;
764 /* “Create account” form */
766 #signup-form {
767 background-color: #f3f3f3;
768 border: 1px solid #ddd;
770 #signup-form input[type='submit'] {
771 background-color: #e4e4e4;
772 border: 1px solid #ccc;
774 #signup-form input[type='submit']:hover {
775 background-color: #d8d8d8;
776 border: 1px solid #aaa;
779 /* Log in tip */
781 .login-container .login-tip {
782 border: 1px solid #eee;
785 /* Message box */
787 .error-box {
788 border: 1px solid red;
789 background-color: #faa;
791 .success-box {
792 border: 1px solid green;
793 background-color: #afa;
796 /*=====================*/
797 /* PASSWORD RESET PAGE */
798 /*=====================*/
800 .reset-password-container input[type='submit'] {
801 background-color: #e4e4e4;
802 border: 1px solid #ccc;
803 font-weight: bold;
806 /*===================*/
807 /* TABLE OF CONTENTS */
808 /*===================*/
810 .contents {
811 font-family: <?php echo $UI_font; ?>;
812 margin-left: 1.5em;
813 font-family: Garamond Premier Pro;
814 min-width: unset;
816 .contents-head {
817 font-weight: bold;
819 .contents-head::after {
820 content: "";
821 background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
822 display: block;
823 margin: 0 auto 0.5em auto;
824 width: 75%;
825 height: 1px;
827 .contents a::after {
828 display: none;
830 .body-text .contents ul {
831 margin: 0 0.5em;
832 padding: 0 1em;
834 .body-text .contents a,
835 .body-text .contents a:visited {
836 color: #690010;
837 font-weight: 600;
839 .body-text .contents a:hover {
840 color: #690010;
841 text-shadow:
842 0px 0px 0.5px #ff987b,
843 0px 0px 1px #c05651;
844 border: none;
846 .body-text .contents li::before {
847 color: #999;
848 font-feature-settings: 'onum';
851 .contents .toc-collapse-toggle-button {
852 color: #ccc;
854 .contents .toc-collapse-toggle-button:hover {
855 color: #aaa;
858 /*==================*/
859 /* POSTS & COMMENTS */
860 /*==================*/
862 .body-text {
863 font-family: <?php echo $text_font; ?>;
865 h1.post-title {
866 font-family: <?php echo $text_font; ?>;
867 font-weight: 600;
869 .body-text {
870 font-family: <?php echo $text_font; ?>;
871 font-weight: 500;
872 line-height: 1.45;
875 .body-text a,
876 .body-text a:visited {
877 text-decoration: none;
878 color: inherit;
880 .body-text a:link::after,
881 .body-text a:visited::after {
882 position: relative;
883 content: "°";
884 margin-left: 2px;
885 margin-right: 1px;
886 color: #933;
888 .body-text a:hover {
889 color: #999;
890 border-bottom: 1px dotted #999;
893 /*===========*/
894 /* POST-META */
895 /*===========*/
897 .post-meta,
898 h1.listing + .post-meta {
899 text-align: center;
900 font-weight: <?php echo ($platform == 'Mac') ? '300' : '400'; ?>;
902 .post-meta .post-section::before,
903 .comment-meta .alignment-forum {
904 color: #fff;
905 top: -1px;
906 text-shadow:
907 1px 1px 0 #999,
908 0 1px 0 #999,
909 0 0 5px #999;
910 margin: 0 0 0 0.5em;
912 .comment-meta .alignment-forum {
913 margin: 0 1em 0 0;
915 a.post-section:hover {
916 text-decoration: none;
918 .post-meta .post-section.alignment-forum::before {
919 text-shadow:
920 1px 1px 0 #b9bbff,
921 0 1px 0 #b9bbff,
922 0 0 5px #b9bbff;
924 a.post-section.alignment-forum:hover::before {
925 color: #e7e8ff;
927 .post-meta > *,
928 .comment-meta a {
929 color: #999;
931 .post-meta a:hover,
932 .comment-meta a:hover {
933 color: #333;
934 text-shadow: 0px 0px 0.5px #333;=
936 .bottom-post-meta {
937 border-color: #ddd;
940 /*============*/
941 /* LINK POSTS */
942 /*============*/
944 .post.link-post a.link-post-link {
945 text-decoration: none;
946 font-family: <?php echo $UI_font; ?>;
947 font-weight: 600;
948 color: #77121a;
950 .post.link-post a.link-post-link:hover {
951 color: #942f2f;
952 text-shadow:
953 0px 0px 0.5px #ff987b,
954 0px 0px 1.5px #c05651,
955 0.5px 0.5px 0.5px #de7069;
957 .post.link-post a.link-post-link:hover::before {
958 color: #4879ec;
959 text-shadow:
960 0.5px 0.5px 0 #fff,
961 -0.5px -0.5px 0 #fff,
962 0 0 2px #fff,
963 0 0 3px #00c;
965 .post.link-post a.link-post-link:focus {
966 text-shadow:
967 0px 0px 0.5px #ff987b,
968 0px 0px 1.5px #c05651,
969 0.5px 0.5px 0.5px #de7069;
972 /*=======*/
973 /* POSTS */
974 /*=======*/
976 .post-body {
977 font-size: 1.375rem;
979 .post-page .post-meta::after {
980 display: block;
981 margin: 0.625em 0 0 0;
982 font-size: 1.5rem;
983 flex-basis: 100%;
984 order: 2;
986 .post-page .post-meta:first-of-type::after {
987 content: "❦";
989 .post-body {
990 margin: 0;
993 .post .bottom-post-meta {
994 border-color: #bbb;
995 padding-bottom: 17px;
998 /*=================*/
999 /* POST NAVIGATION */
1000 /*=================*/
1002 .post-nav-links a,
1003 .post-nav-links a:visited {
1004 color: #888;
1005 font-weight: 200;
1007 .post-nav-links a:hover {
1008 text-decoration: none;
1009 color: #333;
1010 text-shadow:
1011 0px 0px 0.5px #333;
1012 background-color: #f0f0eb;
1015 .post-nav-label {
1016 opacity: 0.75;
1017 font-weight: 300;
1020 .post-nav.prev, .sequence-title {
1021 border-right: 1px solid #bbb;
1024 @media only screen and (max-width: 900px) {
1025 .post-nav.prev,
1026 .post-nav.next {
1027 padding: 0.75em 0.5em 0.5em 0.5em;
1029 .sequence-title {
1030 border-top: 1px solid #bbb;
1031 border-right: none;
1033 .post-nav.prev {
1034 border-right: 1px solid #bbb;
1036 .post-nav.next {
1037 border-left: 1px solid #bbb;
1041 /*==========*/
1042 /* COMMENTS */
1043 /*==========*/
1045 .comments::before {
1046 border-top: 1px solid #bbb;
1049 #content > .comment-thread .comment-meta a.date:focus,
1050 #content > .comment-thread .comment-meta a.permalink:focus {
1051 color: #444;
1052 font-weight: normal;
1053 outline: 2px dotted #444;
1054 position: relative;
1055 background-color: #fff;
1056 padding: 0 5px;
1057 left: -5px;
1059 #content > .comment-thread .comment-meta a.date:focus + *,
1060 #content > .comment-thread .comment-meta a.permalink:focus + *:not(.comment-post-title) {
1061 margin-left: -10px;
1063 .comment-item {
1064 border: 1px solid transparent;
1067 .comment-item {
1068 box-shadow:
1069 0 0 3px #bbb,
1070 0 0 5px #bbb,
1071 0 0 7px #bbb,
1072 0 0 10px #bbb;
1074 .comment-body {
1075 font-size: 1.25rem;
1078 /*================================*/
1079 /* DEEP COMMENT THREAD COLLAPSING */
1080 /*================================*/
1082 .comment-item input[id^="expand"] + label::after {
1083 color: <?php echo $hyperlink_color; ?>;
1084 font-weight: 600;
1086 .comment-item input[id^="expand"] + label:hover::after {
1087 color: #c00;
1089 .comment-item input[id^="expand"] + label:active::after,
1090 .comment-item input[id^="expand"] + label:focus::after{
1091 color: #c00;
1093 .comment-item input[id^="expand"]:checked ~ .comment-thread .comment-thread .comment-item {
1094 border-width: 1px 0 0 0;
1096 .comment-item input[id^="expand"] ~ .comment-thread {
1097 max-height: 39px;
1098 padding-top: 5px;
1101 /*==============*/
1102 /* COMMENT-META */
1103 /*==============*/
1105 .comment-meta {
1106 font-weight: <?php echo ($platform == 'Mac') ? '300' : '400'; ?>;
1107 padding-top: 5px;
1108 padding-bottom: 4px;
1109 border-bottom: 1px dotted #bbb;
1112 .comment-meta .author {
1113 font-size: 1.125em;
1114 color: #666;
1115 font-weight: 600;
1117 .comment-item .author:not(.redacted).original-poster::after {
1118 opacity: 0.8;
1121 .comment-item .voting-controls.active-controls::after,
1122 .comment-item .voting-controls .karma-value::after,
1123 .post .voting-controls.active-controls::after,
1124 .post .voting-controls .karma-value::after,
1125 .author::before {
1126 background-color: #fff;
1127 color: #777;
1128 box-shadow: 0 0 0 1px #ccc inset;
1129 text-shadow: none;
1130 border-radius: 4px;
1132 .comment-item .voting-controls.active-controls::after,
1133 .post .voting-controls.active-controls::after {
1134 padding: 6px;
1135 bottom: -46px;
1137 .comment-item .voting-controls .karma-value::after,
1138 .post .voting-controls .karma-value::after {
1139 padding: 2px 8px;
1140 top: -26px;
1141 min-width: 64px;
1144 /*====================*/
1145 /* ANTI-KIBITZER MODE */
1146 /*====================*/
1148 .author.redacted,
1149 .inline-author.redacted {
1150 opacity: 0.8;
1151 font-weight: 300;
1154 .karma-value.redacted {
1155 opacity: 0.5;
1158 .link-post-domain.redacted {
1159 opacity: 0.5;
1162 /*===========================*/
1163 /* COMMENT THREAD NAVIGATION */
1164 /*===========================*/
1166 a.comment-parent-link::after {
1167 display: none;
1169 a.comment-parent-link::before {
1170 color: #bbb;
1172 a.comment-parent-link:hover::before {
1173 color: #999;
1174 text-shadow: none;
1175 background-image: linear-gradient(to right, transparent 0%, #bbb 100%);
1176 background-repeat: no-repeat;
1177 box-shadow: 1px 0 0 0 #bbb;
1180 .comment-child-link::before {
1181 color: #ccc;
1184 .comment-item-highlight {
1185 box-shadow:
1186 0 0 2px #e7b200,
1187 0 0 3px #e7b200,
1188 0 0 5px #e7b200,
1189 0 0 7px #e7b200,
1190 0 0 10px #e7b200;
1191 border: 1px solid #e7b200;
1193 .comment-item-highlight-faint {
1194 box-shadow:
1195 0 0 2px #f8e7b5,
1196 0 0 3px #f8e7b5,
1197 0 0 5px #f8e7b5,
1198 0 0 7px #f8e7b5,
1199 0 0 10px #f8e7b5;
1200 border: 1px solid #f8e7b5;
1203 .comment-popup {
1204 background-color: #fff;
1207 /*====================*/
1208 /* COMMENT PERMALINKS */
1209 /*====================*/
1211 .comment-meta .permalink,
1212 .comment-meta .lw2-link,
1213 .individual-thread-page .comment-parent-link:empty {
1214 filter: grayscale(50%);
1216 .comment-meta .permalink:hover,
1217 .comment-meta .lw2-link:hover,
1218 .individual-thread-page .comment-parent-link:empty:hover {
1219 filter: unset;
1222 /*=======================*/
1223 /* COMMENTS COMPACT VIEW */
1224 /*=======================*/
1226 #comments-list-mode-selector button {
1227 box-shadow:
1228 0 0 0 4px #fff inset,
1229 0 0 0 5px #bbb inset;
1231 #comments-list-mode-selector button:hover,
1232 #comments-list-mode-selector button.selected {
1233 box-shadow:
1234 0 0 0 5px #bbb inset;
1236 #content.compact > .comment-thread .comment-item {
1237 max-height: 56px;
1239 #content.compact > .comment-thread .comment-item::after {
1240 color: <?php echo $hyperlink_color; ?>;
1241 background: linear-gradient(to right, transparent 0%, #fff 50%, #fff 100%);
1244 @media only screen and (hover: hover) {
1245 #content.compact > .comment-thread .comment-item:hover .comment,
1246 #content.compact > .comment-thread .comment-item.expanded .comment {
1247 background-color: #fff;
1248 outline: 3px solid #888;
1250 #content.compact > .comment-thread .comment-item:hover .comment::before,
1251 #content.compact > .comment-thread .comment-item.expanded .comment::before {
1252 background-color: #fff;
1253 box-shadow:
1254 0 0 3px #fff,
1255 0 0 5px #fff,
1256 0 0 7px #fff,
1257 0 0 10px #fff,
1258 0 0 20px #fff,
1259 0 0 30px #fff,
1260 0 0 40px #fff;
1263 @media only screen and (hover: none) {
1264 #content.compact > .comment-thread.expanded .comment-item .comment {
1265 background-color: #fff;
1266 outline: 3px solid #888;
1268 #content.compact > .comment-thread.expanded .comment-item .comment::before {
1269 background-color: #fff;
1270 box-shadow:
1271 0 0 3px #fff,
1272 0 0 5px #fff,
1273 0 0 7px #fff,
1274 0 0 10px #fff,
1275 0 0 20px #fff,
1276 0 0 30px #fff,
1277 0 0 40px #fff;
1281 #content.user-page.compact > h1.listing {
1282 margin-top: 0.5rem;
1284 #content.user-page.compact > h1.listing + .post-meta {
1285 margin-bottom: 1rem;
1288 /*===========================*/
1289 /* HIGHLIGHTING NEW COMMENTS */
1290 /*===========================*/
1292 .new-comment::before {
1293 outline: 2px solid #5a5;
1294 box-shadow:
1295 0 0 6px -2px #5a5 inset,
1296 0 0 4px #5a5,
1297 0 0 6px #5a5;
1300 /*=================================*/
1301 /* COMMENT THREAD MINIMIZE BUTTONS */
1302 /*=================================*/
1304 .comment-minimize-button {
1305 color: #ccc;
1307 .comment-minimize-button:hover {
1308 color: #aaa;
1310 .comment-minimize-button::after {
1311 font-family: <?php echo $UI_font; ?>;
1312 color: #777;
1314 .comment-minimize-button.maximized::after {
1315 color: #ccc;
1318 /*=================================*/
1319 /* INDIVIDUAL COMMENT THREAD PAGES */
1320 /*=================================*/
1322 .individual-thread-page > h1 a {
1323 color: #690010;
1325 .individual-thread-page > h1 a:hover {
1326 text-shadow:
1327 0px 0px 0.5px #ff987b,
1328 0px 0px 1.5px #c05651,
1329 0.5px 0.5px 0.5px #de7069;
1332 .individual-thread-page > h1 {
1333 font-family: <?php echo $text_font; ?>;
1336 /*==============*/
1337 /* VOTE BUTTONS */
1338 /*==============*/
1340 .vote {
1341 position: relative;
1343 .vote::before {
1344 position: relative;
1345 z-index: 1;
1347 .vote::after {
1348 position: absolute;
1351 .karma .upvote::before {
1352 content: "\F077";
1353 top: 1px;
1355 .karma .downvote::before {
1356 content: "\F078";
1357 left: -2px;
1359 .karma .upvote::after {
1360 content: "\F325";
1361 left: 6px;
1362 bottom: 4px;
1364 .karma .downvote::after {
1365 content: "\F322";
1366 left: 4px;
1367 top: 4px;
1369 @supports (-moz-appearance: none) {
1370 .karma .upvote::after {
1371 left: 4px;
1372 bottom: 4px;
1374 .karma .downvote::after {
1375 left: 2px;
1376 top: 5px;
1380 .agreement .upvote::before {
1381 content: "\F00C";
1382 top: 1px;
1384 .agreement .downvote::before {
1385 content: "\F00D";
1386 left: -2px;
1388 .agreement .upvote::after {
1389 content: "\F560";
1390 left: 6px;
1391 bottom: 2px;
1393 .agreement .downvote::after {
1394 content: "\E59B";
1395 left: 2px;
1396 top: 1px;
1398 @supports (-moz-appearance: none) {
1399 .agreement .upvote::after {
1400 left: 4px;
1401 bottom: 2px;
1403 .agreement .downvote::after {
1404 left: 0;
1405 top: 1px;
1409 /**********/
1410 /* States.
1413 /* _ 1
1415 .vote {
1416 color: #bbb;
1419 /* _ 2
1421 .upvote:hover,
1422 .upvote:not(.none) {
1423 color: var(--GW-upvote-button-color);
1424 text-shadow:
1425 0 0 0.5px #fff,
1426 0 0 8px #0f0;
1428 .downvote:hover,
1429 .downvote:not(.none) {
1430 color: var(--GW-downvote-button-color);
1431 text-shadow:
1432 0 0 0.5px #fff,
1433 0 0 8px #f00;
1436 /* 0 _
1438 .vote::after {
1439 visibility: hidden;
1442 /* 1,2 _
1444 .vote.two-temp::after,
1445 .vote.two::after {
1446 visibility: visible;
1449 /* 1 _
1451 .vote.two-temp::after {
1452 color: #bbb;
1453 text-shadow: none;
1456 /* Disabled.
1458 .vote:disabled {
1459 visibility: unset;
1460 color: #eee;
1462 .vote:disabled:hover {
1463 text-shadow: none;
1466 /*===========================*/
1467 /* COMMENTING AND POSTING UI */
1468 /*===========================*/
1470 .posting-controls input[type='submit'] {
1471 background-color: #fff;
1472 border: 1px solid #aaa;
1473 font-weight: bold;
1475 .posting-controls input[type='submit']:hover,
1476 .posting-controls input[type='submit']:focus {
1477 background-color: #ddd;
1478 border: 1px solid #999;
1480 .comment + .comment-controls .action-button {
1481 font-weight: <?php echo ($platform == 'Mac') ? '300' : '400'; ?>;
1484 .comment-controls .cancel-comment-button {
1485 font-weight: 600;
1486 color: #c00;
1487 text-shadow:
1488 0 0 1px #fff,
1489 0 0 2px #fff;
1491 .comment-controls .cancel-comment-button:hover {
1492 color: #f00;
1495 .new-comment-button {
1496 font-weight: 600;
1499 .comment-controls .delete-button,
1500 .comment-controls .retract-button {
1501 color: #d00;
1503 .comment-controls .delete-button::before {
1504 opacity: 0.6;
1505 font-weight: 400;
1507 .comment-controls .retract-button::before {
1508 opacity: 0.5;
1509 font-weight: 400;
1511 .comment-controls .edit-button,
1512 .comment-controls .unretract-button {
1513 color: #0a0;
1515 .comment-controls .edit-button::before,
1516 .comment-controls .unretract-button::before {
1517 font-weight: 400;
1519 .comment-controls .action-button:hover {
1520 color: #f00;
1521 text-shadow:
1522 0px 0px 0.5px #fff,
1523 0px 0px 1.5px #800,
1526 .post-controls {
1527 margin: 0.5em -0.75em 0 0;
1529 .edit-post-link,
1530 .edit-post-link:visited {
1531 color: #090;
1534 .posting-controls textarea {
1535 font-family: <?php echo $text_font; ?>;
1536 font-size: 1.25rem;
1537 font-weight: 500;
1538 color: #000;
1539 background-color: #fff;
1540 border-color: #aaa;
1541 box-shadow:
1542 0 0 0 1px #eee inset;
1544 .posting-controls textarea:focus {
1545 background-color: #ffd;
1546 border-color: <?php echo $hyperlink_color; ?>;
1547 box-shadow:
1548 0 0 0 1px #ddf inset,
1549 0 0 0 1px #fff,
1550 0 0 0 2px <?php echo $hyperlink_color; ?>;
1552 .posting-controls.edit-existing-post textarea:focus,
1553 .posting-controls form.edit-existing-comment textarea:focus {
1554 border-color: #090;
1555 box-shadow:
1556 0 0 0 1px #81ff7f inset,
1557 0 0 0 1px #fff,
1558 0 0 0 2px #090;
1561 /* GUIEdit buttons */
1563 .guiedit-buttons-container {
1564 background-image: linear-gradient(to bottom, #fff 0%, #ddf 50%, #ccf 75%, #aaf 100%);
1567 .posting-controls.edit-existing-post .guiedit-buttons-container button,
1568 .posting-controls form.edit-existing-comment .guiedit-buttons-container button {
1569 color: #050;
1571 .guiedit-buttons-container button {
1572 font-family: Font Awesome, <?php echo $text_font; ?>;
1575 .guiedit::after {
1576 font-family: <?php echo $UI_font; ?>;
1577 color: #777;
1578 text-shadow: none;
1581 /* Markdown hints */
1583 #markdown-hints-checkbox + label {
1584 color: <?php echo $hyperlink_color; ?>;
1586 #markdown-hints-checkbox + label:hover {
1587 color: #e00;
1589 #markdown-hints {
1590 border: 1px solid #c00;
1591 background-color: #ffa;
1594 /*================*/
1595 /* EDIT POST FORM */
1596 /*================*/
1598 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
1599 border-radius: 3px;
1600 border: 1px solid #ddd;
1601 color: #777;
1603 @media only screen and (hover:hover) {
1604 #edit-post-form .post-meta-fields input[type='checkbox'] + label:hover,
1605 #edit-post-form .post-meta-fields input[type='checkbox']:focus + label {
1606 text-shadow:
1607 0 0 1px #fff,
1608 0 0 2px #fff,
1609 0 0 2.5px #aaa;
1611 #edit-post-form .post-meta-fields input[type='checkbox'] + label:hover::before,
1612 #edit-post-form .post-meta-fields input[type='checkbox']:focus + label::before {
1613 border-color: #aaa;
1616 #edit-post-form .post-meta-fields input[type='checkbox']:checked + label::before {
1617 content: "\F00C";
1619 #edit-post-form input[type='radio'] + label {
1620 color: #777;
1621 border-color: #ddd;
1623 #edit-post-form input[type='radio'][value='all'] + label {
1624 border-radius: 8px 0 0 8px;
1625 border-width: 1px;
1627 #edit-post-form input[type='radio'][value='drafts'] + label {
1628 border-radius: 0 8px 8px 0;
1630 #edit-post-form input[type='radio'] + label:hover,
1631 #edit-post-form input[type='radio']:focus + label {
1632 background-color: #ddd;
1633 color: #000;
1635 #edit-post-form input[type='radio']:focus + label {
1636 color: #000;
1637 box-shadow:
1638 0 0 0 1px #aaa;
1640 #edit-post-form input[type='radio']:checked + label {
1641 background-color: #ddd;
1642 border-color: #ddd;
1643 color: #000;
1644 text-shadow:
1645 0 -1px 0 #fff,
1646 0 0.5px 0.5px #000;
1649 /*=======*/
1650 /* LINKS */
1651 /*=======*/
1654 text-decoration: none;
1655 color: <?php echo $hyperlink_color; ?>;
1657 a:visited {
1658 color: <?php echo $hyperlink_color; ?>;
1661 /*=========*/
1662 /* BUTTONS */
1663 /*=========*/
1665 button,
1666 input[type='submit'] {
1667 color: #888;
1670 button:active,
1671 input[type='submit']:active {
1672 color: #f00;
1673 transform: scale(0.9);
1675 .button:visited {
1676 color: #888;
1678 .button:active {
1679 transform: scale(0.9);
1681 @supports (-moz-appearance: none) {
1682 .button:active {
1683 transform: none;
1686 @media only screen and (hover: hover) {
1687 button:hover,
1688 input[type='submit']:hover,
1689 button:focus,
1690 input[type='submit']:focus {
1691 color: #333;
1692 text-shadow: 0px 0px 0.5px #333;
1695 .button:hover {
1696 color: #333;
1697 text-shadow: 0px 0px 0.5px #333;
1698 text-decoration: none;
1700 .button:focus:not(:hover) {
1701 transform: none;
1705 /*==========*/
1706 /* HEADINGS */
1707 /*==========*/
1709 .body-text h1,
1710 .body-text h2,
1711 .body-text h3,
1712 .body-text h4,
1713 .body-text h5,
1714 .body-text h6 {
1715 margin: 1.5em 0 0.25em 0;
1717 .body-text h4 {
1718 font-size: 1.15em;
1720 .body-text h3 {
1721 font-variant: small-caps;
1722 font-size: 1.3em;
1724 .body-text h2 {
1725 font-style: italic;
1726 font-size: 1.5em;
1728 .body-text h1 {
1729 font-size: 1.9em;
1730 border: none;
1732 .post-body h1 {
1733 text-align: center;
1734 margin: 1em 0 0 0;
1736 .post-body h2 {
1737 margin: 1em 0 0 0;
1739 .post-body h1::before {
1740 content: "❦";
1741 display: block;
1742 margin: 0 auto 1em auto;
1743 font-size: 0.625em;
1744 font-weight: normal;
1746 .post-body h2::before {
1747 content: "☙";
1748 text-align: center;
1749 display: block;
1750 margin: 0 auto 0.5em auto;
1751 font-weight: normal;
1752 font-style: normal;
1754 .post-body h1:first-child::before,
1755 .body-text .contents + h1::before,
1756 .post-body h2:first-child::before,
1757 .body-text .contents + h2::before {
1758 content: "";
1761 /*========*/
1762 /* QUOTES */
1763 /*========*/
1765 blockquote {
1766 border-left: 5px solid #ccc;
1769 /*========*/
1770 /* IMAGES */
1771 /*========*/
1773 #content img,
1774 #content figure.image img {
1775 border: 1px solid #ccc;
1777 #content figure img {
1778 border: 1px solid #000;
1780 #content img[src$='.svg'],
1781 #content figure img[src$='.svg'] {
1782 border: none;
1784 #content img[style^='float'] {
1785 border: 1px solid transparent;
1788 /*========*/
1789 /* TABLES */
1790 /*========*/
1792 #content:not(.tag-index-page) .body-text table,
1793 #content:not(.tag-index-page) .body-text table th,
1794 #content:not(.tag-index-page) .body-text table td {
1795 border: 1px solid #ddd;
1798 /*======*/
1799 /* MISC */
1800 /*======*/
1802 hr {
1803 height: 1px;
1804 background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
1807 code,
1808 pre {
1809 font-family: Triplicate Code, Courier, Courier New, monospace;
1810 font-size: 0.8125em;
1813 pre {
1814 border: 1px solid #ceccc3;
1815 background-color: #f6f4ea;
1816 border-radius: 4px;
1817 padding: 0 1px;
1820 input[type='text'],
1821 input[type='search'],
1822 input[type='password'] {
1823 background-color: transparent;
1824 border: 1px solid #ccc;
1825 color: #000;
1827 input[type='text']:focus,
1828 input[type='search']:focus,
1829 input[type='password']:focus {
1830 background-color: #ffd;
1831 border: 1px solid #bbb;
1832 box-shadow: 0 0 1px #bbb;
1835 select {
1836 color: #000;
1839 /*============*/
1840 /* ABOUT PAGE */
1841 /*============*/
1843 .about-page mark {
1844 background-color: #e6e6e6;
1845 text-decoration: none;
1846 box-shadow:
1847 0 -1px 0 0 #000 inset,
1848 0 -3px 1px -2px #000 inset;
1849 padding: 0 1px;
1852 #content.about-page .accesskey-table {
1853 font-family: <?php echo $UI_font; ?>;
1854 border-color: #ddd;
1857 #content.about-page img {
1858 border: 1px solid #000;
1861 /*========================*/
1862 /* QUALIFIED HYPERLINKING */
1863 /*========================*/
1865 #aux-about-link a {
1866 color: #777;
1868 #aux-about-link a:hover {
1869 opacity: 1.0;
1872 .qualified-linking label {
1873 color: #bbb;
1875 .qualified-linking label:hover {
1876 color: #333;
1877 text-shadow: 0px 0px 0.5px #333;
1880 .qualified-linking-toolbar {
1881 border: 1px solid #000;
1882 background-color: #fff;
1884 .qualified-linking-toolbar a {
1885 background-color: #eee;
1886 border: 1px solid #ccc;
1887 border-radius: 4px;
1889 .qualified-linking-toolbar a:visited {
1890 color: <?php echo $hyperlink_color; ?>;
1892 .qualified-linking-toolbar a:hover {
1893 text-decoration: none;
1894 background-color: #ddd;
1896 .qualified-linking label::after {
1897 background-color: #fffffa;
1898 opacity: 0.8;
1901 /*======*/
1902 /* MATH */
1903 /*======*/
1905 .mathjax-block-container::-webkit-scrollbar {
1906 height: 12px;
1907 background-color: #f6f6ff;
1908 border-radius: 6px;
1909 border: 1px solid #ddf;
1911 .mathjax-block-container::-webkit-scrollbar-thumb {
1912 background-color: #dde;
1913 border-radius: 6px;
1914 border: 1px solid #cce;
1916 .mathjax-inline-container::-webkit-scrollbar {
1917 height: 8px;
1918 background-color: #f6f6ff;
1919 border-radius: 4px;
1920 border: 1px solid #ddf;
1922 .mathjax-inline-container::-webkit-scrollbar-thumb {
1923 background-color: #dde;
1924 border-radius: 4px;
1925 border: 1px solid #cce;
1929 /*===============*/
1930 /* USER MENTIONS */
1931 /*===============*/
1933 .textarea-container .autocomplete-container {
1934 background-color: rgba(255, 255, 170, 0.75);
1935 border: 1px solid rgba(136, 136, 136, 0.75);
1936 font-weight: 300;
1939 .textarea-container .autocomplete-container div.highlighted {
1940 background-color: rgba(136, 136, 136, 0.75);
1941 color: #fff;
1944 .textarea-container .autocomplete-container div:not(.highlighted):hover {
1945 background-color: rgba(136, 136, 136, 0.25);
1948 .textarea-container .autocomplete-container div span.age,
1949 .textarea-container .autocomplete-container div span.karma {
1950 color: #888;
1953 .textarea-container .autocomplete-container div.highlighted span.age,
1954 .textarea-container .autocomplete-container div.highlighted span.karma {
1955 color: #ddd;
1959 /*=================*/
1960 /* ALIGNMENT FORUM */
1961 /*=================*/
1963 #content.alignment-forum-index-page::before {
1964 background-color: #f4f5ff;
1965 border-color: #bbb;
1966 border-style: solid;
1967 border-width: 0 1px;
1969 #content.alignment-forum-index-page::after {
1970 grid-column: 1;
1971 font-family: "Concourse SmallCaps";
1972 font-weight: 600;
1973 background-color: #7f85b2;
1974 color: transparent;
1975 -webkit-background-clip: text;
1976 text-shadow:
1977 rgba(255,255,255,0.5) 0px 3px 3px;
1979 @media only screen and (hover: hover) {
1980 #content.alignment-forum-index-page h1.listing a:hover,
1981 #content.alignment-forum-index-page h1.listing a:focus {
1982 background-color: rgba(244,245,255,0.85);
1986 /*====================*/
1987 /* FOR NARROW SCREENS */
1988 /*====================*/
1990 @media only screen and (max-width: 1440px) {
1991 #hns-date-picker {
1992 background-color: #fffffa;
1993 opacity: 1.0;
1996 @media only screen and (max-width: 1160px) {
1997 #theme-selector:hover::after {
1998 width: calc(6em - 9px);
1999 height: calc(100% - 5px);
2000 top: 3px;
2001 left: 100%;
2003 #text-size-adjustment-ui button {
2004 background-color: #ddd;
2006 #text-size-adjustment-ui button:hover {
2007 background-color: #eee;
2009 #theme-tweaker-toggle button {
2010 background-color: #ddd;
2013 @media only screen and (max-width: 1080px) {
2014 #text-size-adjustment-ui button {
2015 border: 1px solid #999;
2016 padding: 0 0 0 1px;
2017 border-radius: 50%;
2018 box-shadow:
2019 0 0 6px #999 inset,
2020 0 0 0 1px transparent;
2022 #theme-tweaker-toggle button {
2023 border: 1px solid #999;
2024 box-shadow:
2025 0 0 10px #999 inset,
2026 0 0 0 1px transparent;
2027 border-radius: 50%;
2028 transform: scale(0.8);
2032 /*========*/
2033 /* MOBILE */
2034 /*========*/
2036 /*******************************************/
2037 @media only screen and (max-width: 1160px) {
2038 /*******************************************/
2040 #ui-elements-container > div[id$='-ui-toggle'] button {
2041 color: #bbb;
2042 text-shadow:
2043 0 0 1px #fffffa,
2044 0 0 3px #fffffa,
2045 0 0 5px #fffffa,
2046 0 0 10px #fffffa,
2047 0 0 20px #fffffa,
2048 0 0 30px #fffffa;
2051 #theme-selector {
2052 background-color: #fffffa;
2053 box-shadow:
2054 0 0 0 1px #ccc,
2055 0 0 1px 3px #fffffa,
2056 0 0 3px 3px #fffffa,
2057 0 0 5px 3px #fffffa,
2058 0 0 10px 3px #fffffa,
2059 0 0 20px 3px #fffffa;
2060 border-radius: 8px;
2062 #theme-selector::before {
2063 color: #999;
2064 font-weight: 300;
2065 text-shadow: 0.5px 0.5px 0 #fff;
2067 #theme-selector button {
2068 background-color: #fffffa;
2069 border-radius: 8px;
2071 #theme-selector button::after {
2072 color: #777;
2073 max-width: calc(100% - 3.5em);
2074 overflow: hidden;
2075 text-overflow: ellipsis;
2077 #theme-selector button.selected::after {
2078 color: #222;
2079 text-shadow:
2080 0 -1px 0 #fff,
2081 0 0.5px 0.5px #000;
2083 #theme-selector .theme-selector-close-button {
2084 color: #fffffa;
2085 text-shadow:
2086 1px 1px 0 #ccc,
2087 0 0 8px #ccc;
2088 opacity: 1.0;
2091 #theme-selector .auxiliary-controls-container {
2092 border-top-color: #bbb;
2094 #theme-selector .auxiliary-controls-container button {
2095 background-color: #fffffa;
2096 box-shadow:
2097 0 0 10px 0 #bbb inset,
2098 0 0 0 1px transparent;
2099 border: 1px solid #bbb;
2101 #theme-selector #anti-kibitzer-toggle button::before,
2102 #theme-selector #anti-kibitzer-toggle button::after {
2103 background-color: #444;
2105 #theme-selector #dark-mode-selector {
2106 background-color: #fffffa;
2107 box-shadow:
2108 0 0 10px 0 #bbb inset,
2109 0 0 0 1px transparent;
2110 border: 1px solid #bbb;
2112 #theme-selector #dark-mode-selector button.selected {
2113 background-color: #aaa;
2114 border-radius: 8px;
2115 box-shadow: 0 0 2px 0 #bbb;
2118 #quick-nav-ui {
2119 background-color: #fffffa;
2121 #quick-nav-ui,
2122 #new-comment-nav-ui,
2123 #hns-date-picker {
2124 box-shadow:
2125 0 0 1px 3px #fffffa,
2126 0 0 3px 3px #fffffa,
2127 0 0 5px 3px #fffffa,
2128 0 0 10px 3px #fffffa,
2129 0 0 20px 3px #fffffa;
2131 #quick-nav-ui a::after,
2132 #new-comment-nav-ui::before {
2133 font-family: <?php echo $UI_font; ?>;
2134 font-weight: bold;
2135 box-shadow:
2136 0 0 1px 0 #fffffa,
2137 0 0 3px 0 #fffffa,
2138 0 0 5px 0 #fffffa;
2139 background-color: #fffffa;
2140 border-radius: 4px;
2142 #quick-nav-ui,
2143 #new-comment-nav-ui {
2144 border-radius: 8px;
2146 #new-comment-nav-ui {
2147 background-color: #fffffa;
2148 border: 1px solid #ccc;
2150 #new-comment-nav-ui::before {
2151 color: #777;
2152 font-weight: 600;
2154 #new-comment-nav-ui .new-comment-sequential-nav-button {
2155 box-shadow: 0 0 0 1px #ccc;
2156 color: #777;
2158 #new-comment-nav-ui .new-comments-count {
2159 background-color: inherit;
2160 box-shadow: 0 -1px 0 0 #ccc;
2162 #new-comment-nav-ui .new-comment-sequential-nav-button.new-comment-previous {
2163 border-radius: 7px 0 0 7px;
2165 #new-comment-nav-ui .new-comment-sequential-nav-button.new-comment-next {
2166 border-radius: 0 7px 7px 0;
2168 #new-comment-nav-ui button::after {
2169 font-family: <?php echo $UI_font; ?>;
2172 /*****************************************/
2173 @media only screen and (max-width: 900px) {
2174 /*****************************************/
2175 h1.listing {
2176 line-height: 1;
2178 h1.listing + .post-meta .post-section::before {
2179 position: unset;
2181 h1.listing + .post-meta .post-section {
2182 overflow: visible;
2185 .nav-bar-top:not(#primary-bar) .nav-inner {
2186 font-size: 1.125em;
2188 .nav-bar-top:not(#primary-bar) .nav-item:not(#nav-item-search) .nav-inner {
2189 padding: 6px 10px;
2192 #top-nav-bar .page-number {
2193 padding-top: 11px;
2195 #top-nav-bar::after {
2196 margin: 0 auto;
2199 .archive-nav *[class^='archive-nav-item-'] {
2200 border-width: 1px !important;
2202 .archive-nav > *[class^='archive-nav-'] + *[class^='archive-nav-']::before {
2203 background-color: #bbb;
2206 .comment-item .comment-item {
2207 margin: 0.75em 3px 3px 6px;
2209 .comment-item .comment-item + .comment-item {
2210 margin: 1.5em 3px 3px 6px;
2213 .sublevel-nav:not(.sort) .sublevel-item,
2214 .sublevel-nav:not(.sort) .sublevel-item:first-child,
2215 .sublevel-nav:not(.sort) .sublevel-item:last-child {
2216 border-radius: 8px;
2217 border-width: 1px;
2218 margin: 2px;
2221 .contents {
2222 margin-left: auto;
2224 /*******************************************/
2225 } @media only screen and (max-width: 720px) {
2226 /*******************************************/
2227 /*******************************************/
2228 } @media only screen and (max-width: 520px) {
2229 /*******************************************/
2230 h1.listing {
2231 font-size: 1.5rem;
2232 margin: 18px 6px 4px 6px;
2233 max-width: calc(100% - 12px);
2235 h1.listing + .post-meta {
2236 margin: 4px 6px;
2238 h1.listing + .post-meta > * {
2239 line-height: 1.4;
2241 h1.listing .link-post-link {
2242 top: 4px;
2245 #content.user-page h1.listing::after {
2246 height: calc(100% + 2.375em);
2248 #content.user-page h1.listing.link-post-listing::after {
2249 height: calc(100% + 3.375em);
2251 #content.user-page h1.listing + .post-meta {
2252 margin-bottom: 1.5rem;
2255 #content.compact > .comment-thread .comment-item {
2256 max-height: 104px;
2258 #content.compact.user-page h1.listing {
2259 margin-top: 0.5rem;
2261 #content.compact.user-page h1.listing + .post-meta {
2262 margin-bottom: 0.75rem;
2265 .comment-body {
2266 font-size: 1.1875rem;
2267 line-height: 1.35;
2270 .textarea-container:focus-within .guiedit-mobile-auxiliary-button {
2271 padding: 5px 6px 6px 6px;
2272 font-weight: 600;
2274 .textarea-container:focus-within .guiedit-mobile-help-button.active {
2275 box-shadow:
2276 0 0 0 1px #c00,
2277 0 0 0 1px #c00 inset;
2278 color: #c00;
2279 border-color: transparent;
2281 .textarea-container:focus-within .guiedit-buttons-container {
2282 background-color: #fff;
2283 border-top: 1px solid #ddf;
2285 #content.conversation-page .textarea-container:focus-within::after {
2286 background-color: #fff;
2288 .textarea-container:focus-within .guiedit-mobile-auxiliary-button,
2289 .textarea-container:focus-within button.guiedit {
2290 border: 1px solid #bbb;
2291 border-radius: 6px;
2293 #markdown-hints::after {
2294 color: #090;
2297 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
2298 top: 2px;
2300 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
2301 top: 1px;
2303 #edit-post-form textarea {
2304 min-height: calc(100vh - 440px);