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
{
2135 .post
.link
-post
> .post
-body
> p
:first
-child
{
2138 margin
: 0.5em
0 0 0;
2140 .post
.link
-post
> .post
-body
> p
:only
-child
{
2144 .post
.link
-post a
.link
-post
-link
::before
{
2146 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2151 margin
-right
: 0.25em
;
2171 pointer
-events
: none
;
2174 list-style
-type
: none
;
2178 .comments
.comment
-thread
> li
{
2181 #content > #top-nav-bar + .comment-thread .comment-item {
2188 .comment
-item
.comment
-item
{
2189 margin
: 1em
8px
8px
16px
;
2191 .comment
-item
.comment
-item +
.comment
-item
{
2192 margin
: 2em
8px
8px
16px
;
2201 list-style
-type
: circle
;
2203 .comment
-body
> *:first
-child
{
2206 .comment
-body
> *:last
-child
{
2210 .comments
-empty-message
{
2213 padding
: 0.75em
0 0.9em
0;
2217 /**********************************/
2218 /* DEEP COMMENT THREAD COLLAPSING */
2219 /**********************************/
2221 .comment
-item
> input
[id^
="expand"] {
2224 .comment
-item
> input
[id^
="expand"] + label
{
2230 .comment
-item
> input
[id^
="expand"] + label
::after
{
2231 content
: "(Expand " attr(data
-child
-count
) " below)";
2232 visibility
: visible
;
2235 white
-space
: nowrap
;
2238 .comment
-item
> input
[id^
="expand"]:checked + label
::after
{
2239 content
: "(Collapse " attr(data
-child
-count
) " below)";
2241 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
{
2245 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2248 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
{
2249 max
-height
: 1000000px
;
2252 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2255 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2263 .backlinks
> input
{
2267 .backlinks
> label
{
2274 .backlinks
> label
::before
{
2276 border
-left
: 5px solid currentColor
;
2277 border
-top
: 5px solid transparent
;
2278 border
-bottom
: 5px solid transparent
;
2279 transition
: transform
0.25s ease
-out
;
2280 transform
-origin
: 29%
55%
;
2281 display
: inline
-block
;
2282 padding
-right
: 0.5em
;
2285 .backlinks
> input
:checked + label
::before
{
2286 transform
: rotate(90deg
);
2295 perspective
-origin
: top
;
2296 transform
: perspective(100em
) rotateX(-90deg
);
2297 transform
-origin
: center top
;
2300 margin
-bottom
: 0.5em
;
2303 .backlinks
> input
:checked ~ ul
{
2305 transform
: perspective(100em
) rotateX(0deg
);
2306 transition
: transform
0.25s ease
-in
, opacity
0.25s ease
-in
;
2315 padding
: 2px
24px
2px
10px
;
2319 flex
-flow
: row wrap
;
2320 align
-items
: baseline
;
2322 .user
-page
.comment
-meta
,
2323 .conversation
-page
.comment
-meta
{
2324 padding
-right
: 10px
;
2326 .comment
-meta
.comment
-post
-title
{
2329 text
-overflow
: ellipsis
;
2330 white
-space
: nowrap
;
2333 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2338 display
: none
; /* Not sure if we need to display this... */
2340 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2341 content
: "\2004(OP)";
2345 /*****************************/
2346 /* COMMENT THREAD NAVIGATION */
2347 /*****************************/
2349 a
.comment
-parent
-link
:not(.inline
-author
),
2350 a
.comment
-parent
-link
.inline
-author
::before
{
2353 a
.comment
-parent
-link
:hover
{
2356 a
.comment
-parent
-link
::before
{
2358 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2365 padding
: 3px
3px
0 3px
;
2367 height
: calc(100% +
2px
);
2371 a
.comment
-parent
-link
::after
{
2376 width
: calc(100% +
26px
);
2377 height
: calc(100% +
38px
);
2380 pointer
-events
: none
;
2384 a
.comment
-parent
-link
:hover
::after
{
2385 visibility
: visible
;
2388 .comment
-child
-links
{
2391 .comment
-child
-link
{
2393 display
: inline
-block
;
2395 .comment
-child
-link
::before
{
2397 display
: inline
-block
;
2409 pointer
-events
: none
;
2411 .comment
-popup
.comment
-parent
-link
{
2414 .comment
-popup
.comment
-body
{
2415 font
-size
: 1.0625rem
;
2418 .comment
-item
.depth
-odd
{
2419 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2420 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2422 .comment
-item
.depth
-even
{
2423 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2424 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2427 .comment
-item
:target
{
2428 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2430 .comment
-item
:target
> .comment
-thread
> .comment
-item
{
2431 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2434 /**********************/
2435 /* COMMENT PERMALINKS */
2436 /**********************/
2437 /********************/
2438 /* COMMENT LW LINKS */
2439 /********************/
2441 .comment
-meta
.permalink
::before
,
2442 .comment
-meta
.lw2
-link
::before
,
2443 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2445 display
: inline
-block
;
2452 0 0 0 3px transparent
;
2454 background
-size
: 100%
;
2459 .comment
-meta
.permalink
::before
{
2460 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2462 .comment
-meta
.lw2
-link
::before
{
2463 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2465 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2467 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2469 .comment
-meta
.permalink
:hover
::before
{
2470 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2472 .comment
-meta
.lw2
-link
:hover
::before
{
2473 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2475 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2476 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2478 .comment
-meta
.permalink
:hover
::before
,
2479 .comment
-meta
.lw2
-link
:hover
::before
,
2480 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2483 0 0 0 3px transparent
;
2487 .comment
-meta
.permalink
:active
::before
,
2488 .comment
-meta
.lw2
-link
:active
::before
,
2489 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2490 transform
: scale(0.9);
2493 .comment
-meta
.permalink
,
2494 .comment
-meta
.lw2
-link
,
2495 .individual
-thread
-page
.comment
-parent
-link
:empty {
2499 .comment
-meta
.permalink
::after
,
2500 .comment
-meta
.lw2
-link
::after
,
2501 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2510 pointer
-events
: auto
;
2511 visibility
: visible
;
2514 /*************************/
2515 /* COMMENTS COMPACT VIEW */
2516 /*************************/
2518 #comments-list-mode-selector,
2519 #content.index-page #comments-list-mode-selector,
2520 #content.user-page #comments-list-mode-selector {
2525 justify
-self
: start
;
2528 #comments-list-mode-selector button {
2535 background
-repeat
: no
-repeat
;
2536 background
-size
: 100%
;
2537 background
-origin
: content
-box
;
2539 #comments-list-mode-selector button:disabled {
2542 #comments-list-mode-selector button.expanded {
2543 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2545 #comments-list-mode-selector button.compact {
2546 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2548 @media only screen
and (max
-resolution
: 1dppx
) {
2549 #comments-list-mode-selector button.expanded {
2550 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2552 #comments-list-mode-selector button.compact {
2553 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2557 #content > ul.comment-thread > li.comment-item,
2558 #content.compact > ul.comment-thread > li.comment-item {
2562 #content > .comment-thread {
2565 #content.compact > .comment-thread {
2566 font
-size
: 0.9375rem
;
2569 #content.compact > .comment-thread:hover {
2572 #content.compact > .comment-thread .comment-body {
2573 font
-size
: 1.0625rem
;
2575 #content.compact > .comment-thread .comment-item,
2576 #content.index-page .comment-item.ignored,
2577 #content.inbox-user-page .comment-item.ignored {
2583 #content.compact > .comment-thread .comment-item {
2584 pointer
-events
: none
;
2586 #content.compact > .comment-thread .comment-item::after {
2593 padding
: 0 16px
10px
64px
;
2594 pointer
-events
: auto
;
2596 @media only screen
and (hover
: hover
) {
2597 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2598 #content.compact > .comment-thread .comment-item.expanded {
2600 pointer
-events
: auto
;
2604 @media only screen
and (hover
: none
) {
2605 #content.compact > .comment-thread.expanded .comment-item {
2607 pointer
-events
: auto
;
2611 #content.compact > .comment-thread .comment-item .comment-meta {
2612 white
-space
: nowrap
;
2614 text
-overflow
: ellipsis
;
2617 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2620 #content.compact > .comment-thread .comment-item .comment-meta a {
2621 pointer
-events
: auto
;
2623 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2626 #content.compact > .comment-thread .comment-item .comment-meta .voting-controls + .comment-post-title {
2627 margin
-left
: 0.75em
;
2629 @media only screen
and (hover
: hover
) {
2630 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2631 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2634 #content.compact > .comment-thread .comment-item:hover .comment,
2635 #content.compact > .comment-thread .comment-item.expanded .comment {
2641 #content.compact > .comment-thread .comment-item:hover .comment::before,
2642 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2646 width
: calc(100% +
20px
);
2647 height
: calc(100% +
20px
);
2652 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2653 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2657 @media only screen
and (hover
: none
) {
2658 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2661 #content.compact > .comment-thread.expanded .comment-item .comment {
2667 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2671 width
: calc(100% +
14px
);
2672 height
: calc(100% +
20px
);
2677 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2680 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2689 background
-color
: rgba(0,0,0,0.5);
2693 /*****************************/
2694 /* HIGHLIGHTING NEW COMMENTS */
2695 /*****************************/
2697 .new-comment
::before
{
2703 pointer
-events
: none
;
2706 /***********************************/
2707 /* COMMENT THREAD MINIMIZE BUTTONS */
2708 /***********************************/
2710 .comment
-minimize
-button
{
2711 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2722 .comment
-minimize
-button
:active
{
2723 transform
: scale(0.9);
2725 .comment
-minimize
-button
::after
{
2726 content
: attr(data
-child
-count
);
2727 font
-weight
: normal
;
2728 font
-size
: 0.8125rem
;
2735 #content.individual-thread-page .comment-minimize-button {
2743 #content.comment-thread-page .comment-item.ignored {
2747 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2748 text
-decoration
: line
-through
;
2751 /***********************************/
2752 /* INDIVIDUAL COMMENT THREAD PAGES */
2753 /***********************************/
2755 .individual
-thread
-page
> h1
{
2757 margin
: 0.75em
0 3px
0;
2759 .individual
-thread
-page
.comments
{
2767 .shortform
-index
-page
.comments
::before
{
2772 .shortform
-index
-page
.comments
> .comment
-thread
> .comment
-item
:first
-child
{
2784 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2794 @keyframes waiting
{
2795 0%
{background
-position
: 200%
0%
}
2796 100%
{background
-position
: 0%
0%
}
2799 .voting
-controls
.karma
-value
{
2801 transition
: opacity
0.5s linear
;
2804 .voting
-controls
.waiting
.karma
-value
{
2806 background
: repeat
-x linear
-gradient(70deg
, #000 50%, #fff 75%, #000);
2807 background
-clip
: text
;
2808 -webkit
-background
-clip
: text
;
2810 background
-position
: 200%
0%
;
2811 background
-size
: 200%
100%
;
2812 animation
: waiting
1s linear infinite
;
2815 /* Replicated karma controls at bottom of comments. */
2816 .comment
-controls
.voting
-controls
{
2818 font
-size
: 0.9375em
;
2821 .comment
-controls
.voting
-controls
:first
-of
-type
{
2825 /*****************************/
2826 /* COMMENTING AND POSTING UI */
2827 /*****************************/
2831 margin
: 0 8px
8px
16px
;
2835 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2838 .comments
> .comment
-controls
{
2841 .comments
> .comment
-controls
:last
-child
{
2842 margin
: 8px
0 16px
0;
2845 .posting
-controls input
[type
='submit'] {
2848 font
-size
: 1.125rem
;
2851 .comment
-controls
.cancel
-comment
-button
{
2857 padding
: 4px
8px
2px
4px
;
2860 .comment
-controls
.cancel
-comment
-button
::before
{
2861 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2869 .comment +
.comment
-controls
.action
-button
{
2870 font
-weight
: normal
;
2871 font
-size
: 1.0625em
;
2874 .comment
-controls
.action
-button
::before
{
2875 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2878 .new-comment
-button
{
2882 .comment
-controls
.reply
-button
::before
{
2888 .comment
-meta
.replied
::before
{
2890 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2899 margin
: 0.75em
0 0 0;
2904 display
: inline
-block
;
2905 margin
-bottom
: 0.25em
;
2906 font
-size
: 1.125rem
;
2908 .edit
-post
-link
::before
{
2909 margin
-right
: 0.3em
;
2911 .comment
-controls
.edit
-button
::before
,
2912 .edit
-post
-link
::before
{
2914 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2921 .comment
-controls
.delete
-button
{
2922 margin
-right
: 0.25em
;
2924 .comment
-controls
.edit
-button
,
2925 .comment
-controls
.retract
-button
,
2926 .comment
-controls
.unretract
-button
{
2929 .comment
-controls
.retract
-button
::before
{
2933 .comment
-controls
.unretract
-button
::before
{
2937 .comment
-controls
.delete
-button
::before
{
2941 .comment
-controls
.retract
-button
::before
,
2942 .comment
-controls
.unretract
-button
::before
,
2943 .comment
-controls
.delete
-button
::before
{
2948 .comment
-controls form
{
2951 .textarea
-container
{
2954 .posting
-controls textarea
{
2959 max
-height
: calc(100vh
- 6em
);
2963 border
-style
: solid
;
2964 border
-width
: 29px
1px
1px
1px
;
2968 /* GUIEdit buttons */
2970 .guiedit
-buttons
-container
{
2974 width
: calc(100%
- 2px
);
2977 padding
: 1px
4px
0 4px
;
2980 .comment
-thread
-page
.guiedit
-buttons
-container
{
2981 padding
-right
: 60px
;
2983 .guiedit
-buttons
-container button
{
2987 font
-size
: 0.875rem
;
2991 .guiedit
-buttons
-container button
:active
{
2994 .guiedit
-buttons
-container button
:active div
{
2995 transform
: scale(0.9);
2997 .guiedit
-buttons
-container button sup
{
3001 content
: attr(data
-tooltip
);
3003 font
-weight
: normal
;
3009 white
-space
: nowrap
;
3012 .guiedit
:hover
::after
{
3013 visibility
: visible
;
3016 /* Markdown hints */
3018 .posting
-controls
.markdown
-reference
-link
{
3020 padding
: 1px
0 0 6px
;
3022 .posting
-controls
.markdown
-reference
-link a
{
3023 padding
-right
: 1.5em
;
3024 margin
-right
: 0.15em
;
3025 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');
3026 background
-size
: 1.25em
;
3027 background
-repeat
: no
-repeat
;
3028 background
-position
: right center
;
3031 #markdown-hints-checkbox + label {
3033 margin
: 2px
0 0 1em
;
3037 #edit-post-form #markdown-hints-checkbox + label {
3040 #markdown-hints-checkbox {
3044 #markdown-hints-checkbox + label::after {
3045 content
: "(Show Markdown help)";
3047 #markdown-hints-checkbox:checked + label::after {
3048 content
: "(Hide Markdown help)";
3050 #markdown-hints-checkbox + label::before {
3052 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3056 #markdown-hints-checkbox:checked + label::before {
3057 font
-weight
: normal
;
3060 margin
: 4px
0 0 4px
;
3064 top
: calc(100%
- 1em
);
3068 .comment
-controls
#markdown-hints {
3069 top
: calc(100% +
1.75em
);
3071 #markdown-hints-checkbox:checked ~ #markdown-hints {
3074 .markdown
-hints
-row
{
3077 #markdown-hints .markdown-hints-row span,
3078 #markdown-hints .markdown-hints-row code {
3080 display
: table
-cell
;
3082 background
-color
: inherit
;
3083 padding
: 0 12px
0 0;
3086 /******************/
3087 /* EDIT POST FORM */
3088 /******************/
3091 padding
: 1em
1em
4em
1em
;
3093 #edit-post-form .post-meta-fields {
3095 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
3096 margin
-bottom
: 0.625em
;
3099 #edit-post-form label[for='title'],
3100 #edit-post-form label[for='url'],
3101 #edit-post-form label[for='section'] {
3104 #edit-post-form input[type='text'] {
3106 grid
-column
: 2 / span
4;
3107 margin
-bottom
: 0.5em
;
3110 #edit-post-form .link-post-checkbox,
3111 #edit-post-form .link-post-checkbox + label {
3115 #edit-post-form .question-checkbox,
3116 #edit-post-form .question-checkbox + label {
3119 justify
-self
: start
;
3123 #edit-post-form .post-meta-fields label[for="submit-to-frontpage"] {
3125 grid
-column
: 2 / span
4;
3130 #edit-post-form .post-meta-fields input[type='checkbox'] {
3133 pointer
-events
: none
;
3135 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
3136 white
-space
: nowrap
;
3139 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
3142 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
3144 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3145 font
-size
: 1.375rem
;
3154 #edit-post-form label[for='url'],
3155 #edit-post-form input[name='url'] {
3158 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
3159 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
3162 #edit-post-form label {
3163 line
-height
: normal
;
3164 border
: 1px solid transparent
;
3166 padding
: 0.25em
0.5em
;
3167 white
-space
: nowrap
;
3169 #edit-post-form input[type='radio'] {
3173 pointer
-events
: none
;
3175 #edit-post-form input[type='radio'] + label {
3178 border
-style
: solid
;
3179 border
-width
: 1px
1px
1px
0;
3182 #edit-post-form input[type='radio']:checked + label {
3186 #edit-post-form label[for='section'] {
3189 #edit-post-form input[type='radio'] + label {
3192 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
3194 #edit-post-form textarea {
3198 #edit-post-form input[type='submit'] {
3202 #edit-post-form #markdown-hints {
3203 top
: calc(100% +
2em
);
3206 #edit-post-form button.guiedit div {
3209 .guiedit
-mobile
-auxiliary
-button
{
3218 input
[type
='submit'] {
3219 font
-family
: inherit
;
3221 background
-color
: inherit
;
3238 margin
: 1em
0 0.75em
0;
3281 .post
-body
.comment
-box
.comment
-body
{
3284 padding
-left
: 0.5em
;
3286 padding
-bottom
: 3px
;
3288 blockquote
*:first
-child
{
3291 blockquote
*:last
-child
{
3294 blockquote blockquote
{
3298 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3300 .post
-body
.comment
-box
.user
-name
{
3303 .post
-body
.comment
-box
.user
-name
::after
{
3306 .post
-body
.comment
-box
{
3314 #content img, #content figure {
3318 .prediction
-poll
> svg
{
3349 // Aspect ratio trick from https://css-tricks.com/aspect-ratio-boxes/
3351 [style
*="--aspect-ratio"] > * {
3354 [style
*="--aspect-ratio"] > img
{
3357 @supports
(--custom
:property
) {
3358 [style
*="--aspect-ratio"] {
3361 [style
*="--aspect-ratio"]::before
{
3364 padding
-bottom
: calc(100%
/ (var(--aspect
-ratio
)));
3366 [style
*="--aspect-ratio"] > * {
3379 border
-collapse
: collapse
;
3382 .body
-text table th
,
3383 .body
-text table td
{
3388 .body
-text table
.numeric {
3390 font
-family
: Inconsolata
, Menlo
, monospace
;
3392 .body
-text table caption
{
3393 margin
: 0 0 0.25em
0;
3402 /*= Superscripts & subscripts =*/
3404 /* Make sure superscripts and subscripts do not affect line spacing. */
3406 vertical
-align
: baseline
;
3416 /*= Code blocks & other "unstyled" text. =*/
3420 font
-family
: Inconsolata
, Menlo
, monospace
;
3423 white
-space
: pre
-wrap
;
3430 display
: inline
-block
;
3431 padding
: 0 4px
1px
5px
;
3436 padding
: 3px
4px
5px
8px
;
3446 /*= Removing browser default styling of various elements =*/
3448 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3453 /* Remove "embossed" appearance of horizontal rules. */
3461 -webkit
-appearance
: none
;
3462 -moz
-appearance
: none
;
3467 font
-family
: inherit
;
3469 font
-weight
: inherit
;
3477 counter
-reset
: ordered
-list;
3479 .footnote
-definition
{
3481 list-style
-type
: none
;
3482 counter
-increment
: ordered
-list;
3485 .footnote
-definition p
{
3486 font
-size
: inherit
!important
;
3488 .footnote
-definition
::before
{
3489 content
: counter(ordered
-list) ".";
3497 /*= LW Docs footnotes =*/
3503 .footnote
-item
> :not(.nothing
) {
3507 .footnote
-item
> :first
-child
{
3508 margin
-left
: -0.2em
;
3512 .footnote
-back
-link a
:not(.nothing
) {
3514 text
-decoration
: none
;
3518 .footnote
-back
-link a
:not(.nothing
):hover
{
3519 text
-shadow
: 0 0 1px
#fff, 0 0 3px #fff, 0 0 5px #00e;
3521 text
-decoration
: none
;
3524 .footnote
-back
-link a
::after
{
3526 font
-family
: Font Awesome
;
3529 text
-decoration
: none
;
3533 .footnote
-content
> :first
-child
{
3542 margin
-bottom
: 0.5em
;
3555 .body
-text ol
> li
{
3557 counter
-increment
: ol
;
3558 padding
: 0 0 0 2.5em
;
3559 margin
: 0.25em
0 0 0;
3561 .body
-text ol
> li
::before
{
3562 content
: counter(ol
) ".";
3572 .body
-text ul
:not(.contents
-list) > li
:empty {
3573 padding
-bottom
: 1.25em
;
3575 .body
-text ul
:not(.contents
-list) > li
{
3577 padding
: 0 0 0 1.75em
;
3578 margin
: 0.25em
0 0 0;
3580 .body
-text ul
:not(.contents
-list) > li ul
> li
{
3583 .body
-text ul
:not(.contents
-list) > li
::before
{
3590 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
3593 .body
-text li
> ul
:first
-child
> li
{
3596 .body
-text li
> ul
:first
-child
> li
::before
{
3608 .error
-retry
-form input
[type
="submit"] {
3609 border
: 1px solid
#aaa;
3611 font
-size
: 1.125rem
;
3612 padding
: 0.5em
1.25em
;
3619 #content.about-page .contents {
3622 #content.about-page .accesskey-table {
3623 border
-collapse
: collapse
;
3626 #content.about-page .accesskey-table th,
3627 #content.about-page .accesskey-table td {
3630 #content.about-page .accesskey-table td:first-child {
3631 padding
-right
: 1.5em
;
3633 #content.about-page .accesskey-table td:last-child {
3635 font
-family
: Inconsolata
, Menlo
, monospace
;
3637 #content.about-page h3:nth-of-type(n+2) {
3641 /******************/
3642 /* IMAGES OVERLAY */
3643 /******************/
3645 #images-overlay + #content .post-body img {
3649 #images-overlay div {
3652 #images-overlay div::after {
3653 content
: "Click to enlarge";
3662 background
-color
: rgba(0,0,0,0.6);
3666 transition
: opacity
0.15s ease
;
3667 pointer
-events
: none
;
3669 <?php
fit_content("#images-overlay div::after"); ?
>
3670 #images-overlay div:hover::after {
3674 #images-overlay img {
3682 /*=--------------=*/
3683 /*= Hover styles =*/
3684 /*=--------------=*/
3687 #images-overlay img:hover {
3688 filter
: drop
-shadow(0 0 3px
#777);
3691 #content img:active,
3692 #images-overlay img:active {
3693 transform
: scale(0.975);
3700 #image-focus-overlay {
3710 #image-focus-overlay::before {
3718 background
-color
: #000;
3722 #image-focus-overlay.engaged {
3726 #image-focus-overlay img {
3731 transform
: translateX(-50%
) translateY(-50%
);
3734 /*=-------------------=*/
3735 /*= Single-image mode =*/
3736 /*=-------------------=*/
3738 #image-focus-overlay:not(.slideshow) .image-number,
3739 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3747 #image-focus-overlay .caption {
3750 background
-color
: rgba(0,0,0,0.7);
3754 max
-width
: calc(100%
- 18em
);
3762 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3763 #image-focus-overlay .caption.hidden {
3769 #image-focus-overlay .caption p {
3774 #image-focus-overlay .caption:not(:empty)::before {
3779 height
: calc(100% +
1.5em
);
3782 left
: calc(-50vw +
50%
);
3786 /*=--------------=*/
3787 /*= Help overlay =*/
3788 /*=--------------=*/
3790 #image-focus-overlay .help-overlay {
3797 border
-radius
: 10px
;
3801 white
-space
: nowrap
;
3808 background
-color
1s ease
,
3811 #image-focus-overlay .help-overlay:hover {
3814 background
-color
: rgba(0,0,0,0.85);
3816 visibility
: visible
;
3818 visibility
0.2s ease
0.3s
,
3819 color
0.2s ease
0.3s
,
3820 background
-color
0.2s ease
0.3s
;
3823 #image-focus-overlay .help-overlay::after {
3825 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3833 filter
: drop
-shadow(0 0 6px
#fff);
3834 visibility
: visible
;
3839 #image-focus-overlay .help-overlay:hover::after {
3842 visibility
0.2s ease
0.3s
;
3845 #image-focus-overlay .help-overlay p {
3852 #image-focus-overlay .help-overlay p + p {
3853 margin
: 0.75em
0 0 0;
3855 #image-focus-overlay .help-overlay.hidden {
3859 /*=--------------=*/
3860 /*= Slide number =*/
3861 /*=--------------=*/
3863 #image-focus-overlay .image-number {
3877 white
-space
: nowrap
;
3878 transition
: bottom
0.3s ease
;
3880 #image-focus-overlay .image-number::before {
3884 #image-focus-overlay .image-number::after {
3885 content
: " of " attr(data
-number
-of
-images
);
3888 #image-focus-overlay .image-number:hover::before,
3889 #image-focus-overlay .image-number:hover::after {
3892 #image-focus-overlay .image-number.hidden {
3896 /*=-------------------=*/
3897 /*= Slideshow buttons =*/
3898 /*=-------------------=*/
3900 #image-focus-overlay .slideshow-buttons {
3908 justify
-content
: space
-between
;
3909 pointer
-events
: none
;
3911 #image-focus-overlay .slideshow-buttons button {
3912 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3921 pointer
-events
: auto
;
3923 #image-focus-overlay .slideshow-buttons button::selection {
3924 background
-color
: transparent
;
3926 @media only screen
and (hover
: hover
) {
3927 #image-focus-overlay .slideshow-buttons button:hover {
3928 background
-color
: rgba(0,0,0,0.1);
3932 #image-focus-overlay .slideshow-buttons button:active {
3936 #image-focus-overlay .slideshow-buttons button:disabled {
3938 background
-color
: transparent
;
3943 #image-focus-overlay .slideshow-button.previous.hidden {
3946 #image-focus-overlay .slideshow-button.next.hidden {
3950 /*=-----------------=*/
3951 /*= Background blur =*/
3952 /*=-----------------=*/
3958 /**************************/
3959 /* QUALIFIED HYPERLINKING */
3960 /**************************/
3962 #content.no-nav-bars {
3965 #content.no-nav-bars + #ui-elements-container > * {
3972 left
: calc((100%
- 900px
) / 2 - 69px
);
3979 display
: table
-cell
;
3981 vertical
-align
: middle
;
3982 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3989 .qualified
-linking
{
3993 .qualified
-linking input
[type
='checkbox'] {
3999 .qualified
-linking label
{
4000 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4004 display
: inline
-block
;
4005 margin
-left
: 0.25em
;
4007 .qualified
-linking label
:hover
{
4010 .qualified
-linking label
:active span
{
4011 display
: inline
-block
;
4012 transform
: scale(0.9);
4014 .qualified
-linking label
::selection
{
4015 background
-color
: transparent
;
4018 .qualified
-linking label
::after
{
4028 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
4032 .qualified
-linking
-toolbar
{
4038 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
4041 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
4044 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
4049 .qualified
-linking
-toolbar a
{
4054 .qualified
-linking
-toolbar a
::selection
{
4055 background
-color
: transparent
;
4062 #preview-popup-toggle {
4067 color
: var(--GW
-toggle
-widget
-color
, #888);
4069 #preview-popup-toggle:hover {
4070 color
: var(--GW
-toggle
-widget
-hover
-color
, #444);
4073 #content.preview:not(not) {
4076 #content.preview > .comment-thread {
4079 #content.preview.individual-thread-page > .comment-thread > .comment-item {
4082 #content.preview.user-page .page-main-heading, #content.preview.user-page .user-stats {
4085 #content.preview.user-page .page-main-heading {
4088 #content.preview.not(not) .body-text {
4092 #content.preview.user-page .user-stats {
4095 #content.preview.user-page .page-toolbar, #content.preview.user-page nav {
4098 #content.preview button.vote {
4101 #content.preview > h1.listing {
4104 #content.preview.user-page > .comment-thread {
4107 #content.preview > .post {
4110 #content.preview .post-title {
4113 #content.preview .post-meta {
4116 #content.preview .body-text {
4119 #content.preview nav.contents,
4120 #content.preview .lw2-link {
4126 transform
-origin
: top
;
4131 background
-color
: #eee;
4132 border
: 1px solid
#ccc;
4133 box
-shadow
: 2px
6px
20px
-4px
#000;
4134 transition
: height
0.2s ease
, top
0.2s ease
;
4136 .popup
-hide
-button
{
4141 background
-color
: #fff;
4145 font
-family
: "Font Awesome";
4148 border
: 1px solid
#bbb;
4149 border
-radius
: 28px
;
4150 align
-items
: center
;
4151 justify
-content
: center
;
4152 //padding-bottom: 2px;
4153 padding
-left
: 1.5px
;
4154 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4157 .popup
-hide
-button
:hover
::before
{
4158 content
: "Turn off preview popups";
4164 background
-color
: #fff;
4165 border
: 1px solid
#eee;
4174 .mathjax
-block
-container
{
4178 margin
: 1em
0 1.5em
0;
4180 .mathjax
-inline
-container
{
4187 #content .mathjax-inline-container,
4188 #content .mathjax-inline-container .mjpage,
4189 #content .mathjax-inline-container .mjx-chtml,
4190 #content .mathjax-inline-container .mjx-math,
4191 #content .mathjax-inline-container .mjx-mrow {
4193 white
-space
: normal
;
4195 .post
.mathjax
-inline
-container
{
4198 .comment
.mathjax
-inline
-container
{
4201 .mathjax
-inline
-container
.mjx
-chtml
{
4211 background
-color
: currentColor
;
4215 box
-shadow
: 0 0 0 1px currentColor inset
;
4218 .spoiler
:not(:last
-child
) {
4221 #content .spoiler * {
4227 background
-color
: unset;
4230 color
0.1s ease
-out
0.1s
,
4231 background
-color
0.1s ease
-out
0.1s
,
4232 text
-shadow
0.1s ease
-out
0.1s
;
4234 .spoiler
::selection
,
4235 .spoiler
::selection
{
4237 background
-color
: #000;
4239 .spoiler
:not(:hover
)::selection
,
4240 .spoiler
:not(:hover
) ::selection
{
4241 background
-color
: transparent
;
4244 /*= Fix for LessWrong being weird =*/
4249 .spoiler
> p
:first
-child
{
4252 .spoiler
> p
:last
-child
{
4254 padding
-bottom
: 0.25em
;
4256 .spoiler
> p
:hover ~ p
{
4257 background
-color
: currentColor
;
4262 .spoiler
> p
:not(:first
-child
) {
4265 .spoiler
> p
:not(:last
-child
) {
4266 padding
-bottom
: 0.5em
;
4269 .spoiler
:not(:hover
) pre
,
4270 .spoiler
:not(:hover
) code
{
4271 background
-color
: inherit
;
4274 #content .spoiler pre {
4275 border
-color
: currentColor
;
4276 border
-style
: solid
;
4277 border
-width
: 0 1px
;
4281 /*******************/
4282 /* PAGE LIST INDEX */
4283 /*******************/
4290 .page
-list-index
> p
{
4295 .page
-list-index
> ul
* {
4299 .page
-list-index ul
{
4300 padding
-left
: 1.5em
;
4303 .page
-list-index li
{
4307 .page
-list-index li
> a
{
4314 .page
-list-index li
> a
:last
-child
{
4323 .textarea
-container
.autocomplete
-container
{
4326 font
-size
: 1.125rem
;
4328 backdrop
-filter
: blur(2px
);
4330 .textarea
-container
.autocomplete
-container
:empty {
4334 .textarea
-container
.autocomplete
-container
.inside
{
4335 max
-height
: calc(100%
- 36px
);
4338 .textarea
-container
.autocomplete
-container
.outside
{
4339 max
-height
: calc(100%
- 28px
);
4344 .textarea
-container
.autocomplete
-container
.inside
.right
{
4347 .textarea
-container
.autocomplete
-container
.inside
.left
{
4350 .textarea
-container
.autocomplete
-container
.outside
.right
{
4351 left
: calc(100% +
3px
);
4353 .textarea
-container
.autocomplete
-container
.outside
.left
{
4354 right
: calc(100% +
3px
);
4357 head
.content
-width
-normal + body
.textarea
-container
.autocomplete
-container
.outside
{
4358 max
-width
: calc((100vw
- (900px
- 40px
* 2)) / 2);
4360 head
.content
-width
-wide + body
.textarea
-container
.autocomplete
-container
.outside
{
4361 max
-width
: calc((100vw
- (1150px
- 40px
* 2)) / 2);
4363 head
.content
-width
-fluid + body
.textarea
-container
.autocomplete
-container
.outside
{
4364 max
-width
: calc((300px +
40px
* 2) / 2);
4367 .textarea
-container
.autocomplete
-container div
{
4368 padding
: 2px
8px
0 8px
;
4369 white
-space
: nowrap
;
4371 text
-overflow
: ellipsis
;
4373 justify
-content
: flex
-end
;
4376 .textarea
-container
.autocomplete
-container div span
.name
{
4379 .textarea
-container
.autocomplete
-container div span
.age
,
4380 .textarea
-container
.autocomplete
-container div span
.karma
{
4384 .textarea
-container
.autocomplete
-container div span
.age
{
4387 .textarea
-container
.autocomplete
-container div span
.karma
{
4392 /*******************/
4393 /* ALIGNMENT FORUM */
4394 /*******************/
4396 #content.alignment-forum-index-page::after {
4397 content
: "Alignment Forum";
4399 margin
: 0.375em
0 0 -0.375em
;
4403 /**********************/
4404 /* FOR NARROW SCREENS */
4405 /**********************/
4407 @media only screen
and (max
-width
: 1440px
) {
4410 padding
: 8px
10px
10px
10px
;
4414 #hns-date-picker::before {
4419 height
: calc(100% +
2px
);
4425 @media only screen
and (max
-width
: 1160px
) {
4426 #new-comment-nav-ui {
4434 #hns-date-picker::before {
4435 width
: calc(100%
- 35px
);
4437 #theme-selector button::before {
4441 #theme-selector:hover::after {
4445 width
: calc(6em
- 7px
);
4446 height
: calc(100% +
2px
);
4448 left
: calc(100% +
1px
);
4450 #anti-kibitzer-toggle {
4454 @media only screen
and (max
-width
: 1080px
) {
4458 #width-selector button {
4461 #text-size-adjustment-ui {
4465 #text-size-adjustment-ui button {
4469 #text-size-adjustment-ui button.increase {
4472 #text-size-adjustment-ui button.decrease {
4479 #theme-tweaker-toggle {
4483 #theme-tweaker-toggle button {
4491 #new-comment-nav-ui {
4497 #hns-date-picker::before {
4498 width
: calc(100%
- 22px
);
4500 #anti-kibitzer-toggle {
4504 @media only screen
and (max
-width
: 1040px
) {
4508 #new-comment-nav-ui {
4514 #hns-date-picker::before {
4515 width
: calc(100%
- 17px
);
4517 #anti-kibitzer-toggle {
4521 @media only screen
and (max
-width
: 1020px
) {
4525 #new-comment-nav-ui {
4528 #new-comment-nav-ui .new-comments-count::before {
4532 height
: calc(100% +
45px
);
4540 #hns-date-picker::before {
4543 #anti-kibitzer-toggle {
4547 @media only screen
and (max
-width
: 1000px
) {
4554 #theme-selector button {
4557 #text-size-adjustment-ui {
4561 @media not screen
and (hover
: none
) {
4563 #new-comment-nav-ui,
4564 #new-comment-nav-ui + #hns-date-picker,
4565 #anti-kibitzer-toggle {
4568 #quick-nav-ui:hover,
4569 #new-comment-nav-ui:hover,
4570 #new-comment-nav-ui + #hns-date-picker:hover,
4571 #new-comment-nav-ui + #hns-date-picker:focus-within,
4572 #new-comment-nav-ui:hover + #hns-date-picker,
4573 #anti-kibitzer-toggle:hover {
4577 #theme-tweaker-toggle {
4593 #ui-elements-container {
4599 #images-overlay + #content .post-body img {
4600 visibility
: visible
;
4605 #comments-sort-mode-selector {
4608 .comment
-minimize
-button
{
4611 .post
-meta
.qualified
-linking
,
4612 .post
-meta
.lw2
-link
{
4615 .comment
-meta
.permalink
,
4616 .comment
-meta
.lw2
-link
,
4617 .comment
-meta
.comment
-parent
-link
{
4620 .new-comment
::before
{
4628 <?php
include("style_mobile_additions.css.php"); ?
>
4630 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4634 ## TO BE IMPLEMENTED:
4635 ## This will be specified via command-line argument; but for now, we just
4636 ## include all available additions (currently, only 'accordius').
4642 foreach ($additions as $addition) {
4643 $potential_includes = [
4645 "style_mobile_additions.css.php"
4647 foreach ($potential_includes as $include) {
4648 $include_path = "{$addition}/{$include}";
4649 if (file_exists($include_path))
4650 include ($include_path);