2 header ('Content-type: text/css; charset=utf-8');
4 $platform = @$argv[1] ?
: 'Mac';
5 $UI_font = "'Concourse', 'a_Avante', 'GW-Symbols'";
7 $content_width_settings = [
10 'fluid' => 'calc(100% - 300px)'
13 function fit_content($selector, $property = "width") {
14 foreach (["-moz-fit-content", "fit-content"] as $pvalue) echo
15 "@supports (width: {$pvalue}) {
17 {$property}: {$pvalue};
29 --GW
-comment
-background
-color
-odd
: transparent
;
30 --GW
-comment
-background
-color
-even
: transparent
;
31 --GW
-comment
-background
-color
-target
: transparent
;
33 --GW
-toggle
-widget
-color
: #888;
34 --GW
-toggle
-widget
-hover
-color
: #444;
35 --GW
-toggle
-widget
-shadow
-color
: rgba(255, 255, 255, 0.5);
37 --inverted
-display
: none
;
45 box
-sizing
: border
-box
;
48 *, *::before
, *::after
{
52 display
: none
!important
;
64 background
-color
: inherit
;
76 /*=----------------------------=*/
77 /*= Immediate children of body =*/
78 /*=----------------------------=*/
84 /* Special styles for special browsers.
85 (This one is a fix for Firefox’s built-in screenshot feature.)
87 body
> iframe
[id^
='firefox-screenshots'] {
97 grid
-template
-columns
: 2fr
1fr
2fr
;
108 pointer
-events
: none
;
116 grid
-column
: 1 / span
3;
119 /*=----------------------=*/
120 /*= Floating UI elements =*/
121 /*=----------------------=*/
123 #ui-elements-container {
131 pointer
-events
: none
;
133 #ui-elements-container > * {
134 pointer
-events
: auto
;
137 /*=----------------=*/
138 /*= Images overlay =*/
139 /*=----------------=*/
140 /* (To exclude images in posts from theme tweaks) */
161 /*=---------------=*/
162 /*= Nav bar items =*/
163 /*=---------------=*/
169 text
-overflow
: ellipsis
;
178 line
-height
: inherit
;
182 .nav
-bar
-top
:not(#primary-bar) .nav-inner {
186 #nav-item-sequences .nav-inner::before {
187 font
-family
: "Font Awesome", "Font Awesome 5 Free";
190 @media only screen
and (min
-width
: 901px
) {
191 #nav-item-about .nav-inner {
194 #nav-item-sequences .nav-inner::before {
198 #secondary-bar #nav-item-sequences .nav-inner {
211 h1
.listing ~
#bottom-bar {
214 #bottom-bar .nav-item {
218 /*=-----------------=*/
219 /*= Accesskey hints =*/
220 /*=-----------------=*/
223 content
: attr(accesskey
);
227 /*=---------------=*/
228 /*= Pagination UI =*/
229 /*=---------------=*/
231 #bottom-bar .nav-item a::before,
232 #top-nav-bar a::before {
233 font
-family
: "Font Awesome", "Font Awesome 5 Free";
240 #bottom-bar #nav-item-first a::before,
241 #top-nav-bar a.nav-item-first::before {
244 #bottom-bar #nav-item-top a::before {
247 #bottom-bar #nav-item-prev a::before,
248 #top-nav-bar a.nav-item-prev::before {
251 #bottom-bar #nav-item-next a::before,
252 #top-nav-bar a.nav-item-next::before {
255 #bottom-bar #nav-item-last a::before,
256 #top-nav-bar a.nav-item-last::before {
259 #bottom-bar #nav-item-next a::before {
264 #bottom-bar #nav-item-last a::before {
270 /*= Hover tooltips =*/
275 #top-nav-bar a::after {
276 bottom
: calc(100%
- 3px
);
277 content
: attr(data
-target
-page
);
279 #top-nav-bar a::after {
287 #top-nav-bar a:hover::after,
288 #bottom-bar a:hover::after {
292 /*=-----------------------=*/
293 /*= Decorative bottom bar =*/
294 /*=-----------------------=*/
295 /* (On short pages with no pagination) */
297 #bottom-bar.decorative {
300 #bottom-bar.decorative .nav-item {
311 #nav-item-search form::before {
313 font
-family
: "Font Awesome", "Font Awesome 5 Free";
315 display
: inline
-block
;
320 #nav-item-search input {
322 width
: calc(95%
- 80px
);
325 #nav-item-search button {
335 padding
-right
: 0.5em
;
338 /*******************/
339 /* INBOX INDICATOR */
340 /*******************/
349 #inbox-indicator::before {
351 font
-family
: "Font Awesome", "Font Awesome 5 Free";
353 font
-size
: 1.1875rem
;
362 #inbox-indicator.new-messages::before {
366 0.5px
0.5px
1px
#777;
368 a
#inbox-indicator:hover::before {
375 0.5px
0.5px
1px
#777;
377 a
#inbox-indicator.new-messages:hover::before {
383 0.5px
0.5px
1px
#777;
396 #content > .page-toolbar {
400 #content.user-page > .page-toolbar {
401 grid
-column
: 2 / span
2;
405 /*=--------------------------=*/
406 /*= Page toolbar items (all) =*/
407 /*=--------------------------=*/
410 display
: inline
-block
;
413 .page
-toolbar
> form button
{
418 .page
-toolbar
> form button
::before
{
421 .page
-toolbar
.button
::before
{
422 font
-family
: "Font Awesome", "Font Awesome 5 Free";
424 padding
-right
: 0.3em
;
427 /*=-------------------------------=*/
428 /*= Page toolbar items (specific) =*/
429 /*=-------------------------------=*/
435 .new-private-message
::before
{
439 .logout
-button
::before
{
443 #enable-push-notifications::before {
447 .ignore
-button
::before
{
451 .unignore
-button
::before
{
456 content
: url('data:image/svg+xml;base64,<?php echo base64_encode(file_get_contents("assets/rss.svg")) ?>');
457 display
: inline
-block
;
459 padding
-right
: 0.2em
;
464 /*********************/
465 /* TOP PAGINATION UI */
466 /*********************/
470 margin
: 0.25em
0 0 0;
471 padding
: 0.75em
0 0 0;
475 justify
-content
: center
;
480 #top-nav-bar a.disabled {
481 pointer
-events
: none
;
484 #top-nav-bar .page-number {
486 display
: inline
-block
;
489 #top-nav-bar .page-number-label {
492 text
-transform
: uppercase
;
497 #top-nav-bar a::before {
499 display
: inline
-block
;
509 justify
-content
: center
;
512 #content > .sublevel-nav:not(.sort) {
516 .sublevel
-nav
.sublevel
-item
{
518 padding
: 0.125em
0.5em
;
521 .sublevel
-nav
.sublevel
-item
:active
{
524 .sublevel
-nav
.sublevel
-item
.selected
{
528 /***********************/
529 /* SORT ORDER SELECTOR */
530 /***********************/
537 #content > .sublevel-nav.sort {
544 #content.index-page > .sublevel-nav.sort {
550 .sublevel
-nav
.sort
::before
{
558 .sublevel
-nav
.sort
.sublevel
-item
{
564 /*******************************/
565 /* COMMENTS SORT MODE SELECTOR */
566 /*******************************/
568 .comments
> .sublevel
-nav
.sort
{
569 margin
: 1em auto
0 auto
;
571 <?php
fit_content(".comments > .sublevel-nav.sort"); ?
>
574 /**********************/
575 /* DARK MODE SELECTOR */
576 /**********************/
578 #dark-mode-selector {
585 #dark-mode-selector:hover {
593 #dark-mode-selector button {
594 font
-family
: "Font Awesome", "Font Awesome 5 Free";
602 #dark-mode-selector button.select-mode-auto {
604 #dark-mode-selector button.select-mode-light {
606 padding
: 1px
0 0 1px
;
608 #dark-mode-selector button.select-mode-dark {
611 padding
: 1px
0 0 4px
;
613 #dark-mode-selector button.select-mode-dark.selected {
616 #dark-mode-selector button:disabled:active {
619 #dark-mode-selector button:disabled:hover {
623 /*=----------------=*/
624 /*= Hover tooltips =*/
625 /*=----------------=*/
627 #dark-mode-selector button::after {
628 content
: attr(data
-name
);
629 font
-family
: <?php
echo $UI_font; ?
>;
640 #dark-mode-selector button.selected::after {
641 content
: attr(data
-name
) " (selected)";
643 #dark-mode-selector button:hover:not(:active)::after {
657 #width-selector button {
663 background
-repeat
: no
-repeat
;
664 background
-size
: 100%
;
665 background
-origin
: content
-box
;
667 #width-selector button,
668 #width-selector button:active,
669 #width-selector button:focus {
673 #width-selector button:disabled {
676 #width-selector button.select-width-normal {
677 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/normal.gif")) ?>');
679 #width-selector button.select-width-wide {
680 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/wide.gif")) ?>');
682 #width-selector button.select-width-fluid {
683 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/fluid.gif")) ?>');
686 /*=----------------=*/
687 /*= Hover tooltips =*/
688 /*=----------------=*/
690 #width-selector button::after {
691 content
: attr(data
-name
);
700 #width-selector button.selected::after {
701 content
: attr(data
-name
) " (selected)";
703 #width-selector button:hover:not(:active)::after {
708 global $content_width_settings;
709 foreach ($content_width_settings as $name => $setting) {
710 echo "head.content-width-{$name} + body > * {\n max-width: {$setting};\n}\n";
726 #theme-selector:hover {
730 /*=----------------------=*/
731 /*= Theme select buttons =*/
732 /*=----------------------=*/
734 .theme
-selector button
{
739 margin
: 1px
7px
0 7px
;
741 background
-size
: 16px
16px
;
742 background
-origin
: content
-box
;
744 .theme
-selector button
,
745 .theme
-selector button
:hover
,
746 .theme
-selector button
:active
,
747 .theme
-selector button
:focus
{
751 .theme
-selector button
:disabled
{
755 /*=----------------------------=*/
756 /*= Pre-rendered button images =*/
757 /*=----------------------------=*/
758 /* (Each is just a capital letter A through whatever) */
760 .theme
-selector button
:nth
-of
-type(1) {
761 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_A.gif")) ?>');
763 .theme
-selector button
:nth
-of
-type(2) {
764 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_B.gif")) ?>');
766 .theme
-selector button
:nth
-of
-type(3) {
767 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_C.gif")) ?>');
769 .theme
-selector button
:nth
-of
-type(4) {
770 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_D.gif")) ?>');
772 .theme
-selector button
:nth
-of
-type(5) {
773 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_E.gif")) ?>');
775 .theme
-selector button
:nth
-of
-type(6) {
776 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_F.gif")) ?>');
778 .theme
-selector button
:nth
-of
-type(7) {
779 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_G.gif")) ?>');
781 .theme
-selector button
:nth
-of
-type(8) {
782 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_H.gif")) ?>');
785 /*=------------------------------=*/
786 /*= Theme select button tooltips =*/
787 /*=------------------------------=*/
788 /* (with the name & description of the theme that each button selects) */
790 #theme-selector button {
794 #theme-selector button::before {
795 content
: attr(data
-theme
-name
);
799 padding
: 5px
6px
6px
6px
;
806 #theme-selector:hover button::before {
809 #theme-selector:hover ~ #theme-tweaker-toggle,
810 #theme-selector:active ~ #theme-tweaker-toggle {
814 /************************/
815 /* THEME TWEAKER TOGGLE */
816 /************************/
818 #theme-tweaker-toggle {
823 #theme-tweaker-toggle button {
824 font
-family
: "Font Awesome", "Font Awesome 5 Free";
830 #theme-tweaker-toggle button:hover {
834 /*******************/
835 /* QUICKNAV WIDGET */
836 /*******************/
844 font
-family
: "Font Awesome", "Font Awesome 5 Free";
854 #quick-nav-ui a[href='#comments'].no-comments {
855 pointer
-events
: none
;
860 #content.post-page ~ #ui-elements-container #quick-nav-ui a[href='#comments'] {
864 /************************/
865 /* NEW COMMENT QUICKNAV */
866 /************************/
868 #new-comment-nav-ui {
873 #new-comment-nav-ui > * {
877 #new-comment-nav-ui.no-comments {
881 /*=--------------------=*/
882 /*= New comments count =*/
883 /*=--------------------=*/
885 #new-comment-nav-ui .new-comments-count {
893 #new-comment-nav-ui .new-comments-count::selection {
894 background
-color
: transparent
;
896 #new-comment-nav-ui .new-comments-count::after {
902 /*=-----------------------------------=*/
903 /*= Next/previous new comment buttons =*/
904 /*=-----------------------------------=*/
906 #new-comment-nav-ui .new-comment-sequential-nav-button {
908 font
-family
: "Font Awesome", "Font Awesome 5 Free";
913 #new-comment-nav-ui .new-comment-previous {
916 #new-comment-nav-ui .new-comment-next {
919 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
921 pointer
-events
: none
;
924 /*******************/
925 /* HNS DATE PICKER */
926 /*******************/
934 #hns-date-picker:hover,
935 #hns-date-picker:focus-within {
938 #hns-date-picker.no-comments {
942 /*=---------------=*/
943 /*= "Since" label =*/
944 /*=---------------=*/
946 #hns-date-picker span {
949 text
-transform
: uppercase
;
952 /*=--------------------=*/
953 /*= "Since" text field =*/
954 /*=--------------------=*/
956 #hns-date-picker input {
961 box
-shadow
: 0 0 0 1px transparent
;
964 /************************/
965 /* ANTI-KIBITZER TOGGLE */
966 /************************/
968 #anti-kibitzer-toggle {
973 #anti-kibitzer-toggle button {
979 #anti-kibitzer-toggle button::before,
980 #anti-kibitzer-toggle button::after {
981 font
-family
: "Font Awesome", "Font Awesome 5 Free";
983 #anti-kibitzer-toggle button::before {
989 #anti-kibitzer-toggle button::after {
990 content
: "\F007\2004\F164";
994 #anti-kibitzer-toggle.engaged button::before {
998 #anti-kibitzer-toggle button::before,
999 #anti-kibitzer-toggle button::after {
1000 background
-color
: var(--GW
-toggle
-widget
-color
);
1001 -webkit
-background
-clip
: text
;
1003 text
-shadow
: var(--GW
-toggle
-widget
-shadow
-color
) 0px
1px
1px
;
1005 #anti-kibitzer-toggle button:hover::before,
1006 #anti-kibitzer-toggle button:hover::after {
1007 background
-color
: var(--GW
-toggle
-widget
-hover
-color
);
1010 /************************/
1011 /* TEXT SIZE ADJUSTMENT */
1012 /************************/
1014 #text-size-adjustment-ui {
1020 #text-size-adjustment-ui:hover {
1024 /* This doesn't work in Mozilla browsers, so hide it */
1025 @supports
(-moz
-appearance
: none
) {
1026 #text-size-adjustment-ui {
1035 #text-size-adjustment-ui button {
1037 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1043 #text-size-adjustment-ui button.default {
1044 font
-family
: inherit
;
1045 font
-size
: 1.125rem
;
1049 #text-size-adjustment-ui button:disabled {
1052 #text-size-adjustment-ui button:disabled:hover {
1056 /*=----------------=*/
1057 /*= Hover tooltips =*/
1058 /*=----------------=*/
1060 #text-size-adjustment-ui::after {
1061 content
: "Adjust text size";
1071 #text-size-adjustment-ui:hover::after {
1072 visibility
: visible
;
1075 /*******************************/
1076 /* COMMENTS VIEW MODE SELECTOR */
1077 /*******************************/
1079 #comments-view-mode-selector {
1085 #comments-view-mode-selector:hover {
1093 #comments-view-mode-selector a {
1095 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1102 #comments-view-mode-selector a.threaded {
1103 transform
: scaleY(-1);
1106 #comments-view-mode-selector a.chrono {
1107 font
-weight
: normal
;
1109 #comments-view-mode-selector a.selected,
1110 #comments-view-mode-selector a:hover {
1112 text
-decoration
: none
;
1114 #comments-view-mode-selector a.selected {
1122 #keyboard-help-overlay {
1125 background
-color
: rgba(0,0,0,0.7);
1132 justify
-content
: center
;
1133 align
-items
: center
;
1134 padding
: 20px
30px
30px
20px
;
1139 #keyboard-help-overlay .keyboard-help-container {
1140 background
-color
: #fff;
1141 filter
: drop
-shadow(4px
4px
2px
#000);
1148 #keyboard-help-overlay .keyboard-help-container h1 {
1150 border
-bottom
: 1px solid
#ddd;
1154 #keyboard-help-overlay .keyboard-help-container .note {
1159 #keyboard-help-overlay .keyboard-help-container .keyboard-shortcuts-lists {
1163 border
-top
: 1px solid
#ddd;
1166 #keyboard-help-overlay .keyboard-help-container ul {
1167 list-style
-type
: none
;
1170 break-inside
: avoid
;
1171 white
-space
: nowrap
;
1173 #keyboard-help-overlay .keyboard-help-container ul:nth-of-type(n+2) {
1176 #keyboard-help-overlay .keyboard-help-container ul li.section {
1178 font
-size
: 1.125rem
;
1181 #keyboard-help-overlay .keyboard-help-container .keys {
1182 margin
: 0 0.5em
0 0;
1184 display
: inline
-block
;
1186 #keyboard-help-overlay .keyboard-help-container .keys code {
1189 #keyboard-help-overlay .keyboard-help-container code {
1190 display
: inline
-block
;
1191 background
-color
: #eee;
1192 border
: 1px solid
#ccc;
1193 padding
: 3px
8px
4px
8px
;
1196 #keyboard-help-overlay .keyboard-help-container code.ak {
1197 background
-color
: #ffeb83;
1198 border
-color
: #d4a500;
1200 #keyboard-help-overlay .keyboard-help-container code.ak::before {
1205 #nav-item-about button.open-keyboard-help {
1208 @media only screen
and (hover
:hover
) and (pointer
:fine
) {
1211 padding
-right
: 0.25em
;
1213 #nav-item-about button.open-keyboard-help {
1214 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1223 background
-color
: transparent
;
1227 #keyboard-help-overlay button.close-keyboard-help {
1231 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1241 margin
: 1.25em
0.5em
0 0.5em
;
1247 .archive
-nav
*[class^
='archive-nav-item'] {
1251 padding
: 6px
4px
4px
4px
;
1254 @supports
(-moz
-appearance
: none
) {
1255 .archive
-nav
*[class^
='archive-nav-item'] {
1259 .archive
-nav
-days
.archive
-nav
-item
-day
{
1261 padding
: 7px
0 5px
0;
1264 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1273 margin
: 1.25em
0.5em
0 0.5em
;
1279 .archive
-nav
*[class^
='archive-nav-item'] {
1283 padding
: 6px
4px
4px
4px
;
1286 @supports
(-moz
-appearance
: none
) {
1287 .archive
-nav
*[class^
='archive-nav-item'] {
1291 .archive
-nav
-days
.archive
-nav
-item
-day
{
1293 padding
: 7px
0 5px
0;
1296 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1305 font
-size
: 1.875rem
;
1315 /* Links to link-posts (not the link-post links themselves; that's below) */
1316 h1
.listing
.link
-post
-link + a
{
1317 margin
-left
: 0.25em
;
1320 h1
.listing
.link
-post
-link
{
1323 vertical
-align
: top
;
1328 /*=----------------------=*/
1329 /*= Listing hover reveal =*/
1330 /*=----------------------=*/
1331 /* (On desktops, hover over a multi-line listing to reveal all of it) */
1333 @media only screen
and (min
-width
: 1160px
) {
1336 display
: inline
-block
;
1337 white
-space
: nowrap
;
1338 text
-overflow
: ellipsis
;
1340 border
-bottom
: 1px solid transparent
;
1341 -webkit
-hyphens
: auto
;
1346 padding
: 0 0 1px
1px
;
1348 h1
.listing
.link
-post
-link + a
{
1349 max
-width
: calc(100%
- 40px
);
1352 h1
.listing a
:focus
{
1353 text
-decoration
: dotted underline
;
1354 white
-space
: initial
;
1358 h1
.listing
:focus
-within
::before
{
1360 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1366 /* Adds hysteresis to the hover area (i.e., prevents oscillation due to small
1368 <?php
$margin_of_hover_error = '10px'; ?
>
1370 h1
.listing a
:not(.edit
-post
-link
):hover
::before
{
1373 top
: -<?php
echo $margin_of_hover_error; ?
>;
1374 right
: -<?php
echo $margin_of_hover_error; ?
>;
1375 bottom
: -<?php
echo $margin_of_hover_error; ?
>;
1376 left
: -<?php
echo $margin_of_hover_error; ?
>;
1379 h1
.listing
.link
-post
-link
:hover
{
1380 text
-decoration
: none
;
1384 /*=-----------------------=*/
1385 /*= In-listing edit links =*/
1386 /*=-----------------------=*/
1388 h1
.listing
.edit
-post
-link
{
1393 /*=---------------------------------=*/
1394 /*= Error messages on listing pages =*/
1395 /*=---------------------------------=*/
1400 padding
: 1.25em
0 1.25em
0;
1404 /*********************/
1405 /* LISTING POST-META */
1406 /*********************/
1408 h1
.listing +
.post
-meta
{
1410 justify
-content
: flex
-start
;
1411 margin
: 0 20px
0 21px
;
1414 h1
.listing +
.post
-meta
> * {
1418 h1
.listing +
.post
-meta
.post
-section
{
1423 h1
.listing +
.post
-meta
.post
-section
::before
{
1428 h1
.listing +
.post
-meta
.read
-time
{
1432 /********************/
1433 /* SEQUENCES & TAGS */
1434 /********************/
1436 .sequence
-text
, .tag
-description
{
1441 #content.tag-index-page .tag-description {
1451 h1
.sequence
-chapter
{
1459 .index
-page
.post
-meta +
.comments
{
1467 border
-bottom
: 1px solid
#999;
1468 padding
-bottom
: 1em
;
1472 #content.sequence-page h1 {
1480 /*=---------------------=*/
1481 /*= User's display name =*/
1482 /*=---------------------=*/
1484 #content.user-page h1.page-main-heading {
1485 margin
: 0.25em
0 0 0;
1487 grid
-column
: 1 / span
2;
1491 #content.user-page h1.page-main-heading .user-full-name {
1493 font
-weight
: normal
;
1494 padding
-left
: 0.5em
;
1497 /*=--------------------=*/
1498 /*= User's karma total =*/
1499 /*=--------------------=*/
1501 #content.user-page .user-stats {
1508 #content.user-page .user-stats .karma-type {
1509 white
-space
: nowrap
;
1512 /*=----------------------=*/
1513 /*= Expanded vs. compact =*/
1514 /*=----------------------=*/
1516 #content.user-page #comments-list-mode-selector {
1519 #content.user-page #comments-list-mode-selector button {
1523 /*=----------------------------------------------------=*/
1524 /*= All, Posts, Comments, Drafts, Conversations, Inbox =*/
1525 /*=----------------------------------------------------=*/
1527 #content.user-page .sublevel-nav {
1528 margin
-bottom
: 0.5em
;
1531 /*=--------------=*/
1532 /*= User's posts =*/
1533 /*=--------------=*/
1535 #content.user-page h1.listing {
1536 margin
: 0.5em
0 0 0;
1539 #content.user-page .user-bio :first-child {
1547 /*=----------------------=*/
1548 /*= List of participants =*/
1549 /*=----------------------=*/
1551 #content.conversation-page .conversation-participants {
1552 grid
-column
: 2 / span
2;
1554 margin
: 0.5em
0 0 0;
1556 .post
-meta
> .conversation
-participants
{
1557 white
-space
: normal
;
1559 .conversation
-participants ul
,
1560 .conversation
-participants li
{
1561 list-style
-type
: none
;
1562 display
: inline
-block
;
1566 .conversation
-participants li
{
1567 margin
-left
: 0.375em
;
1569 .conversation
-participants li
:not(:last
-of
-type
)::after
{
1573 /*=-------------------------=*/
1574 /*= Posting controls (form) =*/
1575 /*=-------------------------=*/
1577 #content.conversation-page .posting-controls {
1580 #content.conversation-page .post-meta-fields {
1583 flex
-flow
: row wrap
;
1585 .posting
-controls
.standalone textarea
{
1586 margin
-top
: 0.375em
;
1588 .posting
-controls
.standalone form
{
1591 #content.conversation-page .posting-controls.standalone form {
1592 padding
: 0 1em
3em
1em
;
1594 .posting
-controls
.standalone input
[type
='text'],
1595 .posting
-controls
.standalone label
{
1598 .posting
-controls
.standalone label
{
1602 border
: 1px solid transparent
;
1604 .posting
-controls
.standalone input
[type
='text'] {
1605 width
: calc(100%
- 4em
);
1608 .posting
-controls
.standalone input
[type
='submit'] {
1611 .posting
-controls
.standalone
#markdown-hints-checkbox ~ label {
1612 white
-space
: nowrap
;
1614 .posting
-controls
.standalone
#markdown-hints {
1615 top
: calc(100% +
2em
);
1618 /*=--------------------=*/
1619 /*= Conversation title =*/
1620 /*=--------------------=*/
1622 #content.conversation-page h1.page-main-heading {
1632 #content.conversation-page > ul.comment-thread:last-of-type {
1636 /******************/
1637 /* SEARCH RESULTS */
1638 /******************/
1640 #content.search-results-page h1.listing,
1641 #content.sequence-page h1.listing,
1642 #content.post-page h1.listing {
1654 flex
-flow
: row wrap
;
1657 .login
-container form
{
1660 grid
-row
-gap
: 0.5em
;
1661 align
-content
: start
;
1663 .login
-container form label
{
1665 padding
: 0.25em
0.5em
;
1666 white
-space
: nowrap
;
1669 .login
-container form input
{
1673 .login
-container form input
[type
='submit'],
1674 .login
-container form a
{
1676 justify
-self
: center
;
1678 .login
-container form input
[type
='submit'] {
1682 margin
: 0.5em
0 0 0;
1684 .login
-container form h1
{
1690 /* “Log in” form */
1693 grid
-template
-columns
: 5.5em
1fr
;
1694 padding
: 0.5em
2em
0.5em
0;
1697 /* “Create account” form */
1701 grid
-template
-columns
: 8.5em
1fr
;
1702 padding
: 0.5em
1em
1em
1em
;
1707 #signup-form input[type='submit'] {
1708 padding
: 0.4em
0.5em
0.5em
0.5em
;
1713 .login
-container
.login
-tip
{
1714 padding
: 0.5em
0.5em
0.5em
3em
;
1715 margin
: 2em
4em
0 4em
;
1719 .login
-container
.login
-tip span
{
1725 #content.login-page .error-box {
1726 margin
: 1.5em
0.875em
-1.5em
0.875em
;
1728 .error
-box
, .success
-box
{
1733 /***********************/
1734 /* PASSWORD RESET PAGE */
1735 /***********************/
1737 .reset
-password
-container
{
1740 .reset
-password
-container input
[type
='submit'] {
1741 padding
: 0.2em
0.5em
;
1744 .reset
-password
-container input
{
1748 .reset
-password
-container label
{
1749 display
: inline
-block
;
1752 .reset
-password
-container form
> div
{
1755 .reset
-password
-container
.action
-container
{
1759 .reset
-password
-container
.error
-box
{
1764 /*********************/
1765 /* TABLE OF CONTENTS */
1766 /*********************/
1772 margin
: 1.25em
0 0.75em
1.25em
;
1773 padding
: 7px
14px
10px
10px
;
1778 .collection
-page
.contents
{
1784 margin
-bottom
: 0.25em
;
1787 .body
-text
.contents ul
{
1788 list-style
-type
: none
;
1789 margin
: 0 0 0 0.5em
;
1790 counter
-reset
: toc
-item
-1 toc
-item
-2 toc
-item
-3;
1794 .body
-text
.contents li
{
1795 margin
: 0.15em
0 0.3em
1em
;
1801 .body
-text
.contents li
::before
{
1808 .contents
.toc
-item
-1 {
1809 counter
-increment
: toc
-item
-1;
1810 counter
-reset
: toc
-item
-2 toc
-item
-3;
1812 .contents
.toc
-item
-1::before
{
1813 content
: counter(toc
-item
-1);
1815 .contents
.toc
-item
-1 ~
.toc
-item
-2 {
1819 .contents
.toc
-item
-2 {
1820 counter
-increment
: toc
-item
-2;
1821 counter
-reset
: toc
-item
-3;
1823 .contents
.toc
-item
-1 ~
.toc
-item
-2::before
{
1824 content
: counter(toc
-item
-1) "." counter(toc
-item
-2);
1826 .contents
.toc
-item
-2::before
{
1827 content
: counter(toc
-item
-2);
1829 .contents
.toc
-item
-1 +
.toc
-item
-3 {
1830 counter
-increment
: toc
-item
-2 toc
-item
-3;
1832 .contents
.toc
-item
-2 ~
.toc
-item
-3,
1833 .contents
.toc
-item
-1 ~
.toc
-item
-3 {
1837 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3 {
1841 .contents
.toc
-item
-3 {
1842 counter
-increment
: toc
-item
-3;
1844 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3::before
{
1845 content
: counter(toc
-item
-1) "." counter(toc
-item
-2) "." counter(toc
-item
-3);
1847 .contents
.toc
-item
-1 ~
.toc
-item
-3::before
{
1848 content
: counter(toc
-item
-1) "." counter(toc
-item
-3);
1850 .contents
.toc
-item
-2 ~
.toc
-item
-3::before
{
1851 content
: counter(toc
-item
-2) "." counter(toc
-item
-3);
1853 .contents
.toc
-item
-3::before
{
1854 content
: counter(toc
-item
-3);
1856 .contents
.toc
-item
-4,
1857 .contents
.toc
-item
-5,
1858 .contents
.toc
-item
-6 {
1862 .contents
.collapsed
{
1863 margin
-bottom
: 0.25em
;
1865 padding
-right
: 1.75em
;
1868 .contents
.collapsed
.contents
-head
{
1871 .contents
.collapsed
.contents
-list {
1875 .contents
.toc
-collapse
-toggle
-button
{
1879 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1884 .contents
.toc
-collapse
-toggle
-button
:active
{
1885 transform
: translateX(1px
) translateY(1px
);
1888 .contents
.collapsed
.toc
-collapse
-toggle
-button
{
1889 width
: calc(100%
- 3px
);
1890 height
: calc(100%
- 2px
);
1891 background
-color
: transparent
;
1893 justify
-content
: flex
-end
;
1894 align
-items
: flex
-start
;
1898 /********************/
1899 /* POSTS & COMMENTS */
1900 /********************/
1904 display
: inline
-block
;
1906 font
-size
: 1.0625em
;
1909 overflow
-wrap
: break-word
;
1910 text
-align
: justify
;
1915 .retracted
.body
-text
{
1916 text
-decoration
: line
-through
;
1920 word
-break: break-all
;
1923 .body
-text a
:not([href
]),
1924 .body
-text a
:not([href
]):hover
,
1925 .body
-text a
:not([href
])::before
,
1926 .body
-text a
:not([href
])::after
{
1927 text
-decoration
: none
;
1939 flex
-flow
: row wrap
;
1940 justify
-content
: center
;
1942 .post
-meta
.lw2
-link
{
1947 .post
-meta
.post
-section
::before
{
1950 .post
-meta
.post
-section
{
1955 .post
-meta
.post
-section
::before
,
1956 .comment
-meta
.alignment
-forum
{
1957 visibility
: visible
;
1958 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1961 .post
-section
.frontpage
::before
{
1964 .post
-section
.featured
::before
{
1967 .post
-section
.meta
::before
{
1970 .post
-section
.events
::before
{
1973 .post
-section
.personal
::before
{
1976 .post
-section
.draft
::before
{
1979 .post
-section
.alignment
-forum
::before
,
1980 .comment
-meta
.alignment
-forum
{
1982 font
-family
: Concourse
, 'Changa One';
1985 /*= Karma controls hover tooltips =*/
1987 @media only screen
and (pointer
: fine
) {
1988 .post
.voting
-controls
,
1989 .comment
-item
.voting
-controls
{
1992 .post
.karma
.active
-controls
::after
,
1993 .comment
-item
.karma
.active
-controls
::after
{
1994 content
: "Double-click for strong vote";
1996 pointer
-events
: none
;
2001 white
-space
: normal
;
2003 font
-size
: 0.875rem
;
2005 transition
: opacity
0.2s ease
;
2007 .post
.voting
-controls
.active
-controls
:hover
::after
,
2008 .comment
-item
.voting
-controls
.active
-controls
:hover
::after
{
2012 .post
.voting
-controls
.karma
-value
::after
,
2013 .comment
-item
.voting
-controls
.karma
-value
::after
{
2014 content
: attr(title
);
2016 pointer
-events
: none
;
2019 transform
: translateX(-50%
);
2020 white
-space
: pre
-wrap
;
2023 font
-size
: 0.875rem
;
2026 transition
: opacity
0.2s ease
;
2028 .post
.voting
-controls
.agreement
.karma
-value
:hover
::after
,
2029 .comment
-item
.voting
-controls
.agreement
.karma
-value
:hover
::after
{
2033 .post
.voting
-controls
.karma
-value
:hover
::after
,
2034 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
2037 .post
.voting
-controls
.waiting
.karma
-value
:hover
::after
,
2038 .comment
-item
.voting
-controls
.waiting
.karma
-value
:hover
::after
{
2041 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
2048 .author
:not(.redacted
)::before
{
2049 content
: attr(data
-full
-name
);
2051 pointer
-events
: none
;
2056 transform
: translateX(-50%
);
2057 white
-space
: nowrap
;
2059 font
-size
: 0.875rem
;
2060 font
-weight
: normal
;
2062 transition
: opacity
0.2s ease
;
2065 .author
:hover
::before
{
2084 margin
: 0.5em
0 0 0;
2087 margin
: 1.1em
0 0.35em
0;
2098 .post
.top
-post
-meta
:last
-child
{
2099 margin
-bottom
: 40px
;
2101 .post
.bottom
-post
-meta
{
2106 border
-style
: solid
;
2107 border
-width
: 1px
0;
2120 .event
-info
.map
::before
{
2123 padding
-bottom
: 50%
;
2126 .event
-info
.map iframe
{
2129 border
: 1px solid
#000;
2141 /*******************/
2142 /* POST NAVIGATION */
2143 /*******************/
2147 grid
-template
: 100%
/ 32%
36%
32%
;
2148 grid
-template
-areas
:
2154 justify
-content
: flex
-end
;
2162 border
-top
: 1px solid transparent
;
2164 .post
-nav
.prev
.post
-nav
-title
,
2165 .post
-nav
.next
.post
-nav
-title
{
2166 border
-bottom
: 1px solid transparent
;
2170 align
-items
: center
;
2174 .sequence
-title
.post
-nav
-title
{
2180 align
-items
: flex
-start
;
2182 .post
-nav
.prev
.post
-nav
-title
::before
{
2183 content
: "\F0D9\2005";
2188 align
-items
: flex
-end
;
2190 .post
-nav
.prev
.post
-nav
-label
,
2191 .post
-nav
.next
.post
-nav
-label
{
2194 .post
-nav
.next
.post
-nav
-title
::after
{
2195 content
: "\2004\F0DA";
2197 .post
-nav
.prev
.post
-nav
-title
::before
,
2198 .post
-nav
.next
.post
-nav
-title
::after
{
2199 font
-family
: Font Awesome
;
2201 vertical
-align
: text
-bottom
;
2208 @media only screen
and (max
-width
: 900px
) {
2211 grid
-template
: auto auto
/ 50%
50%
;
2212 grid
-template
-areas
:
2216 .post
-nav
.prev
.post
-nav
-title
,
2217 .post
-nav
.next
.post
-nav
-title
{
2218 border
-bottom
: none
;
2229 @media only screen
and (max
-width
: 520px
) {
2230 .post
-nav
-links +
.comments
{
2235 .related
-posts
, .related
-post
-group
{
2236 padding
-bottom
: 1em
;
2238 .related
-post
-type
{
2242 margin
-bottom
: -0.5em
;
2243 list-style
-type
: disc
;
2244 margin
-left
: -0.5em
;
2247 .related
-post
-type
::before
{
2250 font
-weight
: normal
;
2251 margin
-right
: 0.15em
;
2253 vertical
-align
: baseline
;
2256 .related
-posts
.post
-type
-prefix
{
2269 .post
.link
-post
> .post
-body
> p
:first
-child
{
2272 margin
: 0.5em
0 0 0;
2274 .post
.link
-post
> .post
-body
> p
:only
-child
{
2278 .post
.link
-post a
.link
-post
-link
::before
{
2280 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2285 margin
-right
: 0.25em
;
2305 pointer
-events
: none
;
2308 list-style
-type
: none
;
2312 .comments
.comment
-thread
> li
{
2315 #content > #top-nav-bar + .comment-thread .comment-item {
2322 .comment
-item
.comment
-item
{
2323 margin
: 1em
8px
8px
16px
;
2325 .comment
-item
.comment
-item +
.comment
-item
{
2326 margin
: 2em
8px
8px
16px
;
2335 list-style
-type
: circle
;
2337 .comment
-body
> *:first
-child
{
2340 .comment
-body
> *:last
-child
{
2344 .comments
-empty-message
{
2347 padding
: 0.75em
0 0.9em
0;
2351 /**********************************/
2352 /* DEEP COMMENT THREAD COLLAPSING */
2353 /**********************************/
2355 .comment
-item
> input
[id^
="expand"] {
2358 .comment
-item
> input
[id^
="expand"] + label
{
2364 .comment
-item
> input
[id^
="expand"] + label
::after
{
2365 content
: "(Expand " attr(data
-child
-count
) " below)";
2366 visibility
: visible
;
2369 white
-space
: nowrap
;
2372 .comment
-item
> input
[id^
="expand"]:checked + label
::after
{
2373 content
: "(Collapse " attr(data
-child
-count
) " below)";
2375 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
{
2379 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2382 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
{
2383 max
-height
: 1000000px
;
2386 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2389 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2397 .backlinks
> input
{
2401 .backlinks
> label
{
2408 .backlinks
> label
::before
{
2410 border
-left
: 5px solid currentColor
;
2411 border
-top
: 5px solid transparent
;
2412 border
-bottom
: 5px solid transparent
;
2413 transition
: transform
0.25s ease
-out
;
2414 transform
-origin
: 29%
55%
;
2415 display
: inline
-block
;
2416 padding
-right
: 0.5em
;
2419 .backlinks
> input
:checked + label
::before
{
2420 transform
: rotate(90deg
);
2429 perspective
-origin
: top
;
2430 transform
: perspective(100em
) rotateX(-90deg
);
2431 transform
-origin
: center top
;
2434 margin
-bottom
: 0.5em
;
2437 .backlinks
> input
:checked ~ ul
{
2439 transform
: perspective(100em
) rotateX(0deg
);
2440 transition
: transform
0.25s ease
-in
, opacity
0.25s ease
-in
;
2449 padding
: 2px
24px
2px
10px
;
2453 flex
-flow
: row wrap
;
2454 align
-items
: baseline
;
2456 .user
-page
.comment
-meta
,
2457 .conversation
-page
.comment
-meta
{
2458 padding
-right
: 10px
;
2460 .comment
-meta
.comment
-post
-title
{
2463 text
-overflow
: ellipsis
;
2464 white
-space
: nowrap
;
2467 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2472 display
: none
; /* Not sure if we need to display this... */
2474 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2475 content
: "\2004(OP)";
2479 /*****************************/
2480 /* COMMENT THREAD NAVIGATION */
2481 /*****************************/
2483 a
.comment
-parent
-link
:not(.inline
-author
),
2484 a
.comment
-parent
-link
.inline
-author
::before
{
2487 a
.comment
-parent
-link
:hover
{
2490 a
.comment
-parent
-link
::before
{
2492 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2499 padding
: 3px
3px
0 3px
;
2501 height
: calc(100% +
2px
);
2505 a
.comment
-parent
-link
::after
{
2510 width
: calc(100% +
26px
);
2511 height
: calc(100% +
38px
);
2514 pointer
-events
: none
;
2518 a
.comment
-parent
-link
:hover
::after
{
2519 visibility
: visible
;
2522 .comment
-child
-links
{
2525 .comment
-child
-link
{
2527 display
: inline
-block
;
2529 .comment
-child
-link
::before
{
2531 display
: inline
-block
;
2543 pointer
-events
: none
;
2545 .comment
-popup
.comment
-parent
-link
{
2548 .comment
-popup
.comment
-body
{
2549 font
-size
: 1.0625rem
;
2552 .comment
-item
.depth
-odd
{
2553 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2554 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2556 .comment
-item
.depth
-even
{
2557 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2558 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2561 .comment
-item
:target
{
2562 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2564 .comment
-item
:target
> .comment
-thread
> .comment
-item
{
2565 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2568 /**********************/
2569 /* COMMENT PERMALINKS */
2570 /**********************/
2571 /********************/
2572 /* COMMENT LW LINKS */
2573 /********************/
2575 .comment
-meta
.permalink
::before
,
2576 .comment
-meta
.lw2
-link
::before
,
2577 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2579 display
: inline
-block
;
2586 0 0 0 3px transparent
;
2588 background
-size
: 100%
;
2593 .comment
-meta
.permalink
::before
{
2594 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2596 .comment
-meta
.lw2
-link
::before
{
2597 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2599 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2601 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2603 .comment
-meta
.permalink
:hover
::before
{
2604 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2606 .comment
-meta
.lw2
-link
:hover
::before
{
2607 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2609 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2610 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2612 .comment
-meta
.permalink
:hover
::before
,
2613 .comment
-meta
.lw2
-link
:hover
::before
,
2614 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2617 0 0 0 3px transparent
;
2621 .comment
-meta
.permalink
:active
::before
,
2622 .comment
-meta
.lw2
-link
:active
::before
,
2623 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2624 transform
: scale(0.9);
2627 .comment
-meta
.permalink
,
2628 .comment
-meta
.lw2
-link
,
2629 .individual
-thread
-page
.comment
-parent
-link
:empty {
2633 .comment
-meta
.permalink
::after
,
2634 .comment
-meta
.lw2
-link
::after
,
2635 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2644 pointer
-events
: auto
;
2645 visibility
: visible
;
2648 /*************************/
2649 /* COMMENTS COMPACT VIEW */
2650 /*************************/
2652 #comments-list-mode-selector,
2653 #content.index-page #comments-list-mode-selector,
2654 #content.user-page #comments-list-mode-selector {
2659 justify
-self
: start
;
2662 #comments-list-mode-selector button {
2669 background
-repeat
: no
-repeat
;
2670 background
-size
: 100%
;
2671 background
-origin
: content
-box
;
2673 #comments-list-mode-selector button:disabled {
2676 #comments-list-mode-selector button.expanded {
2677 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2679 #comments-list-mode-selector button.compact {
2680 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2682 @media only screen
and (max
-resolution
: 1dppx
) {
2683 #comments-list-mode-selector button.expanded {
2684 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2686 #comments-list-mode-selector button.compact {
2687 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2691 #content > ul.comment-thread > li.comment-item,
2692 #content.compact > ul.comment-thread > li.comment-item {
2696 #content > .comment-thread {
2699 #content.compact > .comment-thread {
2700 font
-size
: 0.9375rem
;
2703 #content.compact > .comment-thread:hover {
2706 #content.compact > .comment-thread .comment-body {
2707 font
-size
: 1.0625rem
;
2709 #content.compact > .comment-thread .comment-item,
2710 #content.index-page .comment-item.ignored,
2711 #content.inbox-user-page .comment-item.ignored {
2717 #content.compact > .comment-thread .comment-item {
2718 pointer
-events
: none
;
2720 #content.compact > .comment-thread .comment-item::after {
2727 padding
: 0 16px
10px
64px
;
2728 pointer
-events
: auto
;
2730 @media only screen
and (hover
: hover
) {
2731 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2732 #content.compact > .comment-thread .comment-item.expanded {
2734 pointer
-events
: auto
;
2738 @media only screen
and (hover
: none
) {
2739 #content.compact > .comment-thread.expanded .comment-item {
2741 pointer
-events
: auto
;
2745 #content.compact > .comment-thread .comment-item .comment-meta {
2746 white
-space
: nowrap
;
2748 text
-overflow
: ellipsis
;
2751 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2754 #content.compact > .comment-thread .comment-item .comment-meta a {
2755 pointer
-events
: auto
;
2757 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2760 #content.compact > .comment-thread .comment-item .comment-meta .voting-controls + .comment-post-title {
2761 margin
-left
: 0.75em
;
2763 @media only screen
and (hover
: hover
) {
2764 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2765 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2768 #content.compact > .comment-thread .comment-item:hover .comment,
2769 #content.compact > .comment-thread .comment-item.expanded .comment {
2775 #content.compact > .comment-thread .comment-item:hover .comment::before,
2776 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2780 width
: calc(100% +
20px
);
2781 height
: calc(100% +
20px
);
2786 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2787 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2791 @media only screen
and (hover
: none
) {
2792 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2795 #content.compact > .comment-thread.expanded .comment-item .comment {
2801 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2805 width
: calc(100% +
14px
);
2806 height
: calc(100% +
20px
);
2811 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2814 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2823 background
-color
: rgba(0,0,0,0.5);
2827 /*****************************/
2828 /* HIGHLIGHTING NEW COMMENTS */
2829 /*****************************/
2831 .new-comment
::before
{
2837 pointer
-events
: none
;
2840 /***********************************/
2841 /* COMMENT THREAD MINIMIZE BUTTONS */
2842 /***********************************/
2844 .comment
-minimize
-button
{
2845 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2856 .comment
-minimize
-button
:active
{
2857 transform
: scale(0.9);
2859 .comment
-minimize
-button
::after
{
2860 content
: attr(data
-child
-count
);
2861 font
-weight
: normal
;
2862 font
-size
: 0.8125rem
;
2869 #content.individual-thread-page .comment-minimize-button {
2877 #content.comment-thread-page .comment-item.ignored {
2881 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2882 text
-decoration
: line
-through
;
2885 /***********************************/
2886 /* INDIVIDUAL COMMENT THREAD PAGES */
2887 /***********************************/
2889 .individual
-thread
-page
> h1
{
2891 margin
: 0.75em
0 3px
0;
2893 .individual
-thread
-page
.comments
{
2901 .shortform
-index
-page
.comments
::before
{
2906 .shortform
-index
-page
.comments
> .comment
-thread
> .comment
-item
:first
-child
{
2918 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2928 @keyframes waiting
{
2929 0%
{background
-position
: 200%
0%
}
2930 100%
{background
-position
: 0%
0%
}
2933 .voting
-controls
.karma
-value
{
2935 transition
: opacity
0.5s linear
;
2938 .voting
-controls
.waiting
.karma
-value
{
2940 background
: repeat
-x linear
-gradient(70deg
, #000 50%, #fff 75%, #000);
2941 background
-clip
: text
;
2942 -webkit
-background
-clip
: text
;
2944 background
-position
: 200%
0%
;
2945 background
-size
: 200%
100%
;
2946 animation
: waiting
1s linear infinite
;
2949 /* Replicated karma controls at bottom of comments. */
2950 .comment
-controls
.voting
-controls
{
2952 font
-size
: 0.9375em
;
2955 .comment
-controls
.voting
-controls
:first
-of
-type
{
2959 /*****************************/
2960 /* COMMENTING AND POSTING UI */
2961 /*****************************/
2965 margin
: 0 8px
8px
16px
;
2969 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2972 .comments
> .comment
-controls
{
2975 .comments
> .comment
-controls
:last
-child
{
2976 margin
: 8px
0 16px
0;
2979 .posting
-controls input
[type
='submit'] {
2982 font
-size
: 1.125rem
;
2985 .comment
-controls
.cancel
-comment
-button
{
2991 padding
: 4px
8px
2px
4px
;
2994 .comment
-controls
.cancel
-comment
-button
::before
{
2995 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3003 .comment +
.comment
-controls
.action
-button
{
3004 font
-weight
: normal
;
3005 font
-size
: 1.0625em
;
3008 .comment
-controls
.action
-button
::before
{
3009 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3012 .new-comment
-button
{
3016 .comment
-controls
.reply
-button
::before
{
3022 .comment
-meta
.replied
::before
{
3024 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3033 margin
: 0.75em
0 0 0;
3038 display
: inline
-block
;
3039 margin
-bottom
: 0.25em
;
3040 font
-size
: 1.125rem
;
3042 .edit
-post
-link
::before
{
3043 margin
-right
: 0.3em
;
3045 .comment
-controls
.edit
-button
::before
,
3046 .edit
-post
-link
::before
{
3048 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3055 .comment
-controls
.delete
-button
{
3056 margin
-right
: 0.25em
;
3058 .comment
-controls
.edit
-button
,
3059 .comment
-controls
.retract
-button
,
3060 .comment
-controls
.unretract
-button
{
3063 .comment
-controls
.retract
-button
::before
{
3067 .comment
-controls
.unretract
-button
::before
{
3071 .comment
-controls
.delete
-button
::before
{
3075 .comment
-controls
.retract
-button
::before
,
3076 .comment
-controls
.unretract
-button
::before
,
3077 .comment
-controls
.delete
-button
::before
{
3082 .comment
-controls form
{
3085 .textarea
-container
{
3088 .posting
-controls textarea
{
3093 max
-height
: calc(100vh
- 6em
);
3097 border
-style
: solid
;
3098 border
-width
: 29px
1px
1px
1px
;
3102 /* GUIEdit buttons */
3104 .guiedit
-buttons
-container
{
3108 width
: calc(100%
- 2px
);
3111 padding
: 1px
4px
0 4px
;
3114 .comment
-thread
-page
.guiedit
-buttons
-container
{
3115 padding
-right
: 60px
;
3117 .guiedit
-buttons
-container button
{
3121 font
-size
: 0.875rem
;
3125 .guiedit
-buttons
-container button
:active
{
3128 .guiedit
-buttons
-container button
:active div
{
3129 transform
: scale(0.9);
3131 .guiedit
-buttons
-container button sup
{
3135 content
: attr(data
-tooltip
);
3137 font
-weight
: normal
;
3143 white
-space
: nowrap
;
3146 .guiedit
:hover
::after
{
3147 visibility
: visible
;
3150 /* Markdown hints */
3152 .posting
-controls
.markdown
-reference
-link
{
3154 padding
: 1px
0 0 6px
;
3156 .posting
-controls
.markdown
-reference
-link a
{
3157 padding
-right
: 1.5em
;
3158 margin
-right
: 0.15em
;
3159 background
-image
: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAQAAABNTyozAAAEDklEQVR4Ae3cY3QDjRaG0V1e27Zt27Zt27Ztf7Zt27Zt10jOdZtZzbSN2q41533+tsFO4zRi0TKRJVACJdDiJVACJVACJVACZQmUQAmUQAmUQAmUQFkCJVACJVACJVACJVDWuD7P8icnGRcVbdyJ/uRZ+jTZYxwq/lN2qMcozvtMibmySe/TsPeqi0JZ3XsAHm1SZAua9CjgoMQo6UB4uiim5gbXV7Ab1EQxT+P3RRw/dHtV3e39UL3g8XuOEw39QNX3g4LHcYwU/n5uo+q7beGKNqLwJ3U1cteKuepEQ1cid03BJIESKIESKIESKIESaIkl0I3dv7Q7a293c//ShrWym7l/abdbGaCnidJGPFzre6opUdqDtLJXitJ+svpA4Uy30dru6hJRHaCws37L37CDRbWAwvctf38S1QOqe43l7f2iikDheg+x9J5ksqpA4TS3svju5CJRXaCwvX7lG3KAqDZQ+Jby/U4kUM0rNN+7hAQSrvNAC/c4Ewn0/052C8Xd0fkigebbRp/5DdpHJFCxr5nfr4QEUqzmJYC3iQRq1jXuj8cYT6CyTnAv54oEKm9EJFBnJVAC7eoS0XJn2r8qQP/wNFOipUY8wvbVAeIjooXq3ki1gPhHC0A/oWWgQZ/37ZI2FaUdVPpb33LHlQS6scPFstrDQBtAvEpNdLEfsZJA3N3lYsnOcTvaAuKzomttqW+lgXimabFoYx5N20D8SXSlw9yElQfiE0J5dW+lI6BBu4uOO8+dWB0g1hel/YIOgbiVE0VHXefhrB7QTRwtmra3gS4AcW+Xibab8SJWE4h7uaLpn/Ud6AoQTzIu2uzDrDYQzzUjCo17HF0D4g3qoo1+yWoCld8hv5OuAvFl0XLb6V8rQGws5votXQfqs45oqaPdjLUDdNO5f7Xa32APgBhu6b2SC92VtQTEfVwlXOhO9ASI2zhNLKsRj2atAfFCo55Iz4C4nyvFks16OWsRiPvQUyCeblIs0adYq0B6DsTb1EV5fk+1gfiWKG0XAwnUZyPRtOPdggTiRg4UC7rEPUkg4PbOFIXGPIEEmt+DCmeu5rUkUHHPaXj76Qsk0MK9R/ynv5FAzfdDYS9Da+n/xe6ovd2lS/8vVlyfH7o1vQLKJVACJVACJVACJVACIYGW/A6z/A6zG8RcNbdT9d1eTcx1A8eKhn6s6vtxweNYfisaqvupu+jXV8H63cXP1Asev+Wpopi6aVMVbFpdFPMUlP6jdrY/8AgTYkHZhEcAvFNdFMpq3qFh78y/okIT3qk4j8zborn290hN91S/c6zrzapVsFnXO9bvPFXjYtEykSVQAnVUAiVQAiVQAiVQAiVQlkAJlEAJlEAJlEAJlCVQAiVQAiVQAiVQAmX/BMHb3CdNrgcrAAAAAElFTkSuQmCC');
3160 background
-size
: 1.25em
;
3161 background
-repeat
: no
-repeat
;
3162 background
-position
: right center
;
3165 #markdown-hints-checkbox + label {
3167 margin
: 2px
0 0 1em
;
3171 #edit-post-form #markdown-hints-checkbox + label {
3174 #markdown-hints-checkbox {
3178 #markdown-hints-checkbox + label::after {
3179 content
: "(Show Markdown help)";
3181 #markdown-hints-checkbox:checked + label::after {
3182 content
: "(Hide Markdown help)";
3184 #markdown-hints-checkbox + label::before {
3186 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3190 #markdown-hints-checkbox:checked + label::before {
3191 font
-weight
: normal
;
3194 margin
: 4px
0 0 4px
;
3198 top
: calc(100%
- 1em
);
3202 .comment
-controls
#markdown-hints {
3203 top
: calc(100% +
1.75em
);
3205 #markdown-hints-checkbox:checked ~ #markdown-hints {
3208 .markdown
-hints
-row
{
3211 #markdown-hints .markdown-hints-row span,
3212 #markdown-hints .markdown-hints-row code {
3214 display
: table
-cell
;
3216 background
-color
: inherit
;
3217 padding
: 0 12px
0 0;
3220 /******************/
3221 /* EDIT POST FORM */
3222 /******************/
3225 padding
: 1em
1em
4em
1em
;
3227 #edit-post-form .post-meta-fields {
3229 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
3230 margin
-bottom
: 0.625em
;
3233 #edit-post-form label[for='title'],
3234 #edit-post-form label[for='url'],
3235 #edit-post-form label[for='section'] {
3238 #edit-post-form input[type='text'] {
3240 grid
-column
: 2 / span
4;
3241 margin
-bottom
: 0.5em
;
3244 #edit-post-form .link-post-checkbox,
3245 #edit-post-form .link-post-checkbox + label {
3249 #edit-post-form .question-checkbox,
3250 #edit-post-form .question-checkbox + label {
3253 justify
-self
: start
;
3257 #edit-post-form .post-meta-fields label[for="submit-to-frontpage"] {
3259 grid
-column
: 2 / span
4;
3264 #edit-post-form .post-meta-fields input[type='checkbox'] {
3267 pointer
-events
: none
;
3269 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
3270 white
-space
: nowrap
;
3273 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
3276 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
3278 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3279 font
-size
: 1.375rem
;
3288 #edit-post-form label[for='url'],
3289 #edit-post-form input[name='url'] {
3292 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
3293 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
3296 #edit-post-form label {
3297 line
-height
: normal
;
3298 border
: 1px solid transparent
;
3300 padding
: 0.25em
0.5em
;
3301 white
-space
: nowrap
;
3303 #edit-post-form input[type='radio'] {
3307 pointer
-events
: none
;
3309 #edit-post-form input[type='radio'] + label {
3312 border
-style
: solid
;
3313 border
-width
: 1px
1px
1px
0;
3316 #edit-post-form input[type='radio']:checked + label {
3320 #edit-post-form label[for='section'] {
3323 #edit-post-form input[type='radio'] + label {
3326 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
3328 #edit-post-form textarea {
3332 #edit-post-form input[type='submit'] {
3336 #edit-post-form #markdown-hints {
3337 top
: calc(100% +
2em
);
3340 #edit-post-form button.guiedit div {
3343 .guiedit
-mobile
-auxiliary
-button
{
3352 input
[type
='submit'] {
3353 font
-family
: inherit
;
3355 background
-color
: inherit
;
3372 margin
: 1em
0 0.75em
0;
3419 .post
-body
.comment
-box
.comment
-body
{
3422 padding
-left
: 0.5em
;
3424 padding
-bottom
: 3px
;
3426 blockquote
*:first
-child
{
3429 blockquote
*:last
-child
{
3432 blockquote blockquote
{
3436 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3438 .post
-body
.comment
-box
.user
-name
{
3441 .post
-body
.comment
-box
.user
-name
::after
{
3444 .post
-body
.comment
-box
{
3452 #content img, #content figure {
3456 .prediction
-poll
> svg
{
3487 // Aspect ratio trick from https://css-tricks.com/aspect-ratio-boxes/
3489 [style
*="--aspect-ratio"] > * {
3492 [style
*="--aspect-ratio"] > img
{
3495 @supports
(--custom
:property
) {
3496 [style
*="--aspect-ratio"] {
3499 [style
*="--aspect-ratio"]::before
{
3502 padding
-bottom
: calc(100%
/ (var(--aspect
-ratio
)));
3504 [style
*="--aspect-ratio"] > * {
3517 border
-collapse
: collapse
;
3520 .body
-text table th
,
3521 .body
-text table td
{
3526 .body
-text table
.numeric {
3528 font
-family
: Inconsolata
, Menlo
, monospace
;
3530 .body
-text table caption
{
3531 margin
: 0 0 0.25em
0;
3540 /*= Superscripts & subscripts =*/
3542 /* Make sure superscripts and subscripts do not affect line spacing. */
3544 vertical
-align
: baseline
;
3554 /*= Code blocks & other "unstyled" text. =*/
3558 font
-family
: Inconsolata
, Menlo
, monospace
;
3561 white
-space
: pre
-wrap
;
3568 display
: inline
-block
;
3569 padding
: 0 4px
1px
5px
;
3574 padding
: 3px
4px
5px
8px
;
3584 /*= Removing browser default styling of various elements =*/
3586 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3591 /* Remove "embossed" appearance of horizontal rules. */
3599 -webkit
-appearance
: none
;
3600 -moz
-appearance
: none
;
3605 font
-family
: inherit
;
3607 font
-weight
: inherit
;
3615 counter
-reset
: ordered
-list;
3617 .footnote
-definition
{
3619 list-style
-type
: none
;
3620 counter
-increment
: ordered
-list;
3623 .footnote
-definition p
{
3624 font
-size
: inherit
!important
;
3626 .footnote
-definition
::before
{
3627 content
: counter(ordered
-list) ".";
3635 /*= LW Docs footnotes =*/
3641 .footnote
-item
> :not(.nothing
) {
3645 .footnote
-item
> :first
-child
{
3646 margin
-left
: -0.2em
;
3650 .footnote
-back
-link a
:not(.nothing
) {
3652 text
-decoration
: none
;
3656 .footnote
-back
-link a
:not(.nothing
):hover
{
3657 text
-shadow
: 0 0 1px
#fff, 0 0 3px #fff, 0 0 5px #00e;
3659 text
-decoration
: none
;
3662 .footnote
-back
-link a
::after
{
3664 font
-family
: Font Awesome
;
3667 text
-decoration
: none
;
3671 .footnote
-content
> :first
-child
{
3680 margin
-bottom
: 0.5em
;
3693 .body
-text ol
> li
{
3695 counter
-increment
: ol
;
3696 padding
: 0 0 0 2.5em
;
3697 margin
: 0.25em
0 0 0;
3699 .body
-text ol
> li
::before
{
3700 content
: counter(ol
) ".";
3710 .body
-text ul
:not(.contents
-list) > li
:empty {
3711 padding
-bottom
: 1.25em
;
3713 .body
-text ul
:not(.contents
-list) > li
{
3715 padding
: 0 0 0 1.75em
;
3716 margin
: 0.25em
0 0 0;
3718 .body
-text ul
:not(.contents
-list) > li ul
> li
{
3721 .body
-text ul
:not(.contents
-list) > li
::before
{
3728 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
3731 .body
-text li
> ul
:first
-child
> li
{
3734 .body
-text li
> ul
:first
-child
> li
::before
{
3746 .error
-retry
-form input
[type
="submit"] {
3747 border
: 1px solid
#aaa;
3749 font
-size
: 1.125rem
;
3750 padding
: 0.5em
1.25em
;
3757 #content.about-page .contents {
3760 #content.about-page .accesskey-table {
3761 border
-collapse
: collapse
;
3764 #content.about-page .accesskey-table th,
3765 #content.about-page .accesskey-table td {
3768 #content.about-page .accesskey-table td:first-child {
3769 padding
-right
: 1.5em
;
3771 #content.about-page .accesskey-table td:last-child {
3773 font
-family
: Inconsolata
, Menlo
, monospace
;
3775 #content.about-page h3:nth-of-type(n+2) {
3779 /******************/
3780 /* IMAGES OVERLAY */
3781 /******************/
3783 #images-overlay + #content .post-body img {
3787 #images-overlay div {
3790 #images-overlay div::after {
3791 content
: "Click to enlarge";
3800 background
-color
: rgba(0,0,0,0.6);
3804 transition
: opacity
0.15s ease
;
3805 pointer
-events
: none
;
3807 <?php
fit_content("#images-overlay div::after"); ?
>
3808 #images-overlay div:hover::after {
3812 #images-overlay img {
3820 /*=--------------=*/
3821 /*= Hover styles =*/
3822 /*=--------------=*/
3825 #images-overlay img:hover {
3826 filter
: drop
-shadow(0 0 3px
#777);
3829 #content img:active,
3830 #images-overlay img:active {
3831 transform
: scale(0.975);
3838 #image-focus-overlay {
3848 #image-focus-overlay::before {
3856 background
-color
: #000;
3860 #image-focus-overlay.engaged {
3864 #image-focus-overlay img {
3869 transform
: translateX(-50%
) translateY(-50%
);
3872 /*=-------------------=*/
3873 /*= Single-image mode =*/
3874 /*=-------------------=*/
3876 #image-focus-overlay:not(.slideshow) .image-number,
3877 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3885 #image-focus-overlay .caption {
3888 background
-color
: rgba(0,0,0,0.7);
3892 max
-width
: calc(100%
- 18em
);
3900 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3901 #image-focus-overlay .caption.hidden {
3907 #image-focus-overlay .caption p {
3912 #image-focus-overlay .caption:not(:empty)::before {
3917 height
: calc(100% +
1.5em
);
3920 left
: calc(-50vw +
50%
);
3924 /*=--------------=*/
3925 /*= Help overlay =*/
3926 /*=--------------=*/
3928 #image-focus-overlay .help-overlay {
3935 border
-radius
: 10px
;
3939 white
-space
: nowrap
;
3946 background
-color
1s ease
,
3949 #image-focus-overlay .help-overlay:hover {
3952 background
-color
: rgba(0,0,0,0.85);
3954 visibility
: visible
;
3956 visibility
0.2s ease
0.3s
,
3957 color
0.2s ease
0.3s
,
3958 background
-color
0.2s ease
0.3s
;
3961 #image-focus-overlay .help-overlay::after {
3963 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3971 filter
: drop
-shadow(0 0 6px
#fff);
3972 visibility
: visible
;
3977 #image-focus-overlay .help-overlay:hover::after {
3980 visibility
0.2s ease
0.3s
;
3983 #image-focus-overlay .help-overlay p {
3990 #image-focus-overlay .help-overlay p + p {
3991 margin
: 0.75em
0 0 0;
3993 #image-focus-overlay .help-overlay.hidden {
3997 /*=--------------=*/
3998 /*= Slide number =*/
3999 /*=--------------=*/
4001 #image-focus-overlay .image-number {
4015 white
-space
: nowrap
;
4016 transition
: bottom
0.3s ease
;
4018 #image-focus-overlay .image-number::before {
4022 #image-focus-overlay .image-number::after {
4023 content
: " of " attr(data
-number
-of
-images
);
4026 #image-focus-overlay .image-number:hover::before,
4027 #image-focus-overlay .image-number:hover::after {
4030 #image-focus-overlay .image-number.hidden {
4034 /*=-------------------=*/
4035 /*= Slideshow buttons =*/
4036 /*=-------------------=*/
4038 #image-focus-overlay .slideshow-buttons {
4046 justify
-content
: space
-between
;
4047 pointer
-events
: none
;
4049 #image-focus-overlay .slideshow-buttons button {
4050 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4059 pointer
-events
: auto
;
4061 #image-focus-overlay .slideshow-buttons button::selection {
4062 background
-color
: transparent
;
4064 @media only screen
and (hover
: hover
) {
4065 #image-focus-overlay .slideshow-buttons button:hover {
4066 background
-color
: rgba(0,0,0,0.1);
4070 #image-focus-overlay .slideshow-buttons button:active {
4074 #image-focus-overlay .slideshow-buttons button:disabled {
4076 background
-color
: transparent
;
4081 #image-focus-overlay .slideshow-button.previous.hidden {
4084 #image-focus-overlay .slideshow-button.next.hidden {
4088 /*=-----------------=*/
4089 /*= Background blur =*/
4090 /*=-----------------=*/
4096 /**************************/
4097 /* QUALIFIED HYPERLINKING */
4098 /**************************/
4100 #content.no-nav-bars {
4103 #content.no-nav-bars + #ui-elements-container > * {
4110 left
: calc((100%
- 900px
) / 2 - 69px
);
4117 display
: table
-cell
;
4119 vertical
-align
: middle
;
4120 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4127 .qualified
-linking
{
4131 .qualified
-linking input
[type
='checkbox'] {
4137 .qualified
-linking label
{
4138 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4142 display
: inline
-block
;
4143 margin
-left
: 0.25em
;
4145 .qualified
-linking label
:hover
{
4148 .qualified
-linking label
:active span
{
4149 display
: inline
-block
;
4150 transform
: scale(0.9);
4152 .qualified
-linking label
::selection
{
4153 background
-color
: transparent
;
4156 .qualified
-linking label
::after
{
4166 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
4170 .qualified
-linking
-toolbar
{
4176 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
4179 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
4182 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
4187 .qualified
-linking
-toolbar a
{
4192 .qualified
-linking
-toolbar a
::selection
{
4193 background
-color
: transparent
;
4200 #preview-popup-toggle {
4205 color
: var(--GW
-toggle
-widget
-color
, #888);
4207 #preview-popup-toggle:hover {
4208 color
: var(--GW
-toggle
-widget
-hover
-color
, #444);
4211 #content.preview:not(not) {
4214 #content.preview > .comment-thread {
4217 #content.preview.individual-thread-page > .comment-thread > .comment-item {
4220 #content.preview.user-page .page-main-heading, #content.preview.user-page .user-stats {
4223 #content.preview.user-page .page-main-heading {
4226 #content.preview.not(not) .body-text {
4230 #content.preview.user-page .user-stats {
4233 #content.preview.user-page .page-toolbar, #content.preview.user-page nav {
4236 #content.preview button.vote {
4239 #content.preview > h1.listing {
4242 #content.preview.user-page > .comment-thread {
4245 #content.preview > .post {
4248 #content.preview .post-title {
4251 #content.preview .post-meta {
4254 #content.preview .body-text {
4257 #content.preview nav.contents,
4258 #content.preview .lw2-link {
4264 transform
-origin
: top
;
4269 background
-color
: #eee;
4270 border
: 1px solid
#ccc;
4271 box
-shadow
: 2px
6px
20px
-4px
#000;
4272 transition
: height
0.2s ease
, top
0.2s ease
;
4274 .popup
-hide
-button
{
4279 background
-color
: #fff;
4283 font
-family
: "Font Awesome";
4286 border
: 1px solid
#bbb;
4287 border
-radius
: 28px
;
4288 align
-items
: center
;
4289 justify
-content
: center
;
4290 //padding-bottom: 2px;
4291 padding
-left
: 1.5px
;
4292 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4295 .popup
-hide
-button
:hover
::before
{
4296 content
: "Turn off preview popups";
4302 background
-color
: #fff;
4303 border
: 1px solid
#eee;
4312 .mathjax
-block
-container
{
4316 margin
: 1em
0 1.5em
0;
4318 .mathjax
-inline
-container
{
4325 #content .mathjax-inline-container,
4326 #content .mathjax-inline-container .mjpage,
4327 #content .mathjax-inline-container .mjx-chtml,
4328 #content .mathjax-inline-container .mjx-math,
4329 #content .mathjax-inline-container .mjx-mrow {
4331 white
-space
: normal
;
4333 .post
.mathjax
-inline
-container
{
4336 .comment
.mathjax
-inline
-container
{
4339 .mathjax
-inline
-container
.mjx
-chtml
{
4348 color
: #000; /* invert-override: #666 */
4349 background
-color
: currentColor
;
4353 box
-shadow
: 0 0 0 1px currentColor inset
;
4356 .spoiler
:not(:last
-child
) {
4359 #content .spoiler * {
4365 background
-color
: unset;
4368 color
0.1s ease
-out
0.1s
,
4369 background
-color
0.1s ease
-out
0.1s
,
4370 text
-shadow
0.1s ease
-out
0.1s
;
4372 .spoiler
::selection
,
4373 .spoiler
::selection
{
4375 background
-color
: #000; /* invert-override: #666 */
4377 .spoiler
:not(:hover
)::selection
,
4378 .spoiler
:not(:hover
) ::selection
{
4379 background
-color
: transparent
;
4382 /*= Fix for LessWrong being weird =*/
4387 .spoiler
> p
:first
-child
{
4390 .spoiler
> p
:last
-child
{
4392 padding
-bottom
: 0.25em
;
4394 #content .spoiler > p:hover ~ p {
4395 color
: #000; /* invert-override: #666 */
4396 background
-color
: currentColor
;
4401 .spoiler
> p
:not(:first
-child
) {
4404 .spoiler
> p
:not(:last
-child
) {
4405 padding
-bottom
: 0.5em
;
4408 .spoiler
:not(:hover
) pre
,
4409 .spoiler
:not(:hover
) code
{
4410 background
-color
: inherit
;
4413 #content .spoiler pre {
4414 border
-color
: currentColor
;
4415 border
-style
: solid
;
4416 border
-width
: 0 1px
;
4420 /*******************/
4421 /* PAGE LIST INDEX */
4422 /*******************/
4429 .page
-list-index
> p
{
4434 .page
-list-index
> ul
* {
4438 .page
-list-index ul
{
4439 padding
-left
: 1.5em
;
4442 .page
-list-index li
{
4446 .page
-list-index li
> a
{
4453 .page
-list-index li
> a
:last
-child
{
4462 .textarea
-container
.autocomplete
-container
{
4465 font
-size
: 1.125rem
;
4467 backdrop
-filter
: blur(2px
);
4470 .textarea
-container
.autocomplete
-container
:empty {
4474 @media only screen
and (min
-width
: 521px
) {
4475 .textarea
-container
.autocomplete
-container
.inside
{
4476 max
-height
: calc(100%
- 36px
);
4479 .textarea
-container
.autocomplete
-container
.outside
{
4480 max
-height
: calc(100%
- 28px
);
4485 .textarea
-container
.autocomplete
-container
.inside
.right
{
4488 .textarea
-container
.autocomplete
-container
.inside
.left
{
4491 .textarea
-container
.autocomplete
-container
.outside
.right
{
4492 left
: calc(100% +
3px
);
4494 .textarea
-container
.autocomplete
-container
.outside
.left
{
4495 right
: calc(100% +
3px
);
4498 head
.content
-width
-normal + body
.textarea
-container
.autocomplete
-container
.outside
{
4499 max
-width
: calc((100vw
- (900px
- 40px
* 2)) / 2);
4501 head
.content
-width
-wide + body
.textarea
-container
.autocomplete
-container
.outside
{
4502 max
-width
: calc((100vw
- (1150px
- 40px
* 2)) / 2);
4504 head
.content
-width
-fluid + body
.textarea
-container
.autocomplete
-container
.outside
{
4505 max
-width
: calc((300px +
40px
* 2) / 2);
4509 .textarea
-container
.autocomplete
-container div
{
4510 padding
: 2px
8px
0 8px
;
4511 white
-space
: nowrap
;
4513 justify
-content
: flex
-end
;
4516 .textarea
-container
.autocomplete
-container div span
.name
{
4518 width
: calc(100%
- 9em
);
4520 text
-overflow
: ellipsis
;
4522 .textarea
-container
.autocomplete
-container div span
.name
:hover
{
4526 .textarea
-container
.autocomplete
-container div span
.age
,
4527 .textarea
-container
.autocomplete
-container div span
.karma
{
4531 .textarea
-container
.autocomplete
-container div span
.age
{
4534 .textarea
-container
.autocomplete
-container div span
.karma
{
4543 h2
.sequence
-chapter
,
4544 h3
.sequence
-chapter
,
4545 h4
.sequence
-chapter
{
4548 h2
.sequence
-chapter
::before
,
4549 h3
.sequence
-chapter
::before
,
4550 h4
.sequence
-chapter
::before
{
4553 margin
: 1.5em
0 0.75em
0;
4555 font
-weight
: normal
;
4556 font
-family
: <?php
echo $UI_font; ?
>;
4558 h2
.sequence
-chapter
::before
{
4561 h3
.sequence
-chapter
::before
{
4562 content
: '\25AA\2004\25AA';
4564 h4
.sequence
-chapter
::before
{
4565 content
: '\00B7\2004\00B7\2004\00B7';
4569 /*******************/
4570 /* ALIGNMENT FORUM */
4571 /*******************/
4573 #content.alignment-forum-index-page::after {
4574 content
: "Alignment Forum";
4576 margin
: 0.375em
0 0 -0.375em
;
4580 /**********************/
4581 /* FOR NARROW SCREENS */
4582 /**********************/
4584 @media only screen
and (max
-width
: 1440px
) {
4587 padding
: 8px
10px
10px
10px
;
4591 #hns-date-picker::before {
4596 height
: calc(100% +
2px
);
4602 @media only screen
and (max
-width
: 1160px
) {
4603 #new-comment-nav-ui {
4611 #hns-date-picker::before {
4612 width
: calc(100%
- 35px
);
4614 #theme-selector button::before {
4618 #theme-selector:hover::after {
4622 width
: calc(6em
- 7px
);
4623 height
: calc(100% +
2px
);
4625 left
: calc(100% +
1px
);
4627 #anti-kibitzer-toggle {
4631 @media only screen
and (max
-width
: 1080px
) {
4635 #width-selector button {
4638 #text-size-adjustment-ui {
4642 #text-size-adjustment-ui button {
4646 #text-size-adjustment-ui button.increase {
4649 #text-size-adjustment-ui button.decrease {
4656 #theme-tweaker-toggle {
4660 #theme-tweaker-toggle button {
4668 #new-comment-nav-ui {
4674 #hns-date-picker::before {
4675 width
: calc(100%
- 22px
);
4677 #anti-kibitzer-toggle {
4681 @media only screen
and (max
-width
: 1040px
) {
4685 #new-comment-nav-ui {
4691 #hns-date-picker::before {
4692 width
: calc(100%
- 17px
);
4694 #anti-kibitzer-toggle {
4698 @media only screen
and (max
-width
: 1020px
) {
4702 #new-comment-nav-ui {
4705 #new-comment-nav-ui .new-comments-count::before {
4709 height
: calc(100% +
45px
);
4717 #hns-date-picker::before {
4720 #anti-kibitzer-toggle {
4724 @media only screen
and (max
-width
: 1000px
) {
4731 #theme-selector button {
4734 #text-size-adjustment-ui {
4738 @media not screen
and (hover
: none
) {
4740 #new-comment-nav-ui,
4741 #new-comment-nav-ui + #hns-date-picker,
4742 #anti-kibitzer-toggle {
4745 #quick-nav-ui:hover,
4746 #new-comment-nav-ui:hover,
4747 #new-comment-nav-ui + #hns-date-picker:hover,
4748 #new-comment-nav-ui + #hns-date-picker:focus-within,
4749 #new-comment-nav-ui:hover + #hns-date-picker,
4750 #anti-kibitzer-toggle:hover {
4754 #theme-tweaker-toggle {
4770 #ui-elements-container {
4776 #images-overlay + #content .post-body img {
4777 visibility
: visible
;
4782 #comments-sort-mode-selector {
4785 .comment
-minimize
-button
{
4788 .post
-meta
.qualified
-linking
,
4789 .post
-meta
.lw2
-link
{
4792 .comment
-meta
.permalink
,
4793 .comment
-meta
.lw2
-link
,
4794 .comment
-meta
.comment
-parent
-link
{
4797 .new-comment
::before
{
4805 <?php
include("style_mobile_additions.css.php"); ?
>
4807 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4811 ## TO BE IMPLEMENTED:
4812 ## This will be specified via command-line argument; but for now, we just
4813 ## include all available additions (currently, only 'accordius').
4819 foreach ($additions as $addition) {
4820 $potential_includes = [
4822 "style_mobile_additions.css.php"
4824 foreach ($potential_includes as $include) {
4825 $include_path = "{$addition}/{$include}";
4826 if (file_exists($include_path))
4827 include ($include_path);