Rework ToC collapse to avoid reflow and jank.
[lw2-viewer.git] / www / theme-classic.css.php
blobccfc0b93ae946daaa1642b6d9020dfe8743e1df5
1 <?php
2 $UI_font = "'Arial', 'GW-Symbols', sans-serif";
3 $text_font = "'Arial', sans-serif";
4 $hyperlink_color = "#6a8a6b";
5 ?>
7 /*****************/
8 /* CLASSIC THEME */
9 /*****************/
11 /*===========*/
12 /* VARIABLES */
13 /*===========*/
15 /* Color scheme.
17 :root {
18 --GW-comment-background-color-odd: #f7f7f8;
19 --GW-comment-background-color-even: #fff;
20 --GW-comment-background-color-target: #ffd;
23 /*======*/
24 /* BASE */
25 /*======*/
27 body {
28 color: #000;
29 background-color: #d8d8d8;
30 font-family: <?php echo $UI_font; ?>;
32 #content {
33 line-height: 1.5;
35 #content::before {
36 background-color: #fff;
37 box-shadow: 0px 0px 10px #555;
40 /*=========*/
41 /* NAV BAR */
42 /*=========*/
44 .nav-inner {
45 font-size: 1.125em;
46 font-weight: bold;
48 .nav-inner,
49 #primary-bar.inactive-bar .nav-inner {
50 padding: 13px 30px 11px 30px;
52 .nav-bar-top:not(#primary-bar) .nav-inner {
53 font-size: 0.875em;
55 .nav-bar-top:not(#primary-bar) .nav-item:not(#nav-item-search) .nav-inner {
56 padding: 6px 0 4px 0;
58 @media only screen and (min-width: 901px) {
59 #secondary-bar #nav-item-sequences .nav-inner {
60 line-height: 1.1;
64 #bottom-bar.decorative {
65 background-color: #fff;
67 #bottom-bar.decorative::before,
68 #bottom-bar.decorative::after {
69 content: "GW";
70 font-weight: 200;
71 display: block;
72 text-align: center;
73 padding: 0.5em 0 0.75em 0;
75 #bottom-bar.decorative::before {
76 width: 100%;
77 color: transparent;
78 background-image: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/one_pixel_DDD.gif")) ?>');
79 background-repeat: repeat-x;
80 background-position: center 44%;
81 margin: 0 30px;
82 filter: opacity(0.7);
84 #bottom-bar.decorative::after {
85 color: #eee;
86 position: absolute;
87 left: 0;
88 right: 0;
89 margin: auto;
90 background-color: #fff;
91 padding-right: 4px;
92 padding-left: 4px;
94 <?php fit_content("#bottom-bar.decorative::after"); ?>
96 /* Accesskey hints */
98 .nav-inner::after {
99 display: block;
100 position: absolute;
101 left: 5px;
102 top: 0;
103 font-weight: normal;
104 font-size: 0.7em;
105 color: #ddd;
107 .nav-inner:hover::after {
108 color: #bbb;
111 /* This makes the navbar items look like tabs: */
113 .nav-bar + .nav-bar {
114 position: relative;
116 .nav-bar {
117 background-color: #f5f5f5;
119 .nav-bar {
120 border-bottom: 1px solid #d6d5d6;
122 .nav-bar .nav-inner {
123 color: #999;
125 .nav-bar .nav-inner:hover {
126 color: #777;
127 text-decoration: none;
129 .nav-bar .nav-current {
130 color: #666;
132 .nav-item:nth-of-type(n+2) {
133 box-shadow: -9px 0 0 -8px #d6d5d6;
136 /* Search tab */
138 #nav-item-search form::before {
139 position: relative;
140 top: 2px;
141 opacity: 0.3;
143 #nav-item-search button {
144 border: none;
145 font-weight: inherit;
147 #nav-item-search input::placeholder {
148 color: #d00;
149 font-weight: normal;
152 /*= User/login tab =*/
154 #inbox-indicator::before {
155 top: 1px;
156 color: #ccc;
159 /*= Pagination UI =*/
161 #bottom-bar #nav-item-next a::before {
162 margin-left: -2.2em;
163 left: 4.0em;
165 #bottom-bar #nav-item-last a::before {
166 margin-left: -2.3em;
167 left: 3.9em;
170 /*= Top pagination UI hover tooltips =*/
172 #top-nav-bar a::after,
173 #bottom-bar a::after {
174 color: #000;
177 /*==============*/
178 /* PAGE TOOLBAR */
179 /*==============*/
181 .new-post,
182 .new-post:visited,
183 .new-private-message,
184 .new-private-message:visited {
185 color: #090;
187 .logout-button {
188 color: #d33;
191 /*==============*/
192 /* SUBLEVEL NAV */
193 /*==============*/
195 .sublevel-nav .sublevel-item {
196 color: #777;
197 background-color: #fff;
199 .sublevel-nav .sublevel-item:not(.selected):hover {
200 background-color: #ddd;
201 color: #000;
202 text-decoration: none;
203 text-shadow: none;
205 .sublevel-nav .sublevel-item:not(.selected):active,
206 .sublevel-nav .sublevel-item.selected {
207 background-color: #ddd;
208 color: #000;
209 text-shadow:
210 0 -1px 0 #fff,
211 0 0.5px 0.5px #000;
214 .sublevel-nav:not(.sort) .sublevel-item {
215 border-style: solid;
216 border-color: #ddd;
217 border-width: 1px 0 1px 1px;
219 .sublevel-nav:not(.sort) .sublevel-item:first-child {
220 border-radius: 8px 0 0 8px;
222 .sublevel-nav:not(.sort) .sublevel-item:last-child {
223 border-width: 1px;
224 border-radius: 0 8px 8px 0;
227 /*=====================*/
228 /* SORT ORDER SELECTOR */
229 /*=====================*/
231 .sublevel-nav.sort .sublevel-item {
232 letter-spacing: 0.5px;
233 padding: 7px 7px 6px 8px;
234 text-transform: uppercase;
235 pointer-events: auto;
236 box-shadow: 1px 1px 0 0 #aaa inset;
238 .sublevel-nav.sort {
239 border: 2px solid transparent;
240 padding: 18px 0 0 0;
241 border-radius: 8px;
242 pointer-events: none;
243 background-color: #bbb;
245 .sublevel-nav.sort::before {
246 text-transform: uppercase;
247 font-weight: 600;
248 color: #444;
249 text-shadow: 0.5px 0.5px 0 #fff;
250 z-index: 1;
252 .sublevel-nav.sort::after {
253 content: "";
254 position: absolute;
255 display: block;
256 top: 0;
257 left: 0;
258 width: 100%;
259 height: 100%;
260 border-radius: 6px;
261 box-shadow:
262 0 18px 0 0 #bbb inset,
263 0 0 0 1px #aaa inset,
264 0 18px 0 1px #aaa inset,
265 0 0 0 2px #bbb;
268 /*================*/
269 /* WIDTH SELECTOR */
270 /*================*/
271 /* THEME SELECTOR */
272 /*================*/
274 #width-selector button,
275 #theme-selector button {
276 box-shadow:
277 0 0 0 4px #d8d8d8 inset,
278 0 0 0 5px #bbb inset;
280 #width-selector button:hover,
281 #width-selector button.selected,
282 #theme-selector button:hover,
283 #theme-selector button.selected {
284 box-shadow:
285 0 0 0 5px #bbb inset;
288 #theme-selector button::before {
289 font-size: 0.9375em;
290 padding: 5px 6px 7px 6px;
291 color: #999;
292 background-color: #d8d8d8;
294 #theme-selector button:hover::before,
295 #theme-selector button.selected::before {
296 color: #222;
298 #width-selector button::after {
299 color: #999;
300 font-size: 0.9em;
303 /*======================*/
304 /* THEME TWEAKER TOGGLE */
305 /*======================*/
307 #theme-tweaker-toggle button {
308 color: #777;
311 /*=================*/
312 /* QUICKNAV WIDGET */
313 /*=================*/
315 #quick-nav-ui a {
316 color: #999;
317 background-color: #e4e4e4;
318 border-radius: 4px;
320 #quick-nav-ui a[href='#bottom-bar'] {
321 line-height: 1.8;
323 #quick-nav-ui a:active {
324 transform: scale(0.9);
326 #quick-nav-ui a[href='#comments'].no-comments {
327 opacity: 0.4;
328 color: #bbb;
330 @media only screen and (hover: hover) {
331 #quick-nav-ui a:hover {
332 color: #000;
333 background-color: #eee;
335 #quick-nav-ui a:focus:not(:hover) {
336 transform: none;
337 text-shadow: none;
341 /*======================*/
342 /* NEW COMMENT QUICKNAV */
343 /*======================*/
345 #new-comment-nav-ui .new-comments-count {
346 font-weight: 600;
347 color: #666;
348 text-shadow: 0.5px 0.5px 0 #fff;
350 #new-comment-nav-ui .new-comments-count::after {
351 font-weight: 600;
352 color: #777;
354 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
355 color: #bbb;
356 text-shadow: none;
358 @media only screen and (hover: hover) {
359 #new-comment-nav-ui .new-comments-count:hover {
360 text-shadow:
361 0 0 1px #fff,
362 0 0 3px #fff,
363 0 0 5px #fff,
364 0 0 8px #fff,
365 0.5px 0.5px 0 #fff;
367 #new-comment-nav-ui .new-comment-sequential-nav-button:focus {
368 color: #d00;
372 /*=================*/
373 /* HNS DATE PICKER */
374 /*=================*/
376 #hns-date-picker span {
377 color: #777;
378 text-shadow: 0.5px 0.5px 0 #fff;
379 font-weight: 600;
381 #hns-date-picker input {
382 border: 1px solid #777;
383 background-color: transparent;
384 color: #666;
386 #hns-date-picker input:focus {
387 color: #000;
390 /*======================*/
391 /* ANTI-KIBITZER TOGGLE */
392 /*======================*/
394 #anti-kibitzer-toggle button::before,
395 #anti-kibitzer-toggle button::after {
396 background-color: #888;
397 -webkit-background-clip: text;
398 color: transparent;
399 text-shadow: rgba(255,255,255,0.5) 0px 1px 1px;
401 #anti-kibitzer-toggle button:hover::before,
402 #anti-kibitzer-toggle button:hover::after {
403 background-color: #444;
406 /*======================*/
407 /* TEXT SIZE ADJUSTMENT */
408 /*======================*/
410 #text-size-adjustment-ui button {
411 color: #777;
413 #text-size-adjustment-ui button:hover {
414 color: #222;
416 #text-size-adjustment-ui button.default {
417 font-weight: 600;
419 #text-size-adjustment-ui button:disabled:hover {
420 text-shadow: none;
422 #text-size-adjustment-ui::after {
423 color: #999;
426 /*=============================*/
427 /* COMMENTS VIEW MODE SELECTOR */
428 /*=============================*/
430 #comments-view-mode-selector a {
431 color: #777;
434 /*===============*/
435 /* KEYBOARD HELP */
436 /*===============*/
438 #keyboard-help-overlay .keyboard-help-container .keys {
439 margin: 0;
442 /*==========*/
443 /* ARCHIVES */
444 /*==========*/
446 .archive-nav {
447 border: 1px solid #aaa;
449 .archive-nav *[class^='archive-nav-item'] {
450 border-style: solid;
451 border-color: #ddd;
452 border-width: 1px 0 1px 1px;
453 background-color: #eee;
455 .archive-nav div[class^='archive-nav-']:nth-of-type(2) *[class^='archive-nav-item'] {
456 border-top-width: 0;
457 border-bottom-width: 0;
459 .archive-nav div[class^='archive-nav-']:last-of-type *[class^='archive-nav-item'] {
460 border-bottom-width: 1px;
462 .archive-nav *[class^='archive-nav-item']:last-child {
463 border-right-width: 1px;
465 .archive-nav span[class^='archive-nav-item'] {
466 font-weight: bold;
467 background-color: #ddd;
470 .archive-nav a:link,
471 .archive-nav a:visited {
472 color: rgba(0, 0, 238, 0.7);
474 .archive-nav a:hover {
475 text-decoration: none;
476 color: #c00;
477 background-color: #e0e0e0;
479 .archive-nav a:active {
480 transform: scale(0.9);
482 .archive-nav a:focus:not(:hover) {
483 transform: none;
485 .archive-nav a.archive-nav-item-day:hover {
486 background-color: #ddd;
489 /*==========*/
490 /* LISTINGS */
491 /*==========*/
493 h1.listing {
494 margin: 1.125em 20px 0.25em 20px;
495 max-width: calc(100% - 40px);
496 font-family: <?php echo $UI_font; ?>, 'Font Awesome';
497 font-size: 1.125rem;
498 padding-left: 30px;
499 max-height: unset;
502 h1.listing .post-title-link {
503 color: #538d4d;
504 white-space: unset;
505 display: inline;
507 h1.listing .post-title:visited {
508 color: #5a5a5b;
510 h1.listing .link-post-link {
511 top: 2px;
514 @media only screen and (hover: hover) {
515 h1.listing a:hover,
516 h1.listing a:focus {
517 color: #3d3d3e;
518 text-decoration: none;
520 h1.listing a:focus {
521 border-bottom: 1px dotted #999;
523 h1.listing:focus-within::before {
524 display: none;
526 h1.listing:focus-within + .post-meta .karma-value {
527 box-shadow:
528 0 0 0 3px #fff,
529 0 0 0 6px #3d3d3e;
531 h1.listing .link-post-link:hover,
532 h1.listing .link-post-link:focus {
533 color: #4879ec;
534 text-shadow:
535 0.5px 0.5px 0 #fff,
536 -0.5px -0.5px 0 #fff,
537 0 0 2px #fff,
538 0 0 3px #00c;
539 border: none;
543 h1.listing .edit-post-link {
544 padding: 5px 3px 12px 0.5em;
545 top: 0;
546 right: 0;
548 h1.listing .edit-post-link:hover {
549 text-decoration: none;
551 #content.user-page h1.listing .edit-post-link {
552 background-color: #f7f7f8;
555 /*======*/
556 /* SPAM */
557 /*======*/
559 h1.listing.spam {
560 opacity: 0.15;
562 h1.listing.spam + .post-meta {
563 opacity: 0.2;
565 h1.listing.spam:hover,
566 h1.listing.spam + .post-meta:hover,
567 h1.listing.spam:hover + .post-meta {
568 opacity: 1.0;
571 /*===================*/
572 /* LISTING POST-META */
573 /*===================*/
575 h1.listing + .post-meta {
576 font-size: 0.8125rem;
577 padding-left: 30px;
578 display: flex;
579 justify-content: flex-end;
582 h1.listing + .post-meta .author {
583 font-weight: bold;
584 color: #6a8a6b;
585 text-decoration: none;
586 margin: 0 0 0 1.5em;
587 order: 0;
589 h1.listing + .post-meta .author:hover {
590 color: #3d3d3e;
592 h1.listing + .post-meta .date,
593 h1.listing + .post-meta .read-time {
594 color: #999;
595 font-style: italic;
597 h1.listing + .post-meta a {
598 color: #8a8a8b;
599 text-decoration: underline;
601 h1.listing + .post-meta a:hover {
602 color: #3d3d3e;
605 h1.listing + .post-meta .karma-value {
606 background-color: #538d4d;
607 color: #fff;
608 font-weight: bold;
609 font-size: 0.8125rem;
610 border-radius: 1.0625em;
611 padding: 2px 6px 1px 6px;
612 text-align: center;
613 display: block;
614 min-width: 2.125em;
615 position: absolute;
616 right: calc(100% - 1.75em);
617 top: -2.1em;
619 h1.listing + .post-meta .karma-value span,
620 h1.listing + .post-meta .lw2-link span,
621 h1.listing + .post-meta .comment-count span {
622 display: none;
625 h1.listing + .post-meta > * {
626 text-align: right;
627 margin: 0 0 0 0.5em;
629 h1.listing + .post-meta .read-time {
630 width: 6.5em;
631 order: 2;
633 h1.listing + .post-meta .comment-count {
634 order: -1;
636 h1.listing + .post-meta .comment-count::before {
637 content: "Comments ("
639 h1.listing + .post-meta .comment-count::after {
640 content: ")"
642 h1.listing + .post-meta .date {
643 width: 11em;
644 order: 1;
646 h1.listing + .post-meta .lw2-link {
647 margin: 0 0 0 1em;
648 order: 3;
650 h1.listing + .post-meta .post-section {
651 margin: 0;
652 text-decoration: none;
654 h1.listing + .post-meta .post-section::before {
655 left: unset;
656 right: calc(100% + 1.15em);
657 top: -1.95em;
659 h1.listing + .post-meta .link-post-domain {
660 order: -2;
661 margin: 0 1em 0 0;
664 /*============*/
665 /* USER PAGES */
666 /*============*/
668 #content.user-page h1.page-main-heading {
669 border-bottom: 1px solid #ccc;
672 #content.user-page h1.listing,
673 #content.user-page h1.listing + .post-meta {
674 background-color: #f7f7f8;
675 border-style: solid;
676 border-color: #bbbcbf;
679 #content.user-page h1.listing {
680 padding: 0.5em 6px 0 48px;
681 border-width: 1px 1px 0 1px;
682 margin: 1rem 0 0 0;
683 max-width: 100%;
685 #content.own-user-page h1.listing,
686 h1.listing.own-post-listing {
687 padding-right: 36px;
689 #content.user-page h1.listing a:hover {
690 background-color: #f7f7f8;
693 #content.user-page h1.listing + .post-meta {
694 padding: 0.25em 10px 0.5em 32px;
695 border-width: 0 1px 1px 1px;
696 margin: 0 0 1rem 0;
698 #content.user-page h1.listing + .post-meta .karma-value {
699 right: calc(100% - 3.25em);
700 top: -1.8em;
702 #content.user-page h1.listing + .post-meta .post-section::before {
703 right: calc(100% - 5.1em);
704 top: 4px;
707 #content.conversations-user-page h1.listing {
708 padding: 8px 6px 8px 10px;
709 font-size: 1.25rem;
711 #content.conversations-user-page h1.listing + .post-meta {
712 padding: 0 10px 6px 4px;
713 margin: 0;
716 .user-stats .karma-total {
717 font-weight: bold;
720 /*================*/
721 /* SEARCH RESULTS */
722 /*================*/
724 #content.search-results-page h1.listing {
725 font-size: 1.125rem;
728 /*===============*/
729 /* CONVERSATIONS */
730 /*===============*/
732 #content.conversation-page h1.page-main-heading {
733 font-size: 1.375em;
734 text-align: left;
737 /*============*/
738 /* LOGIN PAGE */
739 /*============*/
741 .login-container form input[type='submit'] {
742 font-weight: bold;
743 background-color: #eee;
744 border: 1px solid #ccc;
746 .login-container form input[type='submit']:hover,
747 .login-container form input[type='submit']:focus {
748 background-color: #ddd;
749 border: 1px solid #aaa;
752 /* “Create account” form */
754 #signup-form {
755 background-color: #f3f3f3;
756 border: 1px solid #ddd;
758 #signup-form input[type='submit'] {
759 background-color: #e4e4e4;
760 border: 1px solid #ccc;
762 #signup-form input[type='submit']:hover {
763 background-color: #d8d8d8;
764 border: 1px solid #aaa;
767 /* Log in tip */
769 .login-container .login-tip {
770 border: 1px solid #eee;
773 /* Message box */
775 .error-box {
776 border: 1px solid red;
777 background-color: #faa;
779 .success-box {
780 border: 1px solid green;
781 background-color: #afa;
784 /*=====================*/
785 /* PASSWORD RESET PAGE */
786 /*=====================*/
788 .reset-password-container input[type='submit'] {
789 background-color: #e4e4e4;
790 border: 1px solid #ccc;
791 font-weight: bold;
794 /*===================*/
795 /* TABLE OF CONTENTS */
796 /*===================*/
798 .contents {
799 font-family: <?php echo $UI_font; ?>;
800 border: 1px solid #ddd;
801 background-color: #eee;
802 padding: 0.75em 0.5em 0.5em 0.5em;
804 .contents-head {
805 font-weight: bold;
806 font-size: 1.25em;
808 .body-text .contents ul {
809 font-size: 1em;
811 .body-text .contents li::before {
812 color: #999;
813 font-feature-settings: "tnum";
816 .contents .toc-collapse-toggle-button {
817 font-size: 1.25em;
818 color: #ccc;
820 .contents .toc-collapse-toggle-button:hover {
821 color: #aaa;
824 /*==================*/
825 /* POSTS & COMMENTS */
826 /*==================*/
828 .body-text {
829 font-family: <?php echo $text_font; ?>;
830 font-size: 1rem;
832 .body-text a {
833 text-decoration: underline;
835 .post-meta > *,
836 .comment-meta > * {
837 white-space: unset;
840 /*=================*/
841 /* POST NAVIGATION */
842 /*=================*/
844 .post-nav-item {
845 font-size: 0.875em;
846 font-weight: bold;
847 background-color: #f5f5f5;
849 .post-nav-label {
850 opacity: 0.75;
853 .post-nav.next,
854 .sequence-title {
855 box-shadow: -9px 0 0 -8px #d6d5d6;
858 @media only screen and (max-width: 900px) {
859 .post-nav.prev {
860 padding: 0.5em 0.75em 0.5em 0.5em;
862 .sequence-title {
863 box-shadow: 0 -9px 0 -8px #d6d5d6;
865 .post-nav.next {
866 padding: 0.5em 0.5em 0.5em 0.75em;
870 .crosspost, .crosspost:visited {
871 color: #6a8a6b;
872 background-color: #f8f8f8;
873 border: 1px solid #ccc;
876 /*===========*/
877 /* POST-META */
878 /*===========*/
880 .post-meta {
881 line-height: 1.9;
883 .post-meta .post-section::before,
884 .comment-meta .alignment-forum {
885 color: #fff;
886 text-shadow:
887 1px 1px 0 #090,
888 0 1px 0 #090,
889 0 0 5px #090;
891 a.post-section:hover::before {
892 color: #97ff7c;
894 .post-meta .post-section.alignment-forum::before {
895 text-shadow:
896 1px 1px 0 #626dd7,
897 0 1px 0 #626dd7,
898 0 0 5px #626dd7;
900 a.post-section.alignment-forum:hover::before {
901 color: #e6e5ff;
904 .bottom-post-meta {
905 border-color: #ddd;
908 .post .post-meta {
909 position: relative;
910 font-size: 0.875rem;
911 justify-content: flex-start;
912 padding-left: 30px;
914 .post .post-meta .author {
915 font-weight: bold;
916 color: #6a8a6b;
917 text-decoration: none;
919 .post .post-meta .author:hover {
920 color: #3d3d3e;
922 .post .post-meta .date{
923 color: #999;
924 font-style: italic;
926 .post .post-meta a {
927 color: #8a8a8b;
928 text-decoration: underline;
930 .post .post-meta a:hover {
931 color: #3d3d3e;
934 .post .post-meta .voting-controls {
935 order: -1;
937 .post .post-meta .karma-value {
938 background-color: #538d4d;
939 color: #fff;
940 font-weight: bold;
941 font-size: 0.8125rem;
942 border-radius: 1.125em;
943 padding: 2px 6px 1px 6px;
944 text-align: center;
945 min-width: 2.125em;
946 display: block;
947 float: left;
948 margin: 0 0.5em 0 0;
950 .post .post-meta .karma-value span,
951 .post .post-meta .lw2-link span,
952 .post .post-meta .comment-count span {
953 display: none;
956 .post .post-meta .comment-count::before {
957 content: "Comments ("
959 .post .post-meta .comment-count::after {
960 content: ")"
963 .post .post-meta .post-section::before {
964 position: absolute;
965 top: 1px;
966 left: 0;
968 .post .bottom-post-meta .post-section::before {
969 top: 21px;
972 /*============*/
973 /* LINK POSTS */
974 /*============*/
976 .post.link-post > .post-body > p:first-child {
977 margin: 0;
979 .post.link-post a.link-post-link {
980 text-decoration: none;
981 font-family: <?php echo $UI_font; ?>;
982 font-weight: 600;
984 .post.link-post a.link-post-link:hover {
985 color: #c00;
987 .post.link-post a.link-post-link:hover::before {
988 color: #4879ec;
989 text-shadow:
990 0.5px 0.5px 0 #fff,
991 -0.5px -0.5px 0 #fff,
992 0 0 2px #fff,
993 0 0 3px #00c;
995 .post.link-post a.link-post-link:focus {
996 color: #aaa;
997 border-bottom: 2px dotted #aaa;
1000 /*=======*/
1001 /* POSTS */
1002 /*=======*/
1004 h1.post-title {
1005 font-size: 1.375rem;
1006 text-align: left;
1007 margin: 2em 0 0.5em 0;
1008 line-height: 1.2;
1011 /*==========*/
1012 /* COMMENTS */
1013 /*==========*/
1015 #comments::before {
1016 border-top: 1px solid #000;
1017 box-shadow: 0 3px 4px -4px #000 inset;
1019 @-moz-document url-prefix() {
1020 #comments::before {
1021 box-shadow: 0 3px 3px -4px #000 inset;
1024 #content > .comment-thread .comment-meta a.date:focus,
1025 #content > .comment-thread .comment-meta a.permalink:focus {
1026 color: #444;
1027 outline: 2px dotted #444;
1028 position: relative;
1029 background-color: #fff;
1030 padding: 0 5px;
1031 left: -5px;
1033 #content > .comment-thread .comment-meta a.date:focus + *,
1034 #content > .comment-thread .comment-meta a.permalink:focus + *:not(.comment-post-title) {
1035 margin-left: -10px;
1037 .comment-item {
1038 border: 1px solid #bbbcbf;
1039 background-color: var(--GW-comment-background-color);
1041 .comment-item .comment-item {
1042 margin: 1em -1px 8px 16px;
1044 .comment-item .comment-item + .comment-item {
1045 margin: 2em -1px 8px 16px;
1047 .comment-parent-link::after {
1048 box-shadow:
1049 0 28px 16px -16px var(--GW-comment-parent-background-color) inset,
1050 4px 16px 0 12px var(--GW-comment-background-color-target) inset,
1051 4px 4px 0 12px var(--GW-comment-background-color-target) inset;
1054 /*================================*/
1055 /* DEEP COMMENT THREAD COLLAPSING */
1056 /*================================*/
1058 .comment-item input[id^="expand"] + label::after {
1059 color: <?php echo $hyperlink_color; ?>;
1060 font-weight: 600;
1062 .comment-item input[id^="expand"] + label:hover::after {
1063 color: #c00;
1065 .comment-item input[id^="expand"] + label:active::after,
1066 .comment-item input[id^="expand"] + label:focus::after{
1067 color: #c00;
1069 .comment-item input[id^="expand"]:checked ~ .comment-thread .comment-thread .comment-item {
1070 border-width: 1px 0 0 0;
1073 /*==============*/
1074 /* COMMENT-META */
1075 /*==============*/
1077 .comment-meta > * {
1078 font-size: 0.9375rem;
1079 padding-top: 2px;
1081 .comment-meta .author {
1082 font-weight: bold;
1083 color: #538d4d;
1085 .comment-meta .date {
1086 color: #999;
1087 font-style: italic;
1089 .comment-meta .date:hover {
1090 color: #777;
1092 .comment-meta .karma-value,
1093 .comment-controls .voting-controls .karma-value {
1094 color: #666;
1095 float: left;
1096 margin-right: 0.5em;
1098 .comment-meta .karma-value:only-child {
1099 float: none;
1101 .comment-item .author:not(.redacted).original-poster::after {
1102 opacity: 0.8;
1105 .comment-item .voting-controls.active-controls::after,
1106 .comment-item .voting-controls .karma-value::after,
1107 .post .voting-controls.active-controls::after,
1108 .post .voting-controls .karma-value::after,
1109 .author::before {
1110 background-color: #fff;
1111 color: #888;
1112 box-shadow: 0 0 0 1px #ccc inset;
1113 border-radius: 4px;
1115 .comment-item .voting-controls.active-controls::after,
1116 .post .voting-controls.active-controls::after {
1117 padding: 6px;
1118 max-width: unset;
1119 bottom: -46px;
1120 width: 110px;
1122 .comment-item .voting-controls .karma-value::after,
1123 .post .voting-controls .karma-value::after {
1124 padding: 2px 8px;
1125 top: -36px;
1126 min-width: 64px;
1127 font-weight: normal;
1130 /*====================*/
1131 /* COMMENT PERMALINKS */
1132 /*====================*/
1134 .comment-meta .permalink,
1135 .comment-meta .lw2-link,
1136 .individual-thread-page .comment-parent-link:empty {
1137 top: 1px;
1138 filter: grayscale(50%);
1140 .comment-meta .permalink,
1141 .comment-meta .lw2-link,
1142 .individual-thread-page .comment-parent-link:empty {
1143 filter: unset;
1146 /*====================*/
1147 /* ANTI-KIBITZER MODE */
1148 /*====================*/
1150 .author.redacted,
1151 .inline-author.redacted {
1152 opacity: 0.8;
1153 font-weight: 400;
1156 .karma-value.redacted {
1157 opacity: 0.5;
1160 .link-post-domain.redacted {
1161 opacity: 0.5;
1164 /*===========================*/
1165 /* COMMENT THREAD NAVIGATION */
1166 /*===========================*/
1168 div.comment-parent-link {
1169 font-weight: bold;
1171 a.comment-parent-link {
1172 font-weight: normal;
1174 a.comment-parent-link::before {
1175 color: #bbb;
1177 a.comment-parent-link:hover::before {
1178 background-color: #ffd;
1179 color: #999;
1182 div.comment-child-links {
1183 font-weight: bold;
1185 div.comment-child-links a {
1186 font-weight: normal;
1188 .comment-child-link::before {
1189 color: #bbb;
1192 .comment-item-highlight {
1193 box-shadow:
1194 0 0 2px #e7b200,
1195 0 0 3px #e7b200,
1196 0 0 5px #e7b200,
1197 0 0 7px #e7b200,
1198 0 0 10px #e7b200;
1199 border: 1px solid #e7b200;
1201 .comment-item-highlight-faint {
1202 box-shadow:
1203 0 0 2px #f8e7b5,
1204 0 0 3px #f8e7b5,
1205 0 0 5px #f8e7b5,
1206 0 0 7px #f8e7b5,
1207 0 0 10px #f8e7b5;
1208 border: 1px solid #f8e7b5;
1211 .comment-popup {
1212 background-color: #fff;
1215 /*=======================*/
1216 /* COMMENTS COMPACT VIEW */
1217 /*=======================*/
1219 #comments-list-mode-selector button {
1220 box-shadow:
1221 0 0 0 4px #fff inset,
1222 0 0 0 5px #bbb inset;
1224 #comments-list-mode-selector button:hover,
1225 #comments-list-mode-selector button.selected {
1226 box-shadow:
1227 0 0 0 5px #bbb inset;
1229 #content.compact > .comment-thread .comment-item {
1230 max-height: 57px;
1232 #content.compact > .comment-thread .comment-item::after {
1233 color: <?php echo $hyperlink_color; ?>;
1234 background: linear-gradient(to right, transparent 0%, #fff 50%, #fff 100%);
1237 @media only screen and (hover: hover) {
1238 #content.compact > .comment-thread .comment-item:hover .comment,
1239 #content.compact > .comment-thread .comment-item.expanded .comment {
1240 background-color: #fff;
1241 outline: 3px solid <?php echo $hyperlink_color; ?>;
1243 #content.compact > .comment-thread .comment-item:hover .comment::before,
1244 #content.compact > .comment-thread .comment-item.expanded .comment::before {
1245 background-color: #fff;
1246 box-shadow:
1247 0 0 3px #fff,
1248 0 0 5px #fff,
1249 0 0 7px #fff,
1250 0 0 10px #fff,
1251 0 0 20px #fff,
1252 0 0 30px #fff,
1253 0 0 40px #fff;
1256 @media only screen and (hover: none) {
1257 #content.compact > .comment-thread.expanded .comment-item .comment {
1258 background-color: #fff;
1259 outline: 3px solid <?php echo $hyperlink_color; ?>;
1261 #content.compact > .comment-thread.expanded .comment-item .comment::before {
1262 background-color: #fff;
1263 box-shadow:
1264 0 0 3px #fff,
1265 0 0 5px #fff,
1266 0 0 7px #fff,
1267 0 0 10px #fff,
1268 0 0 20px #fff,
1269 0 0 30px #fff,
1270 0 0 40px #fff;
1274 #content.user-page.compact > h1.listing {
1275 margin-top: 0.5rem;
1277 #content.user-page.compact > h1.listing + .post-meta {
1278 margin-bottom: 0.5rem;
1281 /*===========================*/
1282 /* HIGHLIGHTING NEW COMMENTS */
1283 /*===========================*/
1285 .new-comment::before {
1286 outline: 2px solid #5a5;
1287 box-shadow:
1288 0 0 6px -2px #5a5 inset,
1289 0 0 4px #5a5,
1290 0 0 6px #5a5;
1293 /*=================================*/
1294 /* COMMENT THREAD MINIMIZE BUTTONS */
1295 /*=================================*/
1297 .comment-meta .comment-minimize-button {
1298 font-size: 1.25rem;
1299 top: -1px;
1301 .comment-meta .comment-minimize-button::after {
1302 top: 23px;
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 /* VOTE BUTTONS */
1320 /*==============*/
1322 .vote {
1323 padding: 0 5px;
1324 position: relative;
1326 .vote::before {
1327 position: relative;
1328 z-index: 1;
1330 .vote::after {
1331 position: absolute;
1334 .karma .upvote::before {
1335 content: '\F164';
1337 .karma .downvote::before {
1338 content: '\F165';
1339 top: 2px;
1341 .karma .upvote::after {
1342 content: "\F164";
1343 left: -1px;
1344 top: -3px;
1346 .karma .downvote::after {
1347 content: "\F165";
1348 left: -1px;
1349 top: 5px;
1352 .agreement .upvote::before {
1353 content: '\F0A6';
1355 .agreement .downvote::before {
1356 content: '\F0A7';
1357 top: 2px;
1359 .agreement .upvote::after {
1360 content: "\F0A6";
1361 left: -1px;
1362 top: -3px;
1364 .agreement .downvote::after {
1365 content: "\F0A7";
1366 left: -1px;
1367 top: 5px;
1370 /**********/
1371 /* States.
1374 /* _ 1
1376 .vote {
1377 color: #c8c8c8;
1378 text-shadow:
1379 1px 1px 0 #aaa,
1380 -1px 1px 0 #aaa,
1381 1px -1px 0 #aaa,
1382 -1px -1px 0 #aaa;
1384 @media only screen and (min-resolution: 192dpi) {
1385 .vote {
1386 text-shadow:
1387 0.5px 0.5px 0 #aaa,
1388 -0.5px 0.5px 0 #aaa,
1389 0.5px -0.5px 0 #aaa,
1390 -0.5px -0.5px 0 #aaa;
1394 /* _ 2
1396 .upvote:hover,
1397 .upvote:not(.none) {
1398 color: var(--GW-upvote-button-color);
1399 text-shadow:
1400 1px 1px 0 #080,
1401 -1px 1px 0 #080,
1402 1px -1px 0 #080,
1403 -1px -1px 0 #080;
1405 .downvote:hover,
1406 .downvote:not(.none) {
1407 color: var(--GW-downvote-button-color);
1408 text-shadow:
1409 1px 1px 0 #b00,
1410 -1px 1px 0 #a00,
1411 1px -1px 0 #b00,
1412 -1px -1px 0 #b00;
1414 @media only screen and (min-resolution: 192dpi) {
1415 .upvote:hover,
1416 .upvote:not(.none) {
1417 text-shadow:
1418 0.5px 0.5px 0 #060,
1419 -0.5px 0.5px 0 #060,
1420 0.5px -0.5px 0 #060,
1421 -0.5px -0.5px 0 #060;
1423 .downvote:hover,
1424 .downvote:not(.none) {
1425 text-shadow:
1426 0.5px 0.5px 0 #900,
1427 -0.5px 0.5px 0 #900,
1428 0.5px -0.5px 0 #900,
1429 -0.5px -0.5px 0 #900;
1433 /* 0 _
1435 .vote::after {
1436 visibility: hidden;
1439 /* 1,2 _
1441 .vote.two-temp::after,
1442 .vote.two::after {
1443 visibility: visible;
1446 /* 1 _
1448 .vote.two-temp::after {
1449 color: #c8c8c8;
1452 /* 2 _
1454 .vote.two::after {
1455 color: inherit;
1458 /* Disabled.
1460 .vote:disabled,
1461 .vote:disabled:hover {
1462 visibility: unset;
1463 color: #eee;
1464 text-shadow:
1465 1px 1px 0 #d8d8d8,
1466 -1px 1px 0 #d8d8d8,
1467 1px -1px 0 #d8d8d8,
1468 -1px -1px 0 #d8d8d8;
1470 @media only screen and (min-resolution: 192dpi) {
1471 .vote:disabled,
1472 .vote:disabled:hover {
1473 text-shadow:
1474 0.5px 0.5px 0 #d8d8d8,
1475 -0.5px 0.5px 0 #d8d8d8,
1476 0.5px -0.5px 0 #d8d8d8,
1477 -0.5px -0.5px 0 #d8d8d8;
1481 .comment-controls .voting-controls:first-of-type {
1482 margin-left: -6px;
1484 .comment-controls .voting-controls {
1485 margin-right: 1em;
1488 /*===========================*/
1489 /* COMMENTING AND POSTING UI */
1490 /*===========================*/
1492 .posting-controls input[type='submit'] {
1493 background-color: #fff;
1494 border: 1px solid #aaa;
1495 font-weight: bold;
1497 .posting-controls input[type='submit']:hover,
1498 .posting-controls input[type='submit']:focus {
1499 background-color: #ddd;
1500 border: 1px solid #999;
1503 .comment-controls .cancel-comment-button {
1504 font-weight: 600;
1505 color: #c00;
1506 text-shadow:
1507 0 0 1px #fff,
1508 0 0 2px #fff;
1509 max-width: 1.2em;
1510 overflow: hidden;
1511 margin-right: 0.375em;
1513 .comment-controls .cancel-comment-button::before {
1514 font-size: 1.25em;
1516 .comment-controls .cancel-comment-button:hover {
1517 color: #f00;
1520 .new-comment-button {
1521 font-weight: 600;
1524 .comment-controls .action-button::before {
1525 font-size: 1em;
1527 .comment-controls .action-button::after {
1528 content: attr(data-label);
1529 display: block;
1530 position: absolute;
1531 font-size: 0.5em;
1532 text-transform: uppercase;
1533 visibility: hidden;
1534 text-shadow: none;
1536 .comment-controls .action-button:hover::after {
1537 visibility: visible;
1539 .comment-controls .delete-button::before,
1540 .comment-controls .retract-button::before {
1541 color: #ca3232;
1543 .comment-controls .delete-button::after {
1544 transform: translateX(-8px);
1546 .comment-controls .retract-button::after {
1547 transform: translateX(-8px);
1549 .comment-controls .unretract-button::after {
1550 transform: translateX(-18px);
1552 .comment-controls .reply-button::before {
1553 content: "\F086";
1554 font-weight: 400;
1555 font-size: 1.125rem;
1556 color: #6a8a6b;
1558 .comment-controls .reply-button::after {
1559 transform: translateX(-4px);
1561 .comment-controls .edit-button::before {
1562 font-size: 0.9375em;
1563 color: #0b0;
1565 .comment-controls .unretract-button::before {
1566 font-size: 1.125rem;
1567 color: #0b0;
1569 .comment-controls .edit-button::after {
1570 transform: translateX(-1px);
1572 .comment-item .comment-controls .action-button:hover::before {
1573 color: #f00;
1574 text-shadow:
1575 0.5px 0.5px 0.5px #f77;
1578 h1.listing .edit-post-link,
1579 h1.listing .edit-post-link:visited,
1580 .post-controls .edit-post-link,
1581 .post-controls .edit-post-link:visited {
1582 color: #090;
1584 h1.listing .edit-post-link:hover,
1585 .post-controls .edit-post-link:hover {
1586 color: #d00;
1589 .posting-controls textarea {
1590 font-family: <?php echo $text_font; ?>;
1591 font-size: 1rem;
1592 color: #000;
1593 background-color: #fff;
1594 border-color: #aaa;
1595 box-shadow:
1596 0 0 0 1px #eee inset;
1598 .posting-controls textarea:focus {
1599 background-color: #ffd;
1600 border-color: <?php echo $hyperlink_color; ?>;
1601 box-shadow:
1602 0 0 0 1px #ddf inset,
1603 0 0 0 1px #fff,
1604 0 0 0 2px <?php echo $hyperlink_color; ?>;
1606 .posting-controls.edit-existing-post textarea:focus,
1607 .posting-controls form.edit-existing-comment textarea:focus {
1608 border-color: #090;
1609 box-shadow:
1610 0 0 0 1px #81ff7f inset,
1611 0 0 0 1px #fff,
1612 0 0 0 2px #090;
1615 /* GUIEdit buttons */
1617 .guiedit-buttons-container {
1618 background-image: linear-gradient(to bottom, #fff 0%, #ddf 50%, #ccf 75%, #aaf 100%);
1621 .posting-controls.edit-existing-post .guiedit-buttons-container button,
1622 .posting-controls form.edit-existing-comment .guiedit-buttons-container button {
1623 color: #050;
1625 .guiedit-buttons-container button {
1626 font-family: Font Awesome, <?php echo $text_font; ?>;
1629 .guiedit::after {
1630 font-family: <?php echo $UI_font; ?>;
1631 color: #777;
1632 text-shadow: none;
1633 top: 4px;
1636 /* Markdown hints */
1638 #markdown-hints-checkbox + label {
1639 color: <?php echo $hyperlink_color; ?>;
1641 #markdown-hints-checkbox + label:hover {
1642 color: #e00;
1644 #markdown-hints {
1645 border: 1px solid #c00;
1646 background-color: #ffa;
1649 /*================*/
1650 /* EDIT POST FORM */
1651 /*================*/
1653 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
1654 border-radius: 3px;
1655 border: 1px solid #ddd;
1656 color: #777;
1657 top: 2px;
1659 @media only screen and (hover:hover) {
1660 #edit-post-form .post-meta-fields input[type='checkbox'] + label:hover,
1661 #edit-post-form .post-meta-fields input[type='checkbox']:focus + label {
1662 text-shadow:
1663 0 0 1px #fff,
1664 0 0 2px #fff,
1665 0 0 2.5px #aaa;
1667 #edit-post-form .post-meta-fields input[type='checkbox'] + label:hover::before,
1668 #edit-post-form .post-meta-fields input[type='checkbox']:focus + label::before {
1669 border-color: #aaa;
1672 #edit-post-form .post-meta-fields input[type='checkbox']:checked + label::before {
1673 content: "\F00C";
1675 #edit-post-form input[type='radio'] + label {
1676 color: #777;
1677 border-color: #ddd;
1679 #edit-post-form input[type='radio'][value='all'] + label {
1680 border-radius: 8px 0 0 8px;
1681 border-width: 1px;
1683 #edit-post-form input[type='radio'][value='drafts'] + label {
1684 border-radius: 0 8px 8px 0;
1686 #edit-post-form input[type='radio'] + label:hover,
1687 #edit-post-form input[type='radio']:focus + label {
1688 background-color: #ddd;
1689 color: #000;
1691 #edit-post-form input[type='radio']:focus + label {
1692 color: #000;
1693 box-shadow:
1694 0 0 0 1px #aaa;
1696 #edit-post-form input[type='radio']:checked + label {
1697 background-color: #ddd;
1698 border-color: #ddd;
1699 color: #000;
1700 text-shadow:
1701 0 -1px 0 #fff,
1702 0 0.5px 0.5px #000;
1704 #edit-post-form #markdown-hints-checkbox + label {
1705 padding: 3px 0 0 14px;
1708 /*=======*/
1709 /* LINKS */
1710 /*=======*/
1713 text-decoration: none;
1714 color: <?php echo $hyperlink_color; ?>;
1716 a:visited {
1717 color: #8a8a8b;
1719 a:hover {
1720 color: #3d3d3e;
1723 /*=========*/
1724 /* BUTTONS */
1725 /*=========*/
1727 button,
1728 input[type='submit'] {
1729 color: <?php echo $hyperlink_color; ?>;
1732 button:hover,
1733 input[type='submit']:hover,
1734 button:focus,
1735 input[type='submit']:focus {
1736 color: #d00;
1738 button:active,
1739 input[type='submit']:active {
1740 color: #f00;
1741 transform: scale(0.9);
1743 .button:visited {
1744 color: <?php echo $hyperlink_color; ?>;
1746 .button:hover {
1747 color: #f00;
1748 text-decoration: none;
1750 .button:active {
1751 transform: scale(0.9);
1753 .button:focus:not(:hover) {
1754 transform: none;
1756 @-moz-document url-prefix() {
1757 .button:active {
1758 transform: none;
1762 /*==========*/
1763 /* HEADINGS */
1764 /*==========*/
1766 .body-text h1,
1767 .body-text h2,
1768 .body-text h4 {
1769 font-family: <?php echo $UI_font; ?>;
1771 .body-text h3,
1772 .body-text h5,
1773 .body-text h6 {
1774 font-weight: 600;
1776 .body-text h6 {
1777 color: #555;
1779 .body-text h1 {
1780 border-bottom: 1px solid #aaa;
1783 /*========*/
1784 /* QUOTES */
1785 /*========*/
1787 blockquote {
1788 border-left: 5px solid #ccc;
1791 /*========*/
1792 /* IMAGES */
1793 /*========*/
1795 #content img,
1796 #content figure.image img {
1797 border: 1px solid #ccc;
1799 #content figure img {
1800 border: 1px solid #000;
1802 #content img[src$='.svg'],
1803 #content figure img[src$='.svg'] {
1804 border: none;
1806 #content img[style^='float'] {
1807 border: 1px solid transparent;
1810 /*========*/
1811 /* TABLES */
1812 /*========*/
1814 #content:not(.tag-index-page) .body-text table,
1815 #content:not(.tag-index-page) .body-text table th,
1816 #content:not(.tag-index-page) .body-text table td {
1817 border: 1px solid #bbb;
1820 /*======*/
1821 /* MISC */
1822 /*======*/
1824 hr {
1825 border-bottom: 1px solid #999;
1828 code {
1829 background-color: #f6f6ff;
1830 border: 1px solid #ddf;
1831 border-radius: 4px;
1834 input[type='text'],
1835 input[type='search'],
1836 input[type='password'] {
1837 background-color: #fff;
1838 border: 1px solid #ddd;
1839 color: #000;
1841 input[type='text']:focus,
1842 input[type='search']:focus,
1843 input[type='password']:focus {
1844 background-color: #ffd;
1845 border: 1px solid #bbb;
1846 box-shadow: 0 0 1px #bbb;
1849 select {
1850 color: #000;
1853 /*============*/
1854 /* ABOUT PAGE */
1855 /*============*/
1857 .about-page mark {
1858 background-color: #e6e6e6;
1859 text-decoration: none;
1860 box-shadow:
1861 0 -1px 0 0 #000 inset,
1862 0 -3px 1px -2px #000 inset;
1863 padding: 0 1px;
1866 #content.about-page .accesskey-table {
1867 font-family: <?php echo $UI_font; ?>;
1868 border-color: #ddd;
1871 #content.about-page img {
1872 border: 1px solid #000;
1875 /*========================*/
1876 /* QUALIFIED HYPERLINKING */
1877 /*========================*/
1879 #aux-about-link a {
1880 color: #777;
1882 #aux-about-link a:hover {
1883 opacity: 1.0;
1886 .qualified-linking label {
1887 color: <?php echo $hyperlink_color; ?>;
1889 .qualified-linking label:hover {
1890 text-shadow:
1891 0 0 1px #fff,
1892 0 0 3px #fff,
1893 0 0 5px #00e;
1896 .qualified-linking-toolbar {
1897 border: 1px solid #000;
1898 background-color: #fff;
1900 .qualified-linking-toolbar a {
1901 background-color: #eee;
1902 border: 1px solid #ccc;
1903 border-radius: 4px;
1904 padding: 2px 12px;
1905 white-space: nowrap;
1907 .qualified-linking-toolbar a:visited {
1908 color: <?php echo $hyperlink_color; ?>;
1910 .qualified-linking-toolbar a:hover {
1911 text-decoration: none;
1912 background-color: #ddd;
1914 .qualified-linking label::after {
1915 background-color: #d8d8d8;
1916 opacity: 0.8;
1919 /*======*/
1920 /* MATH */
1921 /*======*/
1923 .mathjax-block-container::-webkit-scrollbar {
1924 height: 12px;
1925 background-color: #f6f6ff;
1926 border-radius: 6px;
1927 border: 1px solid #ddf;
1929 .mathjax-block-container::-webkit-scrollbar-thumb {
1930 background-color: #dde;
1931 border-radius: 6px;
1932 border: 1px solid #cce;
1934 .mathjax-inline-container::-webkit-scrollbar {
1935 height: 8px;
1936 background-color: #f6f6ff;
1937 border-radius: 4px;
1938 border: 1px solid #ddf;
1940 .mathjax-inline-container::-webkit-scrollbar-thumb {
1941 background-color: #dde;
1942 border-radius: 4px;
1943 border: 1px solid #cce;
1947 /*===============*/
1948 /* USER MENTIONS */
1949 /*===============*/
1951 .textarea-container .autocomplete-container {
1952 background-color: rgba(255, 255, 170, 0.75);
1953 border: 1px solid rgba(170, 170, 170, 0.75);
1956 .textarea-container .autocomplete-container div.highlighted {
1957 background-color: rgba(170, 170, 170, 0.75);
1958 color: #fff;
1961 .textarea-container .autocomplete-container div:not(.highlighted):hover {
1962 background-color: rgba(136, 136, 136, 0.25);
1965 .textarea-container .autocomplete-container div span.age,
1966 .textarea-container .autocomplete-container div span.karma {
1967 color: #888;
1970 .textarea-container .autocomplete-container div span.karma {
1971 width: 6.75em;
1975 /*=================*/
1976 /* ALIGNMENT FORUM */
1977 /*=================*/
1979 #content.alignment-forum-index-page::before {
1980 background-color: #f4f5ff;
1982 #content.alignment-forum-index-page::after {
1983 font-family: "Concourse SmallCaps";
1984 font-weight: 600;
1985 background-color: #7f85b2;
1986 color: transparent;
1987 -webkit-background-clip: text;
1988 text-shadow:
1989 rgba(255,255,255,0.5) 0px 3px 3px;
1991 @media only screen and (hover: hover) {
1992 #content.alignment-forum-index-page h1.listing a:hover,
1993 #content.alignment-forum-index-page h1.listing a:focus {
1994 background-color: rgba(244,245,255,0.85);
1998 /*====================*/
1999 /* FOR NARROW SCREENS */
2000 /*====================*/
2002 @media only screen and (max-width: 1440px) {
2003 #hns-date-picker {
2004 background-color: #d8d8d8;
2005 opacity: 1.0;
2007 #hns-date-picker::before {
2008 border: 1px solid #999;
2009 border-width: 1px 0 1px 1px;
2012 @media only screen and (max-width: 1160px) {
2013 #theme-selector {
2014 background-color: #d8d8d8;
2015 box-shadow:
2016 0 0 0 1px #999,
2017 0 0 0 2px transparent;
2019 #theme-selector:hover::after {
2020 width: calc(6em - 9px);
2021 height: calc(100% - 5px);
2022 top: 3px;
2023 left: 100%;
2025 #text-size-adjustment-ui button {
2026 background-color: #ddd;
2028 #text-size-adjustment-ui button:hover {
2029 background-color: #eee;
2031 #theme-tweaker-toggle button {
2032 background-color: #ddd;
2035 @media only screen and (max-width: 1080px) {
2036 #text-size-adjustment-ui button {
2037 border: 1px solid #999;
2038 padding: 0 0 0 1px;
2039 border-radius: 50%;
2040 box-shadow:
2041 0 0 6px #999 inset,
2042 0 0 0 1px transparent;
2044 #theme-tweaker-toggle button {
2045 border: 1px solid #999;
2046 box-shadow:
2047 0 0 10px #999 inset,
2048 0 0 0 1px transparent;
2049 border-radius: 50%;
2050 transform: scale(0.8);
2053 @media only screen and (max-width: 1020px) {
2054 #quick-nav-ui a {
2055 box-shadow:
2056 0 0 0 1px #999,
2057 0 0 0 2px transparent;
2059 #new-comment-nav-ui .new-comments-count::before {
2060 background-color: #d8d8d8;
2061 box-shadow:
2062 0 0 0 1px #999,
2063 0 0 0 2px transparent;
2064 border-radius: 8px;
2066 #anti-kibitzer-toggle {
2067 background-color: #d8d8d8;
2068 box-shadow:
2069 0 0 0 1px #999,
2070 0 0 0 2px transparent;
2071 border-radius: 6px;
2072 overflow: hidden;
2076 /*========*/
2077 /* MOBILE */
2078 /*========*/
2080 /*******************************************************/
2081 @media not screen and (hover:hover) and (pointer:fine) {
2082 /*******************************************************/
2083 #ui-elements-container > div[id$='-ui-toggle'] button {
2084 color: #aaa;
2085 text-shadow:
2086 0 0 1px #fff,
2087 0 0 3px #fff,
2088 0 0 5px #fff,
2089 0 0 10px #fff,
2090 0 0 20px #fff,
2091 0 0 30px #fff;
2094 #theme-selector {
2095 background-color: #d8d8d8;
2096 box-shadow:
2097 0 0 0 1px #999,
2098 0 0 1px 3px #fff,
2099 0 0 3px 3px #fff,
2100 0 0 5px 3px #fff,
2101 0 0 10px 3px #fff,
2102 0 0 20px 3px #fff;
2103 border-radius: 12px;
2105 #theme-selector::before,
2106 #theme-selector .theme-selector-close-button {
2107 color: #000;
2108 font-weight: normal;
2110 #theme-selector button {
2111 background-color: #e6e6e6;
2112 border-radius: 10px;
2114 #theme-selector button::after {
2115 color: #444;
2116 max-width: calc(100% - 3.5em);
2117 overflow: hidden;
2118 text-overflow: ellipsis;
2119 padding-bottom: 1px;
2121 #theme-selector button.selected::after {
2122 color: #000;
2123 text-shadow:
2124 0 -1px 0 #fff,
2125 0 0.5px 0.5px #000;
2128 #quick-nav-ui {
2129 background-color: #fff;
2131 #quick-nav-ui,
2132 #new-comment-nav-ui,
2133 #hns-date-picker {
2134 box-shadow:
2135 0 0 1px 3px #fff,
2136 0 0 3px 3px #fff,
2137 0 0 5px 3px #fff,
2138 0 0 10px 3px #fff,
2139 0 0 20px 3px #fff;
2141 #quick-nav-ui a::after,
2142 #new-comment-nav-ui::before {
2143 font-family: <?php echo $UI_font; ?>;
2144 font-weight: bold;
2145 box-shadow:
2146 0 0 1px 0 #fff,
2147 0 0 3px 0 #fff,
2148 0 0 5px 0 #fff;
2149 background-color: #fff;
2150 border-radius: 4px;
2152 #quick-nav-ui,
2153 #new-comment-nav-ui {
2154 border-radius: 8px;
2156 #new-comment-nav-ui {
2157 background-color: #e4e4e4;
2158 border: 1px solid #999;
2160 #new-comment-nav-ui::before {
2161 color: #777;
2162 font-weight: bold;
2164 #new-comment-nav-ui .new-comment-sequential-nav-button {
2165 box-shadow: 0 0 0 1px #999;
2166 color: #538d4d;
2168 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
2169 color: #bbb;
2171 #new-comment-nav-ui .new-comments-count {
2172 background-color: inherit;
2173 box-shadow: 0 -1px 0 0 #999;
2175 #new-comment-nav-ui .new-comment-sequential-nav-button.new-comment-previous {
2176 border-radius: 7px 0 0 7px;
2178 #new-comment-nav-ui .new-comment-sequential-nav-button.new-comment-next {
2179 border-radius: 0 7px 7px 0;
2181 #new-comment-nav-ui button::after {
2182 font-family: <?php echo $UI_font; ?>;
2184 #hns-date-picker {
2185 background-color: #e4e4e4;
2186 border: 1px solid #999;
2189 /*****************************************/
2190 @media only screen and (max-width: 900px) {
2191 /*****************************************/
2192 h1.listing + .post-meta .post-section {
2193 overflow: visible;
2194 order: -2;
2195 width: unset;
2197 h1.listing + .post-meta .post-section::before {
2198 position: unset;
2201 #primary-bar .nav-inner {
2202 font-size: 1.25em;
2204 .nav-bar-top:not(#primary-bar) .nav-inner {
2205 font-size: 1.125em;
2207 .nav-bar-top:not(#primary-bar) .nav-item:not(#nav-item-search) .nav-inner {
2208 padding: 6px 10px;
2211 .archive-nav *[class^='archive-nav-item-'] {
2212 border-width: 1px !important;
2214 .archive-nav > *[class^='archive-nav-'] + *[class^='archive-nav-']::before {
2215 background-color: #aaa;
2218 .comment-item .comment-item {
2219 margin: 0.75em 0 3px 6px;
2221 .comment-item .comment-item + .comment-item {
2222 margin: 1.5em 0 3px 6px;
2225 .sublevel-nav:not(.sort) .sublevel-item,
2226 .sublevel-nav:not(.sort) .sublevel-item:first-child,
2227 .sublevel-nav:not(.sort) .sublevel-item:last-child {
2228 border-radius: 8px;
2229 border-width: 1px;
2230 margin: 2px;
2232 /*******************************************/
2233 } @media only screen and (max-width: 720px) {
2234 /*******************************************/
2235 .post-meta .comment-count::before {
2236 font-family: inherit;
2237 font-size: inherit;
2238 margin: 0;
2240 /*******************************************/
2241 } @media only screen and (max-width: 520px) {
2242 /*******************************************/
2243 #primary-bar.inactive-bar .nav-inner {
2244 padding: 6px 10px;
2245 font-size: 1.375em;
2248 h1.listing {
2249 margin: 18px 6px 4px 6px;
2250 max-width: calc(100% - 12px);
2251 padding: 0;
2253 h1.listing .link-post-link {
2254 top: 2px;
2256 h1.listing + .post-meta {
2257 margin: 4px 6px;
2259 h1.listing + .post-meta > *:not(.karma) {
2260 line-height: 1.5;
2261 width: unset;
2263 h1.listing + .post-meta .karma-value {
2264 top: 0;
2265 right: calc(100% - 2.25em);
2268 #content.compact > .comment-thread .comment-item {
2269 max-height: 104px;
2272 .textarea-container:focus-within textarea {
2273 background-color: #fff;
2275 .textarea-container:focus-within .guiedit-mobile-auxiliary-button {
2276 padding: 6px;
2277 font-weight: bold;
2279 .textarea-container:focus-within .guiedit-mobile-help-button.active {
2280 box-shadow:
2281 0 0 0 2px #c00;
2282 color: #c00;
2284 .textarea-container:focus-within .guiedit-buttons-container {
2285 background-color: #fff;
2286 border-top: 1px solid #ddf;
2288 .posting-controls .textarea-container:focus-within .guiedit-buttons-container {
2289 box-shadow: none;
2291 #content.conversation-page .textarea-container:focus-within::after {
2292 background-color: #fff;
2294 .textarea-container:focus-within button.guiedit {
2295 border: 1px solid #6a8a6b;
2296 border-radius: 6px;
2299 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
2300 top: 1px;
2302 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
2303 top: 1px;
2306 #edit-post-form textarea {
2307 min-height: calc(100vh - 345px);