2 $UI_font = "'Arial', sans-serif";
3 $text_font = "'Arial', sans-serif";
4 $hyperlink_color = "#6a8a6b";
13 background
-color
: #d8d8d8;
14 font
-family
: <?php
echo $UI_font; ?
>;
20 background
-color
: #fff;
21 box
-shadow
: 0px
0px
10px
#555;
33 #primary-bar.inactive-bar .nav-inner {
34 padding
: 13px
30px
11px
30px
;
36 #secondary-bar .nav-inner {
39 #secondary-bar .nav-item:not(#nav-item-search) .nav-inner {
43 #bottom-bar.decorative {
44 background
-color
: #fff;
46 #bottom-bar.decorative::before,
47 #bottom-bar.decorative::after {
52 padding
: 0.5em
0 0.75em
0;
54 #bottom-bar.decorative::before {
57 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/one_pixel_DDD.gif")) ?>');
58 background
-repeat
: repeat
-x
;
59 background
-position
: center
44%
;
63 #bottom-bar.decorative::after {
69 background
-color
: #fff;
73 <?php
fit_content("#bottom-bar.decorative::after"); ?
>
86 .nav
-inner
:hover
::after
{
90 /* This makes the navbar items look like tabs: */
96 background
-color
: #f5f5f5;
99 border
-bottom
: 1px solid
#d6d5d6;
107 text
-decoration
: none
;
109 .nav
-bar
.nav
-current
{
112 .nav
-item
:nth
-of
-type(n+
2) {
113 box
-shadow
: -9px
0 0 -8px
#d6d5d6;
118 #nav-item-search form::before {
123 #nav-item-search button {
125 font
-weight
: inherit
;
127 #nav-item-search input::placeholder {
132 /*= User/login tab =*/
134 #inbox-indicator::before {
139 /*= Pagination UI =*/
141 #bottom-bar #nav-item-next a::before {
145 #bottom-bar #nav-item-last a::before {
150 /*= Top pagination UI hover tooltips =*/
152 #top-nav-bar a::after,
153 #bottom-bar a::after {
163 .new-private-message
,
164 .new-private-message
:visited
{
175 .sublevel
-nav
.sublevel
-item
{
177 background
-color
: #fff;
179 .sublevel
-nav
.sublevel
-item
:not(.selected
):hover
{
180 background
-color
: #ddd;
182 text
-decoration
: none
;
185 .sublevel
-nav
.sublevel
-item
:not(.selected
):active
,
186 .sublevel
-nav
.sublevel
-item
.selected
{
187 background
-color
: #ddd;
194 .sublevel
-nav
:not(.sort
) .sublevel
-item
{
197 border
-width
: 1px
0 1px
1px
;
199 .sublevel
-nav
:not(.sort
) .sublevel
-item
:first
-child
{
200 border
-radius
: 8px
0 0 8px
;
202 .sublevel
-nav
:not(.sort
) .sublevel
-item
:last
-child
{
204 border
-radius
: 0 8px
8px
0;
207 /*=====================*/
208 /* SORT ORDER SELECTOR */
209 /*=====================*/
211 .sublevel
-nav
.sort
.sublevel
-item
{
212 letter
-spacing
: 0.5px
;
213 padding
: 7px
7px
6px
8px
;
214 text
-transform
: uppercase
;
215 pointer
-events
: auto
;
216 box
-shadow
: 1px
1px
0 0 #aaa inset;
219 border
: 2px solid transparent
;
222 pointer
-events
: none
;
223 background
-color
: #bbb;
225 .sublevel
-nav
.sort
::before
{
226 text
-transform
: uppercase
;
229 text
-shadow
: 0.5px
0.5px
0 #fff;
232 .sublevel
-nav
.sort
::after
{
242 0 18px
0 0 #bbb inset,
243 0 0 0 1px
#aaa inset,
244 0 18px
0 1px
#aaa inset,
254 #width-selector button,
255 #theme-selector button {
257 0 0 0 4px
#d8d8d8 inset,
258 0 0 0 5px
#bbb inset;
260 #width-selector button:hover,
261 #width-selector button.selected,
262 #theme-selector button:hover,
263 #theme-selector button.selected {
265 0 0 0 5px
#bbb inset;
268 #theme-selector button::before {
270 padding
: 5px
6px
7px
6px
;
272 background
-color
: #d8d8d8;
274 #theme-selector button:hover::before,
275 #theme-selector button.selected::before {
278 #width-selector button::after {
283 /*======================*/
284 /* THEME TWEAKER TOGGLE */
285 /*======================*/
287 #theme-tweaker-toggle button {
291 /*=================*/
292 /* QUICKNAV WIDGET */
293 /*=================*/
297 background
-color
: #e4e4e4;
300 #quick-nav-ui a[href='#bottom-bar'] {
303 #quick-nav-ui a:active {
304 transform
: scale(0.9);
306 #quick-nav-ui a[href='#comments'].no-comments {
310 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
311 #quick-nav-ui a:hover {
313 background
-color
: #eee;
315 #quick-nav-ui a:focus:not(:hover) {
321 /*======================*/
322 /* NEW COMMENT QUICKNAV */
323 /*======================*/
325 #new-comment-nav-ui .new-comments-count {
328 text
-shadow
: 0.5px
0.5px
0 #fff;
330 #new-comment-nav-ui .new-comments-count::after {
334 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
338 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
339 #new-comment-nav-ui .new-comments-count:hover {
347 #new-comment-nav-ui .new-comment-sequential-nav-button:focus {
352 /*=================*/
353 /* HNS DATE PICKER */
354 /*=================*/
356 #hns-date-picker span {
358 text
-shadow
: 0.5px
0.5px
0 #fff;
361 #hns-date-picker input {
362 border
: 1px solid
#777;
363 background
-color
: transparent
;
366 #hns-date-picker input:focus {
370 /*======================*/
371 /* ANTI-KIBITZER TOGGLE */
372 /*======================*/
374 #anti-kibitzer-toggle button::before,
375 #anti-kibitzer-toggle button::after {
376 background
-color
: #888;
377 -webkit
-background
-clip
: text
;
379 text
-shadow
: rgba(255,255,255,0.5) 0px
1px
1px
;
381 #anti-kibitzer-toggle button:hover::before,
382 #anti-kibitzer-toggle button:hover::after {
383 background
-color
: #444;
386 /*======================*/
387 /* TEXT SIZE ADJUSTMENT */
388 /*======================*/
390 #text-size-adjustment-ui button {
393 #text-size-adjustment-ui button:hover {
396 #text-size-adjustment-ui button.default {
399 #text-size-adjustment-ui button:disabled:hover {
402 #text-size-adjustment-ui::after {
406 /*=============================*/
407 /* COMMENTS VIEW MODE SELECTOR */
408 /*=============================*/
410 #comments-view-mode-selector a {
419 border
: 1px solid
#aaa;
421 .archive
-nav
*[class^
='archive-nav-item'] {
424 border
-width
: 1px
0 1px
1px
;
425 background
-color
: #eee;
427 .archive
-nav div
[class^
='archive-nav-']:nth
-of
-type(2) *[class^
='archive-nav-item'] {
429 border
-bottom
-width
: 0;
431 .archive
-nav div
[class^
='archive-nav-']:last
-of
-type
*[class^
='archive-nav-item'] {
432 border
-bottom
-width
: 1px
;
434 .archive
-nav
*[class^
='archive-nav-item']:last
-child
{
435 border
-right
-width
: 1px
;
437 .archive
-nav span
[class^
='archive-nav-item'] {
439 background
-color
: #ddd;
443 .archive
-nav a
:visited
{
444 color
: rgba(0, 0, 238, 0.7);
446 .archive
-nav a
:hover
{
447 text
-decoration
: none
;
449 background
-color
: #e0e0e0;
451 .archive
-nav a
:active
{
452 transform
: scale(0.9);
454 .archive
-nav a
:focus
:not(:hover
) {
457 .archive
-nav a
.archive
-nav
-item
-day
:hover
{
458 background
-color
: #ddd;
466 margin
: 1.125em
20px
0.25em
20px
;
467 max
-width
: calc(100%
- 40px
);
468 font
-family
: <?php
echo $UI_font; ?
>, 'Font Awesome';
474 h1
.listing a
[href^
='/posts'] {
479 h1
.listing a
[href^
='/posts']:visited
{
482 h1
.listing a
[href^
="http"] {
486 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
490 text
-decoration
: none
;
493 border
-bottom
: 1px dotted
#999;
495 h1
.listing
:focus
-within
::before
{
498 h1
.listing
:focus
-within +
.post
-meta
.karma
-value
{
503 h1
.listing a
[href^
="http"]:hover
,
504 h1
.listing a
[href^
="http"]:focus
{
508 -0.5px
-0.5px
0 #fff,
515 h1
.listing
.edit
-post
-link
{
516 padding
: 5px
3px
12px
0.5em
;
520 h1
.listing
.edit
-post
-link
:hover
{
521 text
-decoration
: none
;
523 #content.user-page h1.listing .edit-post-link {
524 background
-color
: #f7f7f8;
534 h1
.listing
.spam +
.post
-meta
{
537 h1
.listing
.spam
:hover
,
538 h1
.listing
.spam +
.post
-meta
:hover
,
539 h1
.listing
.spam
:hover +
.post
-meta
{
543 /*===================*/
544 /* LISTING POST-META */
545 /*===================*/
547 h1
.listing +
.post
-meta
{
548 font
-size
: 0.8125rem
;
551 justify
-content
: flex
-end
;
554 h1
.listing +
.post
-meta
.author
{
557 text
-decoration
: none
;
561 h1
.listing +
.post
-meta
.author
:hover
{
564 h1
.listing +
.post
-meta
.date
,
565 h1
.listing +
.post
-meta
.read
-time
{
569 h1
.listing +
.post
-meta a
{
571 text
-decoration
: underline
;
573 h1
.listing +
.post
-meta a
:hover
{
577 h1
.listing +
.post
-meta
.karma
-value
{
578 background
-color
: #538d4d;
581 font
-size
: 0.8125rem
;
582 border
-radius
: 1.0625em
;
583 padding
: 2px
6px
1px
6px
;
588 right
: calc(100%
- 1.75em
);
591 h1
.listing +
.post
-meta
.karma
-value span
,
592 h1
.listing +
.post
-meta
.lw2
-link span
,
593 h1
.listing +
.post
-meta
.comment
-count span
{
597 h1
.listing +
.post
-meta
> * {
601 h1
.listing +
.post
-meta
.read
-time
{
605 h1
.listing +
.post
-meta
.comment
-count
{
608 h1
.listing +
.post
-meta
.comment
-count
::before
{
609 content
: "Comments ("
611 h1
.listing +
.post
-meta
.comment
-count
::after
{
614 h1
.listing +
.post
-meta
.date
{
618 h1
.listing +
.post
-meta
.lw2
-link
{
622 h1
.listing +
.post
-meta
.post
-section
{
624 text
-decoration
: none
;
626 h1
.listing +
.post
-meta
.post
-section
::before
{
628 right
: calc(100% +
1.15em
);
631 h1
.listing +
.post
-meta
.link
-post
-domain
{
640 #content.user-page h1.page-main-heading {
641 border
-bottom
: 1px solid
#ccc;
644 #content.user-page h1.listing,
645 #content.user-page h1.listing + .post-meta {
646 background
-color
: #f7f7f8;
648 border
-color
: #bbbcbf;
651 #content.user-page h1.listing {
652 padding
: 0.5em
6px
0 48px
;
653 border
-width
: 1px
1px
0 1px
;
657 #content.own-user-page h1.listing,
658 h1
.listing
.own
-post
-listing
{
661 #content.user-page h1.listing a:hover {
662 background
-color
: #f7f7f8;
665 #content.user-page h1.listing + .post-meta {
666 padding
: 0.25em
10px
0.5em
32px
;
667 border
-width
: 0 1px
1px
1px
;
670 #content.user-page h1.listing + .post-meta .karma-value {
671 right
: calc(100%
- 3.25em
);
674 #content.user-page h1.listing + .post-meta .post-section::before {
675 right
: calc(100%
- 5.1em
);
679 #content.conversations-user-page h1.listing {
680 padding
: 8px
6px
8px
10px
;
683 #content.conversations-user-page h1.listing + .post-meta {
684 padding
: 0 10px
6px
4px
;
688 .user
-stats
.karma
-total
{
696 #content.search-results-page h1.listing {
704 #content.conversation-page h1.page-main-heading {
713 .login
-container form input
[type
='submit'] {
715 background
-color
: #eee;
716 border
: 1px solid
#ccc;
718 .login
-container form input
[type
='submit']:hover
,
719 .login
-container form input
[type
='submit']:focus
{
720 background
-color
: #ddd;
721 border
: 1px solid
#aaa;
724 /* “Create account” form */
727 background
-color
: #f3f3f3;
728 border
: 1px solid
#ddd;
730 #signup-form input[type='submit'] {
731 background
-color
: #e4e4e4;
732 border
: 1px solid
#ccc;
734 #signup-form input[type='submit']:hover {
735 background
-color
: #d8d8d8;
736 border
: 1px solid
#aaa;
741 .login
-container
.login
-tip
{
742 border
: 1px solid
#eee;
748 border
: 1px solid red
;
749 background
-color
: #faa;
752 border
: 1px solid green
;
753 background
-color
: #afa;
756 /*=====================*/
757 /* PASSWORD RESET PAGE */
758 /*=====================*/
760 .reset
-password
-container input
[type
='submit'] {
761 background
-color
: #e4e4e4;
762 border
: 1px solid
#ccc;
766 /*===================*/
767 /* TABLE OF CONTENTS */
768 /*===================*/
771 font
-family
: <?php
echo $UI_font; ?
>;
772 border
: 1px solid
#ddd;
773 background
-color
: #eee;
774 padding
: 0.75em
0.5em
0.5em
0.5em
;
780 .post
-body
.contents ul
{
783 .post
-body
.contents li
::before
{
785 font
-feature
-settings
: "tnum";
788 /*==================*/
789 /* POSTS & COMMENTS */
790 /*==================*/
794 font
-family
: <?php
echo $text_font; ?
>;
799 text
-decoration
: underline
;
813 .post
-meta
.post
-section
::before
{
820 a
.post
-section
:hover
::before
{
823 .post
-meta
.post
-section
.alignment
-forum
::before
{
829 a
.post
-section
.alignment
-forum
:hover
::before
{
834 border
-top
: 1px solid
#ddd;
840 justify
-content
: flex
-start
;
843 .post
.post
-meta
.author
{
846 text
-decoration
: none
;
848 .post
.post
-meta
.author
:hover
{
851 .post
.post
-meta
.date
{
857 text
-decoration
: underline
;
859 .post
.post
-meta a
:hover
{
863 .post
.post
-meta
.karma
{
866 .post
.post
-meta
.karma
-value
{
867 background
-color
: #538d4d;
870 font
-size
: 0.8125rem
;
871 border
-radius
: 1.125em
;
872 padding
: 2px
6px
1px
6px
;
879 .post
.post
-meta
.karma
-value span
,
880 .post
.post
-meta
.lw2
-link span
,
881 .post
.post
-meta
.comment
-count span
{
885 .post
.post
-meta
.comment
-count
::before
{
886 content
: "Comments ("
888 .post
.post
-meta
.comment
-count
::after
{
892 .post
.post
-meta
.post
-section
::before
{
897 .post
.bottom
-post
-meta
.post
-section
::before
{
905 .post
.link
-post
> .post
-body
> p
:first
-child
{
908 .post
.link
-post a
.link
-post
-link
{
909 text
-decoration
: none
;
910 font
-family
: <?php
echo $UI_font; ?
>;
913 .post
.link
-post a
.link
-post
-link
:hover
{
916 .post
.link
-post a
.link
-post
-link
:hover
::before
{
920 -0.5px
-0.5px
0 #fff,
924 .post
.link
-post a
.link
-post
-link
:focus
{
926 border
-bottom
: 2px dotted
#aaa;
936 margin
: 2em
0 0.5em
0;
945 border
-top
: 1px solid
#000;
946 box
-shadow
: 0 3px
4px
-4px
#000 inset;
948 @-moz
-document url
-prefix() {
950 box
-shadow
: 0 3px
3px
-4px
#000 inset;
953 #content > .comment-thread .comment-meta a.date:focus,
954 #content > .comment-thread .comment-meta a.permalink:focus {
956 outline
: 2px dotted
#444;
958 background
-color
: #fff;
962 #content > .comment-thread .comment-meta a.date:focus + *,
963 #content > .comment-thread .comment-meta a.permalink:focus + *:not(.comment-post-title) {
967 border
: 1px solid
#bbbcbf;
969 .comment
-item
.comment
-item
{
970 margin
: 1em
-1px
8px
16px
;
972 .comment
-item
.comment
-item +
.comment
-item
{
973 margin
: 2em
-1px
8px
16px
;
977 function nested_stuff($segment, $tip, $last_tip, $nesting_levels) {
978 for ($i = $nesting_levels; $i > 0; $i--) {
979 for ($j = $i; $j > 0; $j--)
985 $comment_nesting_depth = 10;
988 <?php
nested_stuff(".comment-item .comment-item ", ".comment-item,\n", ".comment-item", $comment_nesting_depth); ?
> {
989 background
-color
: #f7f7f8;
991 <?php
nested_stuff(".comment-item .comment-item ", ".comment-item a.comment-parent-link::after,\n", ".comment-item a.comment-parent-link::after", $comment_nesting_depth); ?
> {
993 0 28px
16px
-16px
#fff inset,
994 4px
16px
0 12px
#ffd inset,
995 4px
4px
0 12px
#ffd inset;
998 <?php
nested_stuff(".comment-item .comment-item ", ".comment-item .comment-item,\n", ".comment-item .comment-item", $comment_nesting_depth); ?
> {
999 background
-color
: #fff;
1001 <?php
nested_stuff(".comment-item .comment-item ", ".comment-item .comment-item a.comment-parent-link::after,\n", ".comment-item .comment-item a.comment-parent-link::after", $comment_nesting_depth); ?
> {
1003 0 28px
16px
-16px
#eee inset,
1004 4px
16px
0 12px
#ffd inset,
1005 4px
4px
0 12px
#ffd inset;
1008 <?php
nested_stuff(".comment-item ", ".comment-item:target,\n", ".comment-item:target", (2 * $comment_nesting_depth) - 1); ?
> {
1009 background
-color
: #ffd;
1011 .comment
-item
:target
> .comment
-thread
> .comment
-item
> .comment
> .comment
-meta
> a
.comment
-parent
-link
::after
{
1013 0 28px
16px
-16px
#ffd inset,
1014 4px
16px
0 12px
#ffd inset,
1015 4px
4px
0 12px
#ffd inset !important;
1018 a
.comment
-parent
-link
::after
{
1022 /*================================*/
1023 /* DEEP COMMENT THREAD COLLAPSING */
1024 /*================================*/
1026 .comment
-item input
[id^
="expand"] + label
::after
{
1027 color
: <?php
echo $hyperlink_color; ?
>;
1030 .comment
-item input
[id^
="expand"] + label
:hover
::after
{
1033 .comment
-item input
[id^
="expand"] + label
:active
::after
,
1034 .comment
-item input
[id^
="expand"] + label
:focus
::after
{
1037 .comment
-item input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
1038 border
-width
: 1px
0 0 0;
1046 font
-size
: 0.9375rem
;
1049 .comment
-meta
.author
{
1053 .comment
-meta
.date
{
1057 .comment
-meta
.date
:hover
{
1060 .comment
-meta
.karma
-value
,
1061 .comment
-controls
.karma
.karma
-value
{
1064 margin
-right
: 0.5em
;
1066 .comment
-meta
.karma
-value
:only
-child
{
1069 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
1073 .comment
-item
.karma
.active
-controls
::after
,
1074 .comment
-item
.karma
.karma
-value
::after
,
1075 .post
.karma
.active
-controls
::after
,
1076 .post
.karma
.karma
-value
::after
{
1077 background
-color
: #fff;
1079 box
-shadow
: 0 0 0 1px
#ccc inset;
1082 .comment
-item
.karma
.active
-controls
::after
,
1083 .post
.karma
.active
-controls
::after
{
1089 .comment
-item
.karma
.karma
-value
::after
,
1090 .post
.karma
.karma
-value
::after
{
1094 font
-weight
: normal
;
1097 /*====================*/
1098 /* COMMENT PERMALINKS */
1099 /*====================*/
1101 .comment
-meta
.permalink
,
1102 .comment
-meta
.lw2
-link
,
1103 .individual
-thread
-page
.comment
-parent
-link
:empty {
1105 filter
: grayscale(50%
);
1107 .comment
-meta
.permalink
,
1108 .comment
-meta
.lw2
-link
,
1109 .individual
-thread
-page
.comment
-parent
-link
:empty {
1113 /*====================*/
1114 /* ANTI-KIBITZER MODE */
1115 /*====================*/
1118 .inline
-author
.redacted
{
1123 .karma
-value
.redacted
{
1127 .link
-post
-domain
.redacted
{
1131 /*===========================*/
1132 /* COMMENT THREAD NAVIGATION */
1133 /*===========================*/
1135 div
.comment
-parent
-link
{
1138 a
.comment
-parent
-link
{
1139 font
-weight
: normal
;
1141 a
.comment
-parent
-link
::before
{
1144 a
.comment
-parent
-link
:hover
::before
{
1145 background
-color
: #ffd;
1149 div
.comment
-child
-links
{
1152 div
.comment
-child
-links a
{
1153 font
-weight
: normal
;
1155 .comment
-child
-link
::before
{
1159 .comment
-item
-highlight
{
1166 border
: 1px solid
#e7b200;
1168 .comment
-item
-highlight
-faint
{
1175 border
: 1px solid
#f8e7b5;
1179 background
-color
: #fff;
1182 /*=======================*/
1183 /* COMMENTS COMPACT VIEW */
1184 /*=======================*/
1186 #comments-list-mode-selector button {
1188 0 0 0 4px
#fff inset,
1189 0 0 0 5px
#bbb inset;
1191 #comments-list-mode-selector button:hover,
1192 #comments-list-mode-selector button.selected {
1194 0 0 0 5px
#bbb inset;
1196 #content.compact > .comment-thread .comment-item {
1199 #content.compact > .comment-thread .comment-item::after {
1200 color
: <?php
echo $hyperlink_color; ?
>;
1201 background
: linear
-gradient(to right
, transparent
0%
, #fff 50%, #fff 100%);
1204 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
1205 #content.compact > .comment-thread .comment-item:hover .comment,
1206 #content.compact > .comment-thread .comment-item.expanded .comment {
1207 background
-color
: #fff;
1208 outline
: 3px solid
<?php
echo $hyperlink_color; ?
>;
1210 #content.compact > .comment-thread .comment-item:hover .comment::before,
1211 #content.compact > .comment-thread .comment-item.expanded .comment::before {
1212 background
-color
: #fff;
1223 @media only screen
and (hover
: none
), only screen
and (-moz
-touch
-enabled
) {
1224 #content.compact > .comment-thread.expanded .comment-item .comment {
1225 background
-color
: #fff;
1226 outline
: 3px solid
<?php
echo $hyperlink_color; ?
>;
1228 #content.compact > .comment-thread.expanded .comment-item .comment::before {
1229 background
-color
: #fff;
1241 #content.user-page.compact > h1.listing {
1244 #content.user-page.compact > h1.listing + .post-meta {
1245 margin
-bottom
: 0.5rem
;
1248 /*===========================*/
1249 /* HIGHLIGHTING NEW COMMENTS */
1250 /*===========================*/
1252 .new-comment
::before
{
1253 outline
: 2px solid
#5a5;
1255 0 0 6px
-2px
#5a5 inset,
1260 /*=================================*/
1261 /* COMMENT THREAD MINIMIZE BUTTONS */
1262 /*=================================*/
1264 .comment
-meta
.comment
-minimize
-button
{
1268 .comment
-meta
.comment
-minimize
-button
::after
{
1271 .comment
-minimize
-button
{
1274 .comment
-minimize
-button
:hover
{
1277 .comment
-minimize
-button
::after
{
1278 font
-family
: <?php
echo $UI_font; ?
>;
1281 .comment
-minimize
-button
.maximized
::after
{
1330 @media only screen
and (min
-resolution
: 192dpi
) {
1334 -0.5px
0.5px
0 #aaa,
1335 0.5px
-0.5px
0 #aaa,
1336 -0.5px
-0.5px
0 #aaa;
1342 -0.5px
0.5px
0 #060,
1343 0.5px
-0.5px
0 #060,
1344 -0.5px
-0.5px
0 #060;
1351 -0.5px
0.5px
0 #900,
1352 0.5px
-0.5px
0 #900,
1353 -0.5px
-0.5px
0 #900;
1367 .vote
.big
-vote
::after
,
1368 .vote
:not(.big
-vote
).clicked
-twice
::after
{
1369 visibility
: visible
;
1371 .vote
.big
-vote
::after
,
1372 .vote
:not(.big
-vote
).clicked
-twice
::after
{
1375 .karma
:not(.waiting
) .vote
.clicked
-once
::after
{
1391 .comment
-controls
.karma
{
1395 /*===========================*/
1396 /* COMMENTING AND POSTING UI */
1397 /*===========================*/
1399 .posting
-controls input
[type
='submit'] {
1400 background
-color
: #fff;
1401 border
: 1px solid
#aaa;
1404 .posting
-controls input
[type
='submit']:hover
,
1405 .posting
-controls input
[type
='submit']:focus
{
1406 background
-color
: #ddd;
1407 border
: 1px solid
#999;
1410 .comment
-controls
.cancel
-comment
-button
{
1418 margin
-right
: 0.375em
;
1420 .comment
-controls
.cancel
-comment
-button
::before
{
1423 .comment
-controls
.cancel
-comment
-button
:hover
{
1427 .new-comment
-button
{
1431 .comment
-controls
.action
-button
::before
{
1434 .comment
-controls
.action
-button
::after
{
1435 content
: attr(data
-label
);
1439 text
-transform
: uppercase
;
1443 .comment
-controls
.action
-button
:hover
::after
{
1444 visibility
: visible
;
1446 .comment
-controls
.delete
-button
::before
,
1447 .comment
-controls
.retract
-button
::before
{
1450 .comment
-controls
.delete
-button
::after
{
1451 transform
: translateX(-8px
);
1453 .comment
-controls
.retract
-button
::after
{
1454 transform
: translateX(-8px
);
1456 .comment
-controls
.unretract
-button
::after
{
1457 transform
: translateX(-18px
);
1459 .comment
-controls
.reply
-button
::before
{
1462 font
-size
: 1.125rem
;
1465 .comment
-controls
.reply
-button
::after
{
1466 transform
: translateX(-4px
);
1468 .comment
-controls
.edit
-button
::before
{
1469 font
-size
: 0.9375em
;
1472 .comment
-controls
.unretract
-button
::before
{
1473 font
-size
: 1.125rem
;
1476 .comment
-controls
.edit
-button
::after
{
1477 transform
: translateX(-1px
);
1479 .comment
-item
.comment
-controls
.action
-button
:hover
::before
{
1482 0.5px
0.5px
0.5px
#f77;
1485 h1
.listing
.edit
-post
-link
,
1486 h1
.listing
.edit
-post
-link
:visited
,
1487 .post
-controls
.edit
-post
-link
,
1488 .post
-controls
.edit
-post
-link
:visited
{
1491 h1
.listing
.edit
-post
-link
:hover
,
1492 .post
-controls
.edit
-post
-link
:hover
{
1496 .posting
-controls textarea
{
1497 font
-family
: <?php
echo $text_font; ?
>;
1500 background
-color
: #fff;
1503 0 0 0 1px
#eee inset;
1505 .posting
-controls textarea
:focus
{
1506 background
-color
: #ffd;
1507 border
-color
: <?php
echo $hyperlink_color; ?
>;
1509 0 0 0 1px
#ddf inset,
1511 0 0 0 2px
<?php
echo $hyperlink_color; ?
>;
1513 .posting
-controls
.edit
-existing
-post textarea
:focus
,
1514 .posting
-controls form
.edit
-existing
-comment textarea
:focus
{
1517 0 0 0 1px
#81ff7f inset,
1522 /* GUIEdit buttons */
1524 .guiedit
-buttons
-container
{
1525 background
-image
: linear
-gradient(to bottom
, #fff 0%, #ddf 50%, #ccf 75%, #aaf 100%);
1528 .posting
-controls
.edit
-existing
-post
.guiedit
-buttons
-container button
,
1529 .posting
-controls form
.edit
-existing
-comment
.guiedit
-buttons
-container button
{
1532 .guiedit
-buttons
-container button
{
1533 font
-family
: Font Awesome
, <?php
echo $text_font; ?
>;
1537 font
-family
: <?php
echo $UI_font; ?
>;
1543 /* Markdown hints */
1545 #markdown-hints-checkbox + label {
1546 color
: <?php
echo $hyperlink_color; ?
>;
1548 #markdown-hints-checkbox + label:hover {
1552 border
: 1px solid
#c00;
1553 background
-color
: #ffa;
1556 /*================*/
1557 /* EDIT POST FORM */
1558 /*================*/
1560 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
1562 border
: 1px solid
#ddd;
1566 @media only screen
and (hover
:hover
), not screen
and (-moz
-touch
-enabled
) {
1567 #edit-post-form .post-meta-fields input[type='checkbox'] + label:hover,
1568 #edit-post-form .post-meta-fields input[type='checkbox']:focus + label {
1574 #edit-post-form .post-meta-fields input[type='checkbox'] + label:hover::before,
1575 #edit-post-form .post-meta-fields input[type='checkbox']:focus + label::before {
1579 #edit-post-form .post-meta-fields input[type='checkbox']:checked + label::before {
1582 #edit-post-form input[type='radio'] + label {
1586 #edit-post-form input[type='radio'][value='all'] + label {
1587 border
-radius
: 8px
0 0 8px
;
1590 #edit-post-form input[type='radio'][value='drafts'] + label {
1591 border
-radius
: 0 8px
8px
0;
1593 #edit-post-form input[type='radio'] + label:hover,
1594 #edit-post-form input[type='radio']:focus + label {
1595 background
-color
: #ddd;
1598 #edit-post-form input[type='radio']:focus + label {
1603 #edit-post-form input[type='radio']:checked + label {
1604 background
-color
: #ddd;
1611 #edit-post-form #markdown-hints-checkbox + label {
1612 padding
: 3px
0 0 14px
;
1620 text
-decoration
: none
;
1621 color
: <?php
echo $hyperlink_color; ?
>;
1635 input
[type
='submit'] {
1636 color
: <?php
echo $hyperlink_color; ?
>;
1640 input
[type
='submit']:hover
,
1642 input
[type
='submit']:focus
{
1646 input
[type
='submit']:active
{
1648 transform
: scale(0.9);
1651 color
: <?php
echo $hyperlink_color; ?
>;
1655 text
-decoration
: none
;
1658 transform
: scale(0.9);
1660 .button
:focus
:not(:hover
) {
1663 @-moz
-document url
-prefix() {
1679 font
-family
: <?php
echo $UI_font; ?
>;
1695 border
-bottom
: 1px solid
#aaa;
1703 border
-left
: 5px solid
#ccc;
1711 border
: 1px solid
#ccc;
1713 #content img[style^='float'] {
1714 border
: 1px solid transparent
;
1716 #content img[src$='.svg'] {
1719 #content figure img {
1720 border
: 1px solid
#000;
1722 #content figure img[src$='.svg'] {
1731 .comment
-body table
,
1732 .post
-body table th
,
1733 .post
-body table td
,
1734 .comment
-body table th
,
1735 .comment
-body table td
{
1736 border
: 1px solid
#bbb;
1744 border
-bottom
: 1px solid
#999;
1748 background
-color
: #f6f6ff;
1749 border
: 1px solid
#ddf;
1754 input
[type
='search'],
1755 input
[type
='password'] {
1756 background
-color
: #fff;
1757 border
: 1px solid
#ddd;
1760 input
[type
='text']:focus
,
1761 input
[type
='search']:focus
,
1762 input
[type
='password']:focus
{
1763 background
-color
: #ffd;
1764 border
: 1px solid
#bbb;
1765 box
-shadow
: 0 0 1px
#bbb;
1777 background
-color
: #e6e6e6;
1778 text
-decoration
: none
;
1780 0 -1px
0 0 #000 inset,
1781 0 -3px
1px
-2px
#000 inset;
1785 #content.about-page .accesskey-table {
1786 font
-family
: <?php
echo $UI_font; ?
>;
1790 #content.about-page img {
1791 border
: 1px solid
#000;
1794 /*========================*/
1795 /* QUALIFIED HYPERLINKING */
1796 /*========================*/
1801 #aux-about-link a:hover {
1805 .qualified
-linking label
{
1806 color
: <?php
echo $hyperlink_color; ?
>;
1808 .qualified
-linking label
:hover
{
1815 .qualified
-linking
-toolbar
{
1816 border
: 1px solid
#000;
1817 background
-color
: #fff;
1819 .qualified
-linking
-toolbar a
{
1820 background
-color
: #eee;
1821 border
: 1px solid
#ccc;
1824 white
-space
: nowrap
;
1826 .qualified
-linking
-toolbar a
:visited
{
1827 color
: <?php
echo $hyperlink_color; ?
>;
1829 .qualified
-linking
-toolbar a
:hover
{
1830 text
-decoration
: none
;
1831 background
-color
: #ddd;
1833 .qualified
-linking label
::after
{
1834 background
-color
: #d8d8d8;
1842 .mathjax
-block
-container
::-webkit
-scrollbar
{
1844 background
-color
: #f6f6ff;
1846 border
: 1px solid
#ddf;
1848 .mathjax
-block
-container
::-webkit
-scrollbar
-thumb
{
1849 background
-color
: #dde;
1851 border
: 1px solid
#cce;
1853 .mathjax
-inline
-container
::-webkit
-scrollbar
{
1855 background
-color
: #f6f6ff;
1857 border
: 1px solid
#ddf;
1859 .mathjax
-inline
-container
::-webkit
-scrollbar
-thumb
{
1860 background
-color
: #dde;
1862 border
: 1px solid
#cce;
1865 /*=================*/
1866 /* ALIGNMENT FORUM */
1867 /*=================*/
1869 #content.alignment-forum-index-page::before {
1870 background
-color
: #f4f5ff;
1872 #content.alignment-forum-index-page::after {
1873 font
-family
: "Concourse SmallCaps";
1875 background
-color
: #7f85b2;
1877 -webkit
-background
-clip
: text
;
1879 rgba(255,255,255,0.5) 0px
3px
3px
;
1881 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
1882 #content.alignment-forum-index-page h1.listing a:hover,
1883 #content.alignment-forum-index-page h1.listing a:focus {
1884 background
-color
: rgba(244,245,255,0.85);
1888 /*====================*/
1889 /* FOR NARROW SCREENS */
1890 /*====================*/
1892 @media only screen
and (max
-width
: 1440px
) {
1894 background
-color
: #d8d8d8;
1897 #hns-date-picker::before {
1898 border
: 1px solid
#999;
1899 border
-width
: 1px
0 1px
1px
;
1902 @media only screen
and (max
-width
: 1160px
) {
1903 #theme-selector:hover::after {
1904 background
-color
: #999;
1905 width
: calc(6em
- 13px
);
1908 @media only screen
and (max
-width
: 1080px
) {
1909 #text-size-adjustment-ui button {
1910 border
: 1px solid
#999;
1915 0 0 0 1px transparent
;
1917 #theme-tweaker-toggle button {
1918 border
: 1px solid
#999;
1920 0 0 10px
#999 inset,
1921 0 0 0 1px transparent
;
1923 transform
: scale(0.8);
1926 @media only screen
and (max
-width
: 1020px
) {
1930 0 0 0 2px transparent
;
1932 #new-comment-nav-ui .new-comments-count::before {
1933 background
-color
: #d8d8d8;
1936 0 0 0 2px transparent
;
1939 #anti-kibitzer-toggle {
1940 background
-color
: #d8d8d8;
1943 0 0 0 2px transparent
;
1948 @media only screen
and (max
-width
: 1000px
) {
1950 background
-color
: #d8d8d8;
1953 0 0 0 2px transparent
;
1955 #theme-selector:hover::after {
1956 width
: calc(6em
- 9px
);
1957 height
: calc(100%
- 5px
);
1961 #text-size-adjustment-ui button {
1962 background
-color
: #ddd;
1964 #text-size-adjustment-ui button:hover {
1965 background
-color
: #eee;
1967 #theme-tweaker-toggle button {
1968 background
-color
: #ddd;
1976 @media only screen
and (hover
: none
), only screen
and (-moz
-touch
-enabled
) {
1977 #ui-elements-container > div[id$='-ui-toggle'] button {
1989 background
-color
: #d8d8d8;
1997 border
-radius
: 12px
;
1999 #theme-selector::before,
2000 #theme-selector .theme-selector-close-button {
2002 font
-weight
: normal
;
2004 #theme-selector button {
2005 background
-color
: #e6e6e6;
2006 border
-radius
: 10px
;
2008 #theme-selector button::after {
2010 max
-width
: calc(100%
- 3.5em
);
2012 text
-overflow
: ellipsis
;
2013 padding
-bottom
: 1px
;
2015 #theme-selector button.selected::after {
2023 background
-color
: #fff;
2026 #new-comment-nav-ui,
2035 #quick-nav-ui a::after,
2036 #new-comment-nav-ui::before {
2037 font
-family
: <?php
echo $UI_font; ?
>;
2043 background
-color
: #fff;
2047 #new-comment-nav-ui {
2050 #new-comment-nav-ui {
2051 background
-color
: #e4e4e4;
2052 border
: 1px solid
#999;
2054 #new-comment-nav-ui::before {
2058 #new-comment-nav-ui .new-comment-sequential-nav-button {
2059 box
-shadow
: 0 0 0 1px
#999;
2062 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
2065 #new-comment-nav-ui .new-comments-count {
2066 background
-color
: inherit
;
2067 box
-shadow
: 0 -1px
0 0 #999;
2069 #new-comment-nav-ui .new-comment-sequential-nav-button.new-comment-previous {
2070 border
-radius
: 7px
0 0 7px
;
2072 #new-comment-nav-ui .new-comment-sequential-nav-button.new-comment-next {
2073 border
-radius
: 0 7px
7px
0;
2075 #new-comment-nav-ui button::after {
2076 font
-family
: <?php
echo $UI_font; ?
>;
2079 background
-color
: #e4e4e4;
2080 border
: 1px solid
#999;
2083 /*****************************************/
2084 @media only screen
and (max
-width
: 900px
) {
2085 /*****************************************/
2086 h1
.listing +
.post
-meta
.post
-section
{
2091 h1
.listing +
.post
-meta
.post
-section
::before
{
2095 #primary-bar .nav-inner {
2098 #secondary-bar .nav-inner {
2101 #secondary-bar .nav-item:not(#nav-item-search) .nav-inner {
2105 .archive
-nav
*[class^
='archive-nav-item-'] {
2106 border
-width
: 1px
!important
;
2108 .archive
-nav
> *[class^
='archive-nav-'] +
*[class^
='archive-nav-']::before
{
2109 background
-color
: #aaa;
2112 .comment
-item
.comment
-item
{
2113 margin
: 0.75em
0 3px
6px
;
2115 .comment
-item
.comment
-item +
.comment
-item
{
2116 margin
: 1.5em
0 3px
6px
;
2119 .sublevel
-nav
:not(.sort
) .sublevel
-item
,
2120 .sublevel
-nav
:not(.sort
) .sublevel
-item
:first
-child
,
2121 .sublevel
-nav
:not(.sort
) .sublevel
-item
:last
-child
{
2126 /*******************************************/
2127 } @media only screen
and (max
-width
: 720px
) {
2128 /*******************************************/
2129 .post
-meta
.comment
-count
::before
{
2130 font
-family
: inherit
;
2134 /*******************************************/
2135 } @media only screen
and (max
-width
: 520px
) {
2136 /*******************************************/
2137 #primary-bar.inactive-bar .nav-inner {
2143 margin
: 18px
6px
4px
6px
;
2144 max
-width
: calc(100%
- 12px
);
2147 h1
.listing a
[href^
='http'] {
2150 h1
.listing +
.post
-meta
{
2153 h1
.listing +
.post
-meta
> *:not(.karma
) {
2157 h1
.listing +
.post
-meta
.karma
-value
{
2159 right
: calc(100%
- 2.25em
);
2162 #content.compact > .comment-thread .comment-item {
2166 .textarea
-container
:focus
-within textarea
{
2167 background
-color
: #fff;
2169 .textarea
-container
:focus
-within
.guiedit
-mobile
-auxiliary
-button
{
2173 .textarea
-container
:focus
-within
.guiedit
-mobile
-help
-button
.active
{
2178 .textarea
-container
:focus
-within
.guiedit
-buttons
-container
{
2179 background
-color
: #fff;
2180 border
-top
: 1px solid
#ddf;
2182 .posting
-controls
.textarea
-container
:focus
-within
.guiedit
-buttons
-container
{
2185 #content.conversation-page .textarea-container:focus-within::after {
2186 background
-color
: #fff;
2188 .textarea
-container
:focus
-within button
.guiedit
{
2189 border
: 1px solid
#6a8a6b;
2193 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
2196 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
2200 #edit-post-form textarea {
2201 min
-height
: calc(100vh
- 345px
);