2 header ('Content-type: text/css; charset=utf-8');
4 $platform = @$argv[1] ?
: 'Mac';
5 $UI_font = (0 && $platform == 'Windows') ?
"'Whitney', 'a_Avante'" : "'Concourse', 'a_Avante'";
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
;
175 .nav
-bar
-top
:not(#primary-bar) .nav-inner {
179 #nav-item-sequences .nav-inner::before {
180 font
-family
: "Font Awesome", "Font Awesome 5 Free";
183 @media only screen
and (min
-width
: 901px
) {
184 #nav-item-about .nav-inner {
187 #nav-item-sequences .nav-inner::before {
191 #secondary-bar #nav-item-sequences .nav-inner {
204 h1
.listing ~
#bottom-bar {
207 #bottom-bar .nav-item {
211 /*=-----------------=*/
212 /*= Accesskey hints =*/
213 /*=-----------------=*/
216 content
: attr(accesskey
);
220 /*=---------------=*/
221 /*= Pagination UI =*/
222 /*=---------------=*/
224 #bottom-bar .nav-item a::before,
225 #top-nav-bar a::before {
226 font
-family
: "Font Awesome", "Font Awesome 5 Free";
233 #bottom-bar #nav-item-first a::before,
234 #top-nav-bar a.nav-item-first::before {
237 #bottom-bar #nav-item-top a::before {
240 #bottom-bar #nav-item-prev a::before,
241 #top-nav-bar a.nav-item-prev::before {
244 #bottom-bar #nav-item-next a::before,
245 #top-nav-bar a.nav-item-next::before {
248 #bottom-bar #nav-item-last a::before,
249 #top-nav-bar a.nav-item-last::before {
252 #bottom-bar #nav-item-next a::before {
257 #bottom-bar #nav-item-last a::before {
263 /*= Hover tooltips =*/
268 #top-nav-bar a::after {
269 bottom
: calc(100%
- 3px
);
270 content
: attr(data
-target
-page
);
272 #top-nav-bar a::after {
280 #top-nav-bar a:hover::after,
281 #bottom-bar a:hover::after {
285 /*=-----------------------=*/
286 /*= Decorative bottom bar =*/
287 /*=-----------------------=*/
288 /* (On short pages with no pagination) */
290 #bottom-bar.decorative {
293 #bottom-bar.decorative .nav-item {
304 #nav-item-search form::before {
306 font
-family
: "Font Awesome", "Font Awesome 5 Free";
308 display
: inline
-block
;
313 #nav-item-search input {
315 width
: calc(95%
- 80px
);
318 #nav-item-search button {
328 padding
-right
: 0.5em
;
331 /*******************/
332 /* INBOX INDICATOR */
333 /*******************/
342 #inbox-indicator::before {
344 font
-family
: "Font Awesome", "Font Awesome 5 Free";
346 font
-size
: 1.1875rem
;
355 #inbox-indicator.new-messages::before {
359 0.5px
0.5px
1px
#777;
361 a
#inbox-indicator:hover::before {
368 0.5px
0.5px
1px
#777;
370 a
#inbox-indicator.new-messages:hover::before {
376 0.5px
0.5px
1px
#777;
389 #content > .page-toolbar {
393 #content.user-page > .page-toolbar {
394 grid
-column
: 2 / span
2;
398 /*=--------------------------=*/
399 /*= Page toolbar items (all) =*/
400 /*=--------------------------=*/
403 display
: inline
-block
;
406 .page
-toolbar
> form button
{
411 .page
-toolbar
> form button
::before
{
414 .page
-toolbar
.button
::before
{
415 font
-family
: "Font Awesome", "Font Awesome 5 Free";
417 padding
-right
: 0.3em
;
420 /*=-------------------------------=*/
421 /*= Page toolbar items (specific) =*/
422 /*=-------------------------------=*/
428 .new-private-message
::before
{
432 .logout
-button
::before
{
436 #enable-push-notifications::before {
440 .ignore
-button
::before
{
444 .unignore
-button
::before
{
449 content
: url('data:image/svg+xml;base64,<?php echo base64_encode(file_get_contents("assets/rss.svg")) ?>');
450 display
: inline
-block
;
452 padding
-right
: 0.2em
;
457 /*********************/
458 /* TOP PAGINATION UI */
459 /*********************/
463 margin
: 0.25em
0 0 0;
464 padding
: 0.75em
0 0 0;
468 justify
-content
: center
;
473 #top-nav-bar a.disabled {
474 pointer
-events
: none
;
477 #top-nav-bar .page-number {
479 display
: inline
-block
;
482 #top-nav-bar .page-number-label {
485 text
-transform
: uppercase
;
490 #top-nav-bar a::before {
492 display
: inline
-block
;
502 justify
-content
: center
;
505 #content > .sublevel-nav:not(.sort) {
509 .sublevel
-nav
.sublevel
-item
{
511 padding
: 0.125em
0.5em
;
514 .sublevel
-nav
.sublevel
-item
:active
{
517 .sublevel
-nav
.sublevel
-item
.selected
{
521 /***********************/
522 /* SORT ORDER SELECTOR */
523 /***********************/
530 #content > .sublevel-nav.sort {
537 #content.index-page > .sublevel-nav.sort {
543 .sublevel
-nav
.sort
::before
{
551 .sublevel
-nav
.sort
.sublevel
-item
{
557 /*******************************/
558 /* COMMENTS SORT MODE SELECTOR */
559 /*******************************/
561 .comments
> .sublevel
-nav
.sort
{
562 margin
: 1em auto
0 auto
;
564 <?php
fit_content(".comments > .sublevel-nav.sort"); ?
>
575 #width-selector button {
581 background
-repeat
: no
-repeat
;
582 background
-size
: 100%
;
583 background
-origin
: content
-box
;
585 #width-selector button,
586 #width-selector button:active,
587 #width-selector button:focus {
591 #width-selector button:disabled {
594 #width-selector button.select-width-normal {
595 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/normal.gif")) ?>');
597 #width-selector button.select-width-wide {
598 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/wide.gif")) ?>');
600 #width-selector button.select-width-fluid {
601 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/fluid.gif")) ?>');
604 /*=----------------=*/
605 /*= Hover tooltips =*/
606 /*=----------------=*/
608 #width-selector button::after {
609 content
: attr(data
-name
);
618 #width-selector button.selected::after {
619 content
: attr(data
-name
) " (selected)";
621 #width-selector button:hover:not(:active)::after {
626 global $content_width_settings;
627 foreach ($content_width_settings as $name => $setting) {
628 echo "head.content-width-{$name} + body > * {\n max-width: {$setting};\n}\n";
644 #theme-selector:hover {
648 /*=----------------------=*/
649 /*= Theme select buttons =*/
650 /*=----------------------=*/
652 .theme
-selector button
{
657 margin
: 1px
7px
0 7px
;
659 background
-size
: 16px
16px
;
660 background
-origin
: content
-box
;
662 .theme
-selector button
,
663 .theme
-selector button
:hover
,
664 .theme
-selector button
:active
,
665 .theme
-selector button
:focus
{
669 .theme
-selector button
:disabled
{
673 /*=----------------------------=*/
674 /*= Pre-rendered button images =*/
675 /*=----------------------------=*/
676 /* (Each is just a capital letter A through whatever) */
678 .theme
-selector button
:nth
-of
-type(1) {
679 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_A.gif")) ?>');
681 .theme
-selector button
:nth
-of
-type(2) {
682 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_B.gif")) ?>');
684 .theme
-selector button
:nth
-of
-type(3) {
685 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_C.gif")) ?>');
687 .theme
-selector button
:nth
-of
-type(4) {
688 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_D.gif")) ?>');
690 .theme
-selector button
:nth
-of
-type(5) {
691 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_E.gif")) ?>');
693 .theme
-selector button
:nth
-of
-type(6) {
694 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_F.gif")) ?>');
696 .theme
-selector button
:nth
-of
-type(7) {
697 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_G.gif")) ?>');
699 .theme
-selector button
:nth
-of
-type(8) {
700 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_H.gif")) ?>');
702 .theme
-selector button
:nth
-of
-type(9) {
703 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_I.gif")) ?>');
706 /*=------------------------------=*/
707 /*= Theme select button tooltips =*/
708 /*=------------------------------=*/
709 /* (with the name & description of the theme that each button selects) */
711 #theme-selector button {
715 #theme-selector button::before {
716 content
: attr(data
-theme
-name
);
720 padding
: 5px
6px
6px
6px
;
727 #theme-selector:hover button::before {
730 #theme-selector:hover ~ #theme-tweaker-toggle,
731 #theme-selector:active ~ #theme-tweaker-toggle {
735 /************************/
736 /* THEME TWEAKER TOGGLE */
737 /************************/
739 #theme-tweaker-toggle {
744 #theme-tweaker-toggle button {
745 font
-family
: "Font Awesome", "Font Awesome 5 Free";
751 #theme-tweaker-toggle button:hover {
755 /*******************/
756 /* QUICKNAV WIDGET */
757 /*******************/
765 font
-family
: "Font Awesome", "Font Awesome 5 Free";
775 #quick-nav-ui a[href='#comments'].no-comments {
776 pointer
-events
: none
;
781 #content.post-page ~ #ui-elements-container #quick-nav-ui a[href='#comments'] {
785 /************************/
786 /* NEW COMMENT QUICKNAV */
787 /************************/
789 #new-comment-nav-ui {
794 #new-comment-nav-ui > * {
798 #new-comment-nav-ui.no-comments {
802 /*=--------------------=*/
803 /*= New comments count =*/
804 /*=--------------------=*/
806 #new-comment-nav-ui .new-comments-count {
814 #new-comment-nav-ui .new-comments-count::selection {
815 background
-color
: transparent
;
817 #new-comment-nav-ui .new-comments-count::after {
823 /*=-----------------------------------=*/
824 /*= Next/previous new comment buttons =*/
825 /*=-----------------------------------=*/
827 #new-comment-nav-ui .new-comment-sequential-nav-button {
829 font
-family
: "Font Awesome", "Font Awesome 5 Free";
834 #new-comment-nav-ui .new-comment-previous {
837 #new-comment-nav-ui .new-comment-next {
840 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
842 pointer
-events
: none
;
845 /*******************/
846 /* HNS DATE PICKER */
847 /*******************/
855 #hns-date-picker:hover,
856 #hns-date-picker:focus-within {
859 #hns-date-picker.no-comments {
863 /*=---------------=*/
864 /*= "Since" label =*/
865 /*=---------------=*/
867 #hns-date-picker span {
870 text
-transform
: uppercase
;
873 /*=--------------------=*/
874 /*= "Since" text field =*/
875 /*=--------------------=*/
877 #hns-date-picker input {
882 box
-shadow
: 0 0 0 1px transparent
;
885 /************************/
886 /* ANTI-KIBITZER TOGGLE */
887 /************************/
889 #anti-kibitzer-toggle {
894 #anti-kibitzer-toggle button {
900 #anti-kibitzer-toggle button::before,
901 #anti-kibitzer-toggle button::after {
902 font
-family
: "Font Awesome", "Font Awesome 5 Free";
904 #anti-kibitzer-toggle button::before {
910 #anti-kibitzer-toggle button::after {
911 content
: "\F007\2004\F164";
915 #anti-kibitzer-toggle.engaged button::before {
919 /************************/
920 /* TEXT SIZE ADJUSTMENT */
921 /************************/
923 #text-size-adjustment-ui {
929 #text-size-adjustment-ui:hover {
933 /* This doesn't work in Mozilla browsers, so hide it */
934 @-moz
-document url
-prefix() {
935 #text-size-adjustment-ui {
944 #text-size-adjustment-ui button {
946 font
-family
: "Font Awesome", "Font Awesome 5 Free";
952 #text-size-adjustment-ui button.default {
953 font
-family
: inherit
;
958 #text-size-adjustment-ui button:disabled {
961 #text-size-adjustment-ui button:disabled:hover {
965 /*=----------------=*/
966 /*= Hover tooltips =*/
967 /*=----------------=*/
969 #text-size-adjustment-ui::after {
970 content
: "Adjust text size";
980 #text-size-adjustment-ui:hover::after {
984 /*******************************/
985 /* COMMENTS VIEW MODE SELECTOR */
986 /*******************************/
988 #comments-view-mode-selector {
994 #comments-view-mode-selector:hover {
1002 #comments-view-mode-selector a {
1004 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1011 #comments-view-mode-selector a.threaded {
1012 transform
: scaleY(-1);
1015 #comments-view-mode-selector a.chrono {
1016 font
-weight
: normal
;
1018 #comments-view-mode-selector a.selected,
1019 #comments-view-mode-selector a:hover {
1021 text
-decoration
: none
;
1023 #comments-view-mode-selector a.selected {
1031 #keyboard-help-overlay {
1034 background
-color
: rgba(0,0,0,0.7);
1041 justify
-content
: center
;
1042 align
-items
: center
;
1043 padding
: 20px
30px
30px
20px
;
1048 #keyboard-help-overlay .keyboard-help-container {
1049 background
-color
: #fff;
1050 filter
: drop
-shadow(4px
4px
2px
#000);
1057 #keyboard-help-overlay .keyboard-help-container h1 {
1059 border
-bottom
: 1px solid
#ddd;
1063 #keyboard-help-overlay .keyboard-help-container .note {
1068 #keyboard-help-overlay .keyboard-help-container .keyboard-shortcuts-lists {
1072 border
-top
: 1px solid
#ddd;
1075 #keyboard-help-overlay .keyboard-help-container ul {
1076 list-style
-type
: none
;
1079 break-inside
: avoid
;
1080 white
-space
: nowrap
;
1082 #keyboard-help-overlay .keyboard-help-container ul:nth-of-type(n+2) {
1085 #keyboard-help-overlay .keyboard-help-container ul li.section {
1087 font
-size
: 1.125rem
;
1090 #keyboard-help-overlay .keyboard-help-container .keys {
1091 margin
: 0 0.5em
0 0;
1093 display
: inline
-block
;
1095 #keyboard-help-overlay .keyboard-help-container .keys code {
1098 #keyboard-help-overlay .keyboard-help-container code {
1099 display
: inline
-block
;
1100 background
-color
: #eee;
1101 border
: 1px solid
#ccc;
1102 padding
: 3px
8px
4px
8px
;
1105 #keyboard-help-overlay .keyboard-help-container code.ak {
1106 background
-color
: #ffeb83;
1107 border
-color
: #d4a500;
1109 #keyboard-help-overlay .keyboard-help-container code.ak::before {
1114 #nav-item-about button.open-keyboard-help {
1117 @media only screen
and (hover
:hover
) and (pointer
:fine
) {
1120 padding
-right
: 0.25em
;
1122 #nav-item-about button.open-keyboard-help {
1123 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1132 background
-color
: transparent
;
1136 #keyboard-help-overlay button.close-keyboard-help {
1140 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1150 margin
: 1.25em
0.5em
0 0.5em
;
1156 .archive
-nav
*[class^
='archive-nav-item'] {
1160 padding
: 6px
4px
4px
4px
;
1163 @-moz
-document url
-prefix() {
1164 .archive
-nav
*[class^
='archive-nav-item'] {
1168 .archive
-nav
-days
.archive
-nav
-item
-day
{
1170 padding
: 7px
0 5px
0;
1173 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1182 margin
: 1.25em
0.5em
0 0.5em
;
1188 .archive
-nav
*[class^
='archive-nav-item'] {
1192 padding
: 6px
4px
4px
4px
;
1195 @-moz
-document url
-prefix() {
1196 .archive
-nav
*[class^
='archive-nav-item'] {
1200 .archive
-nav
-days
.archive
-nav
-item
-day
{
1202 padding
: 7px
0 5px
0;
1205 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1214 font
-size
: 1.875rem
;
1224 /* Links to link-posts (not the link-post links themselves; that's below) */
1225 h1
.listing
.link
-post
-link + a
{
1226 margin
-left
: 0.25em
;
1229 h1
.listing
.link
-post
-link
{
1232 vertical
-align
: top
;
1237 /*=----------------------=*/
1238 /*= Listing hover reveal =*/
1239 /*=----------------------=*/
1240 /* (On desktops, hover over a multi-line listing to reveal all of it) */
1242 @media only screen
and (min
-width
: 1160px
) {
1245 display
: inline
-block
;
1246 white
-space
: nowrap
;
1247 text
-overflow
: ellipsis
;
1249 border
-bottom
: 1px solid transparent
;
1250 -webkit
-hyphens
: auto
;
1255 padding
: 0 0 1px
1px
;
1257 h1
.listing
.link
-post
-link + a
{
1258 max
-width
: calc(100%
- 33px
);
1261 h1
.listing a
:focus
{
1262 text
-decoration
: dotted underline
;
1263 white
-space
: initial
;
1267 h1
.listing
:focus
-within
::before
{
1269 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1275 /* Adds hysteresis to the hover area (i.e., prevents oscillation due to small
1277 <?php
$margin_of_hover_error = '10px'; ?
>
1279 h1
.listing a
:not(.edit
-post
-link
):hover
::before
{
1282 top
: -<?php
echo $margin_of_hover_error; ?
>;
1283 right
: -<?php
echo $margin_of_hover_error; ?
>;
1284 bottom
: -<?php
echo $margin_of_hover_error; ?
>;
1285 left
: -<?php
echo $margin_of_hover_error; ?
>;
1288 h1
.listing
.link
-post
-link
:hover
{
1289 text
-decoration
: none
;
1293 /*=-----------------------=*/
1294 /*= In-listing edit links =*/
1295 /*=-----------------------=*/
1297 h1
.listing
.edit
-post
-link
{
1302 /*=---------------------------------=*/
1303 /*= Error messages on listing pages =*/
1304 /*=---------------------------------=*/
1309 padding
: 1.25em
0 1.25em
0;
1313 /*********************/
1314 /* LISTING POST-META */
1315 /*********************/
1317 h1
.listing +
.post
-meta
{
1319 justify
-content
: flex
-start
;
1320 margin
: 0 20px
0 21px
;
1323 h1
.listing +
.post
-meta
> * {
1327 h1
.listing +
.post
-meta
.post
-section
{
1332 h1
.listing +
.post
-meta
.post
-section
::before
{
1337 h1
.listing +
.post
-meta
.read
-time
{
1341 /********************/
1342 /* SEQUENCES & TAGS */
1343 /********************/
1345 .sequence
-text
, .tag
-description
{
1350 #content.tag-index-page .tag-description {
1359 h1
.sequence
-chapter
{
1367 .post
-meta +
.comments
{
1375 border
-bottom
: 1px solid
#999;
1376 padding
-bottom
: 1em
;
1384 /*=---------------------=*/
1385 /*= User's display name =*/
1386 /*=---------------------=*/
1388 #content.user-page h1.page-main-heading {
1389 margin
: 0.25em
0 0 0;
1391 grid
-column
: 1 / span
2;
1395 #content.user-page h1.page-main-heading .user-full-name {
1397 font
-weight
: normal
;
1398 padding
-left
: 0.5em
;
1401 /*=--------------------=*/
1402 /*= User's karma total =*/
1403 /*=--------------------=*/
1405 #content.user-page .user-stats {
1412 #content.user-page .user-stats .karma-type {
1413 white
-space
: nowrap
;
1416 /*=----------------------=*/
1417 /*= Expanded vs. compact =*/
1418 /*=----------------------=*/
1420 #content.user-page #comments-list-mode-selector {
1423 #content.user-page #comments-list-mode-selector button {
1427 /*=----------------------------------------------------=*/
1428 /*= All, Posts, Comments, Drafts, Conversations, Inbox =*/
1429 /*=----------------------------------------------------=*/
1431 #content.user-page .sublevel-nav {
1432 margin
-bottom
: 0.5em
;
1435 /*=--------------=*/
1436 /*= User's posts =*/
1437 /*=--------------=*/
1439 #content.user-page h1.listing {
1440 margin
: 0.5em
0 0 0;
1443 #content.user-page .user-bio :first-child {
1451 /*=----------------------=*/
1452 /*= List of participants =*/
1453 /*=----------------------=*/
1455 #content.conversation-page .conversation-participants {
1456 grid
-column
: 2 / span
2;
1458 margin
: 0.5em
0 0 0;
1460 .post
-meta
> .conversation
-participants
{
1461 white
-space
: normal
;
1463 .conversation
-participants ul
,
1464 .conversation
-participants li
{
1465 list-style
-type
: none
;
1466 display
: inline
-block
;
1470 .conversation
-participants li
{
1471 margin
-left
: 0.375em
;
1473 .conversation
-participants li
:not(:last
-of
-type
)::after
{
1477 /*=-------------------------=*/
1478 /*= Posting controls (form) =*/
1479 /*=-------------------------=*/
1481 #content.conversation-page .posting-controls {
1484 #content.conversation-page .post-meta-fields {
1487 flex
-flow
: row wrap
;
1489 .posting
-controls
.standalone textarea
{
1490 margin
-top
: 0.375em
;
1492 .posting
-controls
.standalone form
{
1495 #content.conversation-page .posting-controls.standalone form {
1496 padding
: 0 1em
3em
1em
;
1498 .posting
-controls
.standalone input
[type
='text'],
1499 .posting
-controls
.standalone label
{
1502 .posting
-controls
.standalone label
{
1506 border
: 1px solid transparent
;
1508 .posting
-controls
.standalone input
[type
='text'] {
1509 width
: calc(100%
- 4em
);
1512 .posting
-controls
.standalone input
[type
='submit'] {
1515 .posting
-controls
.standalone
#markdown-hints-checkbox ~ label {
1516 white
-space
: nowrap
;
1518 .posting
-controls
.standalone
#markdown-hints {
1519 top
: calc(100% +
2em
);
1522 /*=--------------------=*/
1523 /*= Conversation title =*/
1524 /*=--------------------=*/
1526 #content.conversation-page h1.page-main-heading {
1536 #content.conversation-page > ul.comment-thread:last-of-type {
1540 /******************/
1541 /* SEARCH RESULTS */
1542 /******************/
1544 #content.search-results-page h1.listing,
1545 #content.sequence-page h1.listing,
1546 #content.post-page h1.listing {
1558 flex
-flow
: row wrap
;
1561 .login
-container form
{
1564 grid
-row
-gap
: 0.5em
;
1565 align
-content
: start
;
1567 .login
-container form label
{
1569 padding
: 0.25em
0.5em
;
1570 white
-space
: nowrap
;
1573 .login
-container form input
{
1577 .login
-container form input
[type
='submit'],
1578 .login
-container form a
{
1580 justify
-self
: center
;
1582 .login
-container form input
[type
='submit'] {
1586 margin
: 0.5em
0 0 0;
1588 .login
-container form h1
{
1594 /* “Log in” form */
1597 grid
-template
-columns
: 5.5em
1fr
;
1598 padding
: 0.5em
2em
0.5em
0;
1601 /* “Create account” form */
1605 grid
-template
-columns
: 8.5em
1fr
;
1606 padding
: 0.5em
1em
1em
1em
;
1611 #signup-form input[type='submit'] {
1612 padding
: 0.4em
0.5em
0.5em
0.5em
;
1617 .login
-container
.login
-tip
{
1618 padding
: 0.5em
0.5em
0.5em
3em
;
1619 margin
: 2em
4em
0 4em
;
1623 .login
-container
.login
-tip span
{
1629 #content.login-page .error-box {
1630 margin
: 1.5em
0.875em
-1.5em
0.875em
;
1632 .error
-box
, .success
-box
{
1637 /***********************/
1638 /* PASSWORD RESET PAGE */
1639 /***********************/
1641 .reset
-password
-container
{
1644 .reset
-password
-container input
[type
='submit'] {
1645 padding
: 0.2em
0.5em
;
1648 .reset
-password
-container input
{
1652 .reset
-password
-container label
{
1653 display
: inline
-block
;
1656 .reset
-password
-container form
> div
{
1659 .reset
-password
-container
.action
-container
{
1663 .reset
-password
-container
.error
-box
{
1667 /*********************/
1668 /* TABLE OF CONTENTS */
1669 /*********************/
1675 margin
: 1.25em
0 0.75em
1.25em
;
1676 padding
: 7px
14px
10px
10px
;
1683 margin
-bottom
: 0.25em
;
1686 .post
-body
.contents ul
{
1687 list-style
-type
: none
;
1688 margin
: 0 0 0 0.5em
;
1689 counter
-reset
: toc
-item
-1 toc
-item
-2 toc
-item
-3;
1693 .post
-body
.contents li
{
1694 margin
: 0.15em
0 0.3em
1em
;
1700 .post
-body
.contents li
::before
{
1707 .contents
.toc
-item
-1 {
1708 counter
-increment
: toc
-item
-1;
1709 counter
-reset
: toc
-item
-2 toc
-item
-3;
1711 .contents
.toc
-item
-1::before
{
1712 content
: counter(toc
-item
-1);
1714 .contents
.toc
-item
-1 ~
.toc
-item
-2 {
1718 .contents
.toc
-item
-2 {
1719 counter
-increment
: toc
-item
-2;
1720 counter
-reset
: toc
-item
-3;
1722 .contents
.toc
-item
-1 ~
.toc
-item
-2::before
{
1723 content
: counter(toc
-item
-1) "." counter(toc
-item
-2);
1725 .contents
.toc
-item
-2::before
{
1726 content
: counter(toc
-item
-2);
1728 .contents
.toc
-item
-1 +
.toc
-item
-3 {
1729 counter
-increment
: toc
-item
-2 toc
-item
-3;
1731 .contents
.toc
-item
-2 ~
.toc
-item
-3,
1732 .contents
.toc
-item
-1 ~
.toc
-item
-3 {
1736 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3 {
1740 .contents
.toc
-item
-3 {
1741 counter
-increment
: toc
-item
-3;
1743 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3::before
{
1744 content
: counter(toc
-item
-1) "." counter(toc
-item
-2) "." counter(toc
-item
-3);
1746 .contents
.toc
-item
-1 ~
.toc
-item
-3::before
{
1747 content
: counter(toc
-item
-1) "." counter(toc
-item
-3);
1749 .contents
.toc
-item
-2 ~
.toc
-item
-3::before
{
1750 content
: counter(toc
-item
-2) "." counter(toc
-item
-3);
1752 .contents
.toc
-item
-3::before
{
1753 content
: counter(toc
-item
-3);
1755 .contents
.toc
-item
-4,
1756 .contents
.toc
-item
-5,
1757 .contents
.toc
-item
-6 {
1761 /********************/
1762 /* POSTS & COMMENTS */
1763 /********************/
1767 display
: inline
-block
;
1769 font
-size
: 1.0625em
;
1772 overflow
-wrap
: break-word
;
1773 text
-align
: justify
;
1778 .retracted
.body
-text
{
1779 text
-decoration
: line
-through
;
1783 word
-break: break-all
;
1786 .body
-text a
:not([href
]),
1787 .body
-text a
:not([href
]):hover
,
1788 .body
-text a
:not([href
])::before
,
1789 .body
-text a
:not([href
])::after
{
1790 text
-decoration
: none
;
1802 flex
-flow
: row wrap
;
1803 justify
-content
: center
;
1805 .post
-meta
.lw2
-link
{
1810 .post
-meta
.post
-section
::before
{
1813 .post
-meta
.post
-section
{
1818 .post
-meta
.post
-section
::before
,
1819 .comment
-meta
.alignment
-forum
{
1820 visibility
: visible
;
1821 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1824 .post
-section
.frontpage
::before
{
1827 .post
-section
.featured
::before
{
1830 .post
-section
.meta
::before
{
1833 .post
-section
.events
::before
{
1836 .post
-section
.personal
::before
{
1839 .post
-section
.draft
::before
{
1842 .post
-section
.alignment
-forum
::before
,
1843 .comment
-meta
.alignment
-forum
{
1845 font
-family
: Concourse
, 'Changa One';
1848 /*= Karma controls hover tooltips =*/
1850 @media only screen
and (pointer
: fine
) {
1852 .comment
-item
.karma
{
1855 .post
.karma
.active
-controls
::after
,
1856 .comment
-item
.karma
.active
-controls
::after
{
1857 content
: "Double-click for strong vote";
1859 pointer
-events
: none
;
1862 max
-width
: calc(100%
- 12px
);
1864 white
-space
: normal
;
1866 font
-size
: 0.875rem
;
1868 transition
: opacity
0.2s ease
;
1870 .post
.karma
.active
-controls
:hover
::after
,
1871 .comment
-item
.karma
.active
-controls
:hover
::after
{
1875 .post
.karma
.karma
-value
::after
,
1876 .comment
-item
.karma
.karma
-value
::after
{
1877 content
: attr(title
);
1879 pointer
-events
: none
;
1882 transform
: translateX(-50%
);
1883 white
-space
: nowrap
;
1885 font
-size
: 0.875rem
;
1888 transition
: opacity
0.2s ease
;
1890 .post
.karma
.karma
-value
:hover
::after
,
1891 .comment
-item
.karma
.karma
-value
:hover
::after
{
1894 .comment
-item
.karma
.karma
-value
:hover
::after
{
1901 .author
:not(.redacted
)::before
{
1902 content
: attr(data
-full
-name
);
1904 pointer
-events
: none
;
1909 transform
: translateX(-50%
);
1910 white
-space
: nowrap
;
1912 font
-size
: 0.875rem
;
1913 font
-weight
: normal
;
1915 transition
: opacity
0.2s ease
;
1918 .author
:hover
::before
{
1937 margin
: 0.5em
0 0 0;
1940 margin
: 1.1em
0 0.35em
0;
1951 .post
.top
-post
-meta
:last
-child
{
1952 margin
-bottom
: 40px
;
1954 .post
.bottom
-post
-meta
{
1959 border
-style
: solid
;
1960 border
-width
: 1px
0;
1973 .event
-info
.map
::before
{
1976 padding
-bottom
: 50%
;
1979 .event
-info
.map iframe
{
1982 border
: 1px solid
#000;
1994 /*******************/
1995 /* POST NAVIGATION */
1996 /*******************/
2000 grid
-template
: 100%
/ 32%
36%
32%
;
2001 grid
-template
-areas
:
2007 justify
-content
: flex
-end
;
2015 border
-top
: 1px solid transparent
;
2017 .post
-nav
.prev
.post
-nav
-title
,
2018 .post
-nav
.next
.post
-nav
-title
{
2019 border
-bottom
: 1px solid transparent
;
2023 align
-items
: center
;
2027 .sequence
-title
.post
-nav
-title
{
2033 align
-items
: flex
-start
;
2035 .post
-nav
.prev
.post
-nav
-title
::before
{
2036 content
: "\F0D9\2005";
2041 align
-items
: flex
-end
;
2043 .post
-nav
.prev
.post
-nav
-label
,
2044 .post
-nav
.next
.post
-nav
-label
{
2047 .post
-nav
.next
.post
-nav
-title
::after
{
2048 content
: "\2004\F0DA";
2050 .post
-nav
.prev
.post
-nav
-title
::before
,
2051 .post
-nav
.next
.post
-nav
-title
::after
{
2052 font
-family
: Font Awesome
;
2054 vertical
-align
: text
-bottom
;
2061 @media only screen
and (max
-width
: 900px
) {
2064 grid
-template
: auto auto
/ 50%
50%
;
2065 grid
-template
-areas
:
2069 .post
-nav
.prev
.post
-nav
-title
,
2070 .post
-nav
.next
.post
-nav
-title
{
2071 border
-bottom
: none
;
2082 @media only screen
and (max
-width
: 520px
) {
2083 .post
-nav
-links +
.comments
{
2088 .related
-posts
, .related
-post
-group
{
2089 padding
-bottom
: 1em
;
2091 .related
-post
-type
{
2095 margin
-bottom
: -0.5em
;
2096 list-style
-type
: disc
;
2097 margin
-left
: -0.5em
;
2100 .related
-post
-type
::before
{
2102 margin
-right
: 0.15em
;
2104 .related
-posts
.post
-type
-prefix
{
2112 .post
.link
-post
> .post
-body
> p
:first
-child
{
2115 margin
: 0.5em
0 0 0;
2117 .post
.link
-post
> .post
-body
> p
:only
-child
{
2121 .post
.link
-post a
.link
-post
-link
::before
{
2123 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2128 margin
-right
: 0.25em
;
2148 pointer
-events
: none
;
2151 list-style
-type
: none
;
2155 .comments
.comment
-thread
> li
{
2158 #content > #top-nav-bar + .comment-thread .comment-item {
2165 .comment
-item
.comment
-item
{
2166 margin
: 1em
8px
8px
16px
;
2168 .comment
-item
.comment
-item +
.comment
-item
{
2169 margin
: 2em
8px
8px
16px
;
2178 list-style
-type
: circle
;
2180 .comment
-body
> *:first
-child
{
2183 .comment
-body
> *:last
-child
{
2187 .comments
-empty-message
{
2190 padding
: 0.75em
0 0.9em
0;
2194 /**********************************/
2195 /* DEEP COMMENT THREAD COLLAPSING */
2196 /**********************************/
2198 .comment
-item
> input
[id^
="expand"] {
2201 .comment
-item
> input
[id^
="expand"] + label
{
2207 .comment
-item
> input
[id^
="expand"] + label
::after
{
2208 content
: "(Expand " attr(data
-child
-count
) " below)";
2209 visibility
: visible
;
2212 white
-space
: nowrap
;
2215 .comment
-item
> input
[id^
="expand"]:checked + label
::after
{
2216 content
: "(Collapse " attr(data
-child
-count
) " below)";
2218 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
{
2222 .comment
-item
> input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2225 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
{
2226 max
-height
: 1000000px
;
2229 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2232 .comment
-item
> input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2240 .backlinks
> input
{
2244 .backlinks
> label
{
2251 .backlinks
> label
::before
{
2253 border
-left
: 5px solid currentColor
;
2254 border
-top
: 5px solid transparent
;
2255 border
-bottom
: 5px solid transparent
;
2256 transition
: transform
0.25s ease
-out
;
2257 transform
-origin
: 29%
55%
;
2258 display
: inline
-block
;
2259 padding
-right
: 0.5em
;
2262 .backlinks
> input
:checked + label
::before
{
2263 transform
: rotate(90deg
);
2272 perspective
-origin
: top
;
2273 transform
: perspective(100em
) rotateX(-90deg
);
2274 transform
-origin
: center top
;
2277 margin
-bottom
: 0.5em
;
2280 .backlinks
> input
:checked ~ ul
{
2282 transform
: perspective(100em
) rotateX(0deg
);
2283 transition
: transform
0.25s ease
-in
, opacity
0.25s ease
-in
;
2292 padding
: 2px
24px
2px
10px
;
2296 flex
-flow
: row wrap
;
2297 align
-items
: baseline
;
2299 .user
-page
.comment
-meta
,
2300 .conversation
-page
.comment
-meta
{
2301 padding
-right
: 10px
;
2303 .comment
-meta
.comment
-post
-title
{
2306 text
-overflow
: ellipsis
;
2309 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2314 display
: none
; /* Not sure if we need to display this... */
2316 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2317 content
: "\2004(OP)";
2321 /*****************************/
2322 /* COMMENT THREAD NAVIGATION */
2323 /*****************************/
2325 a
.comment
-parent
-link
:not(.inline
-author
),
2326 a
.comment
-parent
-link
.inline
-author
::before
{
2329 a
.comment
-parent
-link
:hover
{
2332 a
.comment
-parent
-link
::before
{
2334 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2341 padding
: 3px
3px
0 3px
;
2343 height
: calc(100% +
2px
);
2347 a
.comment
-parent
-link
::after
{
2352 width
: calc(100% +
26px
);
2353 height
: calc(100% +
38px
);
2356 pointer
-events
: none
;
2360 a
.comment
-parent
-link
:hover
::after
{
2361 visibility
: visible
;
2364 .comment
-child
-links
{
2367 .comment
-child
-link
{
2369 display
: inline
-block
;
2371 .comment
-child
-link
::before
{
2373 display
: inline
-block
;
2385 pointer
-events
: none
;
2387 .comment
-popup
.comment
-parent
-link
{
2390 .comment
-popup
.comment
-body
{
2391 font
-size
: 1.0625rem
;
2394 .comment
-item
.depth
-odd
{
2395 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2396 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2398 .comment
-item
.depth
-even
{
2399 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-even
);
2400 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-odd
);
2403 .comment
-item
:target
{
2404 --GW
-comment
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2406 .comment
-item
:target
> .comment
-thread
> .comment
-item
{
2407 --GW
-comment
-parent
-background
-color
: var(--GW
-comment
-background
-color
-target
);
2410 /**********************/
2411 /* COMMENT PERMALINKS */
2412 /**********************/
2413 /********************/
2414 /* COMMENT LW LINKS */
2415 /********************/
2417 .comment
-meta
.permalink
::before
,
2418 .comment
-meta
.lw2
-link
::before
,
2419 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2421 display
: inline
-block
;
2428 0 0 0 3px transparent
;
2430 background
-size
: 100%
;
2435 .comment
-meta
.permalink
::before
{
2436 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2438 .comment
-meta
.lw2
-link
::before
{
2439 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2441 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2443 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2445 .comment
-meta
.permalink
:hover
::before
{
2446 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2448 .comment
-meta
.lw2
-link
:hover
::before
{
2449 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2451 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2452 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2454 .comment
-meta
.permalink
:hover
::before
,
2455 .comment
-meta
.lw2
-link
:hover
::before
,
2456 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2459 0 0 0 3px transparent
;
2463 .comment
-meta
.permalink
:active
::before
,
2464 .comment
-meta
.lw2
-link
:active
::before
,
2465 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2466 transform
: scale(0.9);
2469 .comment
-meta
.permalink
,
2470 .comment
-meta
.lw2
-link
,
2471 .individual
-thread
-page
.comment
-parent
-link
:empty {
2475 .comment
-meta
.permalink
::after
,
2476 .comment
-meta
.lw2
-link
::after
,
2477 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2486 pointer
-events
: auto
;
2487 visibility
: visible
;
2490 /*************************/
2491 /* COMMENTS COMPACT VIEW */
2492 /*************************/
2494 #comments-list-mode-selector,
2495 #content.index-page #comments-list-mode-selector,
2496 #content.user-page #comments-list-mode-selector {
2501 justify
-self
: start
;
2504 #comments-list-mode-selector button {
2511 background
-repeat
: no
-repeat
;
2512 background
-size
: 100%
;
2513 background
-origin
: content
-box
;
2515 #comments-list-mode-selector button:disabled {
2518 #comments-list-mode-selector button.expanded {
2519 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2521 #comments-list-mode-selector button.compact {
2522 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2524 @media only screen
and (max
-resolution
: 1dppx
) {
2525 #comments-list-mode-selector button.expanded {
2526 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2528 #comments-list-mode-selector button.compact {
2529 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2533 #content > ul.comment-thread > li.comment-item,
2534 #content.compact > ul.comment-thread > li.comment-item {
2538 #content > .comment-thread {
2541 #content.compact > .comment-thread {
2542 font
-size
: 0.9375rem
;
2545 #content.compact > .comment-thread:hover {
2548 #content.compact > .comment-thread .comment-body {
2549 font
-size
: 1.0625rem
;
2551 #content.compact > .comment-thread .comment-item,
2552 #content.index-page .comment-item.ignored,
2553 #content.inbox-user-page .comment-item.ignored {
2559 #content.compact > .comment-thread .comment-item {
2560 pointer
-events
: none
;
2562 #content.compact > .comment-thread .comment-item::after {
2569 padding
: 0 16px
10px
64px
;
2570 pointer
-events
: auto
;
2572 @media only screen
and (hover
: hover
) {
2573 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2574 #content.compact > .comment-thread .comment-item.expanded {
2576 pointer
-events
: auto
;
2580 @media only screen
and (hover
: none
) {
2581 #content.compact > .comment-thread.expanded .comment-item {
2583 pointer
-events
: auto
;
2587 #content.compact > .comment-thread .comment-item .comment-meta {
2588 white
-space
: nowrap
;
2590 text
-overflow
: ellipsis
;
2593 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2596 #content.compact > .comment-thread .comment-item .comment-meta a {
2597 pointer
-events
: auto
;
2599 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2602 #content.compact > .comment-thread .comment-item .comment-meta .karma + .comment-post-title {
2603 margin
-left
: 0.75em
;
2605 @media only screen
and (hover
: hover
) {
2606 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2607 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2610 #content.compact > .comment-thread .comment-item:hover .comment,
2611 #content.compact > .comment-thread .comment-item.expanded .comment {
2617 #content.compact > .comment-thread .comment-item:hover .comment::before,
2618 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2622 width
: calc(100% +
20px
);
2623 height
: calc(100% +
20px
);
2628 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2629 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2633 @media only screen
and (hover
: none
) {
2634 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2637 #content.compact > .comment-thread.expanded .comment-item .comment {
2643 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2647 width
: calc(100% +
14px
);
2648 height
: calc(100% +
20px
);
2653 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2656 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2665 background
-color
: rgba(0,0,0,0.5);
2669 /*****************************/
2670 /* HIGHLIGHTING NEW COMMENTS */
2671 /*****************************/
2673 .new-comment
::before
{
2679 pointer
-events
: none
;
2682 /***********************************/
2683 /* COMMENT THREAD MINIMIZE BUTTONS */
2684 /***********************************/
2686 .comment
-minimize
-button
{
2687 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2698 .comment
-minimize
-button
:active
{
2699 transform
: scale(0.9);
2701 .comment
-minimize
-button
::after
{
2702 content
: attr(data
-child
-count
);
2703 font
-weight
: normal
;
2704 font
-size
: 0.8125rem
;
2711 #content.individual-thread-page .comment-minimize-button {
2719 #content.comment-thread-page .comment-item.ignored {
2723 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2724 text
-decoration
: line
-through
;
2727 /***********************************/
2728 /* INDIVIDUAL COMMENT THREAD PAGES */
2729 /***********************************/
2731 .individual
-thread
-page
> h1
{
2733 margin
: 0.75em
0 3px
0;
2735 .individual
-thread
-page
.comments
{
2743 .shortform
-index
-page
.comments
::before
{
2748 .shortform
-index
-page
.comments
> .comment
-thread
> .comment
-item
:first
-child
{
2760 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2773 .karma
.waiting button
{
2774 pointer
-events
: none
;
2777 /* Replicated karma controls at bottom of comments. */
2778 .comment
-controls
.karma
{
2781 font
-size
: 0.9375em
;
2784 /*****************************/
2785 /* COMMENTING AND POSTING UI */
2786 /*****************************/
2790 margin
: 0 8px
8px
16px
;
2794 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2797 .comments
> .comment
-controls
{
2800 .comments
> .comment
-controls
:last
-child
{
2801 margin
: 8px
0 16px
0;
2804 .posting
-controls input
[type
='submit'] {
2807 font
-size
: 1.125rem
;
2810 .comment
-controls
.cancel
-comment
-button
{
2816 padding
: 4px
8px
2px
4px
;
2819 .comment
-controls
.cancel
-comment
-button
::before
{
2820 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2828 .comment +
.comment
-controls
.action
-button
{
2829 font
-weight
: normal
;
2830 font
-size
: 1.0625em
;
2833 .comment
-controls
.action
-button
::before
{
2834 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2837 .new-comment
-button
{
2841 .comment
-controls
.reply
-button
::before
{
2847 .comment
-meta
.replied
::before
{
2849 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2858 margin
: 0.75em
0 0 0;
2863 display
: inline
-block
;
2864 margin
-bottom
: 0.25em
;
2865 font
-size
: 1.125rem
;
2867 .edit
-post
-link
::before
{
2868 margin
-right
: 0.3em
;
2870 .comment
-controls
.edit
-button
::before
,
2871 .edit
-post
-link
::before
{
2873 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2880 .comment
-controls
.delete
-button
{
2881 margin
-right
: 0.25em
;
2883 .comment
-controls
.edit
-button
,
2884 .comment
-controls
.retract
-button
,
2885 .comment
-controls
.unretract
-button
{
2888 .comment
-controls
.retract
-button
::before
{
2892 .comment
-controls
.unretract
-button
::before
{
2896 .comment
-controls
.delete
-button
::before
{
2900 .comment
-controls
.retract
-button
::before
,
2901 .comment
-controls
.unretract
-button
::before
,
2902 .comment
-controls
.delete
-button
::before
{
2907 .comment
-controls form
{
2910 .textarea
-container
{
2913 .posting
-controls textarea
{
2918 max
-height
: calc(100vh
- 6em
);
2922 border
-style
: solid
;
2923 border
-width
: 29px
1px
1px
1px
;
2927 /* GUIEdit buttons */
2929 .guiedit
-buttons
-container
{
2933 width
: calc(100%
- 2px
);
2936 padding
: 1px
4px
0 4px
;
2939 .comment
-thread
-page
.guiedit
-buttons
-container
{
2940 padding
-right
: 60px
;
2942 .guiedit
-buttons
-container button
{
2946 font
-size
: 0.875rem
;
2950 .guiedit
-buttons
-container button
:active
{
2953 .guiedit
-buttons
-container button
:active div
{
2954 transform
: scale(0.9);
2956 .guiedit
-buttons
-container button sup
{
2960 content
: attr(data
-tooltip
);
2962 font
-weight
: normal
;
2968 white
-space
: nowrap
;
2971 .guiedit
:hover
::after
{
2972 visibility
: visible
;
2975 /* Markdown hints */
2977 .posting
-controls
.markdown
-reference
-link
{
2979 padding
: 1px
0 0 6px
;
2981 .posting
-controls
.markdown
-reference
-link a
{
2982 padding
-right
: 1.5em
;
2983 margin
-right
: 0.15em
;
2984 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');
2985 background
-size
: 1.25em
;
2986 background
-repeat
: no
-repeat
;
2987 background
-position
: right center
;
2990 #markdown-hints-checkbox + label {
2992 margin
: 2px
0 0 1em
;
2996 #edit-post-form #markdown-hints-checkbox + label {
2999 #markdown-hints-checkbox {
3003 #markdown-hints-checkbox + label::after {
3004 content
: "(Show Markdown help)";
3006 #markdown-hints-checkbox:checked + label::after {
3007 content
: "(Hide Markdown help)";
3009 #markdown-hints-checkbox + label::before {
3011 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3015 #markdown-hints-checkbox:checked + label::before {
3016 font
-weight
: normal
;
3019 margin
: 4px
0 0 4px
;
3023 top
: calc(100%
- 1em
);
3027 .comment
-controls
#markdown-hints {
3028 top
: calc(100% +
1.75em
);
3030 #markdown-hints-checkbox:checked ~ #markdown-hints {
3033 .markdown
-hints
-row
{
3036 #markdown-hints .markdown-hints-row span,
3037 #markdown-hints .markdown-hints-row code {
3039 display
: table
-cell
;
3041 background
-color
: inherit
;
3042 padding
: 0 12px
0 0;
3045 /******************/
3046 /* EDIT POST FORM */
3047 /******************/
3050 padding
: 1em
1em
4em
1em
;
3052 #edit-post-form .post-meta-fields {
3054 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
3055 margin
-bottom
: 0.625em
;
3058 #edit-post-form label[for='title'],
3059 #edit-post-form label[for='url'],
3060 #edit-post-form label[for='section'] {
3063 #edit-post-form input[type='text'] {
3065 grid
-column
: 2 / span
4;
3066 margin
-bottom
: 0.5em
;
3069 #edit-post-form .link-post-checkbox,
3070 #edit-post-form .link-post-checkbox + label {
3074 #edit-post-form .question-checkbox,
3075 #edit-post-form .question-checkbox + label {
3078 justify
-self
: start
;
3082 #edit-post-form .post-meta-fields label[for="submit-to-frontpage"] {
3084 grid
-column
: 2 / span
4;
3089 #edit-post-form .post-meta-fields input[type='checkbox'] {
3092 pointer
-events
: none
;
3094 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
3095 white
-space
: nowrap
;
3098 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
3101 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
3103 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3104 font
-size
: 1.375rem
;
3113 #edit-post-form label[for='url'],
3114 #edit-post-form input[name='url'] {
3117 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
3118 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
3121 #edit-post-form label {
3122 line
-height
: normal
;
3123 border
: 1px solid transparent
;
3125 padding
: 0.25em
0.5em
;
3126 white
-space
: nowrap
;
3128 #edit-post-form input[type='radio'] {
3132 pointer
-events
: none
;
3134 #edit-post-form input[type='radio'] + label {
3137 border
-style
: solid
;
3138 border
-width
: 1px
1px
1px
0;
3141 #edit-post-form input[type='radio']:checked + label {
3145 #edit-post-form label[for='section'] {
3148 #edit-post-form input[type='radio'] + label {
3151 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
3153 #edit-post-form textarea {
3157 #edit-post-form input[type='submit'] {
3161 #edit-post-form #markdown-hints {
3162 top
: calc(100% +
2em
);
3165 #edit-post-form button.guiedit div {
3168 .guiedit
-mobile
-auxiliary
-button
{
3177 input
[type
='submit'] {
3178 font
-family
: inherit
;
3180 background
-color
: inherit
;
3197 margin
: 1em
0 0.75em
0;
3240 .post
-body
.comment
-box
.comment
-body
{
3243 padding
-left
: 0.5em
;
3245 padding
-bottom
: 3px
;
3247 blockquote
*:first
-child
{
3250 blockquote
*:last
-child
{
3253 blockquote blockquote
{
3257 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3259 .post
-body
.comment
-box
.user
-name
{
3262 .post
-body
.comment
-box
.user
-name
::after
{
3265 .post
-body
.comment
-box
{
3273 #content img, #content figure {
3277 .prediction
-poll
> svg
{
3308 // Aspect ratio trick from https://css-tricks.com/aspect-ratio-boxes/
3310 [style
*="--aspect-ratio"] > * {
3313 [style
*="--aspect-ratio"] > img
{
3316 @supports
(--custom
:property
) {
3317 [style
*="--aspect-ratio"] {
3320 [style
*="--aspect-ratio"]::before
{
3323 padding
-bottom
: calc(100%
/ (var(--aspect
-ratio
)));
3325 [style
*="--aspect-ratio"] > * {
3338 border
-collapse
: collapse
;
3339 font
-family
: Inconsolata
, Menlo
, monospace
;
3342 .body
-text table th
,
3343 .body
-text table td
{
3348 .body
-text table caption
{
3349 margin
: 0 0 0.25em
0;
3358 /*= Superscripts & subscripts =*/
3360 /* Make sure superscripts and subscripts do not affect line spacing. */
3362 vertical
-align
: baseline
;
3372 /*= Code blocks & other "unstyled" text. =*/
3376 font
-family
: Inconsolata
, Menlo
, monospace
;
3379 white
-space
: pre
-wrap
;
3386 display
: inline
-block
;
3387 padding
: 0 4px
1px
5px
;
3392 padding
: 3px
4px
5px
8px
;
3401 /*= Removing browser default styling of various elements =*/
3403 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3408 /* Remove "embossed" appearance of horizontal rules. */
3416 -webkit
-appearance
: none
;
3417 -moz
-appearance
: none
;
3422 font
-family
: inherit
;
3424 font
-weight
: inherit
;
3432 counter
-reset
: ordered
-list;
3434 .footnote
-definition
{
3436 list-style
-type
: none
;
3437 counter
-increment
: ordered
-list;
3440 .footnote
-definition p
{
3441 font
-size
: inherit
!important
;
3443 .footnote
-definition
::before
{
3444 content
: counter(ordered
-list) ".";
3457 margin
-bottom
: 0.5em
;
3470 .body
-text ol
> li
{
3472 counter
-increment
: ol
;
3473 padding
: 0 0 0 2.5em
;
3474 margin
: 0.25em
0 0 0;
3476 .body
-text ol
> li
::before
{
3477 content
: counter(ol
) ".";
3487 .body
-text ul
:not(.contents
-list) > li
:empty {
3488 padding
-bottom
: 1.25em
;
3490 .body
-text ul
:not(.contents
-list) > li
{
3492 padding
: 0 0 0 1.75em
;
3493 margin
: 0.25em
0 0 0;
3495 .body
-text ul
:not(.contents
-list) > li ul
> li
{
3498 .body
-text ul
:not(.contents
-list) > li
::before
{
3505 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
3508 .body
-text li
> ul
:first
-child
> li
{
3511 .body
-text li
> ul
:first
-child
> li
::before
{
3523 .error
-retry
-form input
[type
="submit"] {
3524 border
: 1px solid
#aaa;
3526 font
-size
: 1.125rem
;
3527 padding
: 0.5em
1.25em
;
3534 #content.about-page .contents {
3537 #content.about-page .accesskey-table {
3538 border
-collapse
: collapse
;
3541 #content.about-page .accesskey-table th,
3542 #content.about-page .accesskey-table td {
3545 #content.about-page .accesskey-table td:first-child {
3546 padding
-right
: 1.5em
;
3548 #content.about-page .accesskey-table td:last-child {
3550 font
-family
: Inconsolata
, Menlo
, monospace
;
3552 #content.about-page h3:nth-of-type(n+2) {
3556 /******************/
3557 /* IMAGES OVERLAY */
3558 /******************/
3560 #images-overlay + #content .post-body img {
3564 #images-overlay div {
3567 #images-overlay div::after {
3568 content
: "Click to enlarge";
3577 background
-color
: rgba(0,0,0,0.6);
3581 transition
: opacity
0.15s ease
;
3582 pointer
-events
: none
;
3584 <?php
fit_content("#images-overlay div::after"); ?
>
3585 #images-overlay div:hover::after {
3589 #images-overlay img {
3597 /*=--------------=*/
3598 /*= Hover styles =*/
3599 /*=--------------=*/
3602 #images-overlay img:hover {
3603 filter
: drop
-shadow(0 0 3px
#777);
3606 #content img:active,
3607 #images-overlay img:active {
3608 transform
: scale(0.975);
3615 #image-focus-overlay {
3625 #image-focus-overlay::before {
3633 background
-color
: #000;
3637 #image-focus-overlay.engaged {
3641 #image-focus-overlay img {
3646 transform
: translateX(-50%
) translateY(-50%
);
3649 /*=-------------------=*/
3650 /*= Single-image mode =*/
3651 /*=-------------------=*/
3653 #image-focus-overlay:not(.slideshow) .image-number,
3654 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3662 #image-focus-overlay .caption {
3665 background
-color
: rgba(0,0,0,0.7);
3669 max
-width
: calc(100%
- 18em
);
3677 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3678 #image-focus-overlay .caption.hidden {
3684 #image-focus-overlay .caption p {
3689 #image-focus-overlay .caption:not(:empty)::before {
3694 height
: calc(100% +
1.5em
);
3697 left
: calc(-50vw +
50%
);
3701 /*=--------------=*/
3702 /*= Help overlay =*/
3703 /*=--------------=*/
3705 #image-focus-overlay .help-overlay {
3712 border
-radius
: 10px
;
3716 white
-space
: nowrap
;
3723 background
-color
1s ease
,
3726 #image-focus-overlay .help-overlay:hover {
3729 background
-color
: rgba(0,0,0,0.85);
3731 visibility
: visible
;
3733 visibility
0.2s ease
0.3s
,
3734 color
0.2s ease
0.3s
,
3735 background
-color
0.2s ease
0.3s
;
3738 #image-focus-overlay .help-overlay::after {
3740 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3748 filter
: drop
-shadow(0 0 6px
#fff);
3749 visibility
: visible
;
3754 #image-focus-overlay .help-overlay:hover::after {
3757 visibility
0.2s ease
0.3s
;
3760 #image-focus-overlay .help-overlay p {
3767 #image-focus-overlay .help-overlay p + p {
3768 margin
: 0.75em
0 0 0;
3770 #image-focus-overlay .help-overlay.hidden {
3774 /*=--------------=*/
3775 /*= Slide number =*/
3776 /*=--------------=*/
3778 #image-focus-overlay .image-number {
3792 white
-space
: nowrap
;
3793 transition
: bottom
0.3s ease
;
3795 #image-focus-overlay .image-number::before {
3799 #image-focus-overlay .image-number::after {
3800 content
: " of " attr(data
-number
-of
-images
);
3803 #image-focus-overlay .image-number:hover::before,
3804 #image-focus-overlay .image-number:hover::after {
3807 #image-focus-overlay .image-number.hidden {
3811 /*=-------------------=*/
3812 /*= Slideshow buttons =*/
3813 /*=-------------------=*/
3815 #image-focus-overlay .slideshow-buttons {
3823 justify
-content
: space
-between
;
3824 pointer
-events
: none
;
3826 #image-focus-overlay .slideshow-buttons button {
3827 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3836 pointer
-events
: auto
;
3838 #image-focus-overlay .slideshow-buttons button::selection {
3839 background
-color
: transparent
;
3841 @media only screen
and (hover
: hover
) {
3842 #image-focus-overlay .slideshow-buttons button:hover {
3843 background
-color
: rgba(0,0,0,0.1);
3847 #image-focus-overlay .slideshow-buttons button:active {
3851 #image-focus-overlay .slideshow-buttons button:disabled {
3853 background
-color
: transparent
;
3858 #image-focus-overlay .slideshow-button.previous.hidden {
3861 #image-focus-overlay .slideshow-button.next.hidden {
3865 /*=-----------------=*/
3866 /*= Background blur =*/
3867 /*=-----------------=*/
3873 /**************************/
3874 /* QUALIFIED HYPERLINKING */
3875 /**************************/
3877 #content.no-nav-bars {
3880 #content.no-nav-bars + #ui-elements-container > * {
3887 left
: calc((100%
- 900px
) / 2 - 69px
);
3894 display
: table
-cell
;
3896 vertical
-align
: middle
;
3897 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3904 .qualified
-linking
{
3908 .qualified
-linking input
[type
='checkbox'] {
3914 .qualified
-linking label
{
3915 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3919 display
: inline
-block
;
3920 margin
-left
: 0.25em
;
3922 .qualified
-linking label
:hover
{
3925 .qualified
-linking label
:active span
{
3926 display
: inline
-block
;
3927 transform
: scale(0.9);
3929 .qualified
-linking label
::selection
{
3930 background
-color
: transparent
;
3933 .qualified
-linking label
::after
{
3943 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
3947 .qualified
-linking
-toolbar
{
3953 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
3956 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
3959 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
3964 .qualified
-linking
-toolbar a
{
3969 .qualified
-linking
-toolbar a
::selection
{
3970 background
-color
: transparent
;
3977 #preview-popup-toggle {
3982 color
: var(--GW
-toggle
-widget
-color
, #888);
3984 #preview-popup-toggle:hover {
3985 color
: var(--GW
-toggle
-widget
-hover
-color
, #444);
3988 #content.preview:not(not) {
3991 #content.preview > .comment-thread {
3994 #content.preview.individual-thread-page > .comment-thread > .comment-item {
3997 #content.preview.user-page .page-main-heading, #content.preview.user-page .user-stats {
4000 #content.preview.user-page .page-main-heading {
4003 #content.preview.not(not) .body-text {
4007 #content.preview.user-page .user-stats {
4010 #content.preview.user-page .page-toolbar, #content.preview.user-page nav {
4013 #content.preview button.vote {
4016 #content.preview > h1.listing {
4019 #content.preview.user-page > .comment-thread {
4022 #content.preview > .post {
4025 #content.preview .post-title {
4028 #content.preview .post-meta {
4031 #content.preview .body-text {
4034 #content.preview nav.contents,
4035 #content.preview .lw2-link {
4041 transform
-origin
: top
;
4046 background
-color
: #eee;
4047 border
: 1px solid
#ccc;
4048 box
-shadow
: 2px
6px
20px
-4px
#000;
4049 transition
: height
0.2s ease
, top
0.2s ease
;
4051 .popup
-hide
-button
{
4056 background
-color
: #fff;
4060 font
-family
: "Font Awesome";
4063 border
: 1px solid
#bbb;
4064 border
-radius
: 28px
;
4065 align
-items
: center
;
4066 justify
-content
: center
;
4067 //padding-bottom: 2px;
4068 padding
-left
: 1.5px
;
4069 font
-family
: "Font Awesome", "Font Awesome 5 Free";
4072 .popup
-hide
-button
:hover
::before
{
4073 content
: "Turn off preview popups";
4079 background
-color
: #fff;
4080 border
: 1px solid
#eee;
4089 .mathjax
-block
-container
{
4093 margin
: 1em
0 1.5em
0;
4095 .mathjax
-inline
-container
{
4097 display
: inline
-block
;
4101 vertical
-align
: text
-top
;
4104 .post
.mathjax
-inline
-container
{
4108 .comment
.mathjax
-inline
-container
{
4112 .mathjax
-inline
-container
.mjx
-chtml
{
4122 background
-color
: currentColor
;
4126 box
-shadow
: 0 0 0 1px currentColor inset
;
4129 .spoiler
:not(:last
-child
) {
4132 #content .spoiler * {
4138 background
-color
: unset;
4141 color
0.1s ease
-out
0.1s
,
4142 background
-color
0.1s ease
-out
0.1s
,
4143 text
-shadow
0.1s ease
-out
0.1s
;
4145 .spoiler
::selection
,
4146 .spoiler
::selection
{
4148 background
-color
: #000;
4150 .spoiler
:not(:hover
)::selection
,
4151 .spoiler
:not(:hover
) ::selection
{
4152 background
-color
: transparent
;
4155 /*= Fix for LessWrong being weird =*/
4160 .spoiler
> p
:first
-child
{
4163 .spoiler
> p
:last
-child
{
4165 padding
-bottom
: 0.25em
;
4167 .spoiler
> p
:hover ~ p
{
4168 background
-color
: currentColor
;
4173 .spoiler
> p
:not(:first
-child
) {
4176 .spoiler
> p
:not(:last
-child
) {
4177 padding
-bottom
: 0.5em
;
4180 .spoiler
:not(:hover
) pre
,
4181 .spoiler
:not(:hover
) code
{
4182 background
-color
: inherit
;
4185 #content .spoiler pre {
4186 border
-color
: currentColor
;
4187 border
-style
: solid
;
4188 border
-width
: 0 1px
;
4192 /*******************/
4193 /* PAGE LIST INDEX */
4194 /*******************/
4201 .page
-list-index
> p
{
4206 .page
-list-index
> ul
* {
4210 .page
-list-index ul
{
4211 padding
-left
: 1.5em
;
4214 .page
-list-index li
{
4218 .page
-list-index li
> a
{
4225 .page
-list-index li
> a
:last
-child
{
4229 /*******************/
4230 /* ALIGNMENT FORUM */
4231 /*******************/
4233 #content.alignment-forum-index-page::after {
4234 content
: "Alignment Forum";
4236 margin
: 0.375em
0 0 -0.375em
;
4240 /**********************/
4241 /* FOR NARROW SCREENS */
4242 /**********************/
4244 @media only screen
and (max
-width
: 1440px
) {
4247 padding
: 8px
10px
10px
10px
;
4251 #hns-date-picker::before {
4256 height
: calc(100% +
2px
);
4262 @media only screen
and (max
-width
: 1160px
) {
4263 #new-comment-nav-ui {
4271 #hns-date-picker::before {
4272 width
: calc(100%
- 35px
);
4274 #theme-selector button::before {
4278 #theme-selector:hover::after {
4282 width
: calc(6em
- 7px
);
4283 height
: calc(100% +
2px
);
4285 left
: calc(100% +
1px
);
4287 #anti-kibitzer-toggle {
4291 @media only screen
and (max
-width
: 1080px
) {
4295 #width-selector button {
4298 #text-size-adjustment-ui {
4302 #text-size-adjustment-ui button {
4306 #text-size-adjustment-ui button.increase {
4309 #text-size-adjustment-ui button.decrease {
4316 #theme-tweaker-toggle {
4320 #theme-tweaker-toggle button {
4328 #new-comment-nav-ui {
4334 #hns-date-picker::before {
4335 width
: calc(100%
- 22px
);
4337 #anti-kibitzer-toggle {
4341 @media only screen
and (max
-width
: 1040px
) {
4345 #new-comment-nav-ui {
4351 #hns-date-picker::before {
4352 width
: calc(100%
- 17px
);
4354 #anti-kibitzer-toggle {
4358 @media only screen
and (max
-width
: 1020px
) {
4362 #new-comment-nav-ui {
4365 #new-comment-nav-ui .new-comments-count::before {
4369 height
: calc(100% +
45px
);
4377 #hns-date-picker::before {
4380 #anti-kibitzer-toggle {
4384 @media only screen
and (max
-width
: 1000px
) {
4391 #theme-selector button {
4394 #text-size-adjustment-ui {
4398 @media not screen
and (hover
: none
) {
4400 #new-comment-nav-ui,
4401 #new-comment-nav-ui + #hns-date-picker,
4402 #anti-kibitzer-toggle {
4405 #quick-nav-ui:hover,
4406 #new-comment-nav-ui:hover,
4407 #new-comment-nav-ui + #hns-date-picker:hover,
4408 #new-comment-nav-ui + #hns-date-picker:focus-within,
4409 #new-comment-nav-ui:hover + #hns-date-picker,
4410 #anti-kibitzer-toggle:hover {
4414 #theme-tweaker-toggle {
4430 #ui-elements-container {
4436 #images-overlay + #content .post-body img {
4437 visibility
: visible
;
4442 #comments-sort-mode-selector {
4445 .comment
-minimize
-button
{
4448 .post
-meta
.qualified
-linking
,
4449 .post
-meta
.lw2
-link
{
4452 .comment
-meta
.permalink
,
4453 .comment
-meta
.lw2
-link
,
4454 .comment
-meta
.comment
-parent
-link
{
4457 .new-comment
::before
{
4465 <?php
include("style_mobile_additions.css.php"); ?
>
4467 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4471 ## TO BE IMPLEMENTED:
4472 ## This will be specified via command-line argument; but for now, we just
4473 ## include all available additions (currently, only 'accordius').
4479 foreach ($additions as $addition) {
4480 $potential_includes = [
4482 "style_mobile_additions.css.php"
4484 foreach ($potential_includes as $include) {
4485 $include_path = "{$addition}/{$include}";
4486 if (file_exists($include_path))
4487 include ($include_path);