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 {
1363 h1
.sequence
-chapter
{
1371 .post
-meta +
.comments
{
1379 border
-bottom
: 1px solid
#999;
1380 padding
-bottom
: 1em
;
1388 /*=---------------------=*/
1389 /*= User's display name =*/
1390 /*=---------------------=*/
1392 #content.user-page h1.page-main-heading {
1393 margin
: 0.25em
0 0 0;
1395 grid
-column
: 1 / span
2;
1399 #content.user-page h1.page-main-heading .user-full-name {
1401 font
-weight
: normal
;
1402 padding
-left
: 0.5em
;
1405 /*=--------------------=*/
1406 /*= User's karma total =*/
1407 /*=--------------------=*/
1409 #content.user-page .user-stats {
1416 #content.user-page .user-stats .karma-type {
1417 white
-space
: nowrap
;
1420 /*=----------------------=*/
1421 /*= Expanded vs. compact =*/
1422 /*=----------------------=*/
1424 #content.user-page #comments-list-mode-selector {
1427 #content.user-page #comments-list-mode-selector button {
1431 /*=----------------------------------------------------=*/
1432 /*= All, Posts, Comments, Drafts, Conversations, Inbox =*/
1433 /*=----------------------------------------------------=*/
1435 #content.user-page .sublevel-nav {
1436 margin
-bottom
: 0.5em
;
1439 /*=--------------=*/
1440 /*= User's posts =*/
1441 /*=--------------=*/
1443 #content.user-page h1.listing {
1444 margin
: 0.5em
0 0 0;
1447 #content.user-page .user-bio :first-child {
1455 /*=----------------------=*/
1456 /*= List of participants =*/
1457 /*=----------------------=*/
1459 #content.conversation-page .conversation-participants {
1460 grid
-column
: 2 / span
2;
1462 margin
: 0.5em
0 0 0;
1464 .post
-meta
> .conversation
-participants
{
1465 white
-space
: normal
;
1467 .conversation
-participants ul
,
1468 .conversation
-participants li
{
1469 list-style
-type
: none
;
1470 display
: inline
-block
;
1474 .conversation
-participants li
{
1475 margin
-left
: 0.375em
;
1477 .conversation
-participants li
:not(:last
-of
-type
)::after
{
1481 /*=-------------------------=*/
1482 /*= Posting controls (form) =*/
1483 /*=-------------------------=*/
1485 #content.conversation-page .posting-controls {
1488 #content.conversation-page .post-meta-fields {
1491 flex
-flow
: row wrap
;
1493 .posting
-controls
.standalone textarea
{
1494 margin
-top
: 0.375em
;
1496 .posting
-controls
.standalone form
{
1499 #content.conversation-page .posting-controls.standalone form {
1500 padding
: 0 1em
3em
1em
;
1502 .posting
-controls
.standalone input
[type
='text'],
1503 .posting
-controls
.standalone label
{
1506 .posting
-controls
.standalone label
{
1510 border
: 1px solid transparent
;
1512 .posting
-controls
.standalone input
[type
='text'] {
1513 width
: calc(100%
- 4em
);
1516 .posting
-controls
.standalone input
[type
='submit'] {
1519 .posting
-controls
.standalone
#markdown-hints-checkbox ~ label {
1520 white
-space
: nowrap
;
1522 .posting
-controls
.standalone
#markdown-hints {
1523 top
: calc(100% +
2em
);
1526 /*=--------------------=*/
1527 /*= Conversation title =*/
1528 /*=--------------------=*/
1530 #content.conversation-page h1.page-main-heading {
1540 #content.conversation-page > ul.comment-thread:last-of-type {
1544 /******************/
1545 /* SEARCH RESULTS */
1546 /******************/
1548 #content.search-results-page h1.listing,
1549 #content.sequence-page h1.listing,
1550 #content.post-page h1.listing {
1562 flex
-flow
: row wrap
;
1565 .login
-container form
{
1568 grid
-row
-gap
: 0.5em
;
1569 align
-content
: start
;
1571 .login
-container form label
{
1573 padding
: 0.25em
0.5em
;
1574 white
-space
: nowrap
;
1577 .login
-container form input
{
1581 .login
-container form input
[type
='submit'],
1582 .login
-container form a
{
1584 justify
-self
: center
;
1586 .login
-container form input
[type
='submit'] {
1590 margin
: 0.5em
0 0 0;
1592 .login
-container form h1
{
1598 /* “Log in” form */
1601 grid
-template
-columns
: 5.5em
1fr
;
1602 padding
: 0.5em
2em
0.5em
0;
1605 /* “Create account” form */
1609 grid
-template
-columns
: 8.5em
1fr
;
1610 padding
: 0.5em
1em
1em
1em
;
1615 #signup-form input[type='submit'] {
1616 padding
: 0.4em
0.5em
0.5em
0.5em
;
1621 .login
-container
.login
-tip
{
1622 padding
: 0.5em
0.5em
0.5em
3em
;
1623 margin
: 2em
4em
0 4em
;
1627 .login
-container
.login
-tip span
{
1633 #content.login-page .error-box {
1634 margin
: 1.5em
0.875em
-1.5em
0.875em
;
1636 .error
-box
, .success
-box
{
1641 /***********************/
1642 /* PASSWORD RESET PAGE */
1643 /***********************/
1645 .reset
-password
-container
{
1648 .reset
-password
-container input
[type
='submit'] {
1649 padding
: 0.2em
0.5em
;
1652 .reset
-password
-container input
{
1656 .reset
-password
-container label
{
1657 display
: inline
-block
;
1660 .reset
-password
-container form
> div
{
1663 .reset
-password
-container
.action
-container
{
1667 .reset
-password
-container
.error
-box
{
1671 /*********************/
1672 /* TABLE OF CONTENTS */
1673 /*********************/
1679 margin
: 1.25em
0 0.75em
1.25em
;
1680 padding
: 7px
14px
10px
10px
;
1687 margin
-bottom
: 0.25em
;
1690 .post
-body
.contents ul
{
1691 list-style
-type
: none
;
1692 margin
: 0 0 0 0.5em
;
1693 counter
-reset
: toc
-item
-1 toc
-item
-2 toc
-item
-3;
1697 .post
-body
.contents li
{
1698 margin
: 0.15em
0 0.3em
1em
;
1704 .post
-body
.contents li
::before
{
1711 .contents
.toc
-item
-1 {
1712 counter
-increment
: toc
-item
-1;
1713 counter
-reset
: toc
-item
-2 toc
-item
-3;
1715 .contents
.toc
-item
-1::before
{
1716 content
: counter(toc
-item
-1);
1718 .contents
.toc
-item
-1 ~
.toc
-item
-2 {
1722 .contents
.toc
-item
-2 {
1723 counter
-increment
: toc
-item
-2;
1724 counter
-reset
: toc
-item
-3;
1726 .contents
.toc
-item
-1 ~
.toc
-item
-2::before
{
1727 content
: counter(toc
-item
-1) "." counter(toc
-item
-2);
1729 .contents
.toc
-item
-2::before
{
1730 content
: counter(toc
-item
-2);
1732 .contents
.toc
-item
-1 +
.toc
-item
-3 {
1733 counter
-increment
: toc
-item
-2 toc
-item
-3;
1735 .contents
.toc
-item
-2 ~
.toc
-item
-3,
1736 .contents
.toc
-item
-1 ~
.toc
-item
-3 {
1740 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3 {
1744 .contents
.toc
-item
-3 {
1745 counter
-increment
: toc
-item
-3;
1747 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3::before
{
1748 content
: counter(toc
-item
-1) "." counter(toc
-item
-2) "." counter(toc
-item
-3);
1750 .contents
.toc
-item
-1 ~
.toc
-item
-3::before
{
1751 content
: counter(toc
-item
-1) "." counter(toc
-item
-3);
1753 .contents
.toc
-item
-2 ~
.toc
-item
-3::before
{
1754 content
: counter(toc
-item
-2) "." counter(toc
-item
-3);
1756 .contents
.toc
-item
-3::before
{
1757 content
: counter(toc
-item
-3);
1759 .contents
.toc
-item
-4,
1760 .contents
.toc
-item
-5,
1761 .contents
.toc
-item
-6 {
1765 /********************/
1766 /* POSTS & COMMENTS */
1767 /********************/
1771 display
: inline
-block
;
1773 font
-size
: 1.0625em
;
1776 overflow
-wrap
: break-word
;
1777 text
-align
: justify
;
1782 .retracted
.body
-text
{
1783 text
-decoration
: line
-through
;
1787 word
-break: break-all
;
1790 .body
-text a
:not([href
]),
1791 .body
-text a
:not([href
]):hover
,
1792 .body
-text a
:not([href
])::before
,
1793 .body
-text a
:not([href
])::after
{
1794 text
-decoration
: none
;
1806 flex
-flow
: row wrap
;
1807 justify
-content
: center
;
1809 .post
-meta
.lw2
-link
{
1814 .post
-meta
.post
-section
::before
{
1817 .post
-meta
.post
-section
{
1822 .post
-meta
.post
-section
::before
,
1823 .comment
-meta
.alignment
-forum
{
1824 visibility
: visible
;
1825 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1828 .post
-section
.frontpage
::before
{
1831 .post
-section
.featured
::before
{
1834 .post
-section
.meta
::before
{
1837 .post
-section
.events
::before
{
1840 .post
-section
.personal
::before
{
1843 .post
-section
.draft
::before
{
1846 .post
-section
.alignment
-forum
::before
,
1847 .comment
-meta
.alignment
-forum
{
1849 font
-family
: Concourse
, 'Changa One';
1852 /*= Karma controls hover tooltips =*/
1854 @media only screen
and (pointer
: fine
) {
1855 .post
.voting
-controls
,
1856 .comment
-item
.voting
-controls
{
1859 .post
.karma
.active
-controls
::after
,
1860 .comment
-item
.karma
.active
-controls
::after
{
1861 content
: "Double-click for strong vote";
1863 pointer
-events
: none
;
1868 white
-space
: normal
;
1870 font
-size
: 0.875rem
;
1872 transition
: opacity
0.2s ease
;
1874 .post
.voting
-controls
.active
-controls
:hover
::after
,
1875 .comment
-item
.voting
-controls
.active
-controls
:hover
::after
{
1879 .post
.voting
-controls
.karma
-value
::after
,
1880 .comment
-item
.voting
-controls
.karma
-value
::after
{
1881 content
: attr(title
);
1883 pointer
-events
: none
;
1886 transform
: translateX(-50%
);
1887 white
-space
: pre
-wrap
;
1890 font
-size
: 0.875rem
;
1893 transition
: opacity
0.2s ease
;
1895 .post
.voting
-controls
.agreement
.karma
-value
:hover
::after
,
1896 .comment
-item
.voting
-controls
.agreement
.karma
-value
:hover
::after
{
1900 .post
.voting
-controls
.karma
-value
:hover
::after
,
1901 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
1904 .post
.voting
-controls
.waiting
.karma
-value
:hover
::after
,
1905 .comment
-item
.voting
-controls
.waiting
.karma
-value
:hover
::after
{
1908 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
1915 .author
:not(.redacted
)::before
{
1916 content
: attr(data
-full
-name
);
1918 pointer
-events
: none
;
1923 transform
: translateX(-50%
);
1924 white
-space
: nowrap
;
1926 font
-size
: 0.875rem
;
1927 font
-weight
: normal
;
1929 transition
: opacity
0.2s ease
;
1932 .author
:hover
::before
{
1951 margin
: 0.5em
0 0 0;
1954 margin
: 1.1em
0 0.35em
0;
1965 .post
.top
-post
-meta
:last
-child
{
1966 margin
-bottom
: 40px
;
1968 .post
.bottom
-post
-meta
{
1973 border
-style
: solid
;
1974 border
-width
: 1px
0;
1987 .event
-info
.map
::before
{
1990 padding
-bottom
: 50%
;
1993 .event
-info
.map iframe
{
1996 border
: 1px solid
#000;
2008 /*******************/
2009 /* POST NAVIGATION */
2010 /*******************/
2014 grid
-template
: 100%
/ 32%
36%
32%
;
2015 grid
-template
-areas
:
2021 justify
-content
: flex
-end
;
2029 border
-top
: 1px solid transparent
;
2031 .post
-nav
.prev
.post
-nav
-title
,
2032 .post
-nav
.next
.post
-nav
-title
{
2033 border
-bottom
: 1px solid transparent
;
2037 align
-items
: center
;
2041 .sequence
-title
.post
-nav
-title
{
2047 align
-items
: flex
-start
;
2049 .post
-nav
.prev
.post
-nav
-title
::before
{
2050 content
: "\F0D9\2005";
2055 align
-items
: flex
-end
;
2057 .post
-nav
.prev
.post
-nav
-label
,
2058 .post
-nav
.next
.post
-nav
-label
{
2061 .post
-nav
.next
.post
-nav
-title
::after
{
2062 content
: "\2004\F0DA";
2064 .post
-nav
.prev
.post
-nav
-title
::before
,
2065 .post
-nav
.next
.post
-nav
-title
::after
{
2066 font
-family
: Font Awesome
;
2068 vertical
-align
: text
-bottom
;
2075 @media only screen
and (max
-width
: 900px
) {
2078 grid
-template
: auto auto
/ 50%
50%
;
2079 grid
-template
-areas
:
2083 .post
-nav
.prev
.post
-nav
-title
,
2084 .post
-nav
.next
.post
-nav
-title
{
2085 border
-bottom
: none
;
2096 @media only screen
and (max
-width
: 520px
) {
2097 .post
-nav
-links +
.comments
{
2102 .related
-posts
, .related
-post
-group
{
2103 padding
-bottom
: 1em
;
2105 .related
-post
-type
{
2109 margin
-bottom
: -0.5em
;
2110 list-style
-type
: disc
;
2111 margin
-left
: -0.5em
;
2114 .related
-post
-type
::before
{
2117 font
-weight
: normal
;
2118 margin
-right
: 0.15em
;
2120 vertical
-align
: baseline
;
2123 .related
-posts
.post
-type
-prefix
{
2136 .post
.link
-post
> .post
-body
> p
:first
-child
{
2139 margin
: 0.5em
0 0 0;
2141 .post
.link
-post
> .post
-body
> p
:only
-child
{
2145 .post
.link
-post a
.link
-post
-link
::before
{
2147 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2152 margin
-right
: 0.25em
;
2172 pointer
-events
: none
;
2175 list-style
-type
: none
;
2179 .comments
.comment
-thread
> li
{
2182 #content > #top-nav-bar + .comment-thread .comment-item {
2189 .comment
-item
.comment
-item
{
2190 margin
: 1em
8px
8px
16px
;
2192 .comment
-item
.comment
-item +
.comment
-item
{
2193 margin
: 2em
8px
8px
16px
;
2202 list-style
-type
: circle
;
2204 .comment
-body
> *:first
-child
{
2207 .comment
-body
> *:last
-child
{
2211 .comments
-empty-message
{
2214 padding
: 0.75em
0 0.9em
0;
2218 /**********************************/
2219 /* DEEP COMMENT THREAD COLLAPSING */
2220 /**********************************/
2222 .comment
-item
> input
[id^
="expand"] {
2225 .comment
-item
> input
[id^
="expand"] + label
{
2231 .comment
-item
> input
[id^
="expand"] + label
::after
{
2232 content
: "(Expand " attr(data
-child
-count
) " below)";
2233 visibility
: visible
;
2236 white
-space
: nowrap
;
2239 .comment
-item
> input
[id^
="expand"]:checked + label
::after
{
2240 content
: "(Collapse " attr(data
-child
-count
) " below)";
2242 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
{
2246 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2249 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
{
2250 max
-height
: 1000000px
;
2253 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2256 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2264 .backlinks
> input
{
2268 .backlinks
> label
{
2275 .backlinks
> label
::before
{
2277 border
-left
: 5px solid currentColor
;
2278 border
-top
: 5px solid transparent
;
2279 border
-bottom
: 5px solid transparent
;
2280 transition
: transform
0.25s ease
-out
;
2281 transform
-origin
: 29%
55%
;
2282 display
: inline
-block
;
2283 padding
-right
: 0.5em
;
2286 .backlinks
> input
:checked + label
::before
{
2287 transform
: rotate(90deg
);
2296 perspective
-origin
: top
;
2297 transform
: perspective(100em
) rotateX(-90deg
);
2298 transform
-origin
: center top
;
2301 margin
-bottom
: 0.5em
;
2304 .backlinks
> input
:checked ~ ul
{
2306 transform
: perspective(100em
) rotateX(0deg
);
2307 transition
: transform
0.25s ease
-in
, opacity
0.25s ease
-in
;
2316 padding
: 2px
24px
2px
10px
;
2320 flex
-flow
: row wrap
;
2321 align
-items
: baseline
;
2323 .user
-page
.comment
-meta
,
2324 .conversation
-page
.comment
-meta
{
2325 padding
-right
: 10px
;
2327 .comment
-meta
.comment
-post
-title
{
2330 text
-overflow
: ellipsis
;
2331 white
-space
: nowrap
;
2334 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2339 display
: none
; /* Not sure if we need to display this... */
2341 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2342 content
: "\2004(OP)";
2346 /*****************************/
2347 /* COMMENT THREAD NAVIGATION */
2348 /*****************************/
2350 a
.comment
-parent
-link
:not(.inline
-author
),
2351 a
.comment
-parent
-link
.inline
-author
::before
{
2354 a
.comment
-parent
-link
:hover
{
2357 a
.comment
-parent
-link
::before
{
2359 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2366 padding
: 3px
3px
0 3px
;
2368 height
: calc(100% +
2px
);
2372 a
.comment
-parent
-link
::after
{
2377 width
: calc(100% +
26px
);
2378 height
: calc(100% +
38px
);
2381 pointer
-events
: none
;
2385 a
.comment
-parent
-link
:hover
::after
{
2386 visibility
: visible
;
2389 .comment
-child
-links
{
2392 .comment
-child
-link
{
2394 display
: inline
-block
;
2396 .comment
-child
-link
::before
{
2398 display
: inline
-block
;
2410 pointer
-events
: none
;
2412 .comment
-popup
.comment
-parent
-link
{
2415 .comment
-popup
.comment
-body
{
2416 font
-size
: 1.0625rem
;
2419 .comment
-item
.depth
-odd
{
2420 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2421 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2423 .comment
-item
.depth
-even
{
2424 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2425 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2428 .comment
-item
:target
{
2429 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2431 .comment
-item
:target
> .comment
-thread
> .comment
-item
{
2432 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2435 /**********************/
2436 /* COMMENT PERMALINKS */
2437 /**********************/
2438 /********************/
2439 /* COMMENT LW LINKS */
2440 /********************/
2442 .comment
-meta
.permalink
::before
,
2443 .comment
-meta
.lw2
-link
::before
,
2444 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2446 display
: inline
-block
;
2453 0 0 0 3px transparent
;
2455 background
-size
: 100%
;
2460 .comment
-meta
.permalink
::before
{
2461 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2463 .comment
-meta
.lw2
-link
::before
{
2464 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2466 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2468 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2470 .comment
-meta
.permalink
:hover
::before
{
2471 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2473 .comment
-meta
.lw2
-link
:hover
::before
{
2474 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2476 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2477 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2479 .comment
-meta
.permalink
:hover
::before
,
2480 .comment
-meta
.lw2
-link
:hover
::before
,
2481 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2484 0 0 0 3px transparent
;
2488 .comment
-meta
.permalink
:active
::before
,
2489 .comment
-meta
.lw2
-link
:active
::before
,
2490 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2491 transform
: scale(0.9);
2494 .comment
-meta
.permalink
,
2495 .comment
-meta
.lw2
-link
,
2496 .individual
-thread
-page
.comment
-parent
-link
:empty {
2500 .comment
-meta
.permalink
::after
,
2501 .comment
-meta
.lw2
-link
::after
,
2502 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2511 pointer
-events
: auto
;
2512 visibility
: visible
;
2515 /*************************/
2516 /* COMMENTS COMPACT VIEW */
2517 /*************************/
2519 #comments-list-mode-selector,
2520 #content.index-page #comments-list-mode-selector,
2521 #content.user-page #comments-list-mode-selector {
2526 justify
-self
: start
;
2529 #comments-list-mode-selector button {
2536 background
-repeat
: no
-repeat
;
2537 background
-size
: 100%
;
2538 background
-origin
: content
-box
;
2540 #comments-list-mode-selector button:disabled {
2543 #comments-list-mode-selector button.expanded {
2544 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2546 #comments-list-mode-selector button.compact {
2547 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2549 @media only screen
and (max
-resolution
: 1dppx
) {
2550 #comments-list-mode-selector button.expanded {
2551 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2553 #comments-list-mode-selector button.compact {
2554 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2558 #content > ul.comment-thread > li.comment-item,
2559 #content.compact > ul.comment-thread > li.comment-item {
2563 #content > .comment-thread {
2566 #content.compact > .comment-thread {
2567 font
-size
: 0.9375rem
;
2570 #content.compact > .comment-thread:hover {
2573 #content.compact > .comment-thread .comment-body {
2574 font
-size
: 1.0625rem
;
2576 #content.compact > .comment-thread .comment-item,
2577 #content.index-page .comment-item.ignored,
2578 #content.inbox-user-page .comment-item.ignored {
2584 #content.compact > .comment-thread .comment-item {
2585 pointer
-events
: none
;
2587 #content.compact > .comment-thread .comment-item::after {
2594 padding
: 0 16px
10px
64px
;
2595 pointer
-events
: auto
;
2597 @media only screen
and (hover
: hover
) {
2598 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2599 #content.compact > .comment-thread .comment-item.expanded {
2601 pointer
-events
: auto
;
2605 @media only screen
and (hover
: none
) {
2606 #content.compact > .comment-thread.expanded .comment-item {
2608 pointer
-events
: auto
;
2612 #content.compact > .comment-thread .comment-item .comment-meta {
2613 white
-space
: nowrap
;
2615 text
-overflow
: ellipsis
;
2618 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2621 #content.compact > .comment-thread .comment-item .comment-meta a {
2622 pointer
-events
: auto
;
2624 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2627 #content.compact > .comment-thread .comment-item .comment-meta .voting-controls + .comment-post-title {
2628 margin
-left
: 0.75em
;
2630 @media only screen
and (hover
: hover
) {
2631 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2632 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2635 #content.compact > .comment-thread .comment-item:hover .comment,
2636 #content.compact > .comment-thread .comment-item.expanded .comment {
2642 #content.compact > .comment-thread .comment-item:hover .comment::before,
2643 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2647 width
: calc(100% +
20px
);
2648 height
: calc(100% +
20px
);
2653 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2654 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2658 @media only screen
and (hover
: none
) {
2659 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2662 #content.compact > .comment-thread.expanded .comment-item .comment {
2668 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2672 width
: calc(100% +
14px
);
2673 height
: calc(100% +
20px
);
2678 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2681 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2690 background
-color
: rgba(0,0,0,0.5);
2694 /*****************************/
2695 /* HIGHLIGHTING NEW COMMENTS */
2696 /*****************************/
2698 .new-comment
::before
{
2704 pointer
-events
: none
;
2707 /***********************************/
2708 /* COMMENT THREAD MINIMIZE BUTTONS */
2709 /***********************************/
2711 .comment
-minimize
-button
{
2712 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2723 .comment
-minimize
-button
:active
{
2724 transform
: scale(0.9);
2726 .comment
-minimize
-button
::after
{
2727 content
: attr(data
-child
-count
);
2728 font
-weight
: normal
;
2729 font
-size
: 0.8125rem
;
2736 #content.individual-thread-page .comment-minimize-button {
2744 #content.comment-thread-page .comment-item.ignored {
2748 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2749 text
-decoration
: line
-through
;
2752 /***********************************/
2753 /* INDIVIDUAL COMMENT THREAD PAGES */
2754 /***********************************/
2756 .individual
-thread
-page
> h1
{
2758 margin
: 0.75em
0 3px
0;
2760 .individual
-thread
-page
.comments
{
2768 .shortform
-index
-page
.comments
::before
{
2773 .shortform
-index
-page
.comments
> .comment
-thread
> .comment
-item
:first
-child
{
2785 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2795 @keyframes waiting
{
2796 0%
{background
-position
: 200%
0%
}
2797 100%
{background
-position
: 0%
0%
}
2800 .voting
-controls
.karma
-value
{
2802 transition
: opacity
0.5s linear
;
2805 .voting
-controls
.waiting
.karma
-value
{
2807 background
: repeat
-x linear
-gradient(70deg
, #000 50%, #fff 75%, #000);
2808 background
-clip
: text
;
2809 -webkit
-background
-clip
: text
;
2811 background
-position
: 200%
0%
;
2812 background
-size
: 200%
100%
;
2813 animation
: waiting
1s linear infinite
;
2816 /* Replicated karma controls at bottom of comments. */
2817 .comment
-controls
.voting
-controls
{
2819 font
-size
: 0.9375em
;
2822 .comment
-controls
.voting
-controls
:first
-of
-type
{
2826 /*****************************/
2827 /* COMMENTING AND POSTING UI */
2828 /*****************************/
2832 margin
: 0 8px
8px
16px
;
2836 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2839 .comments
> .comment
-controls
{
2842 .comments
> .comment
-controls
:last
-child
{
2843 margin
: 8px
0 16px
0;
2846 .posting
-controls input
[type
='submit'] {
2849 font
-size
: 1.125rem
;
2852 .comment
-controls
.cancel
-comment
-button
{
2858 padding
: 4px
8px
2px
4px
;
2861 .comment
-controls
.cancel
-comment
-button
::before
{
2862 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2870 .comment +
.comment
-controls
.action
-button
{
2871 font
-weight
: normal
;
2872 font
-size
: 1.0625em
;
2875 .comment
-controls
.action
-button
::before
{
2876 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2879 .new-comment
-button
{
2883 .comment
-controls
.reply
-button
::before
{
2889 .comment
-meta
.replied
::before
{
2891 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2900 margin
: 0.75em
0 0 0;
2905 display
: inline
-block
;
2906 margin
-bottom
: 0.25em
;
2907 font
-size
: 1.125rem
;
2909 .edit
-post
-link
::before
{
2910 margin
-right
: 0.3em
;
2912 .comment
-controls
.edit
-button
::before
,
2913 .edit
-post
-link
::before
{
2915 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2922 .comment
-controls
.delete
-button
{
2923 margin
-right
: 0.25em
;
2925 .comment
-controls
.edit
-button
,
2926 .comment
-controls
.retract
-button
,
2927 .comment
-controls
.unretract
-button
{
2930 .comment
-controls
.retract
-button
::before
{
2934 .comment
-controls
.unretract
-button
::before
{
2938 .comment
-controls
.delete
-button
::before
{
2942 .comment
-controls
.retract
-button
::before
,
2943 .comment
-controls
.unretract
-button
::before
,
2944 .comment
-controls
.delete
-button
::before
{
2949 .comment
-controls form
{
2952 .textarea
-container
{
2955 .posting
-controls textarea
{
2960 max
-height
: calc(100vh
- 6em
);
2964 border
-style
: solid
;
2965 border
-width
: 29px
1px
1px
1px
;
2969 /* GUIEdit buttons */
2971 .guiedit
-buttons
-container
{
2975 width
: calc(100%
- 2px
);
2978 padding
: 1px
4px
0 4px
;
2981 .comment
-thread
-page
.guiedit
-buttons
-container
{
2982 padding
-right
: 60px
;
2984 .guiedit
-buttons
-container button
{
2988 font
-size
: 0.875rem
;
2992 .guiedit
-buttons
-container button
:active
{
2995 .guiedit
-buttons
-container button
:active div
{
2996 transform
: scale(0.9);
2998 .guiedit
-buttons
-container button sup
{
3002 content
: attr(data
-tooltip
);
3004 font
-weight
: normal
;
3010 white
-space
: nowrap
;
3013 .guiedit
:hover
::after
{
3014 visibility
: visible
;
3017 /* Markdown hints */
3019 .posting
-controls
.markdown
-reference
-link
{
3021 padding
: 1px
0 0 6px
;
3023 .posting
-controls
.markdown
-reference
-link a
{
3024 padding
-right
: 1.5em
;
3025 margin
-right
: 0.15em
;
3026 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');
3027 background
-size
: 1.25em
;
3028 background
-repeat
: no
-repeat
;
3029 background
-position
: right center
;
3032 #markdown-hints-checkbox + label {
3034 margin
: 2px
0 0 1em
;
3038 #edit-post-form #markdown-hints-checkbox + label {
3041 #markdown-hints-checkbox {
3045 #markdown-hints-checkbox + label::after {
3046 content
: "(Show Markdown help)";
3048 #markdown-hints-checkbox:checked + label::after {
3049 content
: "(Hide Markdown help)";
3051 #markdown-hints-checkbox + label::before {
3053 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3057 #markdown-hints-checkbox:checked + label::before {
3058 font
-weight
: normal
;
3061 margin
: 4px
0 0 4px
;
3065 top
: calc(100%
- 1em
);
3069 .comment
-controls
#markdown-hints {
3070 top
: calc(100% +
1.75em
);
3072 #markdown-hints-checkbox:checked ~ #markdown-hints {
3075 .markdown
-hints
-row
{
3078 #markdown-hints .markdown-hints-row span,
3079 #markdown-hints .markdown-hints-row code {
3081 display
: table
-cell
;
3083 background
-color
: inherit
;
3084 padding
: 0 12px
0 0;
3087 /******************/
3088 /* EDIT POST FORM */
3089 /******************/
3092 padding
: 1em
1em
4em
1em
;
3094 #edit-post-form .post-meta-fields {
3096 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
3097 margin
-bottom
: 0.625em
;
3100 #edit-post-form label[for='title'],
3101 #edit-post-form label[for='url'],
3102 #edit-post-form label[for='section'] {
3105 #edit-post-form input[type='text'] {
3107 grid
-column
: 2 / span
4;
3108 margin
-bottom
: 0.5em
;
3111 #edit-post-form .link-post-checkbox,
3112 #edit-post-form .link-post-checkbox + label {
3116 #edit-post-form .question-checkbox,
3117 #edit-post-form .question-checkbox + label {
3120 justify
-self
: start
;
3124 #edit-post-form .post-meta-fields label[for="submit-to-frontpage"] {
3126 grid
-column
: 2 / span
4;
3131 #edit-post-form .post-meta-fields input[type='checkbox'] {
3134 pointer
-events
: none
;
3136 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
3137 white
-space
: nowrap
;
3140 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
3143 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
3145 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3146 font
-size
: 1.375rem
;
3155 #edit-post-form label[for='url'],
3156 #edit-post-form input[name='url'] {
3159 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
3160 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
3163 #edit-post-form label {
3164 line
-height
: normal
;
3165 border
: 1px solid transparent
;
3167 padding
: 0.25em
0.5em
;
3168 white
-space
: nowrap
;
3170 #edit-post-form input[type='radio'] {
3174 pointer
-events
: none
;
3176 #edit-post-form input[type='radio'] + label {
3179 border
-style
: solid
;
3180 border
-width
: 1px
1px
1px
0;
3183 #edit-post-form input[type='radio']:checked + label {
3187 #edit-post-form label[for='section'] {
3190 #edit-post-form input[type='radio'] + label {
3193 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
3195 #edit-post-form textarea {
3199 #edit-post-form input[type='submit'] {
3203 #edit-post-form #markdown-hints {
3204 top
: calc(100% +
2em
);
3207 #edit-post-form button.guiedit div {
3210 .guiedit
-mobile
-auxiliary
-button
{
3219 input
[type
='submit'] {
3220 font
-family
: inherit
;
3222 background
-color
: inherit
;
3239 margin
: 1em
0 0.75em
0;
3286 .post
-body
.comment
-box
.comment
-body
{
3289 padding
-left
: 0.5em
;
3291 padding
-bottom
: 3px
;
3293 blockquote
*:first
-child
{
3296 blockquote
*:last
-child
{
3299 blockquote blockquote
{
3303 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3305 .post
-body
.comment
-box
.user
-name
{
3308 .post
-body
.comment
-box
.user
-name
::after
{
3311 .post
-body
.comment
-box
{
3319 #content img, #content figure {
3323 .prediction
-poll
> svg
{
3354 // Aspect ratio trick from https://css-tricks.com/aspect-ratio-boxes/
3356 [style
*="--aspect-ratio"] > * {
3359 [style
*="--aspect-ratio"] > img
{
3362 @supports
(--custom
:property
) {
3363 [style
*="--aspect-ratio"] {
3366 [style
*="--aspect-ratio"]::before
{
3369 padding
-bottom
: calc(100%
/ (var(--aspect
-ratio
)));
3371 [style
*="--aspect-ratio"] > * {
3384 border
-collapse
: collapse
;
3387 .body
-text table th
,
3388 .body
-text table td
{
3393 .body
-text table
.numeric {
3395 font
-family
: Inconsolata
, Menlo
, monospace
;
3397 .body
-text table caption
{
3398 margin
: 0 0 0.25em
0;
3407 /*= Superscripts & subscripts =*/
3409 /* Make sure superscripts and subscripts do not affect line spacing. */
3411 vertical
-align
: baseline
;
3421 /*= Code blocks & other "unstyled" text. =*/
3425 font
-family
: Inconsolata
, Menlo
, monospace
;
3428 white
-space
: pre
-wrap
;
3435 display
: inline
-block
;
3436 padding
: 0 4px
1px
5px
;
3441 padding
: 3px
4px
5px
8px
;
3451 /*= Removing browser default styling of various elements =*/
3453 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3458 /* Remove "embossed" appearance of horizontal rules. */
3466 -webkit
-appearance
: none
;
3467 -moz
-appearance
: none
;
3472 font
-family
: inherit
;
3474 font
-weight
: inherit
;
3482 counter
-reset
: ordered
-list;
3484 .footnote
-definition
{
3486 list-style
-type
: none
;
3487 counter
-increment
: ordered
-list;
3490 .footnote
-definition p
{
3491 font
-size
: inherit
!important
;
3493 .footnote
-definition
::before
{
3494 content
: counter(ordered
-list) ".";
3502 /*= LW Docs footnotes =*/
3508 .footnote
-item
> :not(.nothing
) {
3512 .footnote
-item
> :first
-child
{
3513 margin
-left
: -0.2em
;
3517 .footnote
-back
-link a
:not(.nothing
) {
3519 text
-decoration
: none
;
3523 .footnote
-back
-link a
:not(.nothing
):hover
{
3524 text
-shadow
: 0 0 1px
#fff, 0 0 3px #fff, 0 0 5px #00e;
3526 text
-decoration
: none
;
3529 .footnote
-back
-link a
::after
{
3531 font
-family
: Font Awesome
;
3534 text
-decoration
: none
;
3538 .footnote
-content
> :first
-child
{
3547 margin
-bottom
: 0.5em
;
3560 .body
-text ol
> li
{
3562 counter
-increment
: ol
;
3563 padding
: 0 0 0 2.5em
;
3564 margin
: 0.25em
0 0 0;
3566 .body
-text ol
> li
::before
{
3567 content
: counter(ol
) ".";
3577 .body
-text ul
:not(.contents
-list) > li
:empty {
3578 padding
-bottom
: 1.25em
;
3580 .body
-text ul
:not(.contents
-list) > li
{
3582 padding
: 0 0 0 1.75em
;
3583 margin
: 0.25em
0 0 0;
3585 .body
-text ul
:not(.contents
-list) > li ul
> li
{
3588 .body
-text ul
:not(.contents
-list) > li
::before
{
3595 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
3598 .body
-text li
> ul
:first
-child
> li
{
3601 .body
-text li
> ul
:first
-child
> li
::before
{
3613 .error
-retry
-form input
[type
="submit"] {
3614 border
: 1px solid
#aaa;
3616 font
-size
: 1.125rem
;
3617 padding
: 0.5em
1.25em
;
3624 #content.about-page .contents {
3627 #content.about-page .accesskey-table {
3628 border
-collapse
: collapse
;
3631 #content.about-page .accesskey-table th,
3632 #content.about-page .accesskey-table td {
3635 #content.about-page .accesskey-table td:first-child {
3636 padding
-right
: 1.5em
;
3638 #content.about-page .accesskey-table td:last-child {
3640 font
-family
: Inconsolata
, Menlo
, monospace
;
3642 #content.about-page h3:nth-of-type(n+2) {
3646 /******************/
3647 /* IMAGES OVERLAY */
3648 /******************/
3650 #images-overlay + #content .post-body img {
3654 #images-overlay div {
3657 #images-overlay div::after {
3658 content
: "Click to enlarge";
3667 background
-color
: rgba(0,0,0,0.6);
3671 transition
: opacity
0.15s ease
;
3672 pointer
-events
: none
;
3674 <?php
fit_content("#images-overlay div::after"); ?
>
3675 #images-overlay div:hover::after {
3679 #images-overlay img {
3687 /*=--------------=*/
3688 /*= Hover styles =*/
3689 /*=--------------=*/
3692 #images-overlay img:hover {
3693 filter
: drop
-shadow(0 0 3px
#777);
3696 #content img:active,
3697 #images-overlay img:active {
3698 transform
: scale(0.975);
3705 #image-focus-overlay {
3715 #image-focus-overlay::before {
3723 background
-color
: #000;
3727 #image-focus-overlay.engaged {
3731 #image-focus-overlay img {
3736 transform
: translateX(-50%
) translateY(-50%
);
3739 /*=-------------------=*/
3740 /*= Single-image mode =*/
3741 /*=-------------------=*/
3743 #image-focus-overlay:not(.slideshow) .image-number,
3744 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3752 #image-focus-overlay .caption {
3755 background
-color
: rgba(0,0,0,0.7);
3759 max
-width
: calc(100%
- 18em
);
3767 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3768 #image-focus-overlay .caption.hidden {
3774 #image-focus-overlay .caption p {
3779 #image-focus-overlay .caption:not(:empty)::before {
3784 height
: calc(100% +
1.5em
);
3787 left
: calc(-50vw +
50%
);
3791 /*=--------------=*/
3792 /*= Help overlay =*/
3793 /*=--------------=*/
3795 #image-focus-overlay .help-overlay {
3802 border
-radius
: 10px
;
3806 white
-space
: nowrap
;
3813 background
-color
1s ease
,
3816 #image-focus-overlay .help-overlay:hover {
3819 background
-color
: rgba(0,0,0,0.85);
3821 visibility
: visible
;
3823 visibility
0.2s ease
0.3s
,
3824 color
0.2s ease
0.3s
,
3825 background
-color
0.2s ease
0.3s
;
3828 #image-focus-overlay .help-overlay::after {
3830 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3838 filter
: drop
-shadow(0 0 6px
#fff);
3839 visibility
: visible
;
3844 #image-focus-overlay .help-overlay:hover::after {
3847 visibility
0.2s ease
0.3s
;
3850 #image-focus-overlay .help-overlay p {
3857 #image-focus-overlay .help-overlay p + p {
3858 margin
: 0.75em
0 0 0;
3860 #image-focus-overlay .help-overlay.hidden {
3864 /*=--------------=*/
3865 /*= Slide number =*/
3866 /*=--------------=*/
3868 #image-focus-overlay .image-number {
3882 white
-space
: nowrap
;
3883 transition
: bottom
0.3s ease
;
3885 #image-focus-overlay .image-number::before {
3889 #image-focus-overlay .image-number::after {
3890 content
: " of " attr(data
-number
-of
-images
);
3893 #image-focus-overlay .image-number:hover::before,
3894 #image-focus-overlay .image-number:hover::after {
3897 #image-focus-overlay .image-number.hidden {
3901 /*=-------------------=*/
3902 /*= Slideshow buttons =*/
3903 /*=-------------------=*/
3905 #image-focus-overlay .slideshow-buttons {
3913 justify
-content
: space
-between
;
3914 pointer
-events
: none
;
3916 #image-focus-overlay .slideshow-buttons button {
3917 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3926 pointer
-events
: auto
;
3928 #image-focus-overlay .slideshow-buttons button::selection {
3929 background
-color
: transparent
;
3931 @media only screen
and (hover
: hover
) {
3932 #image-focus-overlay .slideshow-buttons button:hover {
3933 background
-color
: rgba(0,0,0,0.1);
3937 #image-focus-overlay .slideshow-buttons button:active {
3941 #image-focus-overlay .slideshow-buttons button:disabled {
3943 background
-color
: transparent
;
3948 #image-focus-overlay .slideshow-button.previous.hidden {
3951 #image-focus-overlay .slideshow-button.next.hidden {
3955 /*=-----------------=*/
3956 /*= Background blur =*/
3957 /*=-----------------=*/
3963 /**************************/
3964 /* QUALIFIED HYPERLINKING */
3965 /**************************/
3967 #content.no-nav-bars {
3970 #content.no-nav-bars + #ui-elements-container > * {
3977 left
: calc((100%
- 900px
) / 2 - 69px
);
3984 display
: table
-cell
;
3986 vertical
-align
: middle
;
3987 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3994 .qualified
-linking
{
3998 .qualified
-linking input
[type
='checkbox'] {
4004 .qualified
-linking label
{
4005 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4009 display
: inline
-block
;
4010 margin
-left
: 0.25em
;
4012 .qualified
-linking label
:hover
{
4015 .qualified
-linking label
:active span
{
4016 display
: inline
-block
;
4017 transform
: scale(0.9);
4019 .qualified
-linking label
::selection
{
4020 background
-color
: transparent
;
4023 .qualified
-linking label
::after
{
4033 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
4037 .qualified
-linking
-toolbar
{
4043 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
4046 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
4049 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
4054 .qualified
-linking
-toolbar a
{
4059 .qualified
-linking
-toolbar a
::selection
{
4060 background
-color
: transparent
;
4067 #preview-popup-toggle {
4072 color
: var(--GW
-toggle
-widget
-color
, #888);
4074 #preview-popup-toggle:hover {
4075 color
: var(--GW
-toggle
-widget
-hover
-color
, #444);
4078 #content.preview:not(not) {
4081 #content.preview > .comment-thread {
4084 #content.preview.individual-thread-page > .comment-thread > .comment-item {
4087 #content.preview.user-page .page-main-heading, #content.preview.user-page .user-stats {
4090 #content.preview.user-page .page-main-heading {
4093 #content.preview.not(not) .body-text {
4097 #content.preview.user-page .user-stats {
4100 #content.preview.user-page .page-toolbar, #content.preview.user-page nav {
4103 #content.preview button.vote {
4106 #content.preview > h1.listing {
4109 #content.preview.user-page > .comment-thread {
4112 #content.preview > .post {
4115 #content.preview .post-title {
4118 #content.preview .post-meta {
4121 #content.preview .body-text {
4124 #content.preview nav.contents,
4125 #content.preview .lw2-link {
4131 transform
-origin
: top
;
4136 background
-color
: #eee;
4137 border
: 1px solid
#ccc;
4138 box
-shadow
: 2px
6px
20px
-4px
#000;
4139 transition
: height
0.2s ease
, top
0.2s ease
;
4141 .popup
-hide
-button
{
4146 background
-color
: #fff;
4150 font
-family
: "Font Awesome";
4153 border
: 1px solid
#bbb;
4154 border
-radius
: 28px
;
4155 align
-items
: center
;
4156 justify
-content
: center
;
4157 //padding-bottom: 2px;
4158 padding
-left
: 1.5px
;
4159 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4162 .popup
-hide
-button
:hover
::before
{
4163 content
: "Turn off preview popups";
4169 background
-color
: #fff;
4170 border
: 1px solid
#eee;
4179 .mathjax
-block
-container
{
4183 margin
: 1em
0 1.5em
0;
4185 .mathjax
-inline
-container
{
4192 #content .mathjax-inline-container,
4193 #content .mathjax-inline-container .mjpage,
4194 #content .mathjax-inline-container .mjx-chtml,
4195 #content .mathjax-inline-container .mjx-math,
4196 #content .mathjax-inline-container .mjx-mrow {
4198 white
-space
: normal
;
4200 .post
.mathjax
-inline
-container
{
4203 .comment
.mathjax
-inline
-container
{
4206 .mathjax
-inline
-container
.mjx
-chtml
{
4216 background
-color
: currentColor
;
4220 box
-shadow
: 0 0 0 1px currentColor inset
;
4223 .spoiler
:not(:last
-child
) {
4226 #content .spoiler * {
4232 background
-color
: unset;
4235 color
0.1s ease
-out
0.1s
,
4236 background
-color
0.1s ease
-out
0.1s
,
4237 text
-shadow
0.1s ease
-out
0.1s
;
4239 .spoiler
::selection
,
4240 .spoiler
::selection
{
4242 background
-color
: #000;
4244 .spoiler
:not(:hover
)::selection
,
4245 .spoiler
:not(:hover
) ::selection
{
4246 background
-color
: transparent
;
4249 /*= Fix for LessWrong being weird =*/
4254 .spoiler
> p
:first
-child
{
4257 .spoiler
> p
:last
-child
{
4259 padding
-bottom
: 0.25em
;
4261 .spoiler
> p
:hover ~ p
{
4262 background
-color
: currentColor
;
4267 .spoiler
> p
:not(:first
-child
) {
4270 .spoiler
> p
:not(:last
-child
) {
4271 padding
-bottom
: 0.5em
;
4274 .spoiler
:not(:hover
) pre
,
4275 .spoiler
:not(:hover
) code
{
4276 background
-color
: inherit
;
4279 #content .spoiler pre {
4280 border
-color
: currentColor
;
4281 border
-style
: solid
;
4282 border
-width
: 0 1px
;
4286 /*******************/
4287 /* PAGE LIST INDEX */
4288 /*******************/
4295 .page
-list-index
> p
{
4300 .page
-list-index
> ul
* {
4304 .page
-list-index ul
{
4305 padding
-left
: 1.5em
;
4308 .page
-list-index li
{
4312 .page
-list-index li
> a
{
4319 .page
-list-index li
> a
:last
-child
{
4328 .textarea
-container
.autocomplete
-container
{
4331 font
-size
: 1.125rem
;
4333 backdrop
-filter
: blur(2px
);
4336 .textarea
-container
.autocomplete
-container
:empty {
4340 @media only screen
and (min
-width
: 521px
) {
4341 .textarea
-container
.autocomplete
-container
.inside
{
4342 max
-height
: calc(100%
- 36px
);
4345 .textarea
-container
.autocomplete
-container
.outside
{
4346 max
-height
: calc(100%
- 28px
);
4351 .textarea
-container
.autocomplete
-container
.inside
.right
{
4354 .textarea
-container
.autocomplete
-container
.inside
.left
{
4357 .textarea
-container
.autocomplete
-container
.outside
.right
{
4358 left
: calc(100% +
3px
);
4360 .textarea
-container
.autocomplete
-container
.outside
.left
{
4361 right
: calc(100% +
3px
);
4364 head
.content
-width
-normal + body
.textarea
-container
.autocomplete
-container
.outside
{
4365 max
-width
: calc((100vw
- (900px
- 40px
* 2)) / 2);
4367 head
.content
-width
-wide + body
.textarea
-container
.autocomplete
-container
.outside
{
4368 max
-width
: calc((100vw
- (1150px
- 40px
* 2)) / 2);
4370 head
.content
-width
-fluid + body
.textarea
-container
.autocomplete
-container
.outside
{
4371 max
-width
: calc((300px +
40px
* 2) / 2);
4375 .textarea
-container
.autocomplete
-container div
{
4376 padding
: 2px
8px
0 8px
;
4377 white
-space
: nowrap
;
4379 justify
-content
: flex
-end
;
4382 .textarea
-container
.autocomplete
-container div span
.name
{
4384 width
: calc(100%
- 9em
);
4386 text
-overflow
: ellipsis
;
4388 .textarea
-container
.autocomplete
-container div span
.name
:hover
{
4392 .textarea
-container
.autocomplete
-container div span
.age
,
4393 .textarea
-container
.autocomplete
-container div span
.karma
{
4397 .textarea
-container
.autocomplete
-container div span
.age
{
4400 .textarea
-container
.autocomplete
-container div span
.karma
{
4409 h2
.sequence
-chapter
,
4410 h3
.sequence
-chapter
,
4411 h4
.sequence
-chapter
{
4414 h2
.sequence
-chapter
::before
,
4415 h3
.sequence
-chapter
::before
,
4416 h4
.sequence
-chapter
::before
{
4418 margin
: 1.5em
0 0.75em
0;
4420 font
-weight
: normal
;
4421 font
-family
: <?php
echo $UI_font; ?
>;
4423 h2
.sequence
-chapter
::before
{
4426 h3
.sequence
-chapter
::before
{
4427 content
: '\25AA\2004\25AA';
4429 h4
.sequence
-chapter
::before
{
4430 content
: '\00B7\2004\00B7\2004\00B7';
4434 /*******************/
4435 /* ALIGNMENT FORUM */
4436 /*******************/
4438 #content.alignment-forum-index-page::after {
4439 content
: "Alignment Forum";
4441 margin
: 0.375em
0 0 -0.375em
;
4445 /**********************/
4446 /* FOR NARROW SCREENS */
4447 /**********************/
4449 @media only screen
and (max
-width
: 1440px
) {
4452 padding
: 8px
10px
10px
10px
;
4456 #hns-date-picker::before {
4461 height
: calc(100% +
2px
);
4467 @media only screen
and (max
-width
: 1160px
) {
4468 #new-comment-nav-ui {
4476 #hns-date-picker::before {
4477 width
: calc(100%
- 35px
);
4479 #theme-selector button::before {
4483 #theme-selector:hover::after {
4487 width
: calc(6em
- 7px
);
4488 height
: calc(100% +
2px
);
4490 left
: calc(100% +
1px
);
4492 #anti-kibitzer-toggle {
4496 @media only screen
and (max
-width
: 1080px
) {
4500 #width-selector button {
4503 #text-size-adjustment-ui {
4507 #text-size-adjustment-ui button {
4511 #text-size-adjustment-ui button.increase {
4514 #text-size-adjustment-ui button.decrease {
4521 #theme-tweaker-toggle {
4525 #theme-tweaker-toggle button {
4533 #new-comment-nav-ui {
4539 #hns-date-picker::before {
4540 width
: calc(100%
- 22px
);
4542 #anti-kibitzer-toggle {
4546 @media only screen
and (max
-width
: 1040px
) {
4550 #new-comment-nav-ui {
4556 #hns-date-picker::before {
4557 width
: calc(100%
- 17px
);
4559 #anti-kibitzer-toggle {
4563 @media only screen
and (max
-width
: 1020px
) {
4567 #new-comment-nav-ui {
4570 #new-comment-nav-ui .new-comments-count::before {
4574 height
: calc(100% +
45px
);
4582 #hns-date-picker::before {
4585 #anti-kibitzer-toggle {
4589 @media only screen
and (max
-width
: 1000px
) {
4596 #theme-selector button {
4599 #text-size-adjustment-ui {
4603 @media not screen
and (hover
: none
) {
4605 #new-comment-nav-ui,
4606 #new-comment-nav-ui + #hns-date-picker,
4607 #anti-kibitzer-toggle {
4610 #quick-nav-ui:hover,
4611 #new-comment-nav-ui:hover,
4612 #new-comment-nav-ui + #hns-date-picker:hover,
4613 #new-comment-nav-ui + #hns-date-picker:focus-within,
4614 #new-comment-nav-ui:hover + #hns-date-picker,
4615 #anti-kibitzer-toggle:hover {
4619 #theme-tweaker-toggle {
4635 #ui-elements-container {
4641 #images-overlay + #content .post-body img {
4642 visibility
: visible
;
4647 #comments-sort-mode-selector {
4650 .comment
-minimize
-button
{
4653 .post
-meta
.qualified
-linking
,
4654 .post
-meta
.lw2
-link
{
4657 .comment
-meta
.permalink
,
4658 .comment
-meta
.lw2
-link
,
4659 .comment
-meta
.comment
-parent
-link
{
4662 .new-comment
::before
{
4670 <?php
include("style_mobile_additions.css.php"); ?
>
4672 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4676 ## TO BE IMPLEMENTED:
4677 ## This will be specified via command-line argument; but for now, we just
4678 ## include all available additions (currently, only 'accordius').
4684 foreach ($additions as $addition) {
4685 $potential_includes = [
4687 "style_mobile_additions.css.php"
4689 foreach ($potential_includes as $include) {
4690 $include_path = "{$addition}/{$include}";
4691 if (file_exists($include_path))
4692 include ($include_path);