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
;
1384 #content.sequence-page h1 {
1392 /*=---------------------=*/
1393 /*= User's display name =*/
1394 /*=---------------------=*/
1396 #content.user-page h1.page-main-heading {
1397 margin
: 0.25em
0 0 0;
1399 grid
-column
: 1 / span
2;
1403 #content.user-page h1.page-main-heading .user-full-name {
1405 font
-weight
: normal
;
1406 padding
-left
: 0.5em
;
1409 /*=--------------------=*/
1410 /*= User's karma total =*/
1411 /*=--------------------=*/
1413 #content.user-page .user-stats {
1420 #content.user-page .user-stats .karma-type {
1421 white
-space
: nowrap
;
1424 /*=----------------------=*/
1425 /*= Expanded vs. compact =*/
1426 /*=----------------------=*/
1428 #content.user-page #comments-list-mode-selector {
1431 #content.user-page #comments-list-mode-selector button {
1435 /*=----------------------------------------------------=*/
1436 /*= All, Posts, Comments, Drafts, Conversations, Inbox =*/
1437 /*=----------------------------------------------------=*/
1439 #content.user-page .sublevel-nav {
1440 margin
-bottom
: 0.5em
;
1443 /*=--------------=*/
1444 /*= User's posts =*/
1445 /*=--------------=*/
1447 #content.user-page h1.listing {
1448 margin
: 0.5em
0 0 0;
1451 #content.user-page .user-bio :first-child {
1459 /*=----------------------=*/
1460 /*= List of participants =*/
1461 /*=----------------------=*/
1463 #content.conversation-page .conversation-participants {
1464 grid
-column
: 2 / span
2;
1466 margin
: 0.5em
0 0 0;
1468 .post
-meta
> .conversation
-participants
{
1469 white
-space
: normal
;
1471 .conversation
-participants ul
,
1472 .conversation
-participants li
{
1473 list-style
-type
: none
;
1474 display
: inline
-block
;
1478 .conversation
-participants li
{
1479 margin
-left
: 0.375em
;
1481 .conversation
-participants li
:not(:last
-of
-type
)::after
{
1485 /*=-------------------------=*/
1486 /*= Posting controls (form) =*/
1487 /*=-------------------------=*/
1489 #content.conversation-page .posting-controls {
1492 #content.conversation-page .post-meta-fields {
1495 flex
-flow
: row wrap
;
1497 .posting
-controls
.standalone textarea
{
1498 margin
-top
: 0.375em
;
1500 .posting
-controls
.standalone form
{
1503 #content.conversation-page .posting-controls.standalone form {
1504 padding
: 0 1em
3em
1em
;
1506 .posting
-controls
.standalone input
[type
='text'],
1507 .posting
-controls
.standalone label
{
1510 .posting
-controls
.standalone label
{
1514 border
: 1px solid transparent
;
1516 .posting
-controls
.standalone input
[type
='text'] {
1517 width
: calc(100%
- 4em
);
1520 .posting
-controls
.standalone input
[type
='submit'] {
1523 .posting
-controls
.standalone
#markdown-hints-checkbox ~ label {
1524 white
-space
: nowrap
;
1526 .posting
-controls
.standalone
#markdown-hints {
1527 top
: calc(100% +
2em
);
1530 /*=--------------------=*/
1531 /*= Conversation title =*/
1532 /*=--------------------=*/
1534 #content.conversation-page h1.page-main-heading {
1544 #content.conversation-page > ul.comment-thread:last-of-type {
1548 /******************/
1549 /* SEARCH RESULTS */
1550 /******************/
1552 #content.search-results-page h1.listing,
1553 #content.sequence-page h1.listing,
1554 #content.post-page h1.listing {
1566 flex
-flow
: row wrap
;
1569 .login
-container form
{
1572 grid
-row
-gap
: 0.5em
;
1573 align
-content
: start
;
1575 .login
-container form label
{
1577 padding
: 0.25em
0.5em
;
1578 white
-space
: nowrap
;
1581 .login
-container form input
{
1585 .login
-container form input
[type
='submit'],
1586 .login
-container form a
{
1588 justify
-self
: center
;
1590 .login
-container form input
[type
='submit'] {
1594 margin
: 0.5em
0 0 0;
1596 .login
-container form h1
{
1602 /* “Log in” form */
1605 grid
-template
-columns
: 5.5em
1fr
;
1606 padding
: 0.5em
2em
0.5em
0;
1609 /* “Create account” form */
1613 grid
-template
-columns
: 8.5em
1fr
;
1614 padding
: 0.5em
1em
1em
1em
;
1619 #signup-form input[type='submit'] {
1620 padding
: 0.4em
0.5em
0.5em
0.5em
;
1625 .login
-container
.login
-tip
{
1626 padding
: 0.5em
0.5em
0.5em
3em
;
1627 margin
: 2em
4em
0 4em
;
1631 .login
-container
.login
-tip span
{
1637 #content.login-page .error-box {
1638 margin
: 1.5em
0.875em
-1.5em
0.875em
;
1640 .error
-box
, .success
-box
{
1645 /***********************/
1646 /* PASSWORD RESET PAGE */
1647 /***********************/
1649 .reset
-password
-container
{
1652 .reset
-password
-container input
[type
='submit'] {
1653 padding
: 0.2em
0.5em
;
1656 .reset
-password
-container input
{
1660 .reset
-password
-container label
{
1661 display
: inline
-block
;
1664 .reset
-password
-container form
> div
{
1667 .reset
-password
-container
.action
-container
{
1671 .reset
-password
-container
.error
-box
{
1675 /*********************/
1676 /* TABLE OF CONTENTS */
1677 /*********************/
1683 margin
: 1.25em
0 0.75em
1.25em
;
1684 padding
: 7px
14px
10px
10px
;
1689 .collection
-page
.contents
{
1695 margin
-bottom
: 0.25em
;
1698 .body
-text
.contents ul
{
1699 list-style
-type
: none
;
1700 margin
: 0 0 0 0.5em
;
1701 counter
-reset
: toc
-item
-1 toc
-item
-2 toc
-item
-3;
1705 .body
-text
.contents li
{
1706 margin
: 0.15em
0 0.3em
1em
;
1712 .body
-text
.contents li
::before
{
1719 .contents
.toc
-item
-1 {
1720 counter
-increment
: toc
-item
-1;
1721 counter
-reset
: toc
-item
-2 toc
-item
-3;
1723 .contents
.toc
-item
-1::before
{
1724 content
: counter(toc
-item
-1);
1726 .contents
.toc
-item
-1 ~
.toc
-item
-2 {
1730 .contents
.toc
-item
-2 {
1731 counter
-increment
: toc
-item
-2;
1732 counter
-reset
: toc
-item
-3;
1734 .contents
.toc
-item
-1 ~
.toc
-item
-2::before
{
1735 content
: counter(toc
-item
-1) "." counter(toc
-item
-2);
1737 .contents
.toc
-item
-2::before
{
1738 content
: counter(toc
-item
-2);
1740 .contents
.toc
-item
-1 +
.toc
-item
-3 {
1741 counter
-increment
: toc
-item
-2 toc
-item
-3;
1743 .contents
.toc
-item
-2 ~
.toc
-item
-3,
1744 .contents
.toc
-item
-1 ~
.toc
-item
-3 {
1748 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3 {
1752 .contents
.toc
-item
-3 {
1753 counter
-increment
: toc
-item
-3;
1755 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3::before
{
1756 content
: counter(toc
-item
-1) "." counter(toc
-item
-2) "." counter(toc
-item
-3);
1758 .contents
.toc
-item
-1 ~
.toc
-item
-3::before
{
1759 content
: counter(toc
-item
-1) "." counter(toc
-item
-3);
1761 .contents
.toc
-item
-2 ~
.toc
-item
-3::before
{
1762 content
: counter(toc
-item
-2) "." counter(toc
-item
-3);
1764 .contents
.toc
-item
-3::before
{
1765 content
: counter(toc
-item
-3);
1767 .contents
.toc
-item
-4,
1768 .contents
.toc
-item
-5,
1769 .contents
.toc
-item
-6 {
1773 /********************/
1774 /* POSTS & COMMENTS */
1775 /********************/
1779 display
: inline
-block
;
1781 font
-size
: 1.0625em
;
1784 overflow
-wrap
: break-word
;
1785 text
-align
: justify
;
1790 .retracted
.body
-text
{
1791 text
-decoration
: line
-through
;
1795 word
-break: break-all
;
1798 .body
-text a
:not([href
]),
1799 .body
-text a
:not([href
]):hover
,
1800 .body
-text a
:not([href
])::before
,
1801 .body
-text a
:not([href
])::after
{
1802 text
-decoration
: none
;
1814 flex
-flow
: row wrap
;
1815 justify
-content
: center
;
1817 .post
-meta
.lw2
-link
{
1822 .post
-meta
.post
-section
::before
{
1825 .post
-meta
.post
-section
{
1830 .post
-meta
.post
-section
::before
,
1831 .comment
-meta
.alignment
-forum
{
1832 visibility
: visible
;
1833 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1836 .post
-section
.frontpage
::before
{
1839 .post
-section
.featured
::before
{
1842 .post
-section
.meta
::before
{
1845 .post
-section
.events
::before
{
1848 .post
-section
.personal
::before
{
1851 .post
-section
.draft
::before
{
1854 .post
-section
.alignment
-forum
::before
,
1855 .comment
-meta
.alignment
-forum
{
1857 font
-family
: Concourse
, 'Changa One';
1860 /*= Karma controls hover tooltips =*/
1862 @media only screen
and (pointer
: fine
) {
1863 .post
.voting
-controls
,
1864 .comment
-item
.voting
-controls
{
1867 .post
.karma
.active
-controls
::after
,
1868 .comment
-item
.karma
.active
-controls
::after
{
1869 content
: "Double-click for strong vote";
1871 pointer
-events
: none
;
1876 white
-space
: normal
;
1878 font
-size
: 0.875rem
;
1880 transition
: opacity
0.2s ease
;
1882 .post
.voting
-controls
.active
-controls
:hover
::after
,
1883 .comment
-item
.voting
-controls
.active
-controls
:hover
::after
{
1887 .post
.voting
-controls
.karma
-value
::after
,
1888 .comment
-item
.voting
-controls
.karma
-value
::after
{
1889 content
: attr(title
);
1891 pointer
-events
: none
;
1894 transform
: translateX(-50%
);
1895 white
-space
: pre
-wrap
;
1898 font
-size
: 0.875rem
;
1901 transition
: opacity
0.2s ease
;
1903 .post
.voting
-controls
.agreement
.karma
-value
:hover
::after
,
1904 .comment
-item
.voting
-controls
.agreement
.karma
-value
:hover
::after
{
1908 .post
.voting
-controls
.karma
-value
:hover
::after
,
1909 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
1912 .post
.voting
-controls
.waiting
.karma
-value
:hover
::after
,
1913 .comment
-item
.voting
-controls
.waiting
.karma
-value
:hover
::after
{
1916 .comment
-item
.voting
-controls
.karma
-value
:hover
::after
{
1923 .author
:not(.redacted
)::before
{
1924 content
: attr(data
-full
-name
);
1926 pointer
-events
: none
;
1931 transform
: translateX(-50%
);
1932 white
-space
: nowrap
;
1934 font
-size
: 0.875rem
;
1935 font
-weight
: normal
;
1937 transition
: opacity
0.2s ease
;
1940 .author
:hover
::before
{
1959 margin
: 0.5em
0 0 0;
1962 margin
: 1.1em
0 0.35em
0;
1973 .post
.top
-post
-meta
:last
-child
{
1974 margin
-bottom
: 40px
;
1976 .post
.bottom
-post
-meta
{
1981 border
-style
: solid
;
1982 border
-width
: 1px
0;
1995 .event
-info
.map
::before
{
1998 padding
-bottom
: 50%
;
2001 .event
-info
.map iframe
{
2004 border
: 1px solid
#000;
2016 /*******************/
2017 /* POST NAVIGATION */
2018 /*******************/
2022 grid
-template
: 100%
/ 32%
36%
32%
;
2023 grid
-template
-areas
:
2029 justify
-content
: flex
-end
;
2037 border
-top
: 1px solid transparent
;
2039 .post
-nav
.prev
.post
-nav
-title
,
2040 .post
-nav
.next
.post
-nav
-title
{
2041 border
-bottom
: 1px solid transparent
;
2045 align
-items
: center
;
2049 .sequence
-title
.post
-nav
-title
{
2055 align
-items
: flex
-start
;
2057 .post
-nav
.prev
.post
-nav
-title
::before
{
2058 content
: "\F0D9\2005";
2063 align
-items
: flex
-end
;
2065 .post
-nav
.prev
.post
-nav
-label
,
2066 .post
-nav
.next
.post
-nav
-label
{
2069 .post
-nav
.next
.post
-nav
-title
::after
{
2070 content
: "\2004\F0DA";
2072 .post
-nav
.prev
.post
-nav
-title
::before
,
2073 .post
-nav
.next
.post
-nav
-title
::after
{
2074 font
-family
: Font Awesome
;
2076 vertical
-align
: text
-bottom
;
2083 @media only screen
and (max
-width
: 900px
) {
2086 grid
-template
: auto auto
/ 50%
50%
;
2087 grid
-template
-areas
:
2091 .post
-nav
.prev
.post
-nav
-title
,
2092 .post
-nav
.next
.post
-nav
-title
{
2093 border
-bottom
: none
;
2104 @media only screen
and (max
-width
: 520px
) {
2105 .post
-nav
-links +
.comments
{
2110 .related
-posts
, .related
-post
-group
{
2111 padding
-bottom
: 1em
;
2113 .related
-post
-type
{
2117 margin
-bottom
: -0.5em
;
2118 list-style
-type
: disc
;
2119 margin
-left
: -0.5em
;
2122 .related
-post
-type
::before
{
2125 font
-weight
: normal
;
2126 margin
-right
: 0.15em
;
2128 vertical
-align
: baseline
;
2131 .related
-posts
.post
-type
-prefix
{
2144 .post
.link
-post
> .post
-body
> p
:first
-child
{
2147 margin
: 0.5em
0 0 0;
2149 .post
.link
-post
> .post
-body
> p
:only
-child
{
2153 .post
.link
-post a
.link
-post
-link
::before
{
2155 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2160 margin
-right
: 0.25em
;
2180 pointer
-events
: none
;
2183 list-style
-type
: none
;
2187 .comments
.comment
-thread
> li
{
2190 #content > #top-nav-bar + .comment-thread .comment-item {
2197 .comment
-item
.comment
-item
{
2198 margin
: 1em
8px
8px
16px
;
2200 .comment
-item
.comment
-item +
.comment
-item
{
2201 margin
: 2em
8px
8px
16px
;
2210 list-style
-type
: circle
;
2212 .comment
-body
> *:first
-child
{
2215 .comment
-body
> *:last
-child
{
2219 .comments
-empty-message
{
2222 padding
: 0.75em
0 0.9em
0;
2226 /**********************************/
2227 /* DEEP COMMENT THREAD COLLAPSING */
2228 /**********************************/
2230 .comment
-item
> input
[id^
="expand"] {
2233 .comment
-item
> input
[id^
="expand"] + label
{
2239 .comment
-item
> input
[id^
="expand"] + label
::after
{
2240 content
: "(Expand " attr(data
-child
-count
) " below)";
2241 visibility
: visible
;
2244 white
-space
: nowrap
;
2247 .comment
-item
> input
[id^
="expand"]:checked + label
::after
{
2248 content
: "(Collapse " attr(data
-child
-count
) " below)";
2250 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
{
2254 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2257 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
{
2258 max
-height
: 1000000px
;
2261 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2264 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2272 .backlinks
> input
{
2276 .backlinks
> label
{
2283 .backlinks
> label
::before
{
2285 border
-left
: 5px solid currentColor
;
2286 border
-top
: 5px solid transparent
;
2287 border
-bottom
: 5px solid transparent
;
2288 transition
: transform
0.25s ease
-out
;
2289 transform
-origin
: 29%
55%
;
2290 display
: inline
-block
;
2291 padding
-right
: 0.5em
;
2294 .backlinks
> input
:checked + label
::before
{
2295 transform
: rotate(90deg
);
2304 perspective
-origin
: top
;
2305 transform
: perspective(100em
) rotateX(-90deg
);
2306 transform
-origin
: center top
;
2309 margin
-bottom
: 0.5em
;
2312 .backlinks
> input
:checked ~ ul
{
2314 transform
: perspective(100em
) rotateX(0deg
);
2315 transition
: transform
0.25s ease
-in
, opacity
0.25s ease
-in
;
2324 padding
: 2px
24px
2px
10px
;
2328 flex
-flow
: row wrap
;
2329 align
-items
: baseline
;
2331 .user
-page
.comment
-meta
,
2332 .conversation
-page
.comment
-meta
{
2333 padding
-right
: 10px
;
2335 .comment
-meta
.comment
-post
-title
{
2338 text
-overflow
: ellipsis
;
2339 white
-space
: nowrap
;
2342 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2347 display
: none
; /* Not sure if we need to display this... */
2349 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2350 content
: "\2004(OP)";
2354 /*****************************/
2355 /* COMMENT THREAD NAVIGATION */
2356 /*****************************/
2358 a
.comment
-parent
-link
:not(.inline
-author
),
2359 a
.comment
-parent
-link
.inline
-author
::before
{
2362 a
.comment
-parent
-link
:hover
{
2365 a
.comment
-parent
-link
::before
{
2367 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2374 padding
: 3px
3px
0 3px
;
2376 height
: calc(100% +
2px
);
2380 a
.comment
-parent
-link
::after
{
2385 width
: calc(100% +
26px
);
2386 height
: calc(100% +
38px
);
2389 pointer
-events
: none
;
2393 a
.comment
-parent
-link
:hover
::after
{
2394 visibility
: visible
;
2397 .comment
-child
-links
{
2400 .comment
-child
-link
{
2402 display
: inline
-block
;
2404 .comment
-child
-link
::before
{
2406 display
: inline
-block
;
2418 pointer
-events
: none
;
2420 .comment
-popup
.comment
-parent
-link
{
2423 .comment
-popup
.comment
-body
{
2424 font
-size
: 1.0625rem
;
2427 .comment
-item
.depth
-odd
{
2428 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2429 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2431 .comment
-item
.depth
-even
{
2432 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2433 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2436 .comment
-item
:target
{
2437 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2439 .comment
-item
:target
> .comment
-thread
> .comment
-item
{
2440 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2443 /**********************/
2444 /* COMMENT PERMALINKS */
2445 /**********************/
2446 /********************/
2447 /* COMMENT LW LINKS */
2448 /********************/
2450 .comment
-meta
.permalink
::before
,
2451 .comment
-meta
.lw2
-link
::before
,
2452 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2454 display
: inline
-block
;
2461 0 0 0 3px transparent
;
2463 background
-size
: 100%
;
2468 .comment
-meta
.permalink
::before
{
2469 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2471 .comment
-meta
.lw2
-link
::before
{
2472 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2474 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2476 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2478 .comment
-meta
.permalink
:hover
::before
{
2479 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2481 .comment
-meta
.lw2
-link
:hover
::before
{
2482 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2484 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2485 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2487 .comment
-meta
.permalink
:hover
::before
,
2488 .comment
-meta
.lw2
-link
:hover
::before
,
2489 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2492 0 0 0 3px transparent
;
2496 .comment
-meta
.permalink
:active
::before
,
2497 .comment
-meta
.lw2
-link
:active
::before
,
2498 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2499 transform
: scale(0.9);
2502 .comment
-meta
.permalink
,
2503 .comment
-meta
.lw2
-link
,
2504 .individual
-thread
-page
.comment
-parent
-link
:empty {
2508 .comment
-meta
.permalink
::after
,
2509 .comment
-meta
.lw2
-link
::after
,
2510 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2519 pointer
-events
: auto
;
2520 visibility
: visible
;
2523 /*************************/
2524 /* COMMENTS COMPACT VIEW */
2525 /*************************/
2527 #comments-list-mode-selector,
2528 #content.index-page #comments-list-mode-selector,
2529 #content.user-page #comments-list-mode-selector {
2534 justify
-self
: start
;
2537 #comments-list-mode-selector button {
2544 background
-repeat
: no
-repeat
;
2545 background
-size
: 100%
;
2546 background
-origin
: content
-box
;
2548 #comments-list-mode-selector button:disabled {
2551 #comments-list-mode-selector button.expanded {
2552 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2554 #comments-list-mode-selector button.compact {
2555 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2557 @media only screen
and (max
-resolution
: 1dppx
) {
2558 #comments-list-mode-selector button.expanded {
2559 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2561 #comments-list-mode-selector button.compact {
2562 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2566 #content > ul.comment-thread > li.comment-item,
2567 #content.compact > ul.comment-thread > li.comment-item {
2571 #content > .comment-thread {
2574 #content.compact > .comment-thread {
2575 font
-size
: 0.9375rem
;
2578 #content.compact > .comment-thread:hover {
2581 #content.compact > .comment-thread .comment-body {
2582 font
-size
: 1.0625rem
;
2584 #content.compact > .comment-thread .comment-item,
2585 #content.index-page .comment-item.ignored,
2586 #content.inbox-user-page .comment-item.ignored {
2592 #content.compact > .comment-thread .comment-item {
2593 pointer
-events
: none
;
2595 #content.compact > .comment-thread .comment-item::after {
2602 padding
: 0 16px
10px
64px
;
2603 pointer
-events
: auto
;
2605 @media only screen
and (hover
: hover
) {
2606 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2607 #content.compact > .comment-thread .comment-item.expanded {
2609 pointer
-events
: auto
;
2613 @media only screen
and (hover
: none
) {
2614 #content.compact > .comment-thread.expanded .comment-item {
2616 pointer
-events
: auto
;
2620 #content.compact > .comment-thread .comment-item .comment-meta {
2621 white
-space
: nowrap
;
2623 text
-overflow
: ellipsis
;
2626 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2629 #content.compact > .comment-thread .comment-item .comment-meta a {
2630 pointer
-events
: auto
;
2632 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2635 #content.compact > .comment-thread .comment-item .comment-meta .voting-controls + .comment-post-title {
2636 margin
-left
: 0.75em
;
2638 @media only screen
and (hover
: hover
) {
2639 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2640 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2643 #content.compact > .comment-thread .comment-item:hover .comment,
2644 #content.compact > .comment-thread .comment-item.expanded .comment {
2650 #content.compact > .comment-thread .comment-item:hover .comment::before,
2651 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2655 width
: calc(100% +
20px
);
2656 height
: calc(100% +
20px
);
2661 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2662 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2666 @media only screen
and (hover
: none
) {
2667 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2670 #content.compact > .comment-thread.expanded .comment-item .comment {
2676 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2680 width
: calc(100% +
14px
);
2681 height
: calc(100% +
20px
);
2686 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2689 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2698 background
-color
: rgba(0,0,0,0.5);
2702 /*****************************/
2703 /* HIGHLIGHTING NEW COMMENTS */
2704 /*****************************/
2706 .new-comment
::before
{
2712 pointer
-events
: none
;
2715 /***********************************/
2716 /* COMMENT THREAD MINIMIZE BUTTONS */
2717 /***********************************/
2719 .comment
-minimize
-button
{
2720 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2731 .comment
-minimize
-button
:active
{
2732 transform
: scale(0.9);
2734 .comment
-minimize
-button
::after
{
2735 content
: attr(data
-child
-count
);
2736 font
-weight
: normal
;
2737 font
-size
: 0.8125rem
;
2744 #content.individual-thread-page .comment-minimize-button {
2752 #content.comment-thread-page .comment-item.ignored {
2756 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2757 text
-decoration
: line
-through
;
2760 /***********************************/
2761 /* INDIVIDUAL COMMENT THREAD PAGES */
2762 /***********************************/
2764 .individual
-thread
-page
> h1
{
2766 margin
: 0.75em
0 3px
0;
2768 .individual
-thread
-page
.comments
{
2776 .shortform
-index
-page
.comments
::before
{
2781 .shortform
-index
-page
.comments
> .comment
-thread
> .comment
-item
:first
-child
{
2793 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2803 @keyframes waiting
{
2804 0%
{background
-position
: 200%
0%
}
2805 100%
{background
-position
: 0%
0%
}
2808 .voting
-controls
.karma
-value
{
2810 transition
: opacity
0.5s linear
;
2813 .voting
-controls
.waiting
.karma
-value
{
2815 background
: repeat
-x linear
-gradient(70deg
, #000 50%, #fff 75%, #000);
2816 background
-clip
: text
;
2817 -webkit
-background
-clip
: text
;
2819 background
-position
: 200%
0%
;
2820 background
-size
: 200%
100%
;
2821 animation
: waiting
1s linear infinite
;
2824 /* Replicated karma controls at bottom of comments. */
2825 .comment
-controls
.voting
-controls
{
2827 font
-size
: 0.9375em
;
2830 .comment
-controls
.voting
-controls
:first
-of
-type
{
2834 /*****************************/
2835 /* COMMENTING AND POSTING UI */
2836 /*****************************/
2840 margin
: 0 8px
8px
16px
;
2844 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2847 .comments
> .comment
-controls
{
2850 .comments
> .comment
-controls
:last
-child
{
2851 margin
: 8px
0 16px
0;
2854 .posting
-controls input
[type
='submit'] {
2857 font
-size
: 1.125rem
;
2860 .comment
-controls
.cancel
-comment
-button
{
2866 padding
: 4px
8px
2px
4px
;
2869 .comment
-controls
.cancel
-comment
-button
::before
{
2870 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2878 .comment +
.comment
-controls
.action
-button
{
2879 font
-weight
: normal
;
2880 font
-size
: 1.0625em
;
2883 .comment
-controls
.action
-button
::before
{
2884 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2887 .new-comment
-button
{
2891 .comment
-controls
.reply
-button
::before
{
2897 .comment
-meta
.replied
::before
{
2899 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2908 margin
: 0.75em
0 0 0;
2913 display
: inline
-block
;
2914 margin
-bottom
: 0.25em
;
2915 font
-size
: 1.125rem
;
2917 .edit
-post
-link
::before
{
2918 margin
-right
: 0.3em
;
2920 .comment
-controls
.edit
-button
::before
,
2921 .edit
-post
-link
::before
{
2923 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2930 .comment
-controls
.delete
-button
{
2931 margin
-right
: 0.25em
;
2933 .comment
-controls
.edit
-button
,
2934 .comment
-controls
.retract
-button
,
2935 .comment
-controls
.unretract
-button
{
2938 .comment
-controls
.retract
-button
::before
{
2942 .comment
-controls
.unretract
-button
::before
{
2946 .comment
-controls
.delete
-button
::before
{
2950 .comment
-controls
.retract
-button
::before
,
2951 .comment
-controls
.unretract
-button
::before
,
2952 .comment
-controls
.delete
-button
::before
{
2957 .comment
-controls form
{
2960 .textarea
-container
{
2963 .posting
-controls textarea
{
2968 max
-height
: calc(100vh
- 6em
);
2972 border
-style
: solid
;
2973 border
-width
: 29px
1px
1px
1px
;
2977 /* GUIEdit buttons */
2979 .guiedit
-buttons
-container
{
2983 width
: calc(100%
- 2px
);
2986 padding
: 1px
4px
0 4px
;
2989 .comment
-thread
-page
.guiedit
-buttons
-container
{
2990 padding
-right
: 60px
;
2992 .guiedit
-buttons
-container button
{
2996 font
-size
: 0.875rem
;
3000 .guiedit
-buttons
-container button
:active
{
3003 .guiedit
-buttons
-container button
:active div
{
3004 transform
: scale(0.9);
3006 .guiedit
-buttons
-container button sup
{
3010 content
: attr(data
-tooltip
);
3012 font
-weight
: normal
;
3018 white
-space
: nowrap
;
3021 .guiedit
:hover
::after
{
3022 visibility
: visible
;
3025 /* Markdown hints */
3027 .posting
-controls
.markdown
-reference
-link
{
3029 padding
: 1px
0 0 6px
;
3031 .posting
-controls
.markdown
-reference
-link a
{
3032 padding
-right
: 1.5em
;
3033 margin
-right
: 0.15em
;
3034 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');
3035 background
-size
: 1.25em
;
3036 background
-repeat
: no
-repeat
;
3037 background
-position
: right center
;
3040 #markdown-hints-checkbox + label {
3042 margin
: 2px
0 0 1em
;
3046 #edit-post-form #markdown-hints-checkbox + label {
3049 #markdown-hints-checkbox {
3053 #markdown-hints-checkbox + label::after {
3054 content
: "(Show Markdown help)";
3056 #markdown-hints-checkbox:checked + label::after {
3057 content
: "(Hide Markdown help)";
3059 #markdown-hints-checkbox + label::before {
3061 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3065 #markdown-hints-checkbox:checked + label::before {
3066 font
-weight
: normal
;
3069 margin
: 4px
0 0 4px
;
3073 top
: calc(100%
- 1em
);
3077 .comment
-controls
#markdown-hints {
3078 top
: calc(100% +
1.75em
);
3080 #markdown-hints-checkbox:checked ~ #markdown-hints {
3083 .markdown
-hints
-row
{
3086 #markdown-hints .markdown-hints-row span,
3087 #markdown-hints .markdown-hints-row code {
3089 display
: table
-cell
;
3091 background
-color
: inherit
;
3092 padding
: 0 12px
0 0;
3095 /******************/
3096 /* EDIT POST FORM */
3097 /******************/
3100 padding
: 1em
1em
4em
1em
;
3102 #edit-post-form .post-meta-fields {
3104 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
3105 margin
-bottom
: 0.625em
;
3108 #edit-post-form label[for='title'],
3109 #edit-post-form label[for='url'],
3110 #edit-post-form label[for='section'] {
3113 #edit-post-form input[type='text'] {
3115 grid
-column
: 2 / span
4;
3116 margin
-bottom
: 0.5em
;
3119 #edit-post-form .link-post-checkbox,
3120 #edit-post-form .link-post-checkbox + label {
3124 #edit-post-form .question-checkbox,
3125 #edit-post-form .question-checkbox + label {
3128 justify
-self
: start
;
3132 #edit-post-form .post-meta-fields label[for="submit-to-frontpage"] {
3134 grid
-column
: 2 / span
4;
3139 #edit-post-form .post-meta-fields input[type='checkbox'] {
3142 pointer
-events
: none
;
3144 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
3145 white
-space
: nowrap
;
3148 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
3151 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
3153 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3154 font
-size
: 1.375rem
;
3163 #edit-post-form label[for='url'],
3164 #edit-post-form input[name='url'] {
3167 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
3168 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
3171 #edit-post-form label {
3172 line
-height
: normal
;
3173 border
: 1px solid transparent
;
3175 padding
: 0.25em
0.5em
;
3176 white
-space
: nowrap
;
3178 #edit-post-form input[type='radio'] {
3182 pointer
-events
: none
;
3184 #edit-post-form input[type='radio'] + label {
3187 border
-style
: solid
;
3188 border
-width
: 1px
1px
1px
0;
3191 #edit-post-form input[type='radio']:checked + label {
3195 #edit-post-form label[for='section'] {
3198 #edit-post-form input[type='radio'] + label {
3201 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
3203 #edit-post-form textarea {
3207 #edit-post-form input[type='submit'] {
3211 #edit-post-form #markdown-hints {
3212 top
: calc(100% +
2em
);
3215 #edit-post-form button.guiedit div {
3218 .guiedit
-mobile
-auxiliary
-button
{
3227 input
[type
='submit'] {
3228 font
-family
: inherit
;
3230 background
-color
: inherit
;
3247 margin
: 1em
0 0.75em
0;
3294 .post
-body
.comment
-box
.comment
-body
{
3297 padding
-left
: 0.5em
;
3299 padding
-bottom
: 3px
;
3301 blockquote
*:first
-child
{
3304 blockquote
*:last
-child
{
3307 blockquote blockquote
{
3311 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3313 .post
-body
.comment
-box
.user
-name
{
3316 .post
-body
.comment
-box
.user
-name
::after
{
3319 .post
-body
.comment
-box
{
3327 #content img, #content figure {
3331 .prediction
-poll
> svg
{
3362 // Aspect ratio trick from https://css-tricks.com/aspect-ratio-boxes/
3364 [style
*="--aspect-ratio"] > * {
3367 [style
*="--aspect-ratio"] > img
{
3370 @supports
(--custom
:property
) {
3371 [style
*="--aspect-ratio"] {
3374 [style
*="--aspect-ratio"]::before
{
3377 padding
-bottom
: calc(100%
/ (var(--aspect
-ratio
)));
3379 [style
*="--aspect-ratio"] > * {
3392 border
-collapse
: collapse
;
3395 .body
-text table th
,
3396 .body
-text table td
{
3401 .body
-text table
.numeric {
3403 font
-family
: Inconsolata
, Menlo
, monospace
;
3405 .body
-text table caption
{
3406 margin
: 0 0 0.25em
0;
3415 /*= Superscripts & subscripts =*/
3417 /* Make sure superscripts and subscripts do not affect line spacing. */
3419 vertical
-align
: baseline
;
3429 /*= Code blocks & other "unstyled" text. =*/
3433 font
-family
: Inconsolata
, Menlo
, monospace
;
3436 white
-space
: pre
-wrap
;
3443 display
: inline
-block
;
3444 padding
: 0 4px
1px
5px
;
3449 padding
: 3px
4px
5px
8px
;
3459 /*= Removing browser default styling of various elements =*/
3461 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3466 /* Remove "embossed" appearance of horizontal rules. */
3474 -webkit
-appearance
: none
;
3475 -moz
-appearance
: none
;
3480 font
-family
: inherit
;
3482 font
-weight
: inherit
;
3490 counter
-reset
: ordered
-list;
3492 .footnote
-definition
{
3494 list-style
-type
: none
;
3495 counter
-increment
: ordered
-list;
3498 .footnote
-definition p
{
3499 font
-size
: inherit
!important
;
3501 .footnote
-definition
::before
{
3502 content
: counter(ordered
-list) ".";
3510 /*= LW Docs footnotes =*/
3516 .footnote
-item
> :not(.nothing
) {
3520 .footnote
-item
> :first
-child
{
3521 margin
-left
: -0.2em
;
3525 .footnote
-back
-link a
:not(.nothing
) {
3527 text
-decoration
: none
;
3531 .footnote
-back
-link a
:not(.nothing
):hover
{
3532 text
-shadow
: 0 0 1px
#fff, 0 0 3px #fff, 0 0 5px #00e;
3534 text
-decoration
: none
;
3537 .footnote
-back
-link a
::after
{
3539 font
-family
: Font Awesome
;
3542 text
-decoration
: none
;
3546 .footnote
-content
> :first
-child
{
3555 margin
-bottom
: 0.5em
;
3568 .body
-text ol
> li
{
3570 counter
-increment
: ol
;
3571 padding
: 0 0 0 2.5em
;
3572 margin
: 0.25em
0 0 0;
3574 .body
-text ol
> li
::before
{
3575 content
: counter(ol
) ".";
3585 .body
-text ul
:not(.contents
-list) > li
:empty {
3586 padding
-bottom
: 1.25em
;
3588 .body
-text ul
:not(.contents
-list) > li
{
3590 padding
: 0 0 0 1.75em
;
3591 margin
: 0.25em
0 0 0;
3593 .body
-text ul
:not(.contents
-list) > li ul
> li
{
3596 .body
-text ul
:not(.contents
-list) > li
::before
{
3603 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
3606 .body
-text li
> ul
:first
-child
> li
{
3609 .body
-text li
> ul
:first
-child
> li
::before
{
3621 .error
-retry
-form input
[type
="submit"] {
3622 border
: 1px solid
#aaa;
3624 font
-size
: 1.125rem
;
3625 padding
: 0.5em
1.25em
;
3632 #content.about-page .contents {
3635 #content.about-page .accesskey-table {
3636 border
-collapse
: collapse
;
3639 #content.about-page .accesskey-table th,
3640 #content.about-page .accesskey-table td {
3643 #content.about-page .accesskey-table td:first-child {
3644 padding
-right
: 1.5em
;
3646 #content.about-page .accesskey-table td:last-child {
3648 font
-family
: Inconsolata
, Menlo
, monospace
;
3650 #content.about-page h3:nth-of-type(n+2) {
3654 /******************/
3655 /* IMAGES OVERLAY */
3656 /******************/
3658 #images-overlay + #content .post-body img {
3662 #images-overlay div {
3665 #images-overlay div::after {
3666 content
: "Click to enlarge";
3675 background
-color
: rgba(0,0,0,0.6);
3679 transition
: opacity
0.15s ease
;
3680 pointer
-events
: none
;
3682 <?php
fit_content("#images-overlay div::after"); ?
>
3683 #images-overlay div:hover::after {
3687 #images-overlay img {
3695 /*=--------------=*/
3696 /*= Hover styles =*/
3697 /*=--------------=*/
3700 #images-overlay img:hover {
3701 filter
: drop
-shadow(0 0 3px
#777);
3704 #content img:active,
3705 #images-overlay img:active {
3706 transform
: scale(0.975);
3713 #image-focus-overlay {
3723 #image-focus-overlay::before {
3731 background
-color
: #000;
3735 #image-focus-overlay.engaged {
3739 #image-focus-overlay img {
3744 transform
: translateX(-50%
) translateY(-50%
);
3747 /*=-------------------=*/
3748 /*= Single-image mode =*/
3749 /*=-------------------=*/
3751 #image-focus-overlay:not(.slideshow) .image-number,
3752 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3760 #image-focus-overlay .caption {
3763 background
-color
: rgba(0,0,0,0.7);
3767 max
-width
: calc(100%
- 18em
);
3775 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3776 #image-focus-overlay .caption.hidden {
3782 #image-focus-overlay .caption p {
3787 #image-focus-overlay .caption:not(:empty)::before {
3792 height
: calc(100% +
1.5em
);
3795 left
: calc(-50vw +
50%
);
3799 /*=--------------=*/
3800 /*= Help overlay =*/
3801 /*=--------------=*/
3803 #image-focus-overlay .help-overlay {
3810 border
-radius
: 10px
;
3814 white
-space
: nowrap
;
3821 background
-color
1s ease
,
3824 #image-focus-overlay .help-overlay:hover {
3827 background
-color
: rgba(0,0,0,0.85);
3829 visibility
: visible
;
3831 visibility
0.2s ease
0.3s
,
3832 color
0.2s ease
0.3s
,
3833 background
-color
0.2s ease
0.3s
;
3836 #image-focus-overlay .help-overlay::after {
3838 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3846 filter
: drop
-shadow(0 0 6px
#fff);
3847 visibility
: visible
;
3852 #image-focus-overlay .help-overlay:hover::after {
3855 visibility
0.2s ease
0.3s
;
3858 #image-focus-overlay .help-overlay p {
3865 #image-focus-overlay .help-overlay p + p {
3866 margin
: 0.75em
0 0 0;
3868 #image-focus-overlay .help-overlay.hidden {
3872 /*=--------------=*/
3873 /*= Slide number =*/
3874 /*=--------------=*/
3876 #image-focus-overlay .image-number {
3890 white
-space
: nowrap
;
3891 transition
: bottom
0.3s ease
;
3893 #image-focus-overlay .image-number::before {
3897 #image-focus-overlay .image-number::after {
3898 content
: " of " attr(data
-number
-of
-images
);
3901 #image-focus-overlay .image-number:hover::before,
3902 #image-focus-overlay .image-number:hover::after {
3905 #image-focus-overlay .image-number.hidden {
3909 /*=-------------------=*/
3910 /*= Slideshow buttons =*/
3911 /*=-------------------=*/
3913 #image-focus-overlay .slideshow-buttons {
3921 justify
-content
: space
-between
;
3922 pointer
-events
: none
;
3924 #image-focus-overlay .slideshow-buttons button {
3925 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3934 pointer
-events
: auto
;
3936 #image-focus-overlay .slideshow-buttons button::selection {
3937 background
-color
: transparent
;
3939 @media only screen
and (hover
: hover
) {
3940 #image-focus-overlay .slideshow-buttons button:hover {
3941 background
-color
: rgba(0,0,0,0.1);
3945 #image-focus-overlay .slideshow-buttons button:active {
3949 #image-focus-overlay .slideshow-buttons button:disabled {
3951 background
-color
: transparent
;
3956 #image-focus-overlay .slideshow-button.previous.hidden {
3959 #image-focus-overlay .slideshow-button.next.hidden {
3963 /*=-----------------=*/
3964 /*= Background blur =*/
3965 /*=-----------------=*/
3971 /**************************/
3972 /* QUALIFIED HYPERLINKING */
3973 /**************************/
3975 #content.no-nav-bars {
3978 #content.no-nav-bars + #ui-elements-container > * {
3985 left
: calc((100%
- 900px
) / 2 - 69px
);
3992 display
: table
-cell
;
3994 vertical
-align
: middle
;
3995 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4002 .qualified
-linking
{
4006 .qualified
-linking input
[type
='checkbox'] {
4012 .qualified
-linking label
{
4013 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4017 display
: inline
-block
;
4018 margin
-left
: 0.25em
;
4020 .qualified
-linking label
:hover
{
4023 .qualified
-linking label
:active span
{
4024 display
: inline
-block
;
4025 transform
: scale(0.9);
4027 .qualified
-linking label
::selection
{
4028 background
-color
: transparent
;
4031 .qualified
-linking label
::after
{
4041 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
4045 .qualified
-linking
-toolbar
{
4051 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
4054 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
4057 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
4062 .qualified
-linking
-toolbar a
{
4067 .qualified
-linking
-toolbar a
::selection
{
4068 background
-color
: transparent
;
4075 #preview-popup-toggle {
4080 color
: var(--GW
-toggle
-widget
-color
, #888);
4082 #preview-popup-toggle:hover {
4083 color
: var(--GW
-toggle
-widget
-hover
-color
, #444);
4086 #content.preview:not(not) {
4089 #content.preview > .comment-thread {
4092 #content.preview.individual-thread-page > .comment-thread > .comment-item {
4095 #content.preview.user-page .page-main-heading, #content.preview.user-page .user-stats {
4098 #content.preview.user-page .page-main-heading {
4101 #content.preview.not(not) .body-text {
4105 #content.preview.user-page .user-stats {
4108 #content.preview.user-page .page-toolbar, #content.preview.user-page nav {
4111 #content.preview button.vote {
4114 #content.preview > h1.listing {
4117 #content.preview.user-page > .comment-thread {
4120 #content.preview > .post {
4123 #content.preview .post-title {
4126 #content.preview .post-meta {
4129 #content.preview .body-text {
4132 #content.preview nav.contents,
4133 #content.preview .lw2-link {
4139 transform
-origin
: top
;
4144 background
-color
: #eee;
4145 border
: 1px solid
#ccc;
4146 box
-shadow
: 2px
6px
20px
-4px
#000;
4147 transition
: height
0.2s ease
, top
0.2s ease
;
4149 .popup
-hide
-button
{
4154 background
-color
: #fff;
4158 font
-family
: "Font Awesome";
4161 border
: 1px solid
#bbb;
4162 border
-radius
: 28px
;
4163 align
-items
: center
;
4164 justify
-content
: center
;
4165 //padding-bottom: 2px;
4166 padding
-left
: 1.5px
;
4167 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4170 .popup
-hide
-button
:hover
::before
{
4171 content
: "Turn off preview popups";
4177 background
-color
: #fff;
4178 border
: 1px solid
#eee;
4187 .mathjax
-block
-container
{
4191 margin
: 1em
0 1.5em
0;
4193 .mathjax
-inline
-container
{
4200 #content .mathjax-inline-container,
4201 #content .mathjax-inline-container .mjpage,
4202 #content .mathjax-inline-container .mjx-chtml,
4203 #content .mathjax-inline-container .mjx-math,
4204 #content .mathjax-inline-container .mjx-mrow {
4206 white
-space
: normal
;
4208 .post
.mathjax
-inline
-container
{
4211 .comment
.mathjax
-inline
-container
{
4214 .mathjax
-inline
-container
.mjx
-chtml
{
4224 background
-color
: currentColor
;
4228 box
-shadow
: 0 0 0 1px currentColor inset
;
4231 .spoiler
:not(:last
-child
) {
4234 #content .spoiler * {
4240 background
-color
: unset;
4243 color
0.1s ease
-out
0.1s
,
4244 background
-color
0.1s ease
-out
0.1s
,
4245 text
-shadow
0.1s ease
-out
0.1s
;
4247 .spoiler
::selection
,
4248 .spoiler
::selection
{
4250 background
-color
: #000;
4252 .spoiler
:not(:hover
)::selection
,
4253 .spoiler
:not(:hover
) ::selection
{
4254 background
-color
: transparent
;
4257 /*= Fix for LessWrong being weird =*/
4262 .spoiler
> p
:first
-child
{
4265 .spoiler
> p
:last
-child
{
4267 padding
-bottom
: 0.25em
;
4269 .spoiler
> p
:hover ~ p
{
4270 background
-color
: currentColor
;
4275 .spoiler
> p
:not(:first
-child
) {
4278 .spoiler
> p
:not(:last
-child
) {
4279 padding
-bottom
: 0.5em
;
4282 .spoiler
:not(:hover
) pre
,
4283 .spoiler
:not(:hover
) code
{
4284 background
-color
: inherit
;
4287 #content .spoiler pre {
4288 border
-color
: currentColor
;
4289 border
-style
: solid
;
4290 border
-width
: 0 1px
;
4294 /*******************/
4295 /* PAGE LIST INDEX */
4296 /*******************/
4303 .page
-list-index
> p
{
4308 .page
-list-index
> ul
* {
4312 .page
-list-index ul
{
4313 padding
-left
: 1.5em
;
4316 .page
-list-index li
{
4320 .page
-list-index li
> a
{
4327 .page
-list-index li
> a
:last
-child
{
4336 .textarea
-container
.autocomplete
-container
{
4339 font
-size
: 1.125rem
;
4341 backdrop
-filter
: blur(2px
);
4344 .textarea
-container
.autocomplete
-container
:empty {
4348 @media only screen
and (min
-width
: 521px
) {
4349 .textarea
-container
.autocomplete
-container
.inside
{
4350 max
-height
: calc(100%
- 36px
);
4353 .textarea
-container
.autocomplete
-container
.outside
{
4354 max
-height
: calc(100%
- 28px
);
4359 .textarea
-container
.autocomplete
-container
.inside
.right
{
4362 .textarea
-container
.autocomplete
-container
.inside
.left
{
4365 .textarea
-container
.autocomplete
-container
.outside
.right
{
4366 left
: calc(100% +
3px
);
4368 .textarea
-container
.autocomplete
-container
.outside
.left
{
4369 right
: calc(100% +
3px
);
4372 head
.content
-width
-normal + body
.textarea
-container
.autocomplete
-container
.outside
{
4373 max
-width
: calc((100vw
- (900px
- 40px
* 2)) / 2);
4375 head
.content
-width
-wide + body
.textarea
-container
.autocomplete
-container
.outside
{
4376 max
-width
: calc((100vw
- (1150px
- 40px
* 2)) / 2);
4378 head
.content
-width
-fluid + body
.textarea
-container
.autocomplete
-container
.outside
{
4379 max
-width
: calc((300px +
40px
* 2) / 2);
4383 .textarea
-container
.autocomplete
-container div
{
4384 padding
: 2px
8px
0 8px
;
4385 white
-space
: nowrap
;
4387 justify
-content
: flex
-end
;
4390 .textarea
-container
.autocomplete
-container div span
.name
{
4392 width
: calc(100%
- 9em
);
4394 text
-overflow
: ellipsis
;
4396 .textarea
-container
.autocomplete
-container div span
.name
:hover
{
4400 .textarea
-container
.autocomplete
-container div span
.age
,
4401 .textarea
-container
.autocomplete
-container div span
.karma
{
4405 .textarea
-container
.autocomplete
-container div span
.age
{
4408 .textarea
-container
.autocomplete
-container div span
.karma
{
4417 h2
.sequence
-chapter
,
4418 h3
.sequence
-chapter
,
4419 h4
.sequence
-chapter
{
4422 h2
.sequence
-chapter
::before
,
4423 h3
.sequence
-chapter
::before
,
4424 h4
.sequence
-chapter
::before
{
4427 margin
: 1.5em
0 0.75em
0;
4429 font
-weight
: normal
;
4430 font
-family
: <?php
echo $UI_font; ?
>;
4432 h2
.sequence
-chapter
::before
{
4435 h3
.sequence
-chapter
::before
{
4436 content
: '\25AA\2004\25AA';
4438 h4
.sequence
-chapter
::before
{
4439 content
: '\00B7\2004\00B7\2004\00B7';
4443 /*******************/
4444 /* ALIGNMENT FORUM */
4445 /*******************/
4447 #content.alignment-forum-index-page::after {
4448 content
: "Alignment Forum";
4450 margin
: 0.375em
0 0 -0.375em
;
4454 /**********************/
4455 /* FOR NARROW SCREENS */
4456 /**********************/
4458 @media only screen
and (max
-width
: 1440px
) {
4461 padding
: 8px
10px
10px
10px
;
4465 #hns-date-picker::before {
4470 height
: calc(100% +
2px
);
4476 @media only screen
and (max
-width
: 1160px
) {
4477 #new-comment-nav-ui {
4485 #hns-date-picker::before {
4486 width
: calc(100%
- 35px
);
4488 #theme-selector button::before {
4492 #theme-selector:hover::after {
4496 width
: calc(6em
- 7px
);
4497 height
: calc(100% +
2px
);
4499 left
: calc(100% +
1px
);
4501 #anti-kibitzer-toggle {
4505 @media only screen
and (max
-width
: 1080px
) {
4509 #width-selector button {
4512 #text-size-adjustment-ui {
4516 #text-size-adjustment-ui button {
4520 #text-size-adjustment-ui button.increase {
4523 #text-size-adjustment-ui button.decrease {
4530 #theme-tweaker-toggle {
4534 #theme-tweaker-toggle button {
4542 #new-comment-nav-ui {
4548 #hns-date-picker::before {
4549 width
: calc(100%
- 22px
);
4551 #anti-kibitzer-toggle {
4555 @media only screen
and (max
-width
: 1040px
) {
4559 #new-comment-nav-ui {
4565 #hns-date-picker::before {
4566 width
: calc(100%
- 17px
);
4568 #anti-kibitzer-toggle {
4572 @media only screen
and (max
-width
: 1020px
) {
4576 #new-comment-nav-ui {
4579 #new-comment-nav-ui .new-comments-count::before {
4583 height
: calc(100% +
45px
);
4591 #hns-date-picker::before {
4594 #anti-kibitzer-toggle {
4598 @media only screen
and (max
-width
: 1000px
) {
4605 #theme-selector button {
4608 #text-size-adjustment-ui {
4612 @media not screen
and (hover
: none
) {
4614 #new-comment-nav-ui,
4615 #new-comment-nav-ui + #hns-date-picker,
4616 #anti-kibitzer-toggle {
4619 #quick-nav-ui:hover,
4620 #new-comment-nav-ui:hover,
4621 #new-comment-nav-ui + #hns-date-picker:hover,
4622 #new-comment-nav-ui + #hns-date-picker:focus-within,
4623 #new-comment-nav-ui:hover + #hns-date-picker,
4624 #anti-kibitzer-toggle:hover {
4628 #theme-tweaker-toggle {
4644 #ui-elements-container {
4650 #images-overlay + #content .post-body img {
4651 visibility
: visible
;
4656 #comments-sort-mode-selector {
4659 .comment
-minimize
-button
{
4662 .post
-meta
.qualified
-linking
,
4663 .post
-meta
.lw2
-link
{
4666 .comment
-meta
.permalink
,
4667 .comment
-meta
.lw2
-link
,
4668 .comment
-meta
.comment
-parent
-link
{
4671 .new-comment
::before
{
4679 <?php
include("style_mobile_additions.css.php"); ?
>
4681 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4685 ## TO BE IMPLEMENTED:
4686 ## This will be specified via command-line argument; but for now, we just
4687 ## include all available additions (currently, only 'accordius').
4693 foreach ($additions as $addition) {
4694 $potential_includes = [
4696 "style_mobile_additions.css.php"
4698 foreach ($potential_includes as $include) {
4699 $include_path = "{$addition}/{$include}";
4700 if (file_exists($include_path))
4701 include ($include_path);