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")) ?>');
784 .theme
-selector button
:nth
-of
-type(9) {
785 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_I.gif")) ?>');
788 /*=------------------------------=*/
789 /*= Theme select button tooltips =*/
790 /*=------------------------------=*/
791 /* (with the name & description of the theme that each button selects) */
793 #theme-selector button {
797 #theme-selector button::before {
798 content
: attr(data
-theme
-name
);
802 padding
: 5px
6px
6px
6px
;
809 #theme-selector:hover button::before {
812 #theme-selector:hover ~ #theme-tweaker-toggle,
813 #theme-selector:active ~ #theme-tweaker-toggle {
817 /************************/
818 /* THEME TWEAKER TOGGLE */
819 /************************/
821 #theme-tweaker-toggle {
826 #theme-tweaker-toggle button {
827 font
-family
: "Font Awesome", "Font Awesome 5 Free";
833 #theme-tweaker-toggle button:hover {
837 /*******************/
838 /* QUICKNAV WIDGET */
839 /*******************/
847 font
-family
: "Font Awesome", "Font Awesome 5 Free";
857 #quick-nav-ui a[href='#comments'].no-comments {
858 pointer
-events
: none
;
863 #content.post-page ~ #ui-elements-container #quick-nav-ui a[href='#comments'] {
867 /************************/
868 /* NEW COMMENT QUICKNAV */
869 /************************/
871 #new-comment-nav-ui {
876 #new-comment-nav-ui > * {
880 #new-comment-nav-ui.no-comments {
884 /*=--------------------=*/
885 /*= New comments count =*/
886 /*=--------------------=*/
888 #new-comment-nav-ui .new-comments-count {
896 #new-comment-nav-ui .new-comments-count::selection {
897 background
-color
: transparent
;
899 #new-comment-nav-ui .new-comments-count::after {
905 /*=-----------------------------------=*/
906 /*= Next/previous new comment buttons =*/
907 /*=-----------------------------------=*/
909 #new-comment-nav-ui .new-comment-sequential-nav-button {
911 font
-family
: "Font Awesome", "Font Awesome 5 Free";
916 #new-comment-nav-ui .new-comment-previous {
919 #new-comment-nav-ui .new-comment-next {
922 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
924 pointer
-events
: none
;
927 /*******************/
928 /* HNS DATE PICKER */
929 /*******************/
937 #hns-date-picker:hover,
938 #hns-date-picker:focus-within {
941 #hns-date-picker.no-comments {
945 /*=---------------=*/
946 /*= "Since" label =*/
947 /*=---------------=*/
949 #hns-date-picker span {
952 text
-transform
: uppercase
;
955 /*=--------------------=*/
956 /*= "Since" text field =*/
957 /*=--------------------=*/
959 #hns-date-picker input {
964 box
-shadow
: 0 0 0 1px transparent
;
967 /************************/
968 /* ANTI-KIBITZER TOGGLE */
969 /************************/
971 #anti-kibitzer-toggle {
976 #anti-kibitzer-toggle button {
982 #anti-kibitzer-toggle button::before,
983 #anti-kibitzer-toggle button::after {
984 font
-family
: "Font Awesome", "Font Awesome 5 Free";
986 #anti-kibitzer-toggle button::before {
992 #anti-kibitzer-toggle button::after {
993 content
: "\F007\2004\F164";
997 #anti-kibitzer-toggle.engaged button::before {
1001 #anti-kibitzer-toggle button::before,
1002 #anti-kibitzer-toggle button::after {
1003 background
-color
: var(--GW
-toggle
-widget
-color
);
1004 -webkit
-background
-clip
: text
;
1006 text
-shadow
: var(--GW
-toggle
-widget
-shadow
-color
) 0px
1px
1px
;
1008 #anti-kibitzer-toggle button:hover::before,
1009 #anti-kibitzer-toggle button:hover::after {
1010 background
-color
: var(--GW
-toggle
-widget
-hover
-color
);
1013 /************************/
1014 /* TEXT SIZE ADJUSTMENT */
1015 /************************/
1017 #text-size-adjustment-ui {
1023 #text-size-adjustment-ui:hover {
1027 /* This doesn't work in Mozilla browsers, so hide it */
1028 @-moz
-document url
-prefix() {
1029 #text-size-adjustment-ui {
1038 #text-size-adjustment-ui button {
1040 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1046 #text-size-adjustment-ui button.default {
1047 font
-family
: inherit
;
1048 font
-size
: 1.125rem
;
1052 #text-size-adjustment-ui button:disabled {
1055 #text-size-adjustment-ui button:disabled:hover {
1059 /*=----------------=*/
1060 /*= Hover tooltips =*/
1061 /*=----------------=*/
1063 #text-size-adjustment-ui::after {
1064 content
: "Adjust text size";
1074 #text-size-adjustment-ui:hover::after {
1075 visibility
: visible
;
1078 /*******************************/
1079 /* COMMENTS VIEW MODE SELECTOR */
1080 /*******************************/
1082 #comments-view-mode-selector {
1088 #comments-view-mode-selector:hover {
1096 #comments-view-mode-selector a {
1098 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1105 #comments-view-mode-selector a.threaded {
1106 transform
: scaleY(-1);
1109 #comments-view-mode-selector a.chrono {
1110 font
-weight
: normal
;
1112 #comments-view-mode-selector a.selected,
1113 #comments-view-mode-selector a:hover {
1115 text
-decoration
: none
;
1117 #comments-view-mode-selector a.selected {
1125 #keyboard-help-overlay {
1128 background
-color
: rgba(0,0,0,0.7);
1135 justify
-content
: center
;
1136 align
-items
: center
;
1137 padding
: 20px
30px
30px
20px
;
1142 #keyboard-help-overlay .keyboard-help-container {
1143 background
-color
: #fff;
1144 filter
: drop
-shadow(4px
4px
2px
#000);
1151 #keyboard-help-overlay .keyboard-help-container h1 {
1153 border
-bottom
: 1px solid
#ddd;
1157 #keyboard-help-overlay .keyboard-help-container .note {
1162 #keyboard-help-overlay .keyboard-help-container .keyboard-shortcuts-lists {
1166 border
-top
: 1px solid
#ddd;
1169 #keyboard-help-overlay .keyboard-help-container ul {
1170 list-style
-type
: none
;
1173 break-inside
: avoid
;
1174 white
-space
: nowrap
;
1176 #keyboard-help-overlay .keyboard-help-container ul:nth-of-type(n+2) {
1179 #keyboard-help-overlay .keyboard-help-container ul li.section {
1181 font
-size
: 1.125rem
;
1184 #keyboard-help-overlay .keyboard-help-container .keys {
1185 margin
: 0 0.5em
0 0;
1187 display
: inline
-block
;
1189 #keyboard-help-overlay .keyboard-help-container .keys code {
1192 #keyboard-help-overlay .keyboard-help-container code {
1193 display
: inline
-block
;
1194 background
-color
: #eee;
1195 border
: 1px solid
#ccc;
1196 padding
: 3px
8px
4px
8px
;
1199 #keyboard-help-overlay .keyboard-help-container code.ak {
1200 background
-color
: #ffeb83;
1201 border
-color
: #d4a500;
1203 #keyboard-help-overlay .keyboard-help-container code.ak::before {
1208 #nav-item-about button.open-keyboard-help {
1211 @media only screen
and (hover
:hover
) and (pointer
:fine
) {
1214 padding
-right
: 0.25em
;
1216 #nav-item-about button.open-keyboard-help {
1217 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1226 background
-color
: transparent
;
1230 #keyboard-help-overlay button.close-keyboard-help {
1234 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1244 margin
: 1.25em
0.5em
0 0.5em
;
1250 .archive
-nav
*[class^
='archive-nav-item'] {
1254 padding
: 6px
4px
4px
4px
;
1257 @-moz
-document url
-prefix() {
1258 .archive
-nav
*[class^
='archive-nav-item'] {
1262 .archive
-nav
-days
.archive
-nav
-item
-day
{
1264 padding
: 7px
0 5px
0;
1267 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1276 margin
: 1.25em
0.5em
0 0.5em
;
1282 .archive
-nav
*[class^
='archive-nav-item'] {
1286 padding
: 6px
4px
4px
4px
;
1289 @-moz
-document url
-prefix() {
1290 .archive
-nav
*[class^
='archive-nav-item'] {
1294 .archive
-nav
-days
.archive
-nav
-item
-day
{
1296 padding
: 7px
0 5px
0;
1299 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1308 font
-size
: 1.875rem
;
1318 /* Links to link-posts (not the link-post links themselves; that's below) */
1319 h1
.listing
.link
-post
-link + a
{
1320 margin
-left
: 0.25em
;
1323 h1
.listing
.link
-post
-link
{
1326 vertical
-align
: top
;
1331 /*=----------------------=*/
1332 /*= Listing hover reveal =*/
1333 /*=----------------------=*/
1334 /* (On desktops, hover over a multi-line listing to reveal all of it) */
1336 @media only screen
and (min
-width
: 1160px
) {
1339 display
: inline
-block
;
1340 white
-space
: nowrap
;
1341 text
-overflow
: ellipsis
;
1343 border
-bottom
: 1px solid transparent
;
1344 -webkit
-hyphens
: auto
;
1349 padding
: 0 0 1px
1px
;
1351 h1
.listing
.link
-post
-link + a
{
1352 max
-width
: calc(100%
- 40px
);
1355 h1
.listing a
:focus
{
1356 text
-decoration
: dotted underline
;
1357 white
-space
: initial
;
1361 h1
.listing
:focus
-within
::before
{
1363 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1369 /* Adds hysteresis to the hover area (i.e., prevents oscillation due to small
1371 <?php
$margin_of_hover_error = '10px'; ?
>
1373 h1
.listing a
:not(.edit
-post
-link
):hover
::before
{
1376 top
: -<?php
echo $margin_of_hover_error; ?
>;
1377 right
: -<?php
echo $margin_of_hover_error; ?
>;
1378 bottom
: -<?php
echo $margin_of_hover_error; ?
>;
1379 left
: -<?php
echo $margin_of_hover_error; ?
>;
1382 h1
.listing
.link
-post
-link
:hover
{
1383 text
-decoration
: none
;
1387 /*=-----------------------=*/
1388 /*= In-listing edit links =*/
1389 /*=-----------------------=*/
1391 h1
.listing
.edit
-post
-link
{
1396 /*=---------------------------------=*/
1397 /*= Error messages on listing pages =*/
1398 /*=---------------------------------=*/
1403 padding
: 1.25em
0 1.25em
0;
1407 /*********************/
1408 /* LISTING POST-META */
1409 /*********************/
1411 h1
.listing +
.post
-meta
{
1413 justify
-content
: flex
-start
;
1414 margin
: 0 20px
0 21px
;
1417 h1
.listing +
.post
-meta
> * {
1421 h1
.listing +
.post
-meta
.post
-section
{
1426 h1
.listing +
.post
-meta
.post
-section
::before
{
1431 h1
.listing +
.post
-meta
.read
-time
{
1435 /********************/
1436 /* SEQUENCES & TAGS */
1437 /********************/
1439 .sequence
-text
, .tag
-description
{
1444 #content.tag-index-page .tag-description {
1454 h1
.sequence
-chapter
{
1462 .post
-meta +
.comments
{
1470 border
-bottom
: 1px solid
#999;
1471 padding
-bottom
: 1em
;
1475 #content.sequence-page h1 {
1483 /*=---------------------=*/
1484 /*= User's display name =*/
1485 /*=---------------------=*/
1487 #content.user-page h1.page-main-heading {
1488 margin
: 0.25em
0 0 0;
1490 grid
-column
: 1 / span
2;
1494 #content.user-page h1.page-main-heading .user-full-name {
1496 font
-weight
: normal
;
1497 padding
-left
: 0.5em
;
1500 /*=--------------------=*/
1501 /*= User's karma total =*/
1502 /*=--------------------=*/
1504 #content.user-page .user-stats {
1511 #content.user-page .user-stats .karma-type {
1512 white
-space
: nowrap
;
1515 /*=----------------------=*/
1516 /*= Expanded vs. compact =*/
1517 /*=----------------------=*/
1519 #content.user-page #comments-list-mode-selector {
1522 #content.user-page #comments-list-mode-selector button {
1526 /*=----------------------------------------------------=*/
1527 /*= All, Posts, Comments, Drafts, Conversations, Inbox =*/
1528 /*=----------------------------------------------------=*/
1530 #content.user-page .sublevel-nav {
1531 margin
-bottom
: 0.5em
;
1534 /*=--------------=*/
1535 /*= User's posts =*/
1536 /*=--------------=*/
1538 #content.user-page h1.listing {
1539 margin
: 0.5em
0 0 0;
1542 #content.user-page .user-bio :first-child {
1550 /*=----------------------=*/
1551 /*= List of participants =*/
1552 /*=----------------------=*/
1554 #content.conversation-page .conversation-participants {
1555 grid
-column
: 2 / span
2;
1557 margin
: 0.5em
0 0 0;
1559 .post
-meta
> .conversation
-participants
{
1560 white
-space
: normal
;
1562 .conversation
-participants ul
,
1563 .conversation
-participants li
{
1564 list-style
-type
: none
;
1565 display
: inline
-block
;
1569 .conversation
-participants li
{
1570 margin
-left
: 0.375em
;
1572 .conversation
-participants li
:not(:last
-of
-type
)::after
{
1576 /*=-------------------------=*/
1577 /*= Posting controls (form) =*/
1578 /*=-------------------------=*/
1580 #content.conversation-page .posting-controls {
1583 #content.conversation-page .post-meta-fields {
1586 flex
-flow
: row wrap
;
1588 .posting
-controls
.standalone textarea
{
1589 margin
-top
: 0.375em
;
1591 .posting
-controls
.standalone form
{
1594 #content.conversation-page .posting-controls.standalone form {
1595 padding
: 0 1em
3em
1em
;
1597 .posting
-controls
.standalone input
[type
='text'],
1598 .posting
-controls
.standalone label
{
1601 .posting
-controls
.standalone label
{
1605 border
: 1px solid transparent
;
1607 .posting
-controls
.standalone input
[type
='text'] {
1608 width
: calc(100%
- 4em
);
1611 .posting
-controls
.standalone input
[type
='submit'] {
1614 .posting
-controls
.standalone
#markdown-hints-checkbox ~ label {
1615 white
-space
: nowrap
;
1617 .posting
-controls
.standalone
#markdown-hints {
1618 top
: calc(100% +
2em
);
1621 /*=--------------------=*/
1622 /*= Conversation title =*/
1623 /*=--------------------=*/
1625 #content.conversation-page h1.page-main-heading {
1635 #content.conversation-page > ul.comment-thread:last-of-type {
1639 /******************/
1640 /* SEARCH RESULTS */
1641 /******************/
1643 #content.search-results-page h1.listing,
1644 #content.sequence-page h1.listing,
1645 #content.post-page h1.listing {
1657 flex
-flow
: row wrap
;
1660 .login
-container form
{
1663 grid
-row
-gap
: 0.5em
;
1664 align
-content
: start
;
1666 .login
-container form label
{
1668 padding
: 0.25em
0.5em
;
1669 white
-space
: nowrap
;
1672 .login
-container form input
{
1676 .login
-container form input
[type
='submit'],
1677 .login
-container form a
{
1679 justify
-self
: center
;
1681 .login
-container form input
[type
='submit'] {
1685 margin
: 0.5em
0 0 0;
1687 .login
-container form h1
{
1693 /* “Log in” form */
1696 grid
-template
-columns
: 5.5em
1fr
;
1697 padding
: 0.5em
2em
0.5em
0;
1700 /* “Create account” form */
1704 grid
-template
-columns
: 8.5em
1fr
;
1705 padding
: 0.5em
1em
1em
1em
;
1710 #signup-form input[type='submit'] {
1711 padding
: 0.4em
0.5em
0.5em
0.5em
;
1716 .login
-container
.login
-tip
{
1717 padding
: 0.5em
0.5em
0.5em
3em
;
1718 margin
: 2em
4em
0 4em
;
1722 .login
-container
.login
-tip span
{
1728 #content.login-page .error-box {
1729 margin
: 1.5em
0.875em
-1.5em
0.875em
;
1731 .error
-box
, .success
-box
{
1736 /***********************/
1737 /* PASSWORD RESET PAGE */
1738 /***********************/
1740 .reset
-password
-container
{
1743 .reset
-password
-container input
[type
='submit'] {
1744 padding
: 0.2em
0.5em
;
1747 .reset
-password
-container input
{
1751 .reset
-password
-container label
{
1752 display
: inline
-block
;
1755 .reset
-password
-container form
> div
{
1758 .reset
-password
-container
.action
-container
{
1762 .reset
-password
-container
.error
-box
{
1767 /*********************/
1768 /* TABLE OF CONTENTS */
1769 /*********************/
1775 margin
: 1.25em
0 0.75em
1.25em
;
1776 padding
: 7px
14px
10px
10px
;
1781 .collection
-page
.contents
{
1787 margin
-bottom
: 0.25em
;
1790 .body
-text
.contents ul
{
1791 list-style
-type
: none
;
1792 margin
: 0 0 0 0.5em
;
1793 counter
-reset
: toc
-item
-1 toc
-item
-2 toc
-item
-3;
1797 .body
-text
.contents li
{
1798 margin
: 0.15em
0 0.3em
1em
;
1804 .body
-text
.contents li
::before
{
1811 .contents
.toc
-item
-1 {
1812 counter
-increment
: toc
-item
-1;
1813 counter
-reset
: toc
-item
-2 toc
-item
-3;
1815 .contents
.toc
-item
-1::before
{
1816 content
: counter(toc
-item
-1);
1818 .contents
.toc
-item
-1 ~
.toc
-item
-2 {
1822 .contents
.toc
-item
-2 {
1823 counter
-increment
: toc
-item
-2;
1824 counter
-reset
: toc
-item
-3;
1826 .contents
.toc
-item
-1 ~
.toc
-item
-2::before
{
1827 content
: counter(toc
-item
-1) "." counter(toc
-item
-2);
1829 .contents
.toc
-item
-2::before
{
1830 content
: counter(toc
-item
-2);
1832 .contents
.toc
-item
-1 +
.toc
-item
-3 {
1833 counter
-increment
: toc
-item
-2 toc
-item
-3;
1835 .contents
.toc
-item
-2 ~
.toc
-item
-3,
1836 .contents
.toc
-item
-1 ~
.toc
-item
-3 {
1840 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3 {
1844 .contents
.toc
-item
-3 {
1845 counter
-increment
: toc
-item
-3;
1847 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3::before
{
1848 content
: counter(toc
-item
-1) "." counter(toc
-item
-2) "." counter(toc
-item
-3);
1850 .contents
.toc
-item
-1 ~
.toc
-item
-3::before
{
1851 content
: counter(toc
-item
-1) "." counter(toc
-item
-3);
1853 .contents
.toc
-item
-2 ~
.toc
-item
-3::before
{
1854 content
: counter(toc
-item
-2) "." counter(toc
-item
-3);
1856 .contents
.toc
-item
-3::before
{
1857 content
: counter(toc
-item
-3);
1859 .contents
.toc
-item
-4,
1860 .contents
.toc
-item
-5,
1861 .contents
.toc
-item
-6 {
1865 .contents
.collapsed
{
1866 margin
-bottom
: 0.25em
;
1868 padding
-right
: 1.75em
;
1871 .contents
.collapsed
.contents
-head
{
1874 .contents
.collapsed
.contents
-list {
1878 .contents
.toc
-collapse
-toggle
-button
{
1882 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1887 .contents
.toc
-collapse
-toggle
-button
:active
{
1888 transform
: translateX(1px
) translateY(1px
);
1891 .contents
.collapsed
.toc
-collapse
-toggle
-button
{
1892 width
: calc(100%
- 3px
);
1893 height
: calc(100%
- 2px
);
1894 background
-color
: transparent
;
1896 justify
-content
: flex
-end
;
1897 align
-items
: flex
-start
;
1901 /********************/
1902 /* POSTS & COMMENTS */
1903 /********************/
1907 display
: inline
-block
;
1909 font
-size
: 1.0625em
;
1912 overflow
-wrap
: break-word
;
1913 text
-align
: justify
;
1918 .retracted
.body
-text
{
1919 text
-decoration
: line
-through
;
1923 word
-break: break-all
;
1926 .body
-text a
:not([href
]),
1927 .body
-text a
:not([href
]):hover
,
1928 .body
-text a
:not([href
])::before
,
1929 .body
-text a
:not([href
])::after
{
1930 text
-decoration
: none
;
1942 flex
-flow
: row wrap
;
1943 justify
-content
: center
;
1945 .post
-meta
.lw2
-link
{
1950 .post
-meta
.post
-section
::before
{
1953 .post
-meta
.post
-section
{
1958 .post
-meta
.post
-section
::before
,
1959 .comment
-meta
.alignment
-forum
{
1960 visibility
: visible
;
1961 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1964 .post
-section
.frontpage
::before
{
1967 .post
-section
.featured
::before
{
1970 .post
-section
.meta
::before
{
1973 .post
-section
.events
::before
{
1976 .post
-section
.personal
::before
{
1979 .post
-section
.draft
::before
{
1982 .post
-section
.alignment
-forum
::before
,
1983 .comment
-meta
.alignment
-forum
{
1985 font
-family
: Concourse
, 'Changa One';
1988 /*= Karma controls hover tooltips =*/
1990 @media only screen
and (pointer
: fine
) {
1991 .post
.voting
-controls
,
1992 .comment
-item
.voting
-controls
{
1995 .post
.karma
.active
-controls
::after
,
1996 .comment
-item
.karma
.active
-controls
::after
{
1997 content
: "Double-click for strong vote";
1999 pointer
-events
: none
;
2004 white
-space
: normal
;
2006 font
-size
: 0.875rem
;
2008 transition
: opacity
0.2s ease
;
2010 .post
.voting
-controls
.active
-controls
:hover
::after
,
2011 .comment
-item
.voting
-controls
.active
-controls
:hover
::after
{
2015 .post
.voting
-controls
.karma
-value
::after
,
2016 .comment
-item
.voting
-controls
.karma
-value
::after
{
2017 content
: attr(title
);
2019 pointer
-events
: none
;
2022 transform
: translateX(-50%
);
2023 white
-space
: pre
-wrap
;
2026 font
-size
: 0.875rem
;
2029 transition
: opacity
0.2s ease
;
2031 .post
.voting
-controls
.agreement
.karma
-value
:hover
::after
,
2032 .comment
-item
.voting
-controls
.agreement
.karma
-value
:hover
::after
{
2036 .post
.voting
-controls
.karma
-value
:hover
::after
,
2037 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
2040 .post
.voting
-controls
.waiting
.karma
-value
:hover
::after
,
2041 .comment
-item
.voting
-controls
.waiting
.karma
-value
:hover
::after
{
2044 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
2051 .author
:not(.redacted
)::before
{
2052 content
: attr(data
-full
-name
);
2054 pointer
-events
: none
;
2059 transform
: translateX(-50%
);
2060 white
-space
: nowrap
;
2062 font
-size
: 0.875rem
;
2063 font
-weight
: normal
;
2065 transition
: opacity
0.2s ease
;
2068 .author
:hover
::before
{
2087 margin
: 0.5em
0 0 0;
2090 margin
: 1.1em
0 0.35em
0;
2101 .post
.top
-post
-meta
:last
-child
{
2102 margin
-bottom
: 40px
;
2104 .post
.bottom
-post
-meta
{
2109 border
-style
: solid
;
2110 border
-width
: 1px
0;
2123 .event
-info
.map
::before
{
2126 padding
-bottom
: 50%
;
2129 .event
-info
.map iframe
{
2132 border
: 1px solid
#000;
2144 /*******************/
2145 /* POST NAVIGATION */
2146 /*******************/
2150 grid
-template
: 100%
/ 32%
36%
32%
;
2151 grid
-template
-areas
:
2157 justify
-content
: flex
-end
;
2165 border
-top
: 1px solid transparent
;
2167 .post
-nav
.prev
.post
-nav
-title
,
2168 .post
-nav
.next
.post
-nav
-title
{
2169 border
-bottom
: 1px solid transparent
;
2173 align
-items
: center
;
2177 .sequence
-title
.post
-nav
-title
{
2183 align
-items
: flex
-start
;
2185 .post
-nav
.prev
.post
-nav
-title
::before
{
2186 content
: "\F0D9\2005";
2191 align
-items
: flex
-end
;
2193 .post
-nav
.prev
.post
-nav
-label
,
2194 .post
-nav
.next
.post
-nav
-label
{
2197 .post
-nav
.next
.post
-nav
-title
::after
{
2198 content
: "\2004\F0DA";
2200 .post
-nav
.prev
.post
-nav
-title
::before
,
2201 .post
-nav
.next
.post
-nav
-title
::after
{
2202 font
-family
: Font Awesome
;
2204 vertical
-align
: text
-bottom
;
2211 @media only screen
and (max
-width
: 900px
) {
2214 grid
-template
: auto auto
/ 50%
50%
;
2215 grid
-template
-areas
:
2219 .post
-nav
.prev
.post
-nav
-title
,
2220 .post
-nav
.next
.post
-nav
-title
{
2221 border
-bottom
: none
;
2232 @media only screen
and (max
-width
: 520px
) {
2233 .post
-nav
-links +
.comments
{
2238 .related
-posts
, .related
-post
-group
{
2239 padding
-bottom
: 1em
;
2241 .related
-post
-type
{
2245 margin
-bottom
: -0.5em
;
2246 list-style
-type
: disc
;
2247 margin
-left
: -0.5em
;
2250 .related
-post
-type
::before
{
2253 font
-weight
: normal
;
2254 margin
-right
: 0.15em
;
2256 vertical
-align
: baseline
;
2259 .related
-posts
.post
-type
-prefix
{
2272 .post
.link
-post
> .post
-body
> p
:first
-child
{
2275 margin
: 0.5em
0 0 0;
2277 .post
.link
-post
> .post
-body
> p
:only
-child
{
2281 .post
.link
-post a
.link
-post
-link
::before
{
2283 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2288 margin
-right
: 0.25em
;
2308 pointer
-events
: none
;
2311 list-style
-type
: none
;
2315 .comments
.comment
-thread
> li
{
2318 #content > #top-nav-bar + .comment-thread .comment-item {
2325 .comment
-item
.comment
-item
{
2326 margin
: 1em
8px
8px
16px
;
2328 .comment
-item
.comment
-item +
.comment
-item
{
2329 margin
: 2em
8px
8px
16px
;
2338 list-style
-type
: circle
;
2340 .comment
-body
> *:first
-child
{
2343 .comment
-body
> *:last
-child
{
2347 .comments
-empty-message
{
2350 padding
: 0.75em
0 0.9em
0;
2354 /**********************************/
2355 /* DEEP COMMENT THREAD COLLAPSING */
2356 /**********************************/
2358 .comment
-item
> input
[id^
="expand"] {
2361 .comment
-item
> input
[id^
="expand"] + label
{
2367 .comment
-item
> input
[id^
="expand"] + label
::after
{
2368 content
: "(Expand " attr(data
-child
-count
) " below)";
2369 visibility
: visible
;
2372 white
-space
: nowrap
;
2375 .comment
-item
> input
[id^
="expand"]:checked + label
::after
{
2376 content
: "(Collapse " attr(data
-child
-count
) " below)";
2378 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
{
2382 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2385 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
{
2386 max
-height
: 1000000px
;
2389 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2392 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2400 .backlinks
> input
{
2404 .backlinks
> label
{
2411 .backlinks
> label
::before
{
2413 border
-left
: 5px solid currentColor
;
2414 border
-top
: 5px solid transparent
;
2415 border
-bottom
: 5px solid transparent
;
2416 transition
: transform
0.25s ease
-out
;
2417 transform
-origin
: 29%
55%
;
2418 display
: inline
-block
;
2419 padding
-right
: 0.5em
;
2422 .backlinks
> input
:checked + label
::before
{
2423 transform
: rotate(90deg
);
2432 perspective
-origin
: top
;
2433 transform
: perspective(100em
) rotateX(-90deg
);
2434 transform
-origin
: center top
;
2437 margin
-bottom
: 0.5em
;
2440 .backlinks
> input
:checked ~ ul
{
2442 transform
: perspective(100em
) rotateX(0deg
);
2443 transition
: transform
0.25s ease
-in
, opacity
0.25s ease
-in
;
2452 padding
: 2px
24px
2px
10px
;
2456 flex
-flow
: row wrap
;
2457 align
-items
: baseline
;
2459 .user
-page
.comment
-meta
,
2460 .conversation
-page
.comment
-meta
{
2461 padding
-right
: 10px
;
2463 .comment
-meta
.comment
-post
-title
{
2466 text
-overflow
: ellipsis
;
2467 white
-space
: nowrap
;
2470 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2475 display
: none
; /* Not sure if we need to display this... */
2477 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2478 content
: "\2004(OP)";
2482 /*****************************/
2483 /* COMMENT THREAD NAVIGATION */
2484 /*****************************/
2486 a
.comment
-parent
-link
:not(.inline
-author
),
2487 a
.comment
-parent
-link
.inline
-author
::before
{
2490 a
.comment
-parent
-link
:hover
{
2493 a
.comment
-parent
-link
::before
{
2495 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2502 padding
: 3px
3px
0 3px
;
2504 height
: calc(100% +
2px
);
2508 a
.comment
-parent
-link
::after
{
2513 width
: calc(100% +
26px
);
2514 height
: calc(100% +
38px
);
2517 pointer
-events
: none
;
2521 a
.comment
-parent
-link
:hover
::after
{
2522 visibility
: visible
;
2525 .comment
-child
-links
{
2528 .comment
-child
-link
{
2530 display
: inline
-block
;
2532 .comment
-child
-link
::before
{
2534 display
: inline
-block
;
2546 pointer
-events
: none
;
2548 .comment
-popup
.comment
-parent
-link
{
2551 .comment
-popup
.comment
-body
{
2552 font
-size
: 1.0625rem
;
2555 .comment
-item
.depth
-odd
{
2556 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2557 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2559 .comment
-item
.depth
-even
{
2560 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2561 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2564 .comment
-item
:target
{
2565 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2567 .comment
-item
:target
> .comment
-thread
> .comment
-item
{
2568 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2571 /**********************/
2572 /* COMMENT PERMALINKS */
2573 /**********************/
2574 /********************/
2575 /* COMMENT LW LINKS */
2576 /********************/
2578 .comment
-meta
.permalink
::before
,
2579 .comment
-meta
.lw2
-link
::before
,
2580 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2582 display
: inline
-block
;
2589 0 0 0 3px transparent
;
2591 background
-size
: 100%
;
2596 .comment
-meta
.permalink
::before
{
2597 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2599 .comment
-meta
.lw2
-link
::before
{
2600 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2602 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2604 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2606 .comment
-meta
.permalink
:hover
::before
{
2607 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2609 .comment
-meta
.lw2
-link
:hover
::before
{
2610 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2612 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2613 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2615 .comment
-meta
.permalink
:hover
::before
,
2616 .comment
-meta
.lw2
-link
:hover
::before
,
2617 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2620 0 0 0 3px transparent
;
2624 .comment
-meta
.permalink
:active
::before
,
2625 .comment
-meta
.lw2
-link
:active
::before
,
2626 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2627 transform
: scale(0.9);
2630 .comment
-meta
.permalink
,
2631 .comment
-meta
.lw2
-link
,
2632 .individual
-thread
-page
.comment
-parent
-link
:empty {
2636 .comment
-meta
.permalink
::after
,
2637 .comment
-meta
.lw2
-link
::after
,
2638 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2647 pointer
-events
: auto
;
2648 visibility
: visible
;
2651 /*************************/
2652 /* COMMENTS COMPACT VIEW */
2653 /*************************/
2655 #comments-list-mode-selector,
2656 #content.index-page #comments-list-mode-selector,
2657 #content.user-page #comments-list-mode-selector {
2662 justify
-self
: start
;
2665 #comments-list-mode-selector button {
2672 background
-repeat
: no
-repeat
;
2673 background
-size
: 100%
;
2674 background
-origin
: content
-box
;
2676 #comments-list-mode-selector button:disabled {
2679 #comments-list-mode-selector button.expanded {
2680 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2682 #comments-list-mode-selector button.compact {
2683 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2685 @media only screen
and (max
-resolution
: 1dppx
) {
2686 #comments-list-mode-selector button.expanded {
2687 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2689 #comments-list-mode-selector button.compact {
2690 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2694 #content > ul.comment-thread > li.comment-item,
2695 #content.compact > ul.comment-thread > li.comment-item {
2699 #content > .comment-thread {
2702 #content.compact > .comment-thread {
2703 font
-size
: 0.9375rem
;
2706 #content.compact > .comment-thread:hover {
2709 #content.compact > .comment-thread .comment-body {
2710 font
-size
: 1.0625rem
;
2712 #content.compact > .comment-thread .comment-item,
2713 #content.index-page .comment-item.ignored,
2714 #content.inbox-user-page .comment-item.ignored {
2720 #content.compact > .comment-thread .comment-item {
2721 pointer
-events
: none
;
2723 #content.compact > .comment-thread .comment-item::after {
2730 padding
: 0 16px
10px
64px
;
2731 pointer
-events
: auto
;
2733 @media only screen
and (hover
: hover
) {
2734 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2735 #content.compact > .comment-thread .comment-item.expanded {
2737 pointer
-events
: auto
;
2741 @media only screen
and (hover
: none
) {
2742 #content.compact > .comment-thread.expanded .comment-item {
2744 pointer
-events
: auto
;
2748 #content.compact > .comment-thread .comment-item .comment-meta {
2749 white
-space
: nowrap
;
2751 text
-overflow
: ellipsis
;
2754 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2757 #content.compact > .comment-thread .comment-item .comment-meta a {
2758 pointer
-events
: auto
;
2760 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2763 #content.compact > .comment-thread .comment-item .comment-meta .voting-controls + .comment-post-title {
2764 margin
-left
: 0.75em
;
2766 @media only screen
and (hover
: hover
) {
2767 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2768 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2771 #content.compact > .comment-thread .comment-item:hover .comment,
2772 #content.compact > .comment-thread .comment-item.expanded .comment {
2778 #content.compact > .comment-thread .comment-item:hover .comment::before,
2779 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2783 width
: calc(100% +
20px
);
2784 height
: calc(100% +
20px
);
2789 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2790 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2794 @media only screen
and (hover
: none
) {
2795 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2798 #content.compact > .comment-thread.expanded .comment-item .comment {
2804 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2808 width
: calc(100% +
14px
);
2809 height
: calc(100% +
20px
);
2814 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2817 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2826 background
-color
: rgba(0,0,0,0.5);
2830 /*****************************/
2831 /* HIGHLIGHTING NEW COMMENTS */
2832 /*****************************/
2834 .new-comment
::before
{
2840 pointer
-events
: none
;
2843 /***********************************/
2844 /* COMMENT THREAD MINIMIZE BUTTONS */
2845 /***********************************/
2847 .comment
-minimize
-button
{
2848 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2859 .comment
-minimize
-button
:active
{
2860 transform
: scale(0.9);
2862 .comment
-minimize
-button
::after
{
2863 content
: attr(data
-child
-count
);
2864 font
-weight
: normal
;
2865 font
-size
: 0.8125rem
;
2872 #content.individual-thread-page .comment-minimize-button {
2880 #content.comment-thread-page .comment-item.ignored {
2884 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2885 text
-decoration
: line
-through
;
2888 /***********************************/
2889 /* INDIVIDUAL COMMENT THREAD PAGES */
2890 /***********************************/
2892 .individual
-thread
-page
> h1
{
2894 margin
: 0.75em
0 3px
0;
2896 .individual
-thread
-page
.comments
{
2904 .shortform
-index
-page
.comments
::before
{
2909 .shortform
-index
-page
.comments
> .comment
-thread
> .comment
-item
:first
-child
{
2921 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2931 @keyframes waiting
{
2932 0%
{background
-position
: 200%
0%
}
2933 100%
{background
-position
: 0%
0%
}
2936 .voting
-controls
.karma
-value
{
2938 transition
: opacity
0.5s linear
;
2941 .voting
-controls
.waiting
.karma
-value
{
2943 background
: repeat
-x linear
-gradient(70deg
, #000 50%, #fff 75%, #000);
2944 background
-clip
: text
;
2945 -webkit
-background
-clip
: text
;
2947 background
-position
: 200%
0%
;
2948 background
-size
: 200%
100%
;
2949 animation
: waiting
1s linear infinite
;
2952 /* Replicated karma controls at bottom of comments. */
2953 .comment
-controls
.voting
-controls
{
2955 font
-size
: 0.9375em
;
2958 .comment
-controls
.voting
-controls
:first
-of
-type
{
2962 /*****************************/
2963 /* COMMENTING AND POSTING UI */
2964 /*****************************/
2968 margin
: 0 8px
8px
16px
;
2972 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2975 .comments
> .comment
-controls
{
2978 .comments
> .comment
-controls
:last
-child
{
2979 margin
: 8px
0 16px
0;
2982 .posting
-controls input
[type
='submit'] {
2985 font
-size
: 1.125rem
;
2988 .comment
-controls
.cancel
-comment
-button
{
2994 padding
: 4px
8px
2px
4px
;
2997 .comment
-controls
.cancel
-comment
-button
::before
{
2998 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3006 .comment +
.comment
-controls
.action
-button
{
3007 font
-weight
: normal
;
3008 font
-size
: 1.0625em
;
3011 .comment
-controls
.action
-button
::before
{
3012 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3015 .new-comment
-button
{
3019 .comment
-controls
.reply
-button
::before
{
3025 .comment
-meta
.replied
::before
{
3027 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3036 margin
: 0.75em
0 0 0;
3041 display
: inline
-block
;
3042 margin
-bottom
: 0.25em
;
3043 font
-size
: 1.125rem
;
3045 .edit
-post
-link
::before
{
3046 margin
-right
: 0.3em
;
3048 .comment
-controls
.edit
-button
::before
,
3049 .edit
-post
-link
::before
{
3051 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3058 .comment
-controls
.delete
-button
{
3059 margin
-right
: 0.25em
;
3061 .comment
-controls
.edit
-button
,
3062 .comment
-controls
.retract
-button
,
3063 .comment
-controls
.unretract
-button
{
3066 .comment
-controls
.retract
-button
::before
{
3070 .comment
-controls
.unretract
-button
::before
{
3074 .comment
-controls
.delete
-button
::before
{
3078 .comment
-controls
.retract
-button
::before
,
3079 .comment
-controls
.unretract
-button
::before
,
3080 .comment
-controls
.delete
-button
::before
{
3085 .comment
-controls form
{
3088 .textarea
-container
{
3091 .posting
-controls textarea
{
3096 max
-height
: calc(100vh
- 6em
);
3100 border
-style
: solid
;
3101 border
-width
: 29px
1px
1px
1px
;
3105 /* GUIEdit buttons */
3107 .guiedit
-buttons
-container
{
3111 width
: calc(100%
- 2px
);
3114 padding
: 1px
4px
0 4px
;
3117 .comment
-thread
-page
.guiedit
-buttons
-container
{
3118 padding
-right
: 60px
;
3120 .guiedit
-buttons
-container button
{
3124 font
-size
: 0.875rem
;
3128 .guiedit
-buttons
-container button
:active
{
3131 .guiedit
-buttons
-container button
:active div
{
3132 transform
: scale(0.9);
3134 .guiedit
-buttons
-container button sup
{
3138 content
: attr(data
-tooltip
);
3140 font
-weight
: normal
;
3146 white
-space
: nowrap
;
3149 .guiedit
:hover
::after
{
3150 visibility
: visible
;
3153 /* Markdown hints */
3155 .posting
-controls
.markdown
-reference
-link
{
3157 padding
: 1px
0 0 6px
;
3159 .posting
-controls
.markdown
-reference
-link a
{
3160 padding
-right
: 1.5em
;
3161 margin
-right
: 0.15em
;
3162 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');
3163 background
-size
: 1.25em
;
3164 background
-repeat
: no
-repeat
;
3165 background
-position
: right center
;
3168 #markdown-hints-checkbox + label {
3170 margin
: 2px
0 0 1em
;
3174 #edit-post-form #markdown-hints-checkbox + label {
3177 #markdown-hints-checkbox {
3181 #markdown-hints-checkbox + label::after {
3182 content
: "(Show Markdown help)";
3184 #markdown-hints-checkbox:checked + label::after {
3185 content
: "(Hide Markdown help)";
3187 #markdown-hints-checkbox + label::before {
3189 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3193 #markdown-hints-checkbox:checked + label::before {
3194 font
-weight
: normal
;
3197 margin
: 4px
0 0 4px
;
3201 top
: calc(100%
- 1em
);
3205 .comment
-controls
#markdown-hints {
3206 top
: calc(100% +
1.75em
);
3208 #markdown-hints-checkbox:checked ~ #markdown-hints {
3211 .markdown
-hints
-row
{
3214 #markdown-hints .markdown-hints-row span,
3215 #markdown-hints .markdown-hints-row code {
3217 display
: table
-cell
;
3219 background
-color
: inherit
;
3220 padding
: 0 12px
0 0;
3223 /******************/
3224 /* EDIT POST FORM */
3225 /******************/
3228 padding
: 1em
1em
4em
1em
;
3230 #edit-post-form .post-meta-fields {
3232 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
3233 margin
-bottom
: 0.625em
;
3236 #edit-post-form label[for='title'],
3237 #edit-post-form label[for='url'],
3238 #edit-post-form label[for='section'] {
3241 #edit-post-form input[type='text'] {
3243 grid
-column
: 2 / span
4;
3244 margin
-bottom
: 0.5em
;
3247 #edit-post-form .link-post-checkbox,
3248 #edit-post-form .link-post-checkbox + label {
3252 #edit-post-form .question-checkbox,
3253 #edit-post-form .question-checkbox + label {
3256 justify
-self
: start
;
3260 #edit-post-form .post-meta-fields label[for="submit-to-frontpage"] {
3262 grid
-column
: 2 / span
4;
3267 #edit-post-form .post-meta-fields input[type='checkbox'] {
3270 pointer
-events
: none
;
3272 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
3273 white
-space
: nowrap
;
3276 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
3279 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
3281 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3282 font
-size
: 1.375rem
;
3291 #edit-post-form label[for='url'],
3292 #edit-post-form input[name='url'] {
3295 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
3296 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
3299 #edit-post-form label {
3300 line
-height
: normal
;
3301 border
: 1px solid transparent
;
3303 padding
: 0.25em
0.5em
;
3304 white
-space
: nowrap
;
3306 #edit-post-form input[type='radio'] {
3310 pointer
-events
: none
;
3312 #edit-post-form input[type='radio'] + label {
3315 border
-style
: solid
;
3316 border
-width
: 1px
1px
1px
0;
3319 #edit-post-form input[type='radio']:checked + label {
3323 #edit-post-form label[for='section'] {
3326 #edit-post-form input[type='radio'] + label {
3329 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
3331 #edit-post-form textarea {
3335 #edit-post-form input[type='submit'] {
3339 #edit-post-form #markdown-hints {
3340 top
: calc(100% +
2em
);
3343 #edit-post-form button.guiedit div {
3346 .guiedit
-mobile
-auxiliary
-button
{
3355 input
[type
='submit'] {
3356 font
-family
: inherit
;
3358 background
-color
: inherit
;
3375 margin
: 1em
0 0.75em
0;
3422 .post
-body
.comment
-box
.comment
-body
{
3425 padding
-left
: 0.5em
;
3427 padding
-bottom
: 3px
;
3429 blockquote
*:first
-child
{
3432 blockquote
*:last
-child
{
3435 blockquote blockquote
{
3439 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3441 .post
-body
.comment
-box
.user
-name
{
3444 .post
-body
.comment
-box
.user
-name
::after
{
3447 .post
-body
.comment
-box
{
3455 #content img, #content figure {
3459 .prediction
-poll
> svg
{
3490 // Aspect ratio trick from https://css-tricks.com/aspect-ratio-boxes/
3492 [style
*="--aspect-ratio"] > * {
3495 [style
*="--aspect-ratio"] > img
{
3498 @supports
(--custom
:property
) {
3499 [style
*="--aspect-ratio"] {
3502 [style
*="--aspect-ratio"]::before
{
3505 padding
-bottom
: calc(100%
/ (var(--aspect
-ratio
)));
3507 [style
*="--aspect-ratio"] > * {
3520 border
-collapse
: collapse
;
3523 .body
-text table th
,
3524 .body
-text table td
{
3529 .body
-text table
.numeric {
3531 font
-family
: Inconsolata
, Menlo
, monospace
;
3533 .body
-text table caption
{
3534 margin
: 0 0 0.25em
0;
3543 /*= Superscripts & subscripts =*/
3545 /* Make sure superscripts and subscripts do not affect line spacing. */
3547 vertical
-align
: baseline
;
3557 /*= Code blocks & other "unstyled" text. =*/
3561 font
-family
: Inconsolata
, Menlo
, monospace
;
3564 white
-space
: pre
-wrap
;
3571 display
: inline
-block
;
3572 padding
: 0 4px
1px
5px
;
3577 padding
: 3px
4px
5px
8px
;
3587 /*= Removing browser default styling of various elements =*/
3589 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3594 /* Remove "embossed" appearance of horizontal rules. */
3602 -webkit
-appearance
: none
;
3603 -moz
-appearance
: none
;
3608 font
-family
: inherit
;
3610 font
-weight
: inherit
;
3618 counter
-reset
: ordered
-list;
3620 .footnote
-definition
{
3622 list-style
-type
: none
;
3623 counter
-increment
: ordered
-list;
3626 .footnote
-definition p
{
3627 font
-size
: inherit
!important
;
3629 .footnote
-definition
::before
{
3630 content
: counter(ordered
-list) ".";
3638 /*= LW Docs footnotes =*/
3644 .footnote
-item
> :not(.nothing
) {
3648 .footnote
-item
> :first
-child
{
3649 margin
-left
: -0.2em
;
3653 .footnote
-back
-link a
:not(.nothing
) {
3655 text
-decoration
: none
;
3659 .footnote
-back
-link a
:not(.nothing
):hover
{
3660 text
-shadow
: 0 0 1px
#fff, 0 0 3px #fff, 0 0 5px #00e;
3662 text
-decoration
: none
;
3665 .footnote
-back
-link a
::after
{
3667 font
-family
: Font Awesome
;
3670 text
-decoration
: none
;
3674 .footnote
-content
> :first
-child
{
3683 margin
-bottom
: 0.5em
;
3696 .body
-text ol
> li
{
3698 counter
-increment
: ol
;
3699 padding
: 0 0 0 2.5em
;
3700 margin
: 0.25em
0 0 0;
3702 .body
-text ol
> li
::before
{
3703 content
: counter(ol
) ".";
3713 .body
-text ul
:not(.contents
-list) > li
:empty {
3714 padding
-bottom
: 1.25em
;
3716 .body
-text ul
:not(.contents
-list) > li
{
3718 padding
: 0 0 0 1.75em
;
3719 margin
: 0.25em
0 0 0;
3721 .body
-text ul
:not(.contents
-list) > li ul
> li
{
3724 .body
-text ul
:not(.contents
-list) > li
::before
{
3731 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
3734 .body
-text li
> ul
:first
-child
> li
{
3737 .body
-text li
> ul
:first
-child
> li
::before
{
3749 .error
-retry
-form input
[type
="submit"] {
3750 border
: 1px solid
#aaa;
3752 font
-size
: 1.125rem
;
3753 padding
: 0.5em
1.25em
;
3760 #content.about-page .contents {
3763 #content.about-page .accesskey-table {
3764 border
-collapse
: collapse
;
3767 #content.about-page .accesskey-table th,
3768 #content.about-page .accesskey-table td {
3771 #content.about-page .accesskey-table td:first-child {
3772 padding
-right
: 1.5em
;
3774 #content.about-page .accesskey-table td:last-child {
3776 font
-family
: Inconsolata
, Menlo
, monospace
;
3778 #content.about-page h3:nth-of-type(n+2) {
3782 /******************/
3783 /* IMAGES OVERLAY */
3784 /******************/
3786 #images-overlay + #content .post-body img {
3790 #images-overlay div {
3793 #images-overlay div::after {
3794 content
: "Click to enlarge";
3803 background
-color
: rgba(0,0,0,0.6);
3807 transition
: opacity
0.15s ease
;
3808 pointer
-events
: none
;
3810 <?php
fit_content("#images-overlay div::after"); ?
>
3811 #images-overlay div:hover::after {
3815 #images-overlay img {
3823 /*=--------------=*/
3824 /*= Hover styles =*/
3825 /*=--------------=*/
3828 #images-overlay img:hover {
3829 filter
: drop
-shadow(0 0 3px
#777);
3832 #content img:active,
3833 #images-overlay img:active {
3834 transform
: scale(0.975);
3841 #image-focus-overlay {
3851 #image-focus-overlay::before {
3859 background
-color
: #000;
3863 #image-focus-overlay.engaged {
3867 #image-focus-overlay img {
3872 transform
: translateX(-50%
) translateY(-50%
);
3875 /*=-------------------=*/
3876 /*= Single-image mode =*/
3877 /*=-------------------=*/
3879 #image-focus-overlay:not(.slideshow) .image-number,
3880 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3888 #image-focus-overlay .caption {
3891 background
-color
: rgba(0,0,0,0.7);
3895 max
-width
: calc(100%
- 18em
);
3903 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3904 #image-focus-overlay .caption.hidden {
3910 #image-focus-overlay .caption p {
3915 #image-focus-overlay .caption:not(:empty)::before {
3920 height
: calc(100% +
1.5em
);
3923 left
: calc(-50vw +
50%
);
3927 /*=--------------=*/
3928 /*= Help overlay =*/
3929 /*=--------------=*/
3931 #image-focus-overlay .help-overlay {
3938 border
-radius
: 10px
;
3942 white
-space
: nowrap
;
3949 background
-color
1s ease
,
3952 #image-focus-overlay .help-overlay:hover {
3955 background
-color
: rgba(0,0,0,0.85);
3957 visibility
: visible
;
3959 visibility
0.2s ease
0.3s
,
3960 color
0.2s ease
0.3s
,
3961 background
-color
0.2s ease
0.3s
;
3964 #image-focus-overlay .help-overlay::after {
3966 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3974 filter
: drop
-shadow(0 0 6px
#fff);
3975 visibility
: visible
;
3980 #image-focus-overlay .help-overlay:hover::after {
3983 visibility
0.2s ease
0.3s
;
3986 #image-focus-overlay .help-overlay p {
3993 #image-focus-overlay .help-overlay p + p {
3994 margin
: 0.75em
0 0 0;
3996 #image-focus-overlay .help-overlay.hidden {
4000 /*=--------------=*/
4001 /*= Slide number =*/
4002 /*=--------------=*/
4004 #image-focus-overlay .image-number {
4018 white
-space
: nowrap
;
4019 transition
: bottom
0.3s ease
;
4021 #image-focus-overlay .image-number::before {
4025 #image-focus-overlay .image-number::after {
4026 content
: " of " attr(data
-number
-of
-images
);
4029 #image-focus-overlay .image-number:hover::before,
4030 #image-focus-overlay .image-number:hover::after {
4033 #image-focus-overlay .image-number.hidden {
4037 /*=-------------------=*/
4038 /*= Slideshow buttons =*/
4039 /*=-------------------=*/
4041 #image-focus-overlay .slideshow-buttons {
4049 justify
-content
: space
-between
;
4050 pointer
-events
: none
;
4052 #image-focus-overlay .slideshow-buttons button {
4053 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4062 pointer
-events
: auto
;
4064 #image-focus-overlay .slideshow-buttons button::selection {
4065 background
-color
: transparent
;
4067 @media only screen
and (hover
: hover
) {
4068 #image-focus-overlay .slideshow-buttons button:hover {
4069 background
-color
: rgba(0,0,0,0.1);
4073 #image-focus-overlay .slideshow-buttons button:active {
4077 #image-focus-overlay .slideshow-buttons button:disabled {
4079 background
-color
: transparent
;
4084 #image-focus-overlay .slideshow-button.previous.hidden {
4087 #image-focus-overlay .slideshow-button.next.hidden {
4091 /*=-----------------=*/
4092 /*= Background blur =*/
4093 /*=-----------------=*/
4099 /**************************/
4100 /* QUALIFIED HYPERLINKING */
4101 /**************************/
4103 #content.no-nav-bars {
4106 #content.no-nav-bars + #ui-elements-container > * {
4113 left
: calc((100%
- 900px
) / 2 - 69px
);
4120 display
: table
-cell
;
4122 vertical
-align
: middle
;
4123 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4130 .qualified
-linking
{
4134 .qualified
-linking input
[type
='checkbox'] {
4140 .qualified
-linking label
{
4141 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4145 display
: inline
-block
;
4146 margin
-left
: 0.25em
;
4148 .qualified
-linking label
:hover
{
4151 .qualified
-linking label
:active span
{
4152 display
: inline
-block
;
4153 transform
: scale(0.9);
4155 .qualified
-linking label
::selection
{
4156 background
-color
: transparent
;
4159 .qualified
-linking label
::after
{
4169 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
4173 .qualified
-linking
-toolbar
{
4179 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
4182 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
4185 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
4190 .qualified
-linking
-toolbar a
{
4195 .qualified
-linking
-toolbar a
::selection
{
4196 background
-color
: transparent
;
4203 #preview-popup-toggle {
4208 color
: var(--GW
-toggle
-widget
-color
, #888);
4210 #preview-popup-toggle:hover {
4211 color
: var(--GW
-toggle
-widget
-hover
-color
, #444);
4214 #content.preview:not(not) {
4217 #content.preview > .comment-thread {
4220 #content.preview.individual-thread-page > .comment-thread > .comment-item {
4223 #content.preview.user-page .page-main-heading, #content.preview.user-page .user-stats {
4226 #content.preview.user-page .page-main-heading {
4229 #content.preview.not(not) .body-text {
4233 #content.preview.user-page .user-stats {
4236 #content.preview.user-page .page-toolbar, #content.preview.user-page nav {
4239 #content.preview button.vote {
4242 #content.preview > h1.listing {
4245 #content.preview.user-page > .comment-thread {
4248 #content.preview > .post {
4251 #content.preview .post-title {
4254 #content.preview .post-meta {
4257 #content.preview .body-text {
4260 #content.preview nav.contents,
4261 #content.preview .lw2-link {
4267 transform
-origin
: top
;
4272 background
-color
: #eee;
4273 border
: 1px solid
#ccc;
4274 box
-shadow
: 2px
6px
20px
-4px
#000;
4275 transition
: height
0.2s ease
, top
0.2s ease
;
4277 .popup
-hide
-button
{
4282 background
-color
: #fff;
4286 font
-family
: "Font Awesome";
4289 border
: 1px solid
#bbb;
4290 border
-radius
: 28px
;
4291 align
-items
: center
;
4292 justify
-content
: center
;
4293 //padding-bottom: 2px;
4294 padding
-left
: 1.5px
;
4295 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4298 .popup
-hide
-button
:hover
::before
{
4299 content
: "Turn off preview popups";
4305 background
-color
: #fff;
4306 border
: 1px solid
#eee;
4315 .mathjax
-block
-container
{
4319 margin
: 1em
0 1.5em
0;
4321 .mathjax
-inline
-container
{
4328 #content .mathjax-inline-container,
4329 #content .mathjax-inline-container .mjpage,
4330 #content .mathjax-inline-container .mjx-chtml,
4331 #content .mathjax-inline-container .mjx-math,
4332 #content .mathjax-inline-container .mjx-mrow {
4334 white
-space
: normal
;
4336 .post
.mathjax
-inline
-container
{
4339 .comment
.mathjax
-inline
-container
{
4342 .mathjax
-inline
-container
.mjx
-chtml
{
4351 color
: #000; /* invert-override: #666 */
4352 background
-color
: currentColor
;
4356 box
-shadow
: 0 0 0 1px currentColor inset
;
4359 .spoiler
:not(:last
-child
) {
4362 #content .spoiler * {
4368 background
-color
: unset;
4371 color
0.1s ease
-out
0.1s
,
4372 background
-color
0.1s ease
-out
0.1s
,
4373 text
-shadow
0.1s ease
-out
0.1s
;
4375 .spoiler
::selection
,
4376 .spoiler
::selection
{
4378 background
-color
: #000; /* invert-override: #666 */
4380 .spoiler
:not(:hover
)::selection
,
4381 .spoiler
:not(:hover
) ::selection
{
4382 background
-color
: transparent
;
4385 /*= Fix for LessWrong being weird =*/
4390 .spoiler
> p
:first
-child
{
4393 .spoiler
> p
:last
-child
{
4395 padding
-bottom
: 0.25em
;
4397 #content .spoiler > p:hover ~ p {
4398 color
: #000; /* invert-override: #666 */
4399 background
-color
: currentColor
;
4404 .spoiler
> p
:not(:first
-child
) {
4407 .spoiler
> p
:not(:last
-child
) {
4408 padding
-bottom
: 0.5em
;
4411 .spoiler
:not(:hover
) pre
,
4412 .spoiler
:not(:hover
) code
{
4413 background
-color
: inherit
;
4416 #content .spoiler pre {
4417 border
-color
: currentColor
;
4418 border
-style
: solid
;
4419 border
-width
: 0 1px
;
4423 /*******************/
4424 /* PAGE LIST INDEX */
4425 /*******************/
4432 .page
-list-index
> p
{
4437 .page
-list-index
> ul
* {
4441 .page
-list-index ul
{
4442 padding
-left
: 1.5em
;
4445 .page
-list-index li
{
4449 .page
-list-index li
> a
{
4456 .page
-list-index li
> a
:last
-child
{
4465 .textarea
-container
.autocomplete
-container
{
4468 font
-size
: 1.125rem
;
4470 backdrop
-filter
: blur(2px
);
4473 .textarea
-container
.autocomplete
-container
:empty {
4477 @media only screen
and (min
-width
: 521px
) {
4478 .textarea
-container
.autocomplete
-container
.inside
{
4479 max
-height
: calc(100%
- 36px
);
4482 .textarea
-container
.autocomplete
-container
.outside
{
4483 max
-height
: calc(100%
- 28px
);
4488 .textarea
-container
.autocomplete
-container
.inside
.right
{
4491 .textarea
-container
.autocomplete
-container
.inside
.left
{
4494 .textarea
-container
.autocomplete
-container
.outside
.right
{
4495 left
: calc(100% +
3px
);
4497 .textarea
-container
.autocomplete
-container
.outside
.left
{
4498 right
: calc(100% +
3px
);
4501 head
.content
-width
-normal + body
.textarea
-container
.autocomplete
-container
.outside
{
4502 max
-width
: calc((100vw
- (900px
- 40px
* 2)) / 2);
4504 head
.content
-width
-wide + body
.textarea
-container
.autocomplete
-container
.outside
{
4505 max
-width
: calc((100vw
- (1150px
- 40px
* 2)) / 2);
4507 head
.content
-width
-fluid + body
.textarea
-container
.autocomplete
-container
.outside
{
4508 max
-width
: calc((300px +
40px
* 2) / 2);
4512 .textarea
-container
.autocomplete
-container div
{
4513 padding
: 2px
8px
0 8px
;
4514 white
-space
: nowrap
;
4516 justify
-content
: flex
-end
;
4519 .textarea
-container
.autocomplete
-container div span
.name
{
4521 width
: calc(100%
- 9em
);
4523 text
-overflow
: ellipsis
;
4525 .textarea
-container
.autocomplete
-container div span
.name
:hover
{
4529 .textarea
-container
.autocomplete
-container div span
.age
,
4530 .textarea
-container
.autocomplete
-container div span
.karma
{
4534 .textarea
-container
.autocomplete
-container div span
.age
{
4537 .textarea
-container
.autocomplete
-container div span
.karma
{
4546 h2
.sequence
-chapter
,
4547 h3
.sequence
-chapter
,
4548 h4
.sequence
-chapter
{
4551 h2
.sequence
-chapter
::before
,
4552 h3
.sequence
-chapter
::before
,
4553 h4
.sequence
-chapter
::before
{
4556 margin
: 1.5em
0 0.75em
0;
4558 font
-weight
: normal
;
4559 font
-family
: <?php
echo $UI_font; ?
>;
4561 h2
.sequence
-chapter
::before
{
4564 h3
.sequence
-chapter
::before
{
4565 content
: '\25AA\2004\25AA';
4567 h4
.sequence
-chapter
::before
{
4568 content
: '\00B7\2004\00B7\2004\00B7';
4572 /*******************/
4573 /* ALIGNMENT FORUM */
4574 /*******************/
4576 #content.alignment-forum-index-page::after {
4577 content
: "Alignment Forum";
4579 margin
: 0.375em
0 0 -0.375em
;
4583 /**********************/
4584 /* FOR NARROW SCREENS */
4585 /**********************/
4587 @media only screen
and (max
-width
: 1440px
) {
4590 padding
: 8px
10px
10px
10px
;
4594 #hns-date-picker::before {
4599 height
: calc(100% +
2px
);
4605 @media only screen
and (max
-width
: 1160px
) {
4606 #new-comment-nav-ui {
4614 #hns-date-picker::before {
4615 width
: calc(100%
- 35px
);
4617 #theme-selector button::before {
4621 #theme-selector:hover::after {
4625 width
: calc(6em
- 7px
);
4626 height
: calc(100% +
2px
);
4628 left
: calc(100% +
1px
);
4630 #anti-kibitzer-toggle {
4634 @media only screen
and (max
-width
: 1080px
) {
4638 #width-selector button {
4641 #text-size-adjustment-ui {
4645 #text-size-adjustment-ui button {
4649 #text-size-adjustment-ui button.increase {
4652 #text-size-adjustment-ui button.decrease {
4659 #theme-tweaker-toggle {
4663 #theme-tweaker-toggle button {
4671 #new-comment-nav-ui {
4677 #hns-date-picker::before {
4678 width
: calc(100%
- 22px
);
4680 #anti-kibitzer-toggle {
4684 @media only screen
and (max
-width
: 1040px
) {
4688 #new-comment-nav-ui {
4694 #hns-date-picker::before {
4695 width
: calc(100%
- 17px
);
4697 #anti-kibitzer-toggle {
4701 @media only screen
and (max
-width
: 1020px
) {
4705 #new-comment-nav-ui {
4708 #new-comment-nav-ui .new-comments-count::before {
4712 height
: calc(100% +
45px
);
4720 #hns-date-picker::before {
4723 #anti-kibitzer-toggle {
4727 @media only screen
and (max
-width
: 1000px
) {
4734 #theme-selector button {
4737 #text-size-adjustment-ui {
4741 @media not screen
and (hover
: none
) {
4743 #new-comment-nav-ui,
4744 #new-comment-nav-ui + #hns-date-picker,
4745 #anti-kibitzer-toggle {
4748 #quick-nav-ui:hover,
4749 #new-comment-nav-ui:hover,
4750 #new-comment-nav-ui + #hns-date-picker:hover,
4751 #new-comment-nav-ui + #hns-date-picker:focus-within,
4752 #new-comment-nav-ui:hover + #hns-date-picker,
4753 #anti-kibitzer-toggle:hover {
4757 #theme-tweaker-toggle {
4773 #ui-elements-container {
4779 #images-overlay + #content .post-body img {
4780 visibility
: visible
;
4785 #comments-sort-mode-selector {
4788 .comment
-minimize
-button
{
4791 .post
-meta
.qualified
-linking
,
4792 .post
-meta
.lw2
-link
{
4795 .comment
-meta
.permalink
,
4796 .comment
-meta
.lw2
-link
,
4797 .comment
-meta
.comment
-parent
-link
{
4800 .new-comment
::before
{
4808 <?php
include("style_mobile_additions.css.php"); ?
>
4810 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4814 ## TO BE IMPLEMENTED:
4815 ## This will be specified via command-line argument; but for now, we just
4816 ## include all available additions (currently, only 'accordius').
4822 foreach ($additions as $addition) {
4823 $potential_includes = [
4825 "style_mobile_additions.css.php"
4827 foreach ($potential_includes as $include) {
4828 $include_path = "{$addition}/{$include}";
4829 if (file_exists($include_path))
4830 include ($include_path);