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"); ?
>
578 #width-selector button {
584 background
-repeat
: no
-repeat
;
585 background
-size
: 100%
;
586 background
-origin
: content
-box
;
588 #width-selector button,
589 #width-selector button:active,
590 #width-selector button:focus {
594 #width-selector button:disabled {
597 #width-selector button.select-width-normal {
598 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/normal.gif")) ?>');
600 #width-selector button.select-width-wide {
601 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/wide.gif")) ?>');
603 #width-selector button.select-width-fluid {
604 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/fluid.gif")) ?>');
607 /*=----------------=*/
608 /*= Hover tooltips =*/
609 /*=----------------=*/
611 #width-selector button::after {
612 content
: attr(data
-name
);
621 #width-selector button.selected::after {
622 content
: attr(data
-name
) " (selected)";
624 #width-selector button:hover:not(:active)::after {
629 global $content_width_settings;
630 foreach ($content_width_settings as $name => $setting) {
631 echo "head.content-width-{$name} + body > * {\n max-width: {$setting};\n}\n";
647 #theme-selector:hover {
651 /*=----------------------=*/
652 /*= Theme select buttons =*/
653 /*=----------------------=*/
655 .theme
-selector button
{
660 margin
: 1px
7px
0 7px
;
662 background
-size
: 16px
16px
;
663 background
-origin
: content
-box
;
665 .theme
-selector button
,
666 .theme
-selector button
:hover
,
667 .theme
-selector button
:active
,
668 .theme
-selector button
:focus
{
672 .theme
-selector button
:disabled
{
676 /*=----------------------------=*/
677 /*= Pre-rendered button images =*/
678 /*=----------------------------=*/
679 /* (Each is just a capital letter A through whatever) */
681 .theme
-selector button
:nth
-of
-type(1) {
682 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_A.gif")) ?>');
684 .theme
-selector button
:nth
-of
-type(2) {
685 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_B.gif")) ?>');
687 .theme
-selector button
:nth
-of
-type(3) {
688 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_C.gif")) ?>');
690 .theme
-selector button
:nth
-of
-type(4) {
691 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_D.gif")) ?>');
693 .theme
-selector button
:nth
-of
-type(5) {
694 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_E.gif")) ?>');
696 .theme
-selector button
:nth
-of
-type(6) {
697 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_F.gif")) ?>');
699 .theme
-selector button
:nth
-of
-type(7) {
700 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_G.gif")) ?>');
702 .theme
-selector button
:nth
-of
-type(8) {
703 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_H.gif")) ?>');
705 .theme
-selector button
:nth
-of
-type(9) {
706 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_I.gif")) ?>');
709 /*=------------------------------=*/
710 /*= Theme select button tooltips =*/
711 /*=------------------------------=*/
712 /* (with the name & description of the theme that each button selects) */
714 #theme-selector button {
718 #theme-selector button::before {
719 content
: attr(data
-theme
-name
);
723 padding
: 5px
6px
6px
6px
;
730 #theme-selector:hover button::before {
733 #theme-selector:hover ~ #theme-tweaker-toggle,
734 #theme-selector:active ~ #theme-tweaker-toggle {
738 /************************/
739 /* THEME TWEAKER TOGGLE */
740 /************************/
742 #theme-tweaker-toggle {
747 #theme-tweaker-toggle button {
748 font
-family
: "Font Awesome", "Font Awesome 5 Free";
754 #theme-tweaker-toggle button:hover {
758 /*******************/
759 /* QUICKNAV WIDGET */
760 /*******************/
768 font
-family
: "Font Awesome", "Font Awesome 5 Free";
778 #quick-nav-ui a[href='#comments'].no-comments {
779 pointer
-events
: none
;
784 #content.post-page ~ #ui-elements-container #quick-nav-ui a[href='#comments'] {
788 /************************/
789 /* NEW COMMENT QUICKNAV */
790 /************************/
792 #new-comment-nav-ui {
797 #new-comment-nav-ui > * {
801 #new-comment-nav-ui.no-comments {
805 /*=--------------------=*/
806 /*= New comments count =*/
807 /*=--------------------=*/
809 #new-comment-nav-ui .new-comments-count {
817 #new-comment-nav-ui .new-comments-count::selection {
818 background
-color
: transparent
;
820 #new-comment-nav-ui .new-comments-count::after {
826 /*=-----------------------------------=*/
827 /*= Next/previous new comment buttons =*/
828 /*=-----------------------------------=*/
830 #new-comment-nav-ui .new-comment-sequential-nav-button {
832 font
-family
: "Font Awesome", "Font Awesome 5 Free";
837 #new-comment-nav-ui .new-comment-previous {
840 #new-comment-nav-ui .new-comment-next {
843 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
845 pointer
-events
: none
;
848 /*******************/
849 /* HNS DATE PICKER */
850 /*******************/
858 #hns-date-picker:hover,
859 #hns-date-picker:focus-within {
862 #hns-date-picker.no-comments {
866 /*=---------------=*/
867 /*= "Since" label =*/
868 /*=---------------=*/
870 #hns-date-picker span {
873 text
-transform
: uppercase
;
876 /*=--------------------=*/
877 /*= "Since" text field =*/
878 /*=--------------------=*/
880 #hns-date-picker input {
885 box
-shadow
: 0 0 0 1px transparent
;
888 /************************/
889 /* ANTI-KIBITZER TOGGLE */
890 /************************/
892 #anti-kibitzer-toggle {
897 #anti-kibitzer-toggle button {
903 #anti-kibitzer-toggle button::before,
904 #anti-kibitzer-toggle button::after {
905 font
-family
: "Font Awesome", "Font Awesome 5 Free";
907 #anti-kibitzer-toggle button::before {
913 #anti-kibitzer-toggle button::after {
914 content
: "\F007\2004\F164";
918 #anti-kibitzer-toggle.engaged button::before {
922 /************************/
923 /* TEXT SIZE ADJUSTMENT */
924 /************************/
926 #text-size-adjustment-ui {
932 #text-size-adjustment-ui:hover {
936 /* This doesn't work in Mozilla browsers, so hide it */
937 @-moz
-document url
-prefix() {
938 #text-size-adjustment-ui {
947 #text-size-adjustment-ui button {
949 font
-family
: "Font Awesome", "Font Awesome 5 Free";
955 #text-size-adjustment-ui button.default {
956 font
-family
: inherit
;
961 #text-size-adjustment-ui button:disabled {
964 #text-size-adjustment-ui button:disabled:hover {
968 /*=----------------=*/
969 /*= Hover tooltips =*/
970 /*=----------------=*/
972 #text-size-adjustment-ui::after {
973 content
: "Adjust text size";
983 #text-size-adjustment-ui:hover::after {
987 /*******************************/
988 /* COMMENTS VIEW MODE SELECTOR */
989 /*******************************/
991 #comments-view-mode-selector {
997 #comments-view-mode-selector:hover {
1005 #comments-view-mode-selector a {
1007 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1014 #comments-view-mode-selector a.threaded {
1015 transform
: scaleY(-1);
1018 #comments-view-mode-selector a.chrono {
1019 font
-weight
: normal
;
1021 #comments-view-mode-selector a.selected,
1022 #comments-view-mode-selector a:hover {
1024 text
-decoration
: none
;
1026 #comments-view-mode-selector a.selected {
1034 #keyboard-help-overlay {
1037 background
-color
: rgba(0,0,0,0.7);
1044 justify
-content
: center
;
1045 align
-items
: center
;
1046 padding
: 20px
30px
30px
20px
;
1051 #keyboard-help-overlay .keyboard-help-container {
1052 background
-color
: #fff;
1053 filter
: drop
-shadow(4px
4px
2px
#000);
1060 #keyboard-help-overlay .keyboard-help-container h1 {
1062 border
-bottom
: 1px solid
#ddd;
1066 #keyboard-help-overlay .keyboard-help-container .note {
1071 #keyboard-help-overlay .keyboard-help-container .keyboard-shortcuts-lists {
1075 border
-top
: 1px solid
#ddd;
1078 #keyboard-help-overlay .keyboard-help-container ul {
1079 list-style
-type
: none
;
1082 break-inside
: avoid
;
1083 white
-space
: nowrap
;
1085 #keyboard-help-overlay .keyboard-help-container ul:nth-of-type(n+2) {
1088 #keyboard-help-overlay .keyboard-help-container ul li.section {
1090 font
-size
: 1.125rem
;
1093 #keyboard-help-overlay .keyboard-help-container .keys {
1094 margin
: 0 0.5em
0 0;
1096 display
: inline
-block
;
1098 #keyboard-help-overlay .keyboard-help-container .keys code {
1101 #keyboard-help-overlay .keyboard-help-container code {
1102 display
: inline
-block
;
1103 background
-color
: #eee;
1104 border
: 1px solid
#ccc;
1105 padding
: 3px
8px
4px
8px
;
1108 #keyboard-help-overlay .keyboard-help-container code.ak {
1109 background
-color
: #ffeb83;
1110 border
-color
: #d4a500;
1112 #keyboard-help-overlay .keyboard-help-container code.ak::before {
1117 #nav-item-about button.open-keyboard-help {
1120 @media only screen
and (hover
:hover
) and (pointer
:fine
) {
1123 padding
-right
: 0.25em
;
1125 #nav-item-about button.open-keyboard-help {
1126 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1135 background
-color
: transparent
;
1139 #keyboard-help-overlay button.close-keyboard-help {
1143 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1153 margin
: 1.25em
0.5em
0 0.5em
;
1159 .archive
-nav
*[class^
='archive-nav-item'] {
1163 padding
: 6px
4px
4px
4px
;
1166 @-moz
-document url
-prefix() {
1167 .archive
-nav
*[class^
='archive-nav-item'] {
1171 .archive
-nav
-days
.archive
-nav
-item
-day
{
1173 padding
: 7px
0 5px
0;
1176 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1185 margin
: 1.25em
0.5em
0 0.5em
;
1191 .archive
-nav
*[class^
='archive-nav-item'] {
1195 padding
: 6px
4px
4px
4px
;
1198 @-moz
-document url
-prefix() {
1199 .archive
-nav
*[class^
='archive-nav-item'] {
1203 .archive
-nav
-days
.archive
-nav
-item
-day
{
1205 padding
: 7px
0 5px
0;
1208 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1217 font
-size
: 1.875rem
;
1227 /* Links to link-posts (not the link-post links themselves; that's below) */
1228 h1
.listing
.link
-post
-link + a
{
1229 margin
-left
: 0.25em
;
1232 h1
.listing
.link
-post
-link
{
1235 vertical
-align
: top
;
1240 /*=----------------------=*/
1241 /*= Listing hover reveal =*/
1242 /*=----------------------=*/
1243 /* (On desktops, hover over a multi-line listing to reveal all of it) */
1245 @media only screen
and (min
-width
: 1160px
) {
1248 display
: inline
-block
;
1249 white
-space
: nowrap
;
1250 text
-overflow
: ellipsis
;
1252 border
-bottom
: 1px solid transparent
;
1253 -webkit
-hyphens
: auto
;
1258 padding
: 0 0 1px
1px
;
1260 h1
.listing
.link
-post
-link + a
{
1261 max
-width
: calc(100%
- 40px
);
1264 h1
.listing a
:focus
{
1265 text
-decoration
: dotted underline
;
1266 white
-space
: initial
;
1270 h1
.listing
:focus
-within
::before
{
1272 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1278 /* Adds hysteresis to the hover area (i.e., prevents oscillation due to small
1280 <?php
$margin_of_hover_error = '10px'; ?
>
1282 h1
.listing a
:not(.edit
-post
-link
):hover
::before
{
1285 top
: -<?php
echo $margin_of_hover_error; ?
>;
1286 right
: -<?php
echo $margin_of_hover_error; ?
>;
1287 bottom
: -<?php
echo $margin_of_hover_error; ?
>;
1288 left
: -<?php
echo $margin_of_hover_error; ?
>;
1291 h1
.listing
.link
-post
-link
:hover
{
1292 text
-decoration
: none
;
1296 /*=-----------------------=*/
1297 /*= In-listing edit links =*/
1298 /*=-----------------------=*/
1300 h1
.listing
.edit
-post
-link
{
1305 /*=---------------------------------=*/
1306 /*= Error messages on listing pages =*/
1307 /*=---------------------------------=*/
1312 padding
: 1.25em
0 1.25em
0;
1316 /*********************/
1317 /* LISTING POST-META */
1318 /*********************/
1320 h1
.listing +
.post
-meta
{
1322 justify
-content
: flex
-start
;
1323 margin
: 0 20px
0 21px
;
1326 h1
.listing +
.post
-meta
> * {
1330 h1
.listing +
.post
-meta
.post
-section
{
1335 h1
.listing +
.post
-meta
.post
-section
::before
{
1340 h1
.listing +
.post
-meta
.read
-time
{
1344 /********************/
1345 /* SEQUENCES & TAGS */
1346 /********************/
1348 .sequence
-text
, .tag
-description
{
1353 #content.tag-index-page .tag-description {
1362 h1
.sequence
-chapter
{
1370 .post
-meta +
.comments
{
1378 border
-bottom
: 1px solid
#999;
1379 padding
-bottom
: 1em
;
1387 /*=---------------------=*/
1388 /*= User's display name =*/
1389 /*=---------------------=*/
1391 #content.user-page h1.page-main-heading {
1392 margin
: 0.25em
0 0 0;
1394 grid
-column
: 1 / span
2;
1398 #content.user-page h1.page-main-heading .user-full-name {
1400 font
-weight
: normal
;
1401 padding
-left
: 0.5em
;
1404 /*=--------------------=*/
1405 /*= User's karma total =*/
1406 /*=--------------------=*/
1408 #content.user-page .user-stats {
1415 #content.user-page .user-stats .karma-type {
1416 white
-space
: nowrap
;
1419 /*=----------------------=*/
1420 /*= Expanded vs. compact =*/
1421 /*=----------------------=*/
1423 #content.user-page #comments-list-mode-selector {
1426 #content.user-page #comments-list-mode-selector button {
1430 /*=----------------------------------------------------=*/
1431 /*= All, Posts, Comments, Drafts, Conversations, Inbox =*/
1432 /*=----------------------------------------------------=*/
1434 #content.user-page .sublevel-nav {
1435 margin
-bottom
: 0.5em
;
1438 /*=--------------=*/
1439 /*= User's posts =*/
1440 /*=--------------=*/
1442 #content.user-page h1.listing {
1443 margin
: 0.5em
0 0 0;
1446 #content.user-page .user-bio :first-child {
1454 /*=----------------------=*/
1455 /*= List of participants =*/
1456 /*=----------------------=*/
1458 #content.conversation-page .conversation-participants {
1459 grid
-column
: 2 / span
2;
1461 margin
: 0.5em
0 0 0;
1463 .post
-meta
> .conversation
-participants
{
1464 white
-space
: normal
;
1466 .conversation
-participants ul
,
1467 .conversation
-participants li
{
1468 list-style
-type
: none
;
1469 display
: inline
-block
;
1473 .conversation
-participants li
{
1474 margin
-left
: 0.375em
;
1476 .conversation
-participants li
:not(:last
-of
-type
)::after
{
1480 /*=-------------------------=*/
1481 /*= Posting controls (form) =*/
1482 /*=-------------------------=*/
1484 #content.conversation-page .posting-controls {
1487 #content.conversation-page .post-meta-fields {
1490 flex
-flow
: row wrap
;
1492 .posting
-controls
.standalone textarea
{
1493 margin
-top
: 0.375em
;
1495 .posting
-controls
.standalone form
{
1498 #content.conversation-page .posting-controls.standalone form {
1499 padding
: 0 1em
3em
1em
;
1501 .posting
-controls
.standalone input
[type
='text'],
1502 .posting
-controls
.standalone label
{
1505 .posting
-controls
.standalone label
{
1509 border
: 1px solid transparent
;
1511 .posting
-controls
.standalone input
[type
='text'] {
1512 width
: calc(100%
- 4em
);
1515 .posting
-controls
.standalone input
[type
='submit'] {
1518 .posting
-controls
.standalone
#markdown-hints-checkbox ~ label {
1519 white
-space
: nowrap
;
1521 .posting
-controls
.standalone
#markdown-hints {
1522 top
: calc(100% +
2em
);
1525 /*=--------------------=*/
1526 /*= Conversation title =*/
1527 /*=--------------------=*/
1529 #content.conversation-page h1.page-main-heading {
1539 #content.conversation-page > ul.comment-thread:last-of-type {
1543 /******************/
1544 /* SEARCH RESULTS */
1545 /******************/
1547 #content.search-results-page h1.listing,
1548 #content.sequence-page h1.listing,
1549 #content.post-page h1.listing {
1561 flex
-flow
: row wrap
;
1564 .login
-container form
{
1567 grid
-row
-gap
: 0.5em
;
1568 align
-content
: start
;
1570 .login
-container form label
{
1572 padding
: 0.25em
0.5em
;
1573 white
-space
: nowrap
;
1576 .login
-container form input
{
1580 .login
-container form input
[type
='submit'],
1581 .login
-container form a
{
1583 justify
-self
: center
;
1585 .login
-container form input
[type
='submit'] {
1589 margin
: 0.5em
0 0 0;
1591 .login
-container form h1
{
1597 /* “Log in” form */
1600 grid
-template
-columns
: 5.5em
1fr
;
1601 padding
: 0.5em
2em
0.5em
0;
1604 /* “Create account” form */
1608 grid
-template
-columns
: 8.5em
1fr
;
1609 padding
: 0.5em
1em
1em
1em
;
1614 #signup-form input[type='submit'] {
1615 padding
: 0.4em
0.5em
0.5em
0.5em
;
1620 .login
-container
.login
-tip
{
1621 padding
: 0.5em
0.5em
0.5em
3em
;
1622 margin
: 2em
4em
0 4em
;
1626 .login
-container
.login
-tip span
{
1632 #content.login-page .error-box {
1633 margin
: 1.5em
0.875em
-1.5em
0.875em
;
1635 .error
-box
, .success
-box
{
1640 /***********************/
1641 /* PASSWORD RESET PAGE */
1642 /***********************/
1644 .reset
-password
-container
{
1647 .reset
-password
-container input
[type
='submit'] {
1648 padding
: 0.2em
0.5em
;
1651 .reset
-password
-container input
{
1655 .reset
-password
-container label
{
1656 display
: inline
-block
;
1659 .reset
-password
-container form
> div
{
1662 .reset
-password
-container
.action
-container
{
1666 .reset
-password
-container
.error
-box
{
1670 /*********************/
1671 /* TABLE OF CONTENTS */
1672 /*********************/
1678 margin
: 1.25em
0 0.75em
1.25em
;
1679 padding
: 7px
14px
10px
10px
;
1686 margin
-bottom
: 0.25em
;
1689 .post
-body
.contents ul
{
1690 list-style
-type
: none
;
1691 margin
: 0 0 0 0.5em
;
1692 counter
-reset
: toc
-item
-1 toc
-item
-2 toc
-item
-3;
1696 .post
-body
.contents li
{
1697 margin
: 0.15em
0 0.3em
1em
;
1703 .post
-body
.contents li
::before
{
1710 .contents
.toc
-item
-1 {
1711 counter
-increment
: toc
-item
-1;
1712 counter
-reset
: toc
-item
-2 toc
-item
-3;
1714 .contents
.toc
-item
-1::before
{
1715 content
: counter(toc
-item
-1);
1717 .contents
.toc
-item
-1 ~
.toc
-item
-2 {
1721 .contents
.toc
-item
-2 {
1722 counter
-increment
: toc
-item
-2;
1723 counter
-reset
: toc
-item
-3;
1725 .contents
.toc
-item
-1 ~
.toc
-item
-2::before
{
1726 content
: counter(toc
-item
-1) "." counter(toc
-item
-2);
1728 .contents
.toc
-item
-2::before
{
1729 content
: counter(toc
-item
-2);
1731 .contents
.toc
-item
-1 +
.toc
-item
-3 {
1732 counter
-increment
: toc
-item
-2 toc
-item
-3;
1734 .contents
.toc
-item
-2 ~
.toc
-item
-3,
1735 .contents
.toc
-item
-1 ~
.toc
-item
-3 {
1739 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3 {
1743 .contents
.toc
-item
-3 {
1744 counter
-increment
: toc
-item
-3;
1746 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3::before
{
1747 content
: counter(toc
-item
-1) "." counter(toc
-item
-2) "." counter(toc
-item
-3);
1749 .contents
.toc
-item
-1 ~
.toc
-item
-3::before
{
1750 content
: counter(toc
-item
-1) "." counter(toc
-item
-3);
1752 .contents
.toc
-item
-2 ~
.toc
-item
-3::before
{
1753 content
: counter(toc
-item
-2) "." counter(toc
-item
-3);
1755 .contents
.toc
-item
-3::before
{
1756 content
: counter(toc
-item
-3);
1758 .contents
.toc
-item
-4,
1759 .contents
.toc
-item
-5,
1760 .contents
.toc
-item
-6 {
1764 /********************/
1765 /* POSTS & COMMENTS */
1766 /********************/
1770 display
: inline
-block
;
1772 font
-size
: 1.0625em
;
1775 overflow
-wrap
: break-word
;
1776 text
-align
: justify
;
1781 .retracted
.body
-text
{
1782 text
-decoration
: line
-through
;
1786 word
-break: break-all
;
1789 .body
-text a
:not([href
]),
1790 .body
-text a
:not([href
]):hover
,
1791 .body
-text a
:not([href
])::before
,
1792 .body
-text a
:not([href
])::after
{
1793 text
-decoration
: none
;
1805 flex
-flow
: row wrap
;
1806 justify
-content
: center
;
1808 .post
-meta
.lw2
-link
{
1813 .post
-meta
.post
-section
::before
{
1816 .post
-meta
.post
-section
{
1821 .post
-meta
.post
-section
::before
,
1822 .comment
-meta
.alignment
-forum
{
1823 visibility
: visible
;
1824 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1827 .post
-section
.frontpage
::before
{
1830 .post
-section
.featured
::before
{
1833 .post
-section
.meta
::before
{
1836 .post
-section
.events
::before
{
1839 .post
-section
.personal
::before
{
1842 .post
-section
.draft
::before
{
1845 .post
-section
.alignment
-forum
::before
,
1846 .comment
-meta
.alignment
-forum
{
1848 font
-family
: Concourse
, 'Changa One';
1851 /*= Karma controls hover tooltips =*/
1853 @media only screen
and (pointer
: fine
) {
1854 .post
.voting
-controls
,
1855 .comment
-item
.voting
-controls
{
1858 .post
.karma
.active
-controls
::after
,
1859 .comment
-item
.karma
.active
-controls
::after
{
1860 content
: "Double-click for strong vote";
1862 pointer
-events
: none
;
1867 white
-space
: normal
;
1869 font
-size
: 0.875rem
;
1871 transition
: opacity
0.2s ease
;
1873 .post
.voting
-controls
.active
-controls
:hover
::after
,
1874 .comment
-item
.voting
-controls
.active
-controls
:hover
::after
{
1878 .post
.voting
-controls
.karma
-value
::after
,
1879 .comment
-item
.voting
-controls
.karma
-value
::after
{
1880 content
: attr(title
);
1882 pointer
-events
: none
;
1885 transform
: translateX(-50%
);
1886 white
-space
: pre
-wrap
;
1889 font
-size
: 0.875rem
;
1892 transition
: opacity
0.2s ease
;
1894 .post
.voting
-controls
.agreement
.karma
-value
:hover
::after
,
1895 .comment
-item
.voting
-controls
.agreement
.karma
-value
:hover
::after
{
1899 .post
.voting
-controls
.karma
-value
:hover
::after
,
1900 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
1903 .post
.voting
-controls
.waiting
.karma
-value
:hover
::after
,
1904 .comment
-item
.voting
-controls
.waiting
.karma
-value
:hover
::after
{
1907 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
1914 .author
:not(.redacted
)::before
{
1915 content
: attr(data
-full
-name
);
1917 pointer
-events
: none
;
1922 transform
: translateX(-50%
);
1923 white
-space
: nowrap
;
1925 font
-size
: 0.875rem
;
1926 font
-weight
: normal
;
1928 transition
: opacity
0.2s ease
;
1931 .author
:hover
::before
{
1950 margin
: 0.5em
0 0 0;
1953 margin
: 1.1em
0 0.35em
0;
1964 .post
.top
-post
-meta
:last
-child
{
1965 margin
-bottom
: 40px
;
1967 .post
.bottom
-post
-meta
{
1972 border
-style
: solid
;
1973 border
-width
: 1px
0;
1986 .event
-info
.map
::before
{
1989 padding
-bottom
: 50%
;
1992 .event
-info
.map iframe
{
1995 border
: 1px solid
#000;
2007 /*******************/
2008 /* POST NAVIGATION */
2009 /*******************/
2013 grid
-template
: 100%
/ 32%
36%
32%
;
2014 grid
-template
-areas
:
2020 justify
-content
: flex
-end
;
2028 border
-top
: 1px solid transparent
;
2030 .post
-nav
.prev
.post
-nav
-title
,
2031 .post
-nav
.next
.post
-nav
-title
{
2032 border
-bottom
: 1px solid transparent
;
2036 align
-items
: center
;
2040 .sequence
-title
.post
-nav
-title
{
2046 align
-items
: flex
-start
;
2048 .post
-nav
.prev
.post
-nav
-title
::before
{
2049 content
: "\F0D9\2005";
2054 align
-items
: flex
-end
;
2056 .post
-nav
.prev
.post
-nav
-label
,
2057 .post
-nav
.next
.post
-nav
-label
{
2060 .post
-nav
.next
.post
-nav
-title
::after
{
2061 content
: "\2004\F0DA";
2063 .post
-nav
.prev
.post
-nav
-title
::before
,
2064 .post
-nav
.next
.post
-nav
-title
::after
{
2065 font
-family
: Font Awesome
;
2067 vertical
-align
: text
-bottom
;
2074 @media only screen
and (max
-width
: 900px
) {
2077 grid
-template
: auto auto
/ 50%
50%
;
2078 grid
-template
-areas
:
2082 .post
-nav
.prev
.post
-nav
-title
,
2083 .post
-nav
.next
.post
-nav
-title
{
2084 border
-bottom
: none
;
2095 @media only screen
and (max
-width
: 520px
) {
2096 .post
-nav
-links +
.comments
{
2101 .related
-posts
, .related
-post
-group
{
2102 padding
-bottom
: 1em
;
2104 .related
-post
-type
{
2108 margin
-bottom
: -0.5em
;
2109 list-style
-type
: disc
;
2110 margin
-left
: -0.5em
;
2113 .related
-post
-type
::before
{
2116 font
-weight
: normal
;
2117 margin
-right
: 0.15em
;
2119 vertical
-align
: baseline
;
2122 .related
-posts
.post
-type
-prefix
{
2130 .post
.link
-post
> .post
-body
> p
:first
-child
{
2133 margin
: 0.5em
0 0 0;
2135 .post
.link
-post
> .post
-body
> p
:only
-child
{
2139 .post
.link
-post a
.link
-post
-link
::before
{
2141 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2146 margin
-right
: 0.25em
;
2166 pointer
-events
: none
;
2169 list-style
-type
: none
;
2173 .comments
.comment
-thread
> li
{
2176 #content > #top-nav-bar + .comment-thread .comment-item {
2183 .comment
-item
.comment
-item
{
2184 margin
: 1em
8px
8px
16px
;
2186 .comment
-item
.comment
-item +
.comment
-item
{
2187 margin
: 2em
8px
8px
16px
;
2196 list-style
-type
: circle
;
2198 .comment
-body
> *:first
-child
{
2201 .comment
-body
> *:last
-child
{
2205 .comments
-empty-message
{
2208 padding
: 0.75em
0 0.9em
0;
2212 /**********************************/
2213 /* DEEP COMMENT THREAD COLLAPSING */
2214 /**********************************/
2216 .comment
-item
> input
[id^
="expand"] {
2219 .comment
-item
> input
[id^
="expand"] + label
{
2225 .comment
-item
> input
[id^
="expand"] + label
::after
{
2226 content
: "(Expand " attr(data
-child
-count
) " below)";
2227 visibility
: visible
;
2230 white
-space
: nowrap
;
2233 .comment
-item
> input
[id^
="expand"]:checked + label
::after
{
2234 content
: "(Collapse " attr(data
-child
-count
) " below)";
2236 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
{
2240 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2243 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
{
2244 max
-height
: 1000000px
;
2247 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2250 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2258 .backlinks
> input
{
2262 .backlinks
> label
{
2269 .backlinks
> label
::before
{
2271 border
-left
: 5px solid currentColor
;
2272 border
-top
: 5px solid transparent
;
2273 border
-bottom
: 5px solid transparent
;
2274 transition
: transform
0.25s ease
-out
;
2275 transform
-origin
: 29%
55%
;
2276 display
: inline
-block
;
2277 padding
-right
: 0.5em
;
2280 .backlinks
> input
:checked + label
::before
{
2281 transform
: rotate(90deg
);
2290 perspective
-origin
: top
;
2291 transform
: perspective(100em
) rotateX(-90deg
);
2292 transform
-origin
: center top
;
2295 margin
-bottom
: 0.5em
;
2298 .backlinks
> input
:checked ~ ul
{
2300 transform
: perspective(100em
) rotateX(0deg
);
2301 transition
: transform
0.25s ease
-in
, opacity
0.25s ease
-in
;
2310 padding
: 2px
24px
2px
10px
;
2314 flex
-flow
: row wrap
;
2315 align
-items
: baseline
;
2317 .user
-page
.comment
-meta
,
2318 .conversation
-page
.comment
-meta
{
2319 padding
-right
: 10px
;
2321 .comment
-meta
.comment
-post
-title
{
2324 text
-overflow
: ellipsis
;
2325 white
-space
: nowrap
;
2328 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2333 display
: none
; /* Not sure if we need to display this... */
2335 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2336 content
: "\2004(OP)";
2340 /*****************************/
2341 /* COMMENT THREAD NAVIGATION */
2342 /*****************************/
2344 a
.comment
-parent
-link
:not(.inline
-author
),
2345 a
.comment
-parent
-link
.inline
-author
::before
{
2348 a
.comment
-parent
-link
:hover
{
2351 a
.comment
-parent
-link
::before
{
2353 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2360 padding
: 3px
3px
0 3px
;
2362 height
: calc(100% +
2px
);
2366 a
.comment
-parent
-link
::after
{
2371 width
: calc(100% +
26px
);
2372 height
: calc(100% +
38px
);
2375 pointer
-events
: none
;
2379 a
.comment
-parent
-link
:hover
::after
{
2380 visibility
: visible
;
2383 .comment
-child
-links
{
2386 .comment
-child
-link
{
2388 display
: inline
-block
;
2390 .comment
-child
-link
::before
{
2392 display
: inline
-block
;
2404 pointer
-events
: none
;
2406 .comment
-popup
.comment
-parent
-link
{
2409 .comment
-popup
.comment
-body
{
2410 font
-size
: 1.0625rem
;
2413 .comment
-item
.depth
-odd
{
2414 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2415 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2417 .comment
-item
.depth
-even
{
2418 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2419 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2422 .comment
-item
:target
{
2423 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2425 .comment
-item
:target
> .comment
-thread
> .comment
-item
{
2426 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2429 /**********************/
2430 /* COMMENT PERMALINKS */
2431 /**********************/
2432 /********************/
2433 /* COMMENT LW LINKS */
2434 /********************/
2436 .comment
-meta
.permalink
::before
,
2437 .comment
-meta
.lw2
-link
::before
,
2438 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2440 display
: inline
-block
;
2447 0 0 0 3px transparent
;
2449 background
-size
: 100%
;
2454 .comment
-meta
.permalink
::before
{
2455 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2457 .comment
-meta
.lw2
-link
::before
{
2458 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2460 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2462 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2464 .comment
-meta
.permalink
:hover
::before
{
2465 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2467 .comment
-meta
.lw2
-link
:hover
::before
{
2468 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2470 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2471 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2473 .comment
-meta
.permalink
:hover
::before
,
2474 .comment
-meta
.lw2
-link
:hover
::before
,
2475 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2478 0 0 0 3px transparent
;
2482 .comment
-meta
.permalink
:active
::before
,
2483 .comment
-meta
.lw2
-link
:active
::before
,
2484 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2485 transform
: scale(0.9);
2488 .comment
-meta
.permalink
,
2489 .comment
-meta
.lw2
-link
,
2490 .individual
-thread
-page
.comment
-parent
-link
:empty {
2494 .comment
-meta
.permalink
::after
,
2495 .comment
-meta
.lw2
-link
::after
,
2496 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2505 pointer
-events
: auto
;
2506 visibility
: visible
;
2509 /*************************/
2510 /* COMMENTS COMPACT VIEW */
2511 /*************************/
2513 #comments-list-mode-selector,
2514 #content.index-page #comments-list-mode-selector,
2515 #content.user-page #comments-list-mode-selector {
2520 justify
-self
: start
;
2523 #comments-list-mode-selector button {
2530 background
-repeat
: no
-repeat
;
2531 background
-size
: 100%
;
2532 background
-origin
: content
-box
;
2534 #comments-list-mode-selector button:disabled {
2537 #comments-list-mode-selector button.expanded {
2538 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2540 #comments-list-mode-selector button.compact {
2541 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2543 @media only screen
and (max
-resolution
: 1dppx
) {
2544 #comments-list-mode-selector button.expanded {
2545 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2547 #comments-list-mode-selector button.compact {
2548 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2552 #content > ul.comment-thread > li.comment-item,
2553 #content.compact > ul.comment-thread > li.comment-item {
2557 #content > .comment-thread {
2560 #content.compact > .comment-thread {
2561 font
-size
: 0.9375rem
;
2564 #content.compact > .comment-thread:hover {
2567 #content.compact > .comment-thread .comment-body {
2568 font
-size
: 1.0625rem
;
2570 #content.compact > .comment-thread .comment-item,
2571 #content.index-page .comment-item.ignored,
2572 #content.inbox-user-page .comment-item.ignored {
2578 #content.compact > .comment-thread .comment-item {
2579 pointer
-events
: none
;
2581 #content.compact > .comment-thread .comment-item::after {
2588 padding
: 0 16px
10px
64px
;
2589 pointer
-events
: auto
;
2591 @media only screen
and (hover
: hover
) {
2592 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2593 #content.compact > .comment-thread .comment-item.expanded {
2595 pointer
-events
: auto
;
2599 @media only screen
and (hover
: none
) {
2600 #content.compact > .comment-thread.expanded .comment-item {
2602 pointer
-events
: auto
;
2606 #content.compact > .comment-thread .comment-item .comment-meta {
2607 white
-space
: nowrap
;
2609 text
-overflow
: ellipsis
;
2612 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2615 #content.compact > .comment-thread .comment-item .comment-meta a {
2616 pointer
-events
: auto
;
2618 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2621 #content.compact > .comment-thread .comment-item .comment-meta .voting-controls + .comment-post-title {
2622 margin
-left
: 0.75em
;
2624 @media only screen
and (hover
: hover
) {
2625 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2626 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2629 #content.compact > .comment-thread .comment-item:hover .comment,
2630 #content.compact > .comment-thread .comment-item.expanded .comment {
2636 #content.compact > .comment-thread .comment-item:hover .comment::before,
2637 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2641 width
: calc(100% +
20px
);
2642 height
: calc(100% +
20px
);
2647 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2648 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2652 @media only screen
and (hover
: none
) {
2653 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2656 #content.compact > .comment-thread.expanded .comment-item .comment {
2662 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2666 width
: calc(100% +
14px
);
2667 height
: calc(100% +
20px
);
2672 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2675 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2684 background
-color
: rgba(0,0,0,0.5);
2688 /*****************************/
2689 /* HIGHLIGHTING NEW COMMENTS */
2690 /*****************************/
2692 .new-comment
::before
{
2698 pointer
-events
: none
;
2701 /***********************************/
2702 /* COMMENT THREAD MINIMIZE BUTTONS */
2703 /***********************************/
2705 .comment
-minimize
-button
{
2706 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2717 .comment
-minimize
-button
:active
{
2718 transform
: scale(0.9);
2720 .comment
-minimize
-button
::after
{
2721 content
: attr(data
-child
-count
);
2722 font
-weight
: normal
;
2723 font
-size
: 0.8125rem
;
2730 #content.individual-thread-page .comment-minimize-button {
2738 #content.comment-thread-page .comment-item.ignored {
2742 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2743 text
-decoration
: line
-through
;
2746 /***********************************/
2747 /* INDIVIDUAL COMMENT THREAD PAGES */
2748 /***********************************/
2750 .individual
-thread
-page
> h1
{
2752 margin
: 0.75em
0 3px
0;
2754 .individual
-thread
-page
.comments
{
2762 .shortform
-index
-page
.comments
::before
{
2767 .shortform
-index
-page
.comments
> .comment
-thread
> .comment
-item
:first
-child
{
2779 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2789 @keyframes waiting
{
2790 0%
{background
-position
: 200%
0%
}
2791 100%
{background
-position
: 0%
0%
}
2794 .voting
-controls
.karma
-value
{
2796 transition
: opacity
0.5s linear
;
2799 .voting
-controls
.waiting
.karma
-value
{
2801 background
: repeat
-x linear
-gradient(70deg
, #000 50%, #fff 75%, #000);
2802 background
-clip
: text
;
2803 -webkit
-background
-clip
: text
;
2805 background
-position
: 200%
0%
;
2806 background
-size
: 200%
100%
;
2807 animation
: waiting
1s linear infinite
;
2810 /* Replicated karma controls at bottom of comments. */
2811 .comment
-controls
.voting
-controls
{
2813 font
-size
: 0.9375em
;
2816 .comment
-controls
.voting
-controls
:first
-of
-type
{
2820 /*****************************/
2821 /* COMMENTING AND POSTING UI */
2822 /*****************************/
2826 margin
: 0 8px
8px
16px
;
2830 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2833 .comments
> .comment
-controls
{
2836 .comments
> .comment
-controls
:last
-child
{
2837 margin
: 8px
0 16px
0;
2840 .posting
-controls input
[type
='submit'] {
2843 font
-size
: 1.125rem
;
2846 .comment
-controls
.cancel
-comment
-button
{
2852 padding
: 4px
8px
2px
4px
;
2855 .comment
-controls
.cancel
-comment
-button
::before
{
2856 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2864 .comment +
.comment
-controls
.action
-button
{
2865 font
-weight
: normal
;
2866 font
-size
: 1.0625em
;
2869 .comment
-controls
.action
-button
::before
{
2870 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2873 .new-comment
-button
{
2877 .comment
-controls
.reply
-button
::before
{
2883 .comment
-meta
.replied
::before
{
2885 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2894 margin
: 0.75em
0 0 0;
2899 display
: inline
-block
;
2900 margin
-bottom
: 0.25em
;
2901 font
-size
: 1.125rem
;
2903 .edit
-post
-link
::before
{
2904 margin
-right
: 0.3em
;
2906 .comment
-controls
.edit
-button
::before
,
2907 .edit
-post
-link
::before
{
2909 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2916 .comment
-controls
.delete
-button
{
2917 margin
-right
: 0.25em
;
2919 .comment
-controls
.edit
-button
,
2920 .comment
-controls
.retract
-button
,
2921 .comment
-controls
.unretract
-button
{
2924 .comment
-controls
.retract
-button
::before
{
2928 .comment
-controls
.unretract
-button
::before
{
2932 .comment
-controls
.delete
-button
::before
{
2936 .comment
-controls
.retract
-button
::before
,
2937 .comment
-controls
.unretract
-button
::before
,
2938 .comment
-controls
.delete
-button
::before
{
2943 .comment
-controls form
{
2946 .textarea
-container
{
2949 .posting
-controls textarea
{
2954 max
-height
: calc(100vh
- 6em
);
2958 border
-style
: solid
;
2959 border
-width
: 29px
1px
1px
1px
;
2963 /* GUIEdit buttons */
2965 .guiedit
-buttons
-container
{
2969 width
: calc(100%
- 2px
);
2972 padding
: 1px
4px
0 4px
;
2975 .comment
-thread
-page
.guiedit
-buttons
-container
{
2976 padding
-right
: 60px
;
2978 .guiedit
-buttons
-container button
{
2982 font
-size
: 0.875rem
;
2986 .guiedit
-buttons
-container button
:active
{
2989 .guiedit
-buttons
-container button
:active div
{
2990 transform
: scale(0.9);
2992 .guiedit
-buttons
-container button sup
{
2996 content
: attr(data
-tooltip
);
2998 font
-weight
: normal
;
3004 white
-space
: nowrap
;
3007 .guiedit
:hover
::after
{
3008 visibility
: visible
;
3011 /* Markdown hints */
3013 .posting
-controls
.markdown
-reference
-link
{
3015 padding
: 1px
0 0 6px
;
3017 .posting
-controls
.markdown
-reference
-link a
{
3018 padding
-right
: 1.5em
;
3019 margin
-right
: 0.15em
;
3020 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');
3021 background
-size
: 1.25em
;
3022 background
-repeat
: no
-repeat
;
3023 background
-position
: right center
;
3026 #markdown-hints-checkbox + label {
3028 margin
: 2px
0 0 1em
;
3032 #edit-post-form #markdown-hints-checkbox + label {
3035 #markdown-hints-checkbox {
3039 #markdown-hints-checkbox + label::after {
3040 content
: "(Show Markdown help)";
3042 #markdown-hints-checkbox:checked + label::after {
3043 content
: "(Hide Markdown help)";
3045 #markdown-hints-checkbox + label::before {
3047 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3051 #markdown-hints-checkbox:checked + label::before {
3052 font
-weight
: normal
;
3055 margin
: 4px
0 0 4px
;
3059 top
: calc(100%
- 1em
);
3063 .comment
-controls
#markdown-hints {
3064 top
: calc(100% +
1.75em
);
3066 #markdown-hints-checkbox:checked ~ #markdown-hints {
3069 .markdown
-hints
-row
{
3072 #markdown-hints .markdown-hints-row span,
3073 #markdown-hints .markdown-hints-row code {
3075 display
: table
-cell
;
3077 background
-color
: inherit
;
3078 padding
: 0 12px
0 0;
3081 /******************/
3082 /* EDIT POST FORM */
3083 /******************/
3086 padding
: 1em
1em
4em
1em
;
3088 #edit-post-form .post-meta-fields {
3090 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
3091 margin
-bottom
: 0.625em
;
3094 #edit-post-form label[for='title'],
3095 #edit-post-form label[for='url'],
3096 #edit-post-form label[for='section'] {
3099 #edit-post-form input[type='text'] {
3101 grid
-column
: 2 / span
4;
3102 margin
-bottom
: 0.5em
;
3105 #edit-post-form .link-post-checkbox,
3106 #edit-post-form .link-post-checkbox + label {
3110 #edit-post-form .question-checkbox,
3111 #edit-post-form .question-checkbox + label {
3114 justify
-self
: start
;
3118 #edit-post-form .post-meta-fields label[for="submit-to-frontpage"] {
3120 grid
-column
: 2 / span
4;
3125 #edit-post-form .post-meta-fields input[type='checkbox'] {
3128 pointer
-events
: none
;
3130 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
3131 white
-space
: nowrap
;
3134 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
3137 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
3139 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3140 font
-size
: 1.375rem
;
3149 #edit-post-form label[for='url'],
3150 #edit-post-form input[name='url'] {
3153 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
3154 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
3157 #edit-post-form label {
3158 line
-height
: normal
;
3159 border
: 1px solid transparent
;
3161 padding
: 0.25em
0.5em
;
3162 white
-space
: nowrap
;
3164 #edit-post-form input[type='radio'] {
3168 pointer
-events
: none
;
3170 #edit-post-form input[type='radio'] + label {
3173 border
-style
: solid
;
3174 border
-width
: 1px
1px
1px
0;
3177 #edit-post-form input[type='radio']:checked + label {
3181 #edit-post-form label[for='section'] {
3184 #edit-post-form input[type='radio'] + label {
3187 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
3189 #edit-post-form textarea {
3193 #edit-post-form input[type='submit'] {
3197 #edit-post-form #markdown-hints {
3198 top
: calc(100% +
2em
);
3201 #edit-post-form button.guiedit div {
3204 .guiedit
-mobile
-auxiliary
-button
{
3213 input
[type
='submit'] {
3214 font
-family
: inherit
;
3216 background
-color
: inherit
;
3233 margin
: 1em
0 0.75em
0;
3276 .post
-body
.comment
-box
.comment
-body
{
3279 padding
-left
: 0.5em
;
3281 padding
-bottom
: 3px
;
3283 blockquote
*:first
-child
{
3286 blockquote
*:last
-child
{
3289 blockquote blockquote
{
3293 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3295 .post
-body
.comment
-box
.user
-name
{
3298 .post
-body
.comment
-box
.user
-name
::after
{
3301 .post
-body
.comment
-box
{
3309 #content img, #content figure {
3313 .prediction
-poll
> svg
{
3344 // Aspect ratio trick from https://css-tricks.com/aspect-ratio-boxes/
3346 [style
*="--aspect-ratio"] > * {
3349 [style
*="--aspect-ratio"] > img
{
3352 @supports
(--custom
:property
) {
3353 [style
*="--aspect-ratio"] {
3356 [style
*="--aspect-ratio"]::before
{
3359 padding
-bottom
: calc(100%
/ (var(--aspect
-ratio
)));
3361 [style
*="--aspect-ratio"] > * {
3374 border
-collapse
: collapse
;
3377 .body
-text table th
,
3378 .body
-text table td
{
3383 .body
-text table
.numeric {
3385 font
-family
: Inconsolata
, Menlo
, monospace
;
3387 .body
-text table caption
{
3388 margin
: 0 0 0.25em
0;
3397 /*= Superscripts & subscripts =*/
3399 /* Make sure superscripts and subscripts do not affect line spacing. */
3401 vertical
-align
: baseline
;
3411 /*= Code blocks & other "unstyled" text. =*/
3415 font
-family
: Inconsolata
, Menlo
, monospace
;
3418 white
-space
: pre
-wrap
;
3425 display
: inline
-block
;
3426 padding
: 0 4px
1px
5px
;
3431 padding
: 3px
4px
5px
8px
;
3441 /*= Removing browser default styling of various elements =*/
3443 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3448 /* Remove "embossed" appearance of horizontal rules. */
3456 -webkit
-appearance
: none
;
3457 -moz
-appearance
: none
;
3462 font
-family
: inherit
;
3464 font
-weight
: inherit
;
3472 counter
-reset
: ordered
-list;
3474 .footnote
-definition
{
3476 list-style
-type
: none
;
3477 counter
-increment
: ordered
-list;
3480 .footnote
-definition p
{
3481 font
-size
: inherit
!important
;
3483 .footnote
-definition
::before
{
3484 content
: counter(ordered
-list) ".";
3492 /*= LW Docs footnotes =*/
3498 .footnote
-item
> :not(.nothing
) {
3502 .footnote
-item
> :first
-child
{
3503 margin
-left
: -0.2em
;
3507 .footnote
-back
-link a
:not(.nothing
) {
3509 text
-decoration
: none
;
3513 .footnote
-back
-link a
:not(.nothing
):hover
{
3514 text
-shadow
: 0 0 1px
#fff, 0 0 3px #fff, 0 0 5px #00e;
3516 text
-decoration
: none
;
3519 .footnote
-back
-link a
::after
{
3521 font
-family
: Font Awesome
;
3524 text
-decoration
: none
;
3528 .footnote
-content
> :first
-child
{
3537 margin
-bottom
: 0.5em
;
3550 .body
-text ol
> li
{
3552 counter
-increment
: ol
;
3553 padding
: 0 0 0 2.5em
;
3554 margin
: 0.25em
0 0 0;
3556 .body
-text ol
> li
::before
{
3557 content
: counter(ol
) ".";
3567 .body
-text ul
:not(.contents
-list) > li
:empty {
3568 padding
-bottom
: 1.25em
;
3570 .body
-text ul
:not(.contents
-list) > li
{
3572 padding
: 0 0 0 1.75em
;
3573 margin
: 0.25em
0 0 0;
3575 .body
-text ul
:not(.contents
-list) > li ul
> li
{
3578 .body
-text ul
:not(.contents
-list) > li
::before
{
3585 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
3588 .body
-text li
> ul
:first
-child
> li
{
3591 .body
-text li
> ul
:first
-child
> li
::before
{
3603 .error
-retry
-form input
[type
="submit"] {
3604 border
: 1px solid
#aaa;
3606 font
-size
: 1.125rem
;
3607 padding
: 0.5em
1.25em
;
3614 #content.about-page .contents {
3617 #content.about-page .accesskey-table {
3618 border
-collapse
: collapse
;
3621 #content.about-page .accesskey-table th,
3622 #content.about-page .accesskey-table td {
3625 #content.about-page .accesskey-table td:first-child {
3626 padding
-right
: 1.5em
;
3628 #content.about-page .accesskey-table td:last-child {
3630 font
-family
: Inconsolata
, Menlo
, monospace
;
3632 #content.about-page h3:nth-of-type(n+2) {
3636 /******************/
3637 /* IMAGES OVERLAY */
3638 /******************/
3640 #images-overlay + #content .post-body img {
3644 #images-overlay div {
3647 #images-overlay div::after {
3648 content
: "Click to enlarge";
3657 background
-color
: rgba(0,0,0,0.6);
3661 transition
: opacity
0.15s ease
;
3662 pointer
-events
: none
;
3664 <?php
fit_content("#images-overlay div::after"); ?
>
3665 #images-overlay div:hover::after {
3669 #images-overlay img {
3677 /*=--------------=*/
3678 /*= Hover styles =*/
3679 /*=--------------=*/
3682 #images-overlay img:hover {
3683 filter
: drop
-shadow(0 0 3px
#777);
3686 #content img:active,
3687 #images-overlay img:active {
3688 transform
: scale(0.975);
3695 #image-focus-overlay {
3705 #image-focus-overlay::before {
3713 background
-color
: #000;
3717 #image-focus-overlay.engaged {
3721 #image-focus-overlay img {
3726 transform
: translateX(-50%
) translateY(-50%
);
3729 /*=-------------------=*/
3730 /*= Single-image mode =*/
3731 /*=-------------------=*/
3733 #image-focus-overlay:not(.slideshow) .image-number,
3734 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3742 #image-focus-overlay .caption {
3745 background
-color
: rgba(0,0,0,0.7);
3749 max
-width
: calc(100%
- 18em
);
3757 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3758 #image-focus-overlay .caption.hidden {
3764 #image-focus-overlay .caption p {
3769 #image-focus-overlay .caption:not(:empty)::before {
3774 height
: calc(100% +
1.5em
);
3777 left
: calc(-50vw +
50%
);
3781 /*=--------------=*/
3782 /*= Help overlay =*/
3783 /*=--------------=*/
3785 #image-focus-overlay .help-overlay {
3792 border
-radius
: 10px
;
3796 white
-space
: nowrap
;
3803 background
-color
1s ease
,
3806 #image-focus-overlay .help-overlay:hover {
3809 background
-color
: rgba(0,0,0,0.85);
3811 visibility
: visible
;
3813 visibility
0.2s ease
0.3s
,
3814 color
0.2s ease
0.3s
,
3815 background
-color
0.2s ease
0.3s
;
3818 #image-focus-overlay .help-overlay::after {
3820 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3828 filter
: drop
-shadow(0 0 6px
#fff);
3829 visibility
: visible
;
3834 #image-focus-overlay .help-overlay:hover::after {
3837 visibility
0.2s ease
0.3s
;
3840 #image-focus-overlay .help-overlay p {
3847 #image-focus-overlay .help-overlay p + p {
3848 margin
: 0.75em
0 0 0;
3850 #image-focus-overlay .help-overlay.hidden {
3854 /*=--------------=*/
3855 /*= Slide number =*/
3856 /*=--------------=*/
3858 #image-focus-overlay .image-number {
3872 white
-space
: nowrap
;
3873 transition
: bottom
0.3s ease
;
3875 #image-focus-overlay .image-number::before {
3879 #image-focus-overlay .image-number::after {
3880 content
: " of " attr(data
-number
-of
-images
);
3883 #image-focus-overlay .image-number:hover::before,
3884 #image-focus-overlay .image-number:hover::after {
3887 #image-focus-overlay .image-number.hidden {
3891 /*=-------------------=*/
3892 /*= Slideshow buttons =*/
3893 /*=-------------------=*/
3895 #image-focus-overlay .slideshow-buttons {
3903 justify
-content
: space
-between
;
3904 pointer
-events
: none
;
3906 #image-focus-overlay .slideshow-buttons button {
3907 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3916 pointer
-events
: auto
;
3918 #image-focus-overlay .slideshow-buttons button::selection {
3919 background
-color
: transparent
;
3921 @media only screen
and (hover
: hover
) {
3922 #image-focus-overlay .slideshow-buttons button:hover {
3923 background
-color
: rgba(0,0,0,0.1);
3927 #image-focus-overlay .slideshow-buttons button:active {
3931 #image-focus-overlay .slideshow-buttons button:disabled {
3933 background
-color
: transparent
;
3938 #image-focus-overlay .slideshow-button.previous.hidden {
3941 #image-focus-overlay .slideshow-button.next.hidden {
3945 /*=-----------------=*/
3946 /*= Background blur =*/
3947 /*=-----------------=*/
3953 /**************************/
3954 /* QUALIFIED HYPERLINKING */
3955 /**************************/
3957 #content.no-nav-bars {
3960 #content.no-nav-bars + #ui-elements-container > * {
3967 left
: calc((100%
- 900px
) / 2 - 69px
);
3974 display
: table
-cell
;
3976 vertical
-align
: middle
;
3977 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3984 .qualified
-linking
{
3988 .qualified
-linking input
[type
='checkbox'] {
3994 .qualified
-linking label
{
3995 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3999 display
: inline
-block
;
4000 margin
-left
: 0.25em
;
4002 .qualified
-linking label
:hover
{
4005 .qualified
-linking label
:active span
{
4006 display
: inline
-block
;
4007 transform
: scale(0.9);
4009 .qualified
-linking label
::selection
{
4010 background
-color
: transparent
;
4013 .qualified
-linking label
::after
{
4023 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
4027 .qualified
-linking
-toolbar
{
4033 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
4036 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
4039 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
4044 .qualified
-linking
-toolbar a
{
4049 .qualified
-linking
-toolbar a
::selection
{
4050 background
-color
: transparent
;
4057 #preview-popup-toggle {
4062 color
: var(--GW
-toggle
-widget
-color
, #888);
4064 #preview-popup-toggle:hover {
4065 color
: var(--GW
-toggle
-widget
-hover
-color
, #444);
4068 #content.preview:not(not) {
4071 #content.preview > .comment-thread {
4074 #content.preview.individual-thread-page > .comment-thread > .comment-item {
4077 #content.preview.user-page .page-main-heading, #content.preview.user-page .user-stats {
4080 #content.preview.user-page .page-main-heading {
4083 #content.preview.not(not) .body-text {
4087 #content.preview.user-page .user-stats {
4090 #content.preview.user-page .page-toolbar, #content.preview.user-page nav {
4093 #content.preview button.vote {
4096 #content.preview > h1.listing {
4099 #content.preview.user-page > .comment-thread {
4102 #content.preview > .post {
4105 #content.preview .post-title {
4108 #content.preview .post-meta {
4111 #content.preview .body-text {
4114 #content.preview nav.contents,
4115 #content.preview .lw2-link {
4121 transform
-origin
: top
;
4126 background
-color
: #eee;
4127 border
: 1px solid
#ccc;
4128 box
-shadow
: 2px
6px
20px
-4px
#000;
4129 transition
: height
0.2s ease
, top
0.2s ease
;
4131 .popup
-hide
-button
{
4136 background
-color
: #fff;
4140 font
-family
: "Font Awesome";
4143 border
: 1px solid
#bbb;
4144 border
-radius
: 28px
;
4145 align
-items
: center
;
4146 justify
-content
: center
;
4147 //padding-bottom: 2px;
4148 padding
-left
: 1.5px
;
4149 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4152 .popup
-hide
-button
:hover
::before
{
4153 content
: "Turn off preview popups";
4159 background
-color
: #fff;
4160 border
: 1px solid
#eee;
4169 .mathjax
-block
-container
{
4173 margin
: 1em
0 1.5em
0;
4175 .mathjax
-inline
-container
{
4182 #content .mathjax-inline-container,
4183 #content .mathjax-inline-container .mjpage,
4184 #content .mathjax-inline-container .mjx-chtml,
4185 #content .mathjax-inline-container .mjx-math,
4186 #content .mathjax-inline-container .mjx-mrow {
4188 white
-space
: normal
;
4190 .post
.mathjax
-inline
-container
{
4193 .comment
.mathjax
-inline
-container
{
4196 .mathjax
-inline
-container
.mjx
-chtml
{
4206 background
-color
: currentColor
;
4210 box
-shadow
: 0 0 0 1px currentColor inset
;
4213 .spoiler
:not(:last
-child
) {
4216 #content .spoiler * {
4222 background
-color
: unset;
4225 color
0.1s ease
-out
0.1s
,
4226 background
-color
0.1s ease
-out
0.1s
,
4227 text
-shadow
0.1s ease
-out
0.1s
;
4229 .spoiler
::selection
,
4230 .spoiler
::selection
{
4232 background
-color
: #000;
4234 .spoiler
:not(:hover
)::selection
,
4235 .spoiler
:not(:hover
) ::selection
{
4236 background
-color
: transparent
;
4239 /*= Fix for LessWrong being weird =*/
4244 .spoiler
> p
:first
-child
{
4247 .spoiler
> p
:last
-child
{
4249 padding
-bottom
: 0.25em
;
4251 .spoiler
> p
:hover ~ p
{
4252 background
-color
: currentColor
;
4257 .spoiler
> p
:not(:first
-child
) {
4260 .spoiler
> p
:not(:last
-child
) {
4261 padding
-bottom
: 0.5em
;
4264 .spoiler
:not(:hover
) pre
,
4265 .spoiler
:not(:hover
) code
{
4266 background
-color
: inherit
;
4269 #content .spoiler pre {
4270 border
-color
: currentColor
;
4271 border
-style
: solid
;
4272 border
-width
: 0 1px
;
4276 /*******************/
4277 /* PAGE LIST INDEX */
4278 /*******************/
4285 .page
-list-index
> p
{
4290 .page
-list-index
> ul
* {
4294 .page
-list-index ul
{
4295 padding
-left
: 1.5em
;
4298 .page
-list-index li
{
4302 .page
-list-index li
> a
{
4309 .page
-list-index li
> a
:last
-child
{
4313 /*******************/
4314 /* ALIGNMENT FORUM */
4315 /*******************/
4317 #content.alignment-forum-index-page::after {
4318 content
: "Alignment Forum";
4320 margin
: 0.375em
0 0 -0.375em
;
4324 /**********************/
4325 /* FOR NARROW SCREENS */
4326 /**********************/
4328 @media only screen
and (max
-width
: 1440px
) {
4331 padding
: 8px
10px
10px
10px
;
4335 #hns-date-picker::before {
4340 height
: calc(100% +
2px
);
4346 @media only screen
and (max
-width
: 1160px
) {
4347 #new-comment-nav-ui {
4355 #hns-date-picker::before {
4356 width
: calc(100%
- 35px
);
4358 #theme-selector button::before {
4362 #theme-selector:hover::after {
4366 width
: calc(6em
- 7px
);
4367 height
: calc(100% +
2px
);
4369 left
: calc(100% +
1px
);
4371 #anti-kibitzer-toggle {
4375 @media only screen
and (max
-width
: 1080px
) {
4379 #width-selector button {
4382 #text-size-adjustment-ui {
4386 #text-size-adjustment-ui button {
4390 #text-size-adjustment-ui button.increase {
4393 #text-size-adjustment-ui button.decrease {
4400 #theme-tweaker-toggle {
4404 #theme-tweaker-toggle button {
4412 #new-comment-nav-ui {
4418 #hns-date-picker::before {
4419 width
: calc(100%
- 22px
);
4421 #anti-kibitzer-toggle {
4425 @media only screen
and (max
-width
: 1040px
) {
4429 #new-comment-nav-ui {
4435 #hns-date-picker::before {
4436 width
: calc(100%
- 17px
);
4438 #anti-kibitzer-toggle {
4442 @media only screen
and (max
-width
: 1020px
) {
4446 #new-comment-nav-ui {
4449 #new-comment-nav-ui .new-comments-count::before {
4453 height
: calc(100% +
45px
);
4461 #hns-date-picker::before {
4464 #anti-kibitzer-toggle {
4468 @media only screen
and (max
-width
: 1000px
) {
4475 #theme-selector button {
4478 #text-size-adjustment-ui {
4482 @media not screen
and (hover
: none
) {
4484 #new-comment-nav-ui,
4485 #new-comment-nav-ui + #hns-date-picker,
4486 #anti-kibitzer-toggle {
4489 #quick-nav-ui:hover,
4490 #new-comment-nav-ui:hover,
4491 #new-comment-nav-ui + #hns-date-picker:hover,
4492 #new-comment-nav-ui + #hns-date-picker:focus-within,
4493 #new-comment-nav-ui:hover + #hns-date-picker,
4494 #anti-kibitzer-toggle:hover {
4498 #theme-tweaker-toggle {
4514 #ui-elements-container {
4520 #images-overlay + #content .post-body img {
4521 visibility
: visible
;
4526 #comments-sort-mode-selector {
4529 .comment
-minimize
-button
{
4532 .post
-meta
.qualified
-linking
,
4533 .post
-meta
.lw2
-link
{
4536 .comment
-meta
.permalink
,
4537 .comment
-meta
.lw2
-link
,
4538 .comment
-meta
.comment
-parent
-link
{
4541 .new-comment
::before
{
4549 <?php
include("style_mobile_additions.css.php"); ?
>
4551 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4555 ## TO BE IMPLEMENTED:
4556 ## This will be specified via command-line argument; but for now, we just
4557 ## include all available additions (currently, only 'accordius').
4563 foreach ($additions as $addition) {
4564 $potential_includes = [
4566 "style_mobile_additions.css.php"
4568 foreach ($potential_includes as $include) {
4569 $include_path = "{$addition}/{$include}";
4570 if (file_exists($include_path))
4571 include ($include_path);