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 --inverted
-display
: none
;
41 box
-sizing
: border
-box
;
44 *, *::before
, *::after
{
48 display
: none
!important
;
60 background
-color
: inherit
;
72 /*=----------------------------=*/
73 /*= Immediate children of body =*/
74 /*=----------------------------=*/
80 /* Special styles for special browsers.
81 (This one is a fix for Firefox’s built-in screenshot feature.)
83 body
> iframe
[id^
='firefox-screenshots'] {
93 grid
-template
-columns
: 2fr
1fr
2fr
;
104 pointer
-events
: none
;
112 grid
-column
: 1 / span
3;
115 /*=----------------------=*/
116 /*= Floating UI elements =*/
117 /*=----------------------=*/
119 #ui-elements-container {
127 pointer
-events
: none
;
129 #ui-elements-container > * {
130 pointer
-events
: auto
;
133 /*=----------------=*/
134 /*= Images overlay =*/
135 /*=----------------=*/
136 /* (To exclude images in posts from theme tweaks) */
157 /*=---------------=*/
158 /*= Nav bar items =*/
159 /*=---------------=*/
165 text
-overflow
: ellipsis
;
174 line
-height
: inherit
;
178 .nav
-bar
-top
:not(#primary-bar) .nav-inner {
182 #nav-item-sequences .nav-inner::before {
183 font
-family
: "Font Awesome", "Font Awesome 5 Free";
186 @media only screen
and (min
-width
: 901px
) {
187 #nav-item-about .nav-inner {
190 #nav-item-sequences .nav-inner::before {
194 #secondary-bar #nav-item-sequences .nav-inner {
207 h1
.listing ~
#bottom-bar {
210 #bottom-bar .nav-item {
214 /*=-----------------=*/
215 /*= Accesskey hints =*/
216 /*=-----------------=*/
219 content
: attr(accesskey
);
223 /*=---------------=*/
224 /*= Pagination UI =*/
225 /*=---------------=*/
227 #bottom-bar .nav-item a::before,
228 #top-nav-bar a::before {
229 font
-family
: "Font Awesome", "Font Awesome 5 Free";
236 #bottom-bar #nav-item-first a::before,
237 #top-nav-bar a.nav-item-first::before {
240 #bottom-bar #nav-item-top a::before {
243 #bottom-bar #nav-item-prev a::before,
244 #top-nav-bar a.nav-item-prev::before {
247 #bottom-bar #nav-item-next a::before,
248 #top-nav-bar a.nav-item-next::before {
251 #bottom-bar #nav-item-last a::before,
252 #top-nav-bar a.nav-item-last::before {
255 #bottom-bar #nav-item-next a::before {
260 #bottom-bar #nav-item-last a::before {
266 /*= Hover tooltips =*/
271 #top-nav-bar a::after {
272 bottom
: calc(100%
- 3px
);
273 content
: attr(data
-target
-page
);
275 #top-nav-bar a::after {
283 #top-nav-bar a:hover::after,
284 #bottom-bar a:hover::after {
288 /*=-----------------------=*/
289 /*= Decorative bottom bar =*/
290 /*=-----------------------=*/
291 /* (On short pages with no pagination) */
293 #bottom-bar.decorative {
296 #bottom-bar.decorative .nav-item {
307 #nav-item-search form::before {
309 font
-family
: "Font Awesome", "Font Awesome 5 Free";
311 display
: inline
-block
;
316 #nav-item-search input {
318 width
: calc(95%
- 80px
);
321 #nav-item-search button {
331 padding
-right
: 0.5em
;
334 /*******************/
335 /* INBOX INDICATOR */
336 /*******************/
345 #inbox-indicator::before {
347 font
-family
: "Font Awesome", "Font Awesome 5 Free";
349 font
-size
: 1.1875rem
;
358 #inbox-indicator.new-messages::before {
362 0.5px
0.5px
1px
#777;
364 a
#inbox-indicator:hover::before {
371 0.5px
0.5px
1px
#777;
373 a
#inbox-indicator.new-messages:hover::before {
379 0.5px
0.5px
1px
#777;
392 #content > .page-toolbar {
396 #content.user-page > .page-toolbar {
397 grid
-column
: 2 / span
2;
401 /*=--------------------------=*/
402 /*= Page toolbar items (all) =*/
403 /*=--------------------------=*/
406 display
: inline
-block
;
409 .page
-toolbar
> form button
{
414 .page
-toolbar
> form button
::before
{
417 .page
-toolbar
.button
::before
{
418 font
-family
: "Font Awesome", "Font Awesome 5 Free";
420 padding
-right
: 0.3em
;
423 /*=-------------------------------=*/
424 /*= Page toolbar items (specific) =*/
425 /*=-------------------------------=*/
431 .new-private-message
::before
{
435 .logout
-button
::before
{
439 #enable-push-notifications::before {
443 .ignore
-button
::before
{
447 .unignore
-button
::before
{
452 content
: url('data:image/svg+xml;base64,<?php echo base64_encode(file_get_contents("assets/rss.svg")) ?>');
453 display
: inline
-block
;
455 padding
-right
: 0.2em
;
460 /*********************/
461 /* TOP PAGINATION UI */
462 /*********************/
466 margin
: 0.25em
0 0 0;
467 padding
: 0.75em
0 0 0;
471 justify
-content
: center
;
476 #top-nav-bar a.disabled {
477 pointer
-events
: none
;
480 #top-nav-bar .page-number {
482 display
: inline
-block
;
485 #top-nav-bar .page-number-label {
488 text
-transform
: uppercase
;
493 #top-nav-bar a::before {
495 display
: inline
-block
;
505 justify
-content
: center
;
508 #content > .sublevel-nav:not(.sort) {
512 .sublevel
-nav
.sublevel
-item
{
514 padding
: 0.125em
0.5em
;
517 .sublevel
-nav
.sublevel
-item
:active
{
520 .sublevel
-nav
.sublevel
-item
.selected
{
524 /***********************/
525 /* SORT ORDER SELECTOR */
526 /***********************/
533 #content > .sublevel-nav.sort {
540 #content.index-page > .sublevel-nav.sort {
546 .sublevel
-nav
.sort
::before
{
554 .sublevel
-nav
.sort
.sublevel
-item
{
560 /*******************************/
561 /* COMMENTS SORT MODE SELECTOR */
562 /*******************************/
564 .comments
> .sublevel
-nav
.sort
{
565 margin
: 1em auto
0 auto
;
567 <?php
fit_content(".comments > .sublevel-nav.sort"); ?
>
570 /**********************/
571 /* DARK MODE SELECTOR */
572 /**********************/
574 #dark-mode-selector {
581 #dark-mode-selector:hover {
589 #dark-mode-selector button {
591 font
-family
: "Font Awesome", "Font Awesome 5 Free";
598 #dark-mode-selector button.select-mode-auto {
600 #dark-mode-selector button.select-mode-light {
603 #dark-mode-selector button.select-mode-dark {
605 padding
: 1px
0 0 4px
;
607 #dark-mode-selector button:disabled:hover {
611 /*=----------------=*/
612 /*= Hover tooltips =*/
613 /*=----------------=*/
615 #dark-mode-selector button::after {
616 content
: attr(data
-name
);
617 font
-family
: <?php
echo $UI_font; ?
>;
628 #dark-mode-selector button.selected::after {
629 content
: attr(data
-name
) " (selected)";
631 #dark-mode-selector button:hover:not(:active)::after {
645 #width-selector button {
651 background
-repeat
: no
-repeat
;
652 background
-size
: 100%
;
653 background
-origin
: content
-box
;
655 #width-selector button,
656 #width-selector button:active,
657 #width-selector button:focus {
661 #width-selector button:disabled {
664 #width-selector button.select-width-normal {
665 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/normal.gif")) ?>');
667 #width-selector button.select-width-wide {
668 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/wide.gif")) ?>');
670 #width-selector button.select-width-fluid {
671 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/fluid.gif")) ?>');
674 /*=----------------=*/
675 /*= Hover tooltips =*/
676 /*=----------------=*/
678 #width-selector button::after {
679 content
: attr(data
-name
);
688 #width-selector button.selected::after {
689 content
: attr(data
-name
) " (selected)";
691 #width-selector button:hover:not(:active)::after {
696 global $content_width_settings;
697 foreach ($content_width_settings as $name => $setting) {
698 echo "head.content-width-{$name} + body > * {\n max-width: {$setting};\n}\n";
714 #theme-selector:hover {
718 /*=----------------------=*/
719 /*= Theme select buttons =*/
720 /*=----------------------=*/
722 .theme
-selector button
{
727 margin
: 1px
7px
0 7px
;
729 background
-size
: 16px
16px
;
730 background
-origin
: content
-box
;
732 .theme
-selector button
,
733 .theme
-selector button
:hover
,
734 .theme
-selector button
:active
,
735 .theme
-selector button
:focus
{
739 .theme
-selector button
:disabled
{
743 /*=----------------------------=*/
744 /*= Pre-rendered button images =*/
745 /*=----------------------------=*/
746 /* (Each is just a capital letter A through whatever) */
748 .theme
-selector button
:nth
-of
-type(1) {
749 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_A.gif")) ?>');
751 .theme
-selector button
:nth
-of
-type(2) {
752 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_B.gif")) ?>');
754 .theme
-selector button
:nth
-of
-type(3) {
755 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_C.gif")) ?>');
757 .theme
-selector button
:nth
-of
-type(4) {
758 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_D.gif")) ?>');
760 .theme
-selector button
:nth
-of
-type(5) {
761 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_E.gif")) ?>');
763 .theme
-selector button
:nth
-of
-type(6) {
764 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_F.gif")) ?>');
766 .theme
-selector button
:nth
-of
-type(7) {
767 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_G.gif")) ?>');
769 .theme
-selector button
:nth
-of
-type(8) {
770 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_H.gif")) ?>');
772 .theme
-selector button
:nth
-of
-type(9) {
773 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_I.gif")) ?>');
776 /*=------------------------------=*/
777 /*= Theme select button tooltips =*/
778 /*=------------------------------=*/
779 /* (with the name & description of the theme that each button selects) */
781 #theme-selector button {
785 #theme-selector button::before {
786 content
: attr(data
-theme
-name
);
790 padding
: 5px
6px
6px
6px
;
797 #theme-selector:hover button::before {
800 #theme-selector:hover ~ #theme-tweaker-toggle,
801 #theme-selector:active ~ #theme-tweaker-toggle {
805 /************************/
806 /* THEME TWEAKER TOGGLE */
807 /************************/
809 #theme-tweaker-toggle {
814 #theme-tweaker-toggle button {
815 font
-family
: "Font Awesome", "Font Awesome 5 Free";
821 #theme-tweaker-toggle button:hover {
825 /*******************/
826 /* QUICKNAV WIDGET */
827 /*******************/
835 font
-family
: "Font Awesome", "Font Awesome 5 Free";
845 #quick-nav-ui a[href='#comments'].no-comments {
846 pointer
-events
: none
;
851 #content.post-page ~ #ui-elements-container #quick-nav-ui a[href='#comments'] {
855 /************************/
856 /* NEW COMMENT QUICKNAV */
857 /************************/
859 #new-comment-nav-ui {
864 #new-comment-nav-ui > * {
868 #new-comment-nav-ui.no-comments {
872 /*=--------------------=*/
873 /*= New comments count =*/
874 /*=--------------------=*/
876 #new-comment-nav-ui .new-comments-count {
884 #new-comment-nav-ui .new-comments-count::selection {
885 background
-color
: transparent
;
887 #new-comment-nav-ui .new-comments-count::after {
893 /*=-----------------------------------=*/
894 /*= Next/previous new comment buttons =*/
895 /*=-----------------------------------=*/
897 #new-comment-nav-ui .new-comment-sequential-nav-button {
899 font
-family
: "Font Awesome", "Font Awesome 5 Free";
904 #new-comment-nav-ui .new-comment-previous {
907 #new-comment-nav-ui .new-comment-next {
910 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
912 pointer
-events
: none
;
915 /*******************/
916 /* HNS DATE PICKER */
917 /*******************/
925 #hns-date-picker:hover,
926 #hns-date-picker:focus-within {
929 #hns-date-picker.no-comments {
933 /*=---------------=*/
934 /*= "Since" label =*/
935 /*=---------------=*/
937 #hns-date-picker span {
940 text
-transform
: uppercase
;
943 /*=--------------------=*/
944 /*= "Since" text field =*/
945 /*=--------------------=*/
947 #hns-date-picker input {
952 box
-shadow
: 0 0 0 1px transparent
;
955 /************************/
956 /* ANTI-KIBITZER TOGGLE */
957 /************************/
959 #anti-kibitzer-toggle {
964 #anti-kibitzer-toggle button {
970 #anti-kibitzer-toggle button::before,
971 #anti-kibitzer-toggle button::after {
972 font
-family
: "Font Awesome", "Font Awesome 5 Free";
974 #anti-kibitzer-toggle button::before {
980 #anti-kibitzer-toggle button::after {
981 content
: "\F007\2004\F164";
985 #anti-kibitzer-toggle.engaged button::before {
989 /************************/
990 /* TEXT SIZE ADJUSTMENT */
991 /************************/
993 #text-size-adjustment-ui {
999 #text-size-adjustment-ui:hover {
1003 /* This doesn't work in Mozilla browsers, so hide it */
1004 @-moz
-document url
-prefix() {
1005 #text-size-adjustment-ui {
1014 #text-size-adjustment-ui button {
1016 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1022 #text-size-adjustment-ui button.default {
1023 font
-family
: inherit
;
1024 font
-size
: 1.125rem
;
1028 #text-size-adjustment-ui button:disabled {
1031 #text-size-adjustment-ui button:disabled:hover {
1035 /*=----------------=*/
1036 /*= Hover tooltips =*/
1037 /*=----------------=*/
1039 #text-size-adjustment-ui::after {
1040 content
: "Adjust text size";
1050 #text-size-adjustment-ui:hover::after {
1051 visibility
: visible
;
1054 /*******************************/
1055 /* COMMENTS VIEW MODE SELECTOR */
1056 /*******************************/
1058 #comments-view-mode-selector {
1064 #comments-view-mode-selector:hover {
1072 #comments-view-mode-selector a {
1074 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1081 #comments-view-mode-selector a.threaded {
1082 transform
: scaleY(-1);
1085 #comments-view-mode-selector a.chrono {
1086 font
-weight
: normal
;
1088 #comments-view-mode-selector a.selected,
1089 #comments-view-mode-selector a:hover {
1091 text
-decoration
: none
;
1093 #comments-view-mode-selector a.selected {
1101 #keyboard-help-overlay {
1104 background
-color
: rgba(0,0,0,0.7);
1111 justify
-content
: center
;
1112 align
-items
: center
;
1113 padding
: 20px
30px
30px
20px
;
1118 #keyboard-help-overlay .keyboard-help-container {
1119 background
-color
: #fff;
1120 filter
: drop
-shadow(4px
4px
2px
#000);
1127 #keyboard-help-overlay .keyboard-help-container h1 {
1129 border
-bottom
: 1px solid
#ddd;
1133 #keyboard-help-overlay .keyboard-help-container .note {
1138 #keyboard-help-overlay .keyboard-help-container .keyboard-shortcuts-lists {
1142 border
-top
: 1px solid
#ddd;
1145 #keyboard-help-overlay .keyboard-help-container ul {
1146 list-style
-type
: none
;
1149 break-inside
: avoid
;
1150 white
-space
: nowrap
;
1152 #keyboard-help-overlay .keyboard-help-container ul:nth-of-type(n+2) {
1155 #keyboard-help-overlay .keyboard-help-container ul li.section {
1157 font
-size
: 1.125rem
;
1160 #keyboard-help-overlay .keyboard-help-container .keys {
1161 margin
: 0 0.5em
0 0;
1163 display
: inline
-block
;
1165 #keyboard-help-overlay .keyboard-help-container .keys code {
1168 #keyboard-help-overlay .keyboard-help-container code {
1169 display
: inline
-block
;
1170 background
-color
: #eee;
1171 border
: 1px solid
#ccc;
1172 padding
: 3px
8px
4px
8px
;
1175 #keyboard-help-overlay .keyboard-help-container code.ak {
1176 background
-color
: #ffeb83;
1177 border
-color
: #d4a500;
1179 #keyboard-help-overlay .keyboard-help-container code.ak::before {
1184 #nav-item-about button.open-keyboard-help {
1187 @media only screen
and (hover
:hover
) and (pointer
:fine
) {
1190 padding
-right
: 0.25em
;
1192 #nav-item-about button.open-keyboard-help {
1193 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1202 background
-color
: transparent
;
1206 #keyboard-help-overlay button.close-keyboard-help {
1210 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1220 margin
: 1.25em
0.5em
0 0.5em
;
1226 .archive
-nav
*[class^
='archive-nav-item'] {
1230 padding
: 6px
4px
4px
4px
;
1233 @-moz
-document url
-prefix() {
1234 .archive
-nav
*[class^
='archive-nav-item'] {
1238 .archive
-nav
-days
.archive
-nav
-item
-day
{
1240 padding
: 7px
0 5px
0;
1243 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1252 margin
: 1.25em
0.5em
0 0.5em
;
1258 .archive
-nav
*[class^
='archive-nav-item'] {
1262 padding
: 6px
4px
4px
4px
;
1265 @-moz
-document url
-prefix() {
1266 .archive
-nav
*[class^
='archive-nav-item'] {
1270 .archive
-nav
-days
.archive
-nav
-item
-day
{
1272 padding
: 7px
0 5px
0;
1275 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1284 font
-size
: 1.875rem
;
1294 /* Links to link-posts (not the link-post links themselves; that's below) */
1295 h1
.listing
.link
-post
-link + a
{
1296 margin
-left
: 0.25em
;
1299 h1
.listing
.link
-post
-link
{
1302 vertical
-align
: top
;
1307 /*=----------------------=*/
1308 /*= Listing hover reveal =*/
1309 /*=----------------------=*/
1310 /* (On desktops, hover over a multi-line listing to reveal all of it) */
1312 @media only screen
and (min
-width
: 1160px
) {
1315 display
: inline
-block
;
1316 white
-space
: nowrap
;
1317 text
-overflow
: ellipsis
;
1319 border
-bottom
: 1px solid transparent
;
1320 -webkit
-hyphens
: auto
;
1325 padding
: 0 0 1px
1px
;
1327 h1
.listing
.link
-post
-link + a
{
1328 max
-width
: calc(100%
- 40px
);
1331 h1
.listing a
:focus
{
1332 text
-decoration
: dotted underline
;
1333 white
-space
: initial
;
1337 h1
.listing
:focus
-within
::before
{
1339 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1345 /* Adds hysteresis to the hover area (i.e., prevents oscillation due to small
1347 <?php
$margin_of_hover_error = '10px'; ?
>
1349 h1
.listing a
:not(.edit
-post
-link
):hover
::before
{
1352 top
: -<?php
echo $margin_of_hover_error; ?
>;
1353 right
: -<?php
echo $margin_of_hover_error; ?
>;
1354 bottom
: -<?php
echo $margin_of_hover_error; ?
>;
1355 left
: -<?php
echo $margin_of_hover_error; ?
>;
1358 h1
.listing
.link
-post
-link
:hover
{
1359 text
-decoration
: none
;
1363 /*=-----------------------=*/
1364 /*= In-listing edit links =*/
1365 /*=-----------------------=*/
1367 h1
.listing
.edit
-post
-link
{
1372 /*=---------------------------------=*/
1373 /*= Error messages on listing pages =*/
1374 /*=---------------------------------=*/
1379 padding
: 1.25em
0 1.25em
0;
1383 /*********************/
1384 /* LISTING POST-META */
1385 /*********************/
1387 h1
.listing +
.post
-meta
{
1389 justify
-content
: flex
-start
;
1390 margin
: 0 20px
0 21px
;
1393 h1
.listing +
.post
-meta
> * {
1397 h1
.listing +
.post
-meta
.post
-section
{
1402 h1
.listing +
.post
-meta
.post
-section
::before
{
1407 h1
.listing +
.post
-meta
.read
-time
{
1411 /********************/
1412 /* SEQUENCES & TAGS */
1413 /********************/
1415 .sequence
-text
, .tag
-description
{
1420 #content.tag-index-page .tag-description {
1429 h1
.sequence
-chapter
{
1437 .post
-meta +
.comments
{
1445 border
-bottom
: 1px solid
#999;
1446 padding
-bottom
: 1em
;
1454 /*=---------------------=*/
1455 /*= User's display name =*/
1456 /*=---------------------=*/
1458 #content.user-page h1.page-main-heading {
1459 margin
: 0.25em
0 0 0;
1461 grid
-column
: 1 / span
2;
1465 #content.user-page h1.page-main-heading .user-full-name {
1467 font
-weight
: normal
;
1468 padding
-left
: 0.5em
;
1471 /*=--------------------=*/
1472 /*= User's karma total =*/
1473 /*=--------------------=*/
1475 #content.user-page .user-stats {
1482 #content.user-page .user-stats .karma-type {
1483 white
-space
: nowrap
;
1486 /*=----------------------=*/
1487 /*= Expanded vs. compact =*/
1488 /*=----------------------=*/
1490 #content.user-page #comments-list-mode-selector {
1493 #content.user-page #comments-list-mode-selector button {
1497 /*=----------------------------------------------------=*/
1498 /*= All, Posts, Comments, Drafts, Conversations, Inbox =*/
1499 /*=----------------------------------------------------=*/
1501 #content.user-page .sublevel-nav {
1502 margin
-bottom
: 0.5em
;
1505 /*=--------------=*/
1506 /*= User's posts =*/
1507 /*=--------------=*/
1509 #content.user-page h1.listing {
1510 margin
: 0.5em
0 0 0;
1513 #content.user-page .user-bio :first-child {
1521 /*=----------------------=*/
1522 /*= List of participants =*/
1523 /*=----------------------=*/
1525 #content.conversation-page .conversation-participants {
1526 grid
-column
: 2 / span
2;
1528 margin
: 0.5em
0 0 0;
1530 .post
-meta
> .conversation
-participants
{
1531 white
-space
: normal
;
1533 .conversation
-participants ul
,
1534 .conversation
-participants li
{
1535 list-style
-type
: none
;
1536 display
: inline
-block
;
1540 .conversation
-participants li
{
1541 margin
-left
: 0.375em
;
1543 .conversation
-participants li
:not(:last
-of
-type
)::after
{
1547 /*=-------------------------=*/
1548 /*= Posting controls (form) =*/
1549 /*=-------------------------=*/
1551 #content.conversation-page .posting-controls {
1554 #content.conversation-page .post-meta-fields {
1557 flex
-flow
: row wrap
;
1559 .posting
-controls
.standalone textarea
{
1560 margin
-top
: 0.375em
;
1562 .posting
-controls
.standalone form
{
1565 #content.conversation-page .posting-controls.standalone form {
1566 padding
: 0 1em
3em
1em
;
1568 .posting
-controls
.standalone input
[type
='text'],
1569 .posting
-controls
.standalone label
{
1572 .posting
-controls
.standalone label
{
1576 border
: 1px solid transparent
;
1578 .posting
-controls
.standalone input
[type
='text'] {
1579 width
: calc(100%
- 4em
);
1582 .posting
-controls
.standalone input
[type
='submit'] {
1585 .posting
-controls
.standalone
#markdown-hints-checkbox ~ label {
1586 white
-space
: nowrap
;
1588 .posting
-controls
.standalone
#markdown-hints {
1589 top
: calc(100% +
2em
);
1592 /*=--------------------=*/
1593 /*= Conversation title =*/
1594 /*=--------------------=*/
1596 #content.conversation-page h1.page-main-heading {
1606 #content.conversation-page > ul.comment-thread:last-of-type {
1610 /******************/
1611 /* SEARCH RESULTS */
1612 /******************/
1614 #content.search-results-page h1.listing,
1615 #content.sequence-page h1.listing,
1616 #content.post-page h1.listing {
1628 flex
-flow
: row wrap
;
1631 .login
-container form
{
1634 grid
-row
-gap
: 0.5em
;
1635 align
-content
: start
;
1637 .login
-container form label
{
1639 padding
: 0.25em
0.5em
;
1640 white
-space
: nowrap
;
1643 .login
-container form input
{
1647 .login
-container form input
[type
='submit'],
1648 .login
-container form a
{
1650 justify
-self
: center
;
1652 .login
-container form input
[type
='submit'] {
1656 margin
: 0.5em
0 0 0;
1658 .login
-container form h1
{
1664 /* “Log in” form */
1667 grid
-template
-columns
: 5.5em
1fr
;
1668 padding
: 0.5em
2em
0.5em
0;
1671 /* “Create account” form */
1675 grid
-template
-columns
: 8.5em
1fr
;
1676 padding
: 0.5em
1em
1em
1em
;
1681 #signup-form input[type='submit'] {
1682 padding
: 0.4em
0.5em
0.5em
0.5em
;
1687 .login
-container
.login
-tip
{
1688 padding
: 0.5em
0.5em
0.5em
3em
;
1689 margin
: 2em
4em
0 4em
;
1693 .login
-container
.login
-tip span
{
1699 #content.login-page .error-box {
1700 margin
: 1.5em
0.875em
-1.5em
0.875em
;
1702 .error
-box
, .success
-box
{
1707 /***********************/
1708 /* PASSWORD RESET PAGE */
1709 /***********************/
1711 .reset
-password
-container
{
1714 .reset
-password
-container input
[type
='submit'] {
1715 padding
: 0.2em
0.5em
;
1718 .reset
-password
-container input
{
1722 .reset
-password
-container label
{
1723 display
: inline
-block
;
1726 .reset
-password
-container form
> div
{
1729 .reset
-password
-container
.action
-container
{
1733 .reset
-password
-container
.error
-box
{
1737 /*********************/
1738 /* TABLE OF CONTENTS */
1739 /*********************/
1745 margin
: 1.25em
0 0.75em
1.25em
;
1746 padding
: 7px
14px
10px
10px
;
1753 margin
-bottom
: 0.25em
;
1756 .post
-body
.contents ul
{
1757 list-style
-type
: none
;
1758 margin
: 0 0 0 0.5em
;
1759 counter
-reset
: toc
-item
-1 toc
-item
-2 toc
-item
-3;
1763 .post
-body
.contents li
{
1764 margin
: 0.15em
0 0.3em
1em
;
1770 .post
-body
.contents li
::before
{
1777 .contents
.toc
-item
-1 {
1778 counter
-increment
: toc
-item
-1;
1779 counter
-reset
: toc
-item
-2 toc
-item
-3;
1781 .contents
.toc
-item
-1::before
{
1782 content
: counter(toc
-item
-1);
1784 .contents
.toc
-item
-1 ~
.toc
-item
-2 {
1788 .contents
.toc
-item
-2 {
1789 counter
-increment
: toc
-item
-2;
1790 counter
-reset
: toc
-item
-3;
1792 .contents
.toc
-item
-1 ~
.toc
-item
-2::before
{
1793 content
: counter(toc
-item
-1) "." counter(toc
-item
-2);
1795 .contents
.toc
-item
-2::before
{
1796 content
: counter(toc
-item
-2);
1798 .contents
.toc
-item
-1 +
.toc
-item
-3 {
1799 counter
-increment
: toc
-item
-2 toc
-item
-3;
1801 .contents
.toc
-item
-2 ~
.toc
-item
-3,
1802 .contents
.toc
-item
-1 ~
.toc
-item
-3 {
1806 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3 {
1810 .contents
.toc
-item
-3 {
1811 counter
-increment
: toc
-item
-3;
1813 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3::before
{
1814 content
: counter(toc
-item
-1) "." counter(toc
-item
-2) "." counter(toc
-item
-3);
1816 .contents
.toc
-item
-1 ~
.toc
-item
-3::before
{
1817 content
: counter(toc
-item
-1) "." counter(toc
-item
-3);
1819 .contents
.toc
-item
-2 ~
.toc
-item
-3::before
{
1820 content
: counter(toc
-item
-2) "." counter(toc
-item
-3);
1822 .contents
.toc
-item
-3::before
{
1823 content
: counter(toc
-item
-3);
1825 .contents
.toc
-item
-4,
1826 .contents
.toc
-item
-5,
1827 .contents
.toc
-item
-6 {
1831 /********************/
1832 /* POSTS & COMMENTS */
1833 /********************/
1837 display
: inline
-block
;
1839 font
-size
: 1.0625em
;
1842 overflow
-wrap
: break-word
;
1843 text
-align
: justify
;
1848 .retracted
.body
-text
{
1849 text
-decoration
: line
-through
;
1853 word
-break: break-all
;
1856 .body
-text a
:not([href
]),
1857 .body
-text a
:not([href
]):hover
,
1858 .body
-text a
:not([href
])::before
,
1859 .body
-text a
:not([href
])::after
{
1860 text
-decoration
: none
;
1872 flex
-flow
: row wrap
;
1873 justify
-content
: center
;
1875 .post
-meta
.lw2
-link
{
1880 .post
-meta
.post
-section
::before
{
1883 .post
-meta
.post
-section
{
1888 .post
-meta
.post
-section
::before
,
1889 .comment
-meta
.alignment
-forum
{
1890 visibility
: visible
;
1891 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1894 .post
-section
.frontpage
::before
{
1897 .post
-section
.featured
::before
{
1900 .post
-section
.meta
::before
{
1903 .post
-section
.events
::before
{
1906 .post
-section
.personal
::before
{
1909 .post
-section
.draft
::before
{
1912 .post
-section
.alignment
-forum
::before
,
1913 .comment
-meta
.alignment
-forum
{
1915 font
-family
: Concourse
, 'Changa One';
1918 /*= Karma controls hover tooltips =*/
1920 @media only screen
and (pointer
: fine
) {
1921 .post
.voting
-controls
,
1922 .comment
-item
.voting
-controls
{
1925 .post
.karma
.active
-controls
::after
,
1926 .comment
-item
.karma
.active
-controls
::after
{
1927 content
: "Double-click for strong vote";
1929 pointer
-events
: none
;
1934 white
-space
: normal
;
1936 font
-size
: 0.875rem
;
1938 transition
: opacity
0.2s ease
;
1940 .post
.voting
-controls
.active
-controls
:hover
::after
,
1941 .comment
-item
.voting
-controls
.active
-controls
:hover
::after
{
1945 .post
.voting
-controls
.karma
-value
::after
,
1946 .comment
-item
.voting
-controls
.karma
-value
::after
{
1947 content
: attr(title
);
1949 pointer
-events
: none
;
1952 transform
: translateX(-50%
);
1953 white
-space
: pre
-wrap
;
1956 font
-size
: 0.875rem
;
1959 transition
: opacity
0.2s ease
;
1961 .post
.voting
-controls
.agreement
.karma
-value
:hover
::after
,
1962 .comment
-item
.voting
-controls
.agreement
.karma
-value
:hover
::after
{
1966 .post
.voting
-controls
.karma
-value
:hover
::after
,
1967 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
1970 .post
.voting
-controls
.waiting
.karma
-value
:hover
::after
,
1971 .comment
-item
.voting
-controls
.waiting
.karma
-value
:hover
::after
{
1974 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
1981 .author
:not(.redacted
)::before
{
1982 content
: attr(data
-full
-name
);
1984 pointer
-events
: none
;
1989 transform
: translateX(-50%
);
1990 white
-space
: nowrap
;
1992 font
-size
: 0.875rem
;
1993 font
-weight
: normal
;
1995 transition
: opacity
0.2s ease
;
1998 .author
:hover
::before
{
2017 margin
: 0.5em
0 0 0;
2020 margin
: 1.1em
0 0.35em
0;
2031 .post
.top
-post
-meta
:last
-child
{
2032 margin
-bottom
: 40px
;
2034 .post
.bottom
-post
-meta
{
2039 border
-style
: solid
;
2040 border
-width
: 1px
0;
2053 .event
-info
.map
::before
{
2056 padding
-bottom
: 50%
;
2059 .event
-info
.map iframe
{
2062 border
: 1px solid
#000;
2074 /*******************/
2075 /* POST NAVIGATION */
2076 /*******************/
2080 grid
-template
: 100%
/ 32%
36%
32%
;
2081 grid
-template
-areas
:
2087 justify
-content
: flex
-end
;
2095 border
-top
: 1px solid transparent
;
2097 .post
-nav
.prev
.post
-nav
-title
,
2098 .post
-nav
.next
.post
-nav
-title
{
2099 border
-bottom
: 1px solid transparent
;
2103 align
-items
: center
;
2107 .sequence
-title
.post
-nav
-title
{
2113 align
-items
: flex
-start
;
2115 .post
-nav
.prev
.post
-nav
-title
::before
{
2116 content
: "\F0D9\2005";
2121 align
-items
: flex
-end
;
2123 .post
-nav
.prev
.post
-nav
-label
,
2124 .post
-nav
.next
.post
-nav
-label
{
2127 .post
-nav
.next
.post
-nav
-title
::after
{
2128 content
: "\2004\F0DA";
2130 .post
-nav
.prev
.post
-nav
-title
::before
,
2131 .post
-nav
.next
.post
-nav
-title
::after
{
2132 font
-family
: Font Awesome
;
2134 vertical
-align
: text
-bottom
;
2141 @media only screen
and (max
-width
: 900px
) {
2144 grid
-template
: auto auto
/ 50%
50%
;
2145 grid
-template
-areas
:
2149 .post
-nav
.prev
.post
-nav
-title
,
2150 .post
-nav
.next
.post
-nav
-title
{
2151 border
-bottom
: none
;
2162 @media only screen
and (max
-width
: 520px
) {
2163 .post
-nav
-links +
.comments
{
2168 .related
-posts
, .related
-post
-group
{
2169 padding
-bottom
: 1em
;
2171 .related
-post
-type
{
2175 margin
-bottom
: -0.5em
;
2176 list-style
-type
: disc
;
2177 margin
-left
: -0.5em
;
2180 .related
-post
-type
::before
{
2183 font
-weight
: normal
;
2184 margin
-right
: 0.15em
;
2186 vertical
-align
: baseline
;
2189 .related
-posts
.post
-type
-prefix
{
2197 .post
.link
-post
> .post
-body
> p
:first
-child
{
2200 margin
: 0.5em
0 0 0;
2202 .post
.link
-post
> .post
-body
> p
:only
-child
{
2206 .post
.link
-post a
.link
-post
-link
::before
{
2208 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2213 margin
-right
: 0.25em
;
2233 pointer
-events
: none
;
2236 list-style
-type
: none
;
2240 .comments
.comment
-thread
> li
{
2243 #content > #top-nav-bar + .comment-thread .comment-item {
2250 .comment
-item
.comment
-item
{
2251 margin
: 1em
8px
8px
16px
;
2253 .comment
-item
.comment
-item +
.comment
-item
{
2254 margin
: 2em
8px
8px
16px
;
2263 list-style
-type
: circle
;
2265 .comment
-body
> *:first
-child
{
2268 .comment
-body
> *:last
-child
{
2272 .comments
-empty-message
{
2275 padding
: 0.75em
0 0.9em
0;
2279 /**********************************/
2280 /* DEEP COMMENT THREAD COLLAPSING */
2281 /**********************************/
2283 .comment
-item
> input
[id^
="expand"] {
2286 .comment
-item
> input
[id^
="expand"] + label
{
2292 .comment
-item
> input
[id^
="expand"] + label
::after
{
2293 content
: "(Expand " attr(data
-child
-count
) " below)";
2294 visibility
: visible
;
2297 white
-space
: nowrap
;
2300 .comment
-item
> input
[id^
="expand"]:checked + label
::after
{
2301 content
: "(Collapse " attr(data
-child
-count
) " below)";
2303 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
{
2307 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2310 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
{
2311 max
-height
: 1000000px
;
2314 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2317 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2325 .backlinks
> input
{
2329 .backlinks
> label
{
2336 .backlinks
> label
::before
{
2338 border
-left
: 5px solid currentColor
;
2339 border
-top
: 5px solid transparent
;
2340 border
-bottom
: 5px solid transparent
;
2341 transition
: transform
0.25s ease
-out
;
2342 transform
-origin
: 29%
55%
;
2343 display
: inline
-block
;
2344 padding
-right
: 0.5em
;
2347 .backlinks
> input
:checked + label
::before
{
2348 transform
: rotate(90deg
);
2357 perspective
-origin
: top
;
2358 transform
: perspective(100em
) rotateX(-90deg
);
2359 transform
-origin
: center top
;
2362 margin
-bottom
: 0.5em
;
2365 .backlinks
> input
:checked ~ ul
{
2367 transform
: perspective(100em
) rotateX(0deg
);
2368 transition
: transform
0.25s ease
-in
, opacity
0.25s ease
-in
;
2377 padding
: 2px
24px
2px
10px
;
2381 flex
-flow
: row wrap
;
2382 align
-items
: baseline
;
2384 .user
-page
.comment
-meta
,
2385 .conversation
-page
.comment
-meta
{
2386 padding
-right
: 10px
;
2388 .comment
-meta
.comment
-post
-title
{
2391 text
-overflow
: ellipsis
;
2392 white
-space
: nowrap
;
2395 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2400 display
: none
; /* Not sure if we need to display this... */
2402 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2403 content
: "\2004(OP)";
2407 /*****************************/
2408 /* COMMENT THREAD NAVIGATION */
2409 /*****************************/
2411 a
.comment
-parent
-link
:not(.inline
-author
),
2412 a
.comment
-parent
-link
.inline
-author
::before
{
2415 a
.comment
-parent
-link
:hover
{
2418 a
.comment
-parent
-link
::before
{
2420 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2427 padding
: 3px
3px
0 3px
;
2429 height
: calc(100% +
2px
);
2433 a
.comment
-parent
-link
::after
{
2438 width
: calc(100% +
26px
);
2439 height
: calc(100% +
38px
);
2442 pointer
-events
: none
;
2446 a
.comment
-parent
-link
:hover
::after
{
2447 visibility
: visible
;
2450 .comment
-child
-links
{
2453 .comment
-child
-link
{
2455 display
: inline
-block
;
2457 .comment
-child
-link
::before
{
2459 display
: inline
-block
;
2471 pointer
-events
: none
;
2473 .comment
-popup
.comment
-parent
-link
{
2476 .comment
-popup
.comment
-body
{
2477 font
-size
: 1.0625rem
;
2480 .comment
-item
.depth
-odd
{
2481 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2482 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2484 .comment
-item
.depth
-even
{
2485 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2486 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2489 .comment
-item
:target
{
2490 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2492 .comment
-item
:target
> .comment
-thread
> .comment
-item
{
2493 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2496 /**********************/
2497 /* COMMENT PERMALINKS */
2498 /**********************/
2499 /********************/
2500 /* COMMENT LW LINKS */
2501 /********************/
2503 .comment
-meta
.permalink
::before
,
2504 .comment
-meta
.lw2
-link
::before
,
2505 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2507 display
: inline
-block
;
2514 0 0 0 3px transparent
;
2516 background
-size
: 100%
;
2521 .comment
-meta
.permalink
::before
{
2522 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2524 .comment
-meta
.lw2
-link
::before
{
2525 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2527 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2529 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2531 .comment
-meta
.permalink
:hover
::before
{
2532 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2534 .comment
-meta
.lw2
-link
:hover
::before
{
2535 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2537 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2538 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2540 .comment
-meta
.permalink
:hover
::before
,
2541 .comment
-meta
.lw2
-link
:hover
::before
,
2542 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2545 0 0 0 3px transparent
;
2549 .comment
-meta
.permalink
:active
::before
,
2550 .comment
-meta
.lw2
-link
:active
::before
,
2551 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2552 transform
: scale(0.9);
2555 .comment
-meta
.permalink
,
2556 .comment
-meta
.lw2
-link
,
2557 .individual
-thread
-page
.comment
-parent
-link
:empty {
2561 .comment
-meta
.permalink
::after
,
2562 .comment
-meta
.lw2
-link
::after
,
2563 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2572 pointer
-events
: auto
;
2573 visibility
: visible
;
2576 /*************************/
2577 /* COMMENTS COMPACT VIEW */
2578 /*************************/
2580 #comments-list-mode-selector,
2581 #content.index-page #comments-list-mode-selector,
2582 #content.user-page #comments-list-mode-selector {
2587 justify
-self
: start
;
2590 #comments-list-mode-selector button {
2597 background
-repeat
: no
-repeat
;
2598 background
-size
: 100%
;
2599 background
-origin
: content
-box
;
2601 #comments-list-mode-selector button:disabled {
2604 #comments-list-mode-selector button.expanded {
2605 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2607 #comments-list-mode-selector button.compact {
2608 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2610 @media only screen
and (max
-resolution
: 1dppx
) {
2611 #comments-list-mode-selector button.expanded {
2612 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2614 #comments-list-mode-selector button.compact {
2615 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2619 #content > ul.comment-thread > li.comment-item,
2620 #content.compact > ul.comment-thread > li.comment-item {
2624 #content > .comment-thread {
2627 #content.compact > .comment-thread {
2628 font
-size
: 0.9375rem
;
2631 #content.compact > .comment-thread:hover {
2634 #content.compact > .comment-thread .comment-body {
2635 font
-size
: 1.0625rem
;
2637 #content.compact > .comment-thread .comment-item,
2638 #content.index-page .comment-item.ignored,
2639 #content.inbox-user-page .comment-item.ignored {
2645 #content.compact > .comment-thread .comment-item {
2646 pointer
-events
: none
;
2648 #content.compact > .comment-thread .comment-item::after {
2655 padding
: 0 16px
10px
64px
;
2656 pointer
-events
: auto
;
2658 @media only screen
and (hover
: hover
) {
2659 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2660 #content.compact > .comment-thread .comment-item.expanded {
2662 pointer
-events
: auto
;
2666 @media only screen
and (hover
: none
) {
2667 #content.compact > .comment-thread.expanded .comment-item {
2669 pointer
-events
: auto
;
2673 #content.compact > .comment-thread .comment-item .comment-meta {
2674 white
-space
: nowrap
;
2676 text
-overflow
: ellipsis
;
2679 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2682 #content.compact > .comment-thread .comment-item .comment-meta a {
2683 pointer
-events
: auto
;
2685 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2688 #content.compact > .comment-thread .comment-item .comment-meta .voting-controls + .comment-post-title {
2689 margin
-left
: 0.75em
;
2691 @media only screen
and (hover
: hover
) {
2692 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2693 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2696 #content.compact > .comment-thread .comment-item:hover .comment,
2697 #content.compact > .comment-thread .comment-item.expanded .comment {
2703 #content.compact > .comment-thread .comment-item:hover .comment::before,
2704 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2708 width
: calc(100% +
20px
);
2709 height
: calc(100% +
20px
);
2714 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2715 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2719 @media only screen
and (hover
: none
) {
2720 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2723 #content.compact > .comment-thread.expanded .comment-item .comment {
2729 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2733 width
: calc(100% +
14px
);
2734 height
: calc(100% +
20px
);
2739 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2742 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2751 background
-color
: rgba(0,0,0,0.5);
2755 /*****************************/
2756 /* HIGHLIGHTING NEW COMMENTS */
2757 /*****************************/
2759 .new-comment
::before
{
2765 pointer
-events
: none
;
2768 /***********************************/
2769 /* COMMENT THREAD MINIMIZE BUTTONS */
2770 /***********************************/
2772 .comment
-minimize
-button
{
2773 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2784 .comment
-minimize
-button
:active
{
2785 transform
: scale(0.9);
2787 .comment
-minimize
-button
::after
{
2788 content
: attr(data
-child
-count
);
2789 font
-weight
: normal
;
2790 font
-size
: 0.8125rem
;
2797 #content.individual-thread-page .comment-minimize-button {
2805 #content.comment-thread-page .comment-item.ignored {
2809 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2810 text
-decoration
: line
-through
;
2813 /***********************************/
2814 /* INDIVIDUAL COMMENT THREAD PAGES */
2815 /***********************************/
2817 .individual
-thread
-page
> h1
{
2819 margin
: 0.75em
0 3px
0;
2821 .individual
-thread
-page
.comments
{
2829 .shortform
-index
-page
.comments
::before
{
2834 .shortform
-index
-page
.comments
> .comment
-thread
> .comment
-item
:first
-child
{
2846 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2856 @keyframes waiting
{
2857 0%
{background
-position
: 200%
0%
}
2858 100%
{background
-position
: 0%
0%
}
2861 .voting
-controls
.karma
-value
{
2863 transition
: opacity
0.5s linear
;
2866 .voting
-controls
.waiting
.karma
-value
{
2868 background
: repeat
-x linear
-gradient(70deg
, #000 50%, #fff 75%, #000);
2869 background
-clip
: text
;
2870 -webkit
-background
-clip
: text
;
2872 background
-position
: 200%
0%
;
2873 background
-size
: 200%
100%
;
2874 animation
: waiting
1s linear infinite
;
2877 /* Replicated karma controls at bottom of comments. */
2878 .comment
-controls
.voting
-controls
{
2880 font
-size
: 0.9375em
;
2883 .comment
-controls
.voting
-controls
:first
-of
-type
{
2887 /*****************************/
2888 /* COMMENTING AND POSTING UI */
2889 /*****************************/
2893 margin
: 0 8px
8px
16px
;
2897 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2900 .comments
> .comment
-controls
{
2903 .comments
> .comment
-controls
:last
-child
{
2904 margin
: 8px
0 16px
0;
2907 .posting
-controls input
[type
='submit'] {
2910 font
-size
: 1.125rem
;
2913 .comment
-controls
.cancel
-comment
-button
{
2919 padding
: 4px
8px
2px
4px
;
2922 .comment
-controls
.cancel
-comment
-button
::before
{
2923 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2931 .comment +
.comment
-controls
.action
-button
{
2932 font
-weight
: normal
;
2933 font
-size
: 1.0625em
;
2936 .comment
-controls
.action
-button
::before
{
2937 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2940 .new-comment
-button
{
2944 .comment
-controls
.reply
-button
::before
{
2950 .comment
-meta
.replied
::before
{
2952 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2961 margin
: 0.75em
0 0 0;
2966 display
: inline
-block
;
2967 margin
-bottom
: 0.25em
;
2968 font
-size
: 1.125rem
;
2970 .edit
-post
-link
::before
{
2971 margin
-right
: 0.3em
;
2973 .comment
-controls
.edit
-button
::before
,
2974 .edit
-post
-link
::before
{
2976 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2983 .comment
-controls
.delete
-button
{
2984 margin
-right
: 0.25em
;
2986 .comment
-controls
.edit
-button
,
2987 .comment
-controls
.retract
-button
,
2988 .comment
-controls
.unretract
-button
{
2991 .comment
-controls
.retract
-button
::before
{
2995 .comment
-controls
.unretract
-button
::before
{
2999 .comment
-controls
.delete
-button
::before
{
3003 .comment
-controls
.retract
-button
::before
,
3004 .comment
-controls
.unretract
-button
::before
,
3005 .comment
-controls
.delete
-button
::before
{
3010 .comment
-controls form
{
3013 .textarea
-container
{
3016 .posting
-controls textarea
{
3021 max
-height
: calc(100vh
- 6em
);
3025 border
-style
: solid
;
3026 border
-width
: 29px
1px
1px
1px
;
3030 /* GUIEdit buttons */
3032 .guiedit
-buttons
-container
{
3036 width
: calc(100%
- 2px
);
3039 padding
: 1px
4px
0 4px
;
3042 .comment
-thread
-page
.guiedit
-buttons
-container
{
3043 padding
-right
: 60px
;
3045 .guiedit
-buttons
-container button
{
3049 font
-size
: 0.875rem
;
3053 .guiedit
-buttons
-container button
:active
{
3056 .guiedit
-buttons
-container button
:active div
{
3057 transform
: scale(0.9);
3059 .guiedit
-buttons
-container button sup
{
3063 content
: attr(data
-tooltip
);
3065 font
-weight
: normal
;
3071 white
-space
: nowrap
;
3074 .guiedit
:hover
::after
{
3075 visibility
: visible
;
3078 /* Markdown hints */
3080 .posting
-controls
.markdown
-reference
-link
{
3082 padding
: 1px
0 0 6px
;
3084 .posting
-controls
.markdown
-reference
-link a
{
3085 padding
-right
: 1.5em
;
3086 margin
-right
: 0.15em
;
3087 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');
3088 background
-size
: 1.25em
;
3089 background
-repeat
: no
-repeat
;
3090 background
-position
: right center
;
3093 #markdown-hints-checkbox + label {
3095 margin
: 2px
0 0 1em
;
3099 #edit-post-form #markdown-hints-checkbox + label {
3102 #markdown-hints-checkbox {
3106 #markdown-hints-checkbox + label::after {
3107 content
: "(Show Markdown help)";
3109 #markdown-hints-checkbox:checked + label::after {
3110 content
: "(Hide Markdown help)";
3112 #markdown-hints-checkbox + label::before {
3114 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3118 #markdown-hints-checkbox:checked + label::before {
3119 font
-weight
: normal
;
3122 margin
: 4px
0 0 4px
;
3126 top
: calc(100%
- 1em
);
3130 .comment
-controls
#markdown-hints {
3131 top
: calc(100% +
1.75em
);
3133 #markdown-hints-checkbox:checked ~ #markdown-hints {
3136 .markdown
-hints
-row
{
3139 #markdown-hints .markdown-hints-row span,
3140 #markdown-hints .markdown-hints-row code {
3142 display
: table
-cell
;
3144 background
-color
: inherit
;
3145 padding
: 0 12px
0 0;
3148 /******************/
3149 /* EDIT POST FORM */
3150 /******************/
3153 padding
: 1em
1em
4em
1em
;
3155 #edit-post-form .post-meta-fields {
3157 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
3158 margin
-bottom
: 0.625em
;
3161 #edit-post-form label[for='title'],
3162 #edit-post-form label[for='url'],
3163 #edit-post-form label[for='section'] {
3166 #edit-post-form input[type='text'] {
3168 grid
-column
: 2 / span
4;
3169 margin
-bottom
: 0.5em
;
3172 #edit-post-form .link-post-checkbox,
3173 #edit-post-form .link-post-checkbox + label {
3177 #edit-post-form .question-checkbox,
3178 #edit-post-form .question-checkbox + label {
3181 justify
-self
: start
;
3185 #edit-post-form .post-meta-fields label[for="submit-to-frontpage"] {
3187 grid
-column
: 2 / span
4;
3192 #edit-post-form .post-meta-fields input[type='checkbox'] {
3195 pointer
-events
: none
;
3197 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
3198 white
-space
: nowrap
;
3201 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
3204 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
3206 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3207 font
-size
: 1.375rem
;
3216 #edit-post-form label[for='url'],
3217 #edit-post-form input[name='url'] {
3220 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
3221 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
3224 #edit-post-form label {
3225 line
-height
: normal
;
3226 border
: 1px solid transparent
;
3228 padding
: 0.25em
0.5em
;
3229 white
-space
: nowrap
;
3231 #edit-post-form input[type='radio'] {
3235 pointer
-events
: none
;
3237 #edit-post-form input[type='radio'] + label {
3240 border
-style
: solid
;
3241 border
-width
: 1px
1px
1px
0;
3244 #edit-post-form input[type='radio']:checked + label {
3248 #edit-post-form label[for='section'] {
3251 #edit-post-form input[type='radio'] + label {
3254 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
3256 #edit-post-form textarea {
3260 #edit-post-form input[type='submit'] {
3264 #edit-post-form #markdown-hints {
3265 top
: calc(100% +
2em
);
3268 #edit-post-form button.guiedit div {
3271 .guiedit
-mobile
-auxiliary
-button
{
3280 input
[type
='submit'] {
3281 font
-family
: inherit
;
3283 background
-color
: inherit
;
3300 margin
: 1em
0 0.75em
0;
3343 .post
-body
.comment
-box
.comment
-body
{
3346 padding
-left
: 0.5em
;
3348 padding
-bottom
: 3px
;
3350 blockquote
*:first
-child
{
3353 blockquote
*:last
-child
{
3356 blockquote blockquote
{
3360 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3362 .post
-body
.comment
-box
.user
-name
{
3365 .post
-body
.comment
-box
.user
-name
::after
{
3368 .post
-body
.comment
-box
{
3376 #content img, #content figure {
3380 .prediction
-poll
> svg
{
3411 // Aspect ratio trick from https://css-tricks.com/aspect-ratio-boxes/
3413 [style
*="--aspect-ratio"] > * {
3416 [style
*="--aspect-ratio"] > img
{
3419 @supports
(--custom
:property
) {
3420 [style
*="--aspect-ratio"] {
3423 [style
*="--aspect-ratio"]::before
{
3426 padding
-bottom
: calc(100%
/ (var(--aspect
-ratio
)));
3428 [style
*="--aspect-ratio"] > * {
3441 border
-collapse
: collapse
;
3444 .body
-text table th
,
3445 .body
-text table td
{
3450 .body
-text table
.numeric {
3452 font
-family
: Inconsolata
, Menlo
, monospace
;
3454 .body
-text table caption
{
3455 margin
: 0 0 0.25em
0;
3464 /*= Superscripts & subscripts =*/
3466 /* Make sure superscripts and subscripts do not affect line spacing. */
3468 vertical
-align
: baseline
;
3478 /*= Code blocks & other "unstyled" text. =*/
3482 font
-family
: Inconsolata
, Menlo
, monospace
;
3485 white
-space
: pre
-wrap
;
3492 display
: inline
-block
;
3493 padding
: 0 4px
1px
5px
;
3498 padding
: 3px
4px
5px
8px
;
3508 /*= Removing browser default styling of various elements =*/
3510 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3515 /* Remove "embossed" appearance of horizontal rules. */
3523 -webkit
-appearance
: none
;
3524 -moz
-appearance
: none
;
3529 font
-family
: inherit
;
3531 font
-weight
: inherit
;
3539 counter
-reset
: ordered
-list;
3541 .footnote
-definition
{
3543 list-style
-type
: none
;
3544 counter
-increment
: ordered
-list;
3547 .footnote
-definition p
{
3548 font
-size
: inherit
!important
;
3550 .footnote
-definition
::before
{
3551 content
: counter(ordered
-list) ".";
3559 /*= LW Docs footnotes =*/
3565 .footnote
-item
> :not(.nothing
) {
3569 .footnote
-item
> :first
-child
{
3570 margin
-left
: -0.2em
;
3574 .footnote
-back
-link a
:not(.nothing
) {
3576 text
-decoration
: none
;
3580 .footnote
-back
-link a
:not(.nothing
):hover
{
3581 text
-shadow
: 0 0 1px
#fff, 0 0 3px #fff, 0 0 5px #00e;
3583 text
-decoration
: none
;
3586 .footnote
-back
-link a
::after
{
3588 font
-family
: Font Awesome
;
3591 text
-decoration
: none
;
3595 .footnote
-content
> :first
-child
{
3604 margin
-bottom
: 0.5em
;
3617 .body
-text ol
> li
{
3619 counter
-increment
: ol
;
3620 padding
: 0 0 0 2.5em
;
3621 margin
: 0.25em
0 0 0;
3623 .body
-text ol
> li
::before
{
3624 content
: counter(ol
) ".";
3634 .body
-text ul
:not(.contents
-list) > li
:empty {
3635 padding
-bottom
: 1.25em
;
3637 .body
-text ul
:not(.contents
-list) > li
{
3639 padding
: 0 0 0 1.75em
;
3640 margin
: 0.25em
0 0 0;
3642 .body
-text ul
:not(.contents
-list) > li ul
> li
{
3645 .body
-text ul
:not(.contents
-list) > li
::before
{
3652 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
3655 .body
-text li
> ul
:first
-child
> li
{
3658 .body
-text li
> ul
:first
-child
> li
::before
{
3670 .error
-retry
-form input
[type
="submit"] {
3671 border
: 1px solid
#aaa;
3673 font
-size
: 1.125rem
;
3674 padding
: 0.5em
1.25em
;
3681 #content.about-page .contents {
3684 #content.about-page .accesskey-table {
3685 border
-collapse
: collapse
;
3688 #content.about-page .accesskey-table th,
3689 #content.about-page .accesskey-table td {
3692 #content.about-page .accesskey-table td:first-child {
3693 padding
-right
: 1.5em
;
3695 #content.about-page .accesskey-table td:last-child {
3697 font
-family
: Inconsolata
, Menlo
, monospace
;
3699 #content.about-page h3:nth-of-type(n+2) {
3703 /******************/
3704 /* IMAGES OVERLAY */
3705 /******************/
3707 #images-overlay + #content .post-body img {
3711 #images-overlay div {
3714 #images-overlay div::after {
3715 content
: "Click to enlarge";
3724 background
-color
: rgba(0,0,0,0.6);
3728 transition
: opacity
0.15s ease
;
3729 pointer
-events
: none
;
3731 <?php
fit_content("#images-overlay div::after"); ?
>
3732 #images-overlay div:hover::after {
3736 #images-overlay img {
3744 /*=--------------=*/
3745 /*= Hover styles =*/
3746 /*=--------------=*/
3749 #images-overlay img:hover {
3750 filter
: drop
-shadow(0 0 3px
#777);
3753 #content img:active,
3754 #images-overlay img:active {
3755 transform
: scale(0.975);
3762 #image-focus-overlay {
3772 #image-focus-overlay::before {
3780 background
-color
: #000;
3784 #image-focus-overlay.engaged {
3788 #image-focus-overlay img {
3793 transform
: translateX(-50%
) translateY(-50%
);
3796 /*=-------------------=*/
3797 /*= Single-image mode =*/
3798 /*=-------------------=*/
3800 #image-focus-overlay:not(.slideshow) .image-number,
3801 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3809 #image-focus-overlay .caption {
3812 background
-color
: rgba(0,0,0,0.7);
3816 max
-width
: calc(100%
- 18em
);
3824 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3825 #image-focus-overlay .caption.hidden {
3831 #image-focus-overlay .caption p {
3836 #image-focus-overlay .caption:not(:empty)::before {
3841 height
: calc(100% +
1.5em
);
3844 left
: calc(-50vw +
50%
);
3848 /*=--------------=*/
3849 /*= Help overlay =*/
3850 /*=--------------=*/
3852 #image-focus-overlay .help-overlay {
3859 border
-radius
: 10px
;
3863 white
-space
: nowrap
;
3870 background
-color
1s ease
,
3873 #image-focus-overlay .help-overlay:hover {
3876 background
-color
: rgba(0,0,0,0.85);
3878 visibility
: visible
;
3880 visibility
0.2s ease
0.3s
,
3881 color
0.2s ease
0.3s
,
3882 background
-color
0.2s ease
0.3s
;
3885 #image-focus-overlay .help-overlay::after {
3887 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3895 filter
: drop
-shadow(0 0 6px
#fff);
3896 visibility
: visible
;
3901 #image-focus-overlay .help-overlay:hover::after {
3904 visibility
0.2s ease
0.3s
;
3907 #image-focus-overlay .help-overlay p {
3914 #image-focus-overlay .help-overlay p + p {
3915 margin
: 0.75em
0 0 0;
3917 #image-focus-overlay .help-overlay.hidden {
3921 /*=--------------=*/
3922 /*= Slide number =*/
3923 /*=--------------=*/
3925 #image-focus-overlay .image-number {
3939 white
-space
: nowrap
;
3940 transition
: bottom
0.3s ease
;
3942 #image-focus-overlay .image-number::before {
3946 #image-focus-overlay .image-number::after {
3947 content
: " of " attr(data
-number
-of
-images
);
3950 #image-focus-overlay .image-number:hover::before,
3951 #image-focus-overlay .image-number:hover::after {
3954 #image-focus-overlay .image-number.hidden {
3958 /*=-------------------=*/
3959 /*= Slideshow buttons =*/
3960 /*=-------------------=*/
3962 #image-focus-overlay .slideshow-buttons {
3970 justify
-content
: space
-between
;
3971 pointer
-events
: none
;
3973 #image-focus-overlay .slideshow-buttons button {
3974 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3983 pointer
-events
: auto
;
3985 #image-focus-overlay .slideshow-buttons button::selection {
3986 background
-color
: transparent
;
3988 @media only screen
and (hover
: hover
) {
3989 #image-focus-overlay .slideshow-buttons button:hover {
3990 background
-color
: rgba(0,0,0,0.1);
3994 #image-focus-overlay .slideshow-buttons button:active {
3998 #image-focus-overlay .slideshow-buttons button:disabled {
4000 background
-color
: transparent
;
4005 #image-focus-overlay .slideshow-button.previous.hidden {
4008 #image-focus-overlay .slideshow-button.next.hidden {
4012 /*=-----------------=*/
4013 /*= Background blur =*/
4014 /*=-----------------=*/
4020 /**************************/
4021 /* QUALIFIED HYPERLINKING */
4022 /**************************/
4024 #content.no-nav-bars {
4027 #content.no-nav-bars + #ui-elements-container > * {
4034 left
: calc((100%
- 900px
) / 2 - 69px
);
4041 display
: table
-cell
;
4043 vertical
-align
: middle
;
4044 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4051 .qualified
-linking
{
4055 .qualified
-linking input
[type
='checkbox'] {
4061 .qualified
-linking label
{
4062 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4066 display
: inline
-block
;
4067 margin
-left
: 0.25em
;
4069 .qualified
-linking label
:hover
{
4072 .qualified
-linking label
:active span
{
4073 display
: inline
-block
;
4074 transform
: scale(0.9);
4076 .qualified
-linking label
::selection
{
4077 background
-color
: transparent
;
4080 .qualified
-linking label
::after
{
4090 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
4094 .qualified
-linking
-toolbar
{
4100 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
4103 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
4106 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
4111 .qualified
-linking
-toolbar a
{
4116 .qualified
-linking
-toolbar a
::selection
{
4117 background
-color
: transparent
;
4124 #preview-popup-toggle {
4129 color
: var(--GW
-toggle
-widget
-color
, #888);
4131 #preview-popup-toggle:hover {
4132 color
: var(--GW
-toggle
-widget
-hover
-color
, #444);
4135 #content.preview:not(not) {
4138 #content.preview > .comment-thread {
4141 #content.preview.individual-thread-page > .comment-thread > .comment-item {
4144 #content.preview.user-page .page-main-heading, #content.preview.user-page .user-stats {
4147 #content.preview.user-page .page-main-heading {
4150 #content.preview.not(not) .body-text {
4154 #content.preview.user-page .user-stats {
4157 #content.preview.user-page .page-toolbar, #content.preview.user-page nav {
4160 #content.preview button.vote {
4163 #content.preview > h1.listing {
4166 #content.preview.user-page > .comment-thread {
4169 #content.preview > .post {
4172 #content.preview .post-title {
4175 #content.preview .post-meta {
4178 #content.preview .body-text {
4181 #content.preview nav.contents,
4182 #content.preview .lw2-link {
4188 transform
-origin
: top
;
4193 background
-color
: #eee;
4194 border
: 1px solid
#ccc;
4195 box
-shadow
: 2px
6px
20px
-4px
#000;
4196 transition
: height
0.2s ease
, top
0.2s ease
;
4198 .popup
-hide
-button
{
4203 background
-color
: #fff;
4207 font
-family
: "Font Awesome";
4210 border
: 1px solid
#bbb;
4211 border
-radius
: 28px
;
4212 align
-items
: center
;
4213 justify
-content
: center
;
4214 //padding-bottom: 2px;
4215 padding
-left
: 1.5px
;
4216 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4219 .popup
-hide
-button
:hover
::before
{
4220 content
: "Turn off preview popups";
4226 background
-color
: #fff;
4227 border
: 1px solid
#eee;
4236 .mathjax
-block
-container
{
4240 margin
: 1em
0 1.5em
0;
4242 .mathjax
-inline
-container
{
4249 #content .mathjax-inline-container,
4250 #content .mathjax-inline-container .mjpage,
4251 #content .mathjax-inline-container .mjx-chtml,
4252 #content .mathjax-inline-container .mjx-math,
4253 #content .mathjax-inline-container .mjx-mrow {
4255 white
-space
: normal
;
4257 .post
.mathjax
-inline
-container
{
4260 .comment
.mathjax
-inline
-container
{
4263 .mathjax
-inline
-container
.mjx
-chtml
{
4273 background
-color
: currentColor
;
4277 box
-shadow
: 0 0 0 1px currentColor inset
;
4280 .spoiler
:not(:last
-child
) {
4283 #content .spoiler * {
4289 background
-color
: unset;
4292 color
0.1s ease
-out
0.1s
,
4293 background
-color
0.1s ease
-out
0.1s
,
4294 text
-shadow
0.1s ease
-out
0.1s
;
4296 .spoiler
::selection
,
4297 .spoiler
::selection
{
4299 background
-color
: #000;
4301 .spoiler
:not(:hover
)::selection
,
4302 .spoiler
:not(:hover
) ::selection
{
4303 background
-color
: transparent
;
4306 /*= Fix for LessWrong being weird =*/
4311 .spoiler
> p
:first
-child
{
4314 .spoiler
> p
:last
-child
{
4316 padding
-bottom
: 0.25em
;
4318 .spoiler
> p
:hover ~ p
{
4319 background
-color
: currentColor
;
4324 .spoiler
> p
:not(:first
-child
) {
4327 .spoiler
> p
:not(:last
-child
) {
4328 padding
-bottom
: 0.5em
;
4331 .spoiler
:not(:hover
) pre
,
4332 .spoiler
:not(:hover
) code
{
4333 background
-color
: inherit
;
4336 #content .spoiler pre {
4337 border
-color
: currentColor
;
4338 border
-style
: solid
;
4339 border
-width
: 0 1px
;
4343 /*******************/
4344 /* PAGE LIST INDEX */
4345 /*******************/
4352 .page
-list-index
> p
{
4357 .page
-list-index
> ul
* {
4361 .page
-list-index ul
{
4362 padding
-left
: 1.5em
;
4365 .page
-list-index li
{
4369 .page
-list-index li
> a
{
4376 .page
-list-index li
> a
:last
-child
{
4380 /*******************/
4381 /* ALIGNMENT FORUM */
4382 /*******************/
4384 #content.alignment-forum-index-page::after {
4385 content
: "Alignment Forum";
4387 margin
: 0.375em
0 0 -0.375em
;
4391 /**********************/
4392 /* FOR NARROW SCREENS */
4393 /**********************/
4395 @media only screen
and (max
-width
: 1440px
) {
4398 padding
: 8px
10px
10px
10px
;
4402 #hns-date-picker::before {
4407 height
: calc(100% +
2px
);
4413 @media only screen
and (max
-width
: 1160px
) {
4414 #new-comment-nav-ui {
4422 #hns-date-picker::before {
4423 width
: calc(100%
- 35px
);
4425 #theme-selector button::before {
4429 #theme-selector:hover::after {
4433 width
: calc(6em
- 7px
);
4434 height
: calc(100% +
2px
);
4436 left
: calc(100% +
1px
);
4438 #anti-kibitzer-toggle {
4442 @media only screen
and (max
-width
: 1080px
) {
4446 #width-selector button {
4449 #text-size-adjustment-ui {
4453 #text-size-adjustment-ui button {
4457 #text-size-adjustment-ui button.increase {
4460 #text-size-adjustment-ui button.decrease {
4467 #theme-tweaker-toggle {
4471 #theme-tweaker-toggle button {
4479 #new-comment-nav-ui {
4485 #hns-date-picker::before {
4486 width
: calc(100%
- 22px
);
4488 #anti-kibitzer-toggle {
4492 @media only screen
and (max
-width
: 1040px
) {
4496 #new-comment-nav-ui {
4502 #hns-date-picker::before {
4503 width
: calc(100%
- 17px
);
4505 #anti-kibitzer-toggle {
4509 @media only screen
and (max
-width
: 1020px
) {
4513 #new-comment-nav-ui {
4516 #new-comment-nav-ui .new-comments-count::before {
4520 height
: calc(100% +
45px
);
4528 #hns-date-picker::before {
4531 #anti-kibitzer-toggle {
4535 @media only screen
and (max
-width
: 1000px
) {
4542 #theme-selector button {
4545 #text-size-adjustment-ui {
4549 @media not screen
and (hover
: none
) {
4551 #new-comment-nav-ui,
4552 #new-comment-nav-ui + #hns-date-picker,
4553 #anti-kibitzer-toggle {
4556 #quick-nav-ui:hover,
4557 #new-comment-nav-ui:hover,
4558 #new-comment-nav-ui + #hns-date-picker:hover,
4559 #new-comment-nav-ui + #hns-date-picker:focus-within,
4560 #new-comment-nav-ui:hover + #hns-date-picker,
4561 #anti-kibitzer-toggle:hover {
4565 #theme-tweaker-toggle {
4581 #ui-elements-container {
4587 #images-overlay + #content .post-body img {
4588 visibility
: visible
;
4593 #comments-sort-mode-selector {
4596 .comment
-minimize
-button
{
4599 .post
-meta
.qualified
-linking
,
4600 .post
-meta
.lw2
-link
{
4603 .comment
-meta
.permalink
,
4604 .comment
-meta
.lw2
-link
,
4605 .comment
-meta
.comment
-parent
-link
{
4608 .new-comment
::before
{
4616 <?php
include("style_mobile_additions.css.php"); ?
>
4618 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4622 ## TO BE IMPLEMENTED:
4623 ## This will be specified via command-line argument; but for now, we just
4624 ## include all available additions (currently, only 'accordius').
4630 foreach ($additions as $addition) {
4631 $potential_includes = [
4633 "style_mobile_additions.css.php"
4635 foreach ($potential_includes as $include) {
4636 $include_path = "{$addition}/{$include}";
4637 if (file_exists($include_path))
4638 include ($include_path);