2 header ('Content-type: text/css; charset=utf-8');
4 $platform = @$argv[1] ?
: 'Mac';
5 $UI_font = ($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 box
-sizing
: border
-box
;
32 *, *::before
, *::after
{
45 background
-color
: inherit
;
57 /*=----------------------------=*/
58 /*= Immediate children of body =*/
59 /*=----------------------------=*/
62 width
: calc(100%
- 300px
);
72 grid
-template
-columns
: repeat(3, 1fr
);
73 grid
-auto
-flow
: dense
;
92 grid
-column
: 1 / span
3;
95 /*=----------------------=*/
96 /*= Floating UI elements =*/
97 /*=----------------------=*/
99 #ui-elements-container {
107 pointer
-events
: none
;
109 #ui-elements-container > * {
110 pointer
-events
: auto
;
113 /*=----------------=*/
114 /*= Images overlay =*/
115 /*=----------------=*/
116 /* (To exclude images in posts from theme tweaks) */
137 /*=---------------=*/
138 /*= Nav bar items =*/
139 /*=---------------=*/
145 text
-overflow
: ellipsis
;
155 #secondary-bar .nav-inner {
159 #nav-item-sequences .nav-inner::before {
160 font
-family
: "Font Awesome", "Font Awesome 5 Free";
163 @media only screen
and (min
-width
: 901px
) {
164 #nav-item-about .nav-inner {
167 #nav-item-sequences .nav-inner::before {
171 #secondary-bar #nav-item-sequences .nav-inner {
181 h1
.listing ~
#bottom-bar {
184 #bottom-bar .nav-item {
188 /*=-----------------=*/
189 /*= Accesskey hints =*/
190 /*=-----------------=*/
193 content
: attr(accesskey
);
197 /*=---------------=*/
198 /*= Pagination UI =*/
199 /*=---------------=*/
201 #bottom-bar .nav-item a::before,
202 #top-nav-bar a::before {
203 font
-family
: "Font Awesome", "Font Awesome 5 Free";
210 #bottom-bar #nav-item-first a::before,
211 #top-nav-bar a.nav-item-first::before {
214 #bottom-bar #nav-item-top a::before {
217 #bottom-bar #nav-item-prev a::before,
218 #top-nav-bar a.nav-item-prev::before {
221 #bottom-bar #nav-item-next a::before,
222 #top-nav-bar a.nav-item-next::before {
225 #bottom-bar #nav-item-last a::before,
226 #top-nav-bar a.nav-item-last::before {
229 #bottom-bar #nav-item-next a::before {
234 #bottom-bar #nav-item-last a::before {
240 /*= Hover tooltips =*/
245 #top-nav-bar a::after {
246 bottom
: calc(100%
- 3px
);
247 content
: attr(data
-target
-page
);
249 #bottom-bar a:not([href='#top'])::after {
250 content
: "Page " attr(data
-target
-page
);
255 #top-nav-bar a::after,
256 #bottom-bar a:not([href='#top'])::after {
264 #top-nav-bar a:hover::after,
265 #bottom-bar a:hover::after {
269 /*=-----------------------=*/
270 /*= Decorative bottom bar =*/
271 /*=-----------------------=*/
272 /* (On short pages with no pagination) */
274 #bottom-bar.decorative {
277 #bottom-bar.decorative .nav-item {
288 #nav-item-search form::before {
290 font
-family
: "Font Awesome", "Font Awesome 5 Free";
292 display
: inline
-block
;
297 #nav-item-search input {
299 width
: calc(95%
- 80px
);
302 #nav-item-search button {
312 padding
-right
: 0.5em
;
315 /*******************/
316 /* INBOX INDICATOR */
317 /*******************/
326 #inbox-indicator::before {
328 font
-family
: "Font Awesome", "Font Awesome 5 Free";
330 font
-size
: 1.1875rem
;
339 #inbox-indicator.new-messages::before {
343 0.5px
0.5px
1px
#777;
345 a
#inbox-indicator:hover::before {
352 0.5px
0.5px
1px
#777;
354 a
#inbox-indicator.new-messages:hover::before {
360 0.5px
0.5px
1px
#777;
373 #content > .page-toolbar {
376 #content.user-page > .page-toolbar {
377 grid
-column
: 2 / span
2;
380 /*=--------------------------=*/
381 /*= Page toolbar items (all) =*/
382 /*=--------------------------=*/
385 display
: inline
-block
;
388 .page
-toolbar
.button
::before
{
389 font
-family
: "Font Awesome", "Font Awesome 5 Free";
391 padding
-right
: 0.3em
;
394 /*=-------------------------------=*/
395 /*= Page toolbar items (specific) =*/
396 /*=-------------------------------=*/
402 .new-private-message
::before
{
406 .logout
-button
::before
{
410 .ignore
-button
::before
{
414 .unignore
-button
::before
{
419 content
: url('data:image/svg+xml;base64,<?php echo base64_encode(file_get_contents("assets/rss.svg")) ?>');
420 display
: inline
-block
;
422 padding
-right
: 0.2em
;
427 /*********************/
428 /* TOP PAGINATION UI */
429 /*********************/
433 margin
: 0.25em
0 0 0;
434 padding
: 0.75em
0 0 0;
438 justify
-content
: center
;
443 #top-nav-bar a.disabled {
444 pointer
-events
: none
;
447 #top-nav-bar .page-number {
449 display
: inline
-block
;
452 #top-nav-bar .page-number-label {
455 text
-transform
: uppercase
;
460 #top-nav-bar a::before {
462 display
: inline
-block
;
472 justify
-content
: center
;
475 #content > .sublevel-nav:not(.sort) {
480 #content.sequences-page > .sublevel-nav {
483 .sublevel
-nav
.sublevel
-item
{
485 padding
: 0.125em
0.5em
;
488 .sublevel
-nav
.sublevel
-item
:active
{
491 .sublevel
-nav
.sublevel
-item
.selected
{
495 /***********************/
496 /* SORT ORDER SELECTOR */
497 /***********************/
504 #content > .sublevel-nav.sort {
506 grid
-row
: 5 / span
2;
511 #content.index-page > .sublevel-nav.sort {
513 grid
-row
: 3 / span
1;
518 .sublevel
-nav
.sort
::before
{
526 .sublevel
-nav
.sort
.sublevel
-item
{
532 /*******************************/
533 /* COMMENTS SORT MODE SELECTOR */
534 /*******************************/
536 .comments
> .sublevel
-nav
.sort
{
537 margin
: 1em auto
0 auto
;
539 <?php
fit_content(".comments > .sublevel-nav.sort"); ?
>
550 #width-selector button {
556 background
-repeat
: no
-repeat
;
557 background
-size
: 100%
;
558 background
-origin
: content
-box
;
560 #width-selector button,
561 #width-selector button:active,
562 #width-selector button:focus {
566 #width-selector button:disabled {
569 #width-selector button.select-width-normal {
570 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/normal.gif")) ?>');
572 #width-selector button.select-width-wide {
573 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/wide.gif")) ?>');
575 #width-selector button.select-width-fluid {
576 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/fluid.gif")) ?>');
579 /*=----------------=*/
580 /*= Hover tooltips =*/
581 /*=----------------=*/
583 #width-selector button::after {
584 content
: attr(data
-name
);
593 #width-selector button.selected::after {
594 content
: attr(data
-name
) " (selected)";
596 #width-selector button:hover:not(:active)::after {
601 global $content_width_settings;
602 foreach ($content_width_settings as $name => $setting) {
603 echo "head.content-width-{$name} + body > * {\n max-width: {$setting};\n}\n";
619 #theme-selector:hover {
623 /*=----------------------=*/
624 /*= Theme select buttons =*/
625 /*=----------------------=*/
627 .theme
-selector button
{
632 margin
: 1px
7px
0 7px
;
634 background
-size
: 16px
16px
;
635 background
-origin
: content
-box
;
637 .theme
-selector button
,
638 .theme
-selector button
:hover
,
639 .theme
-selector button
:active
,
640 .theme
-selector button
:focus
{
644 .theme
-selector button
:disabled
{
648 /*=----------------------------=*/
649 /*= Pre-rendered button images =*/
650 /*=----------------------------=*/
651 /* (Each is just a capital letter A through whatever) */
653 .theme
-selector button
:nth
-of
-type(1) {
654 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_A.gif")) ?>');
656 .theme
-selector button
:nth
-of
-type(2) {
657 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_B.gif")) ?>');
659 .theme
-selector button
:nth
-of
-type(3) {
660 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_C.gif")) ?>');
662 .theme
-selector button
:nth
-of
-type(4) {
663 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_D.gif")) ?>');
665 .theme
-selector button
:nth
-of
-type(5) {
666 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_E.gif")) ?>');
668 .theme
-selector button
:nth
-of
-type(6) {
669 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_F.gif")) ?>');
671 .theme
-selector button
:nth
-of
-type(7) {
672 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_G.gif")) ?>');
674 .theme
-selector button
:nth
-of
-type(8) {
675 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_H.gif")) ?>');
677 .theme
-selector button
:nth
-of
-type(9) {
678 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/theme_I.gif")) ?>');
681 /*=------------------------------=*/
682 /*= Theme select button tooltips =*/
683 /*=------------------------------=*/
684 /* (with the name & description of the theme that each button selects) */
686 #theme-selector button {
690 #theme-selector button::before {
691 content
: attr(data
-theme
-name
);
695 padding
: 5px
6px
6px
6px
;
702 #theme-selector:hover button::before {
705 #theme-selector:hover ~ #theme-tweaker-toggle,
706 #theme-selector:active ~ #theme-tweaker-toggle {
710 /************************/
711 /* THEME TWEAKER TOGGLE */
712 /************************/
714 #theme-tweaker-toggle {
719 #theme-tweaker-toggle button {
720 font
-family
: "Font Awesome", "Font Awesome 5 Free";
726 #theme-tweaker-toggle button:hover {
730 /*******************/
731 /* QUICKNAV WIDGET */
732 /*******************/
740 font
-family
: "Font Awesome", "Font Awesome 5 Free";
750 #quick-nav-ui a[href='#comments'].no-comments {
751 pointer
-events
: none
;
756 #content.post-page ~ #ui-elements-container #quick-nav-ui a[href='#comments'] {
760 /************************/
761 /* NEW COMMENT QUICKNAV */
762 /************************/
764 #new-comment-nav-ui {
769 #new-comment-nav-ui > * {
773 #new-comment-nav-ui.no-comments {
777 /*=--------------------=*/
778 /*= New comments count =*/
779 /*=--------------------=*/
781 #new-comment-nav-ui .new-comments-count {
789 #new-comment-nav-ui .new-comments-count::selection {
790 background
-color
: transparent
;
792 #new-comment-nav-ui .new-comments-count::after {
798 /*=-----------------------------------=*/
799 /*= Next/previous new comment buttons =*/
800 /*=-----------------------------------=*/
802 #new-comment-nav-ui .new-comment-sequential-nav-button {
804 font
-family
: "Font Awesome", "Font Awesome 5 Free";
809 #new-comment-nav-ui .new-comment-previous {
812 #new-comment-nav-ui .new-comment-next {
815 #new-comment-nav-ui .new-comment-sequential-nav-button:disabled {
817 pointer
-events
: none
;
820 /*******************/
821 /* HNS DATE PICKER */
822 /*******************/
830 #hns-date-picker:hover,
831 #hns-date-picker:focus-within {
834 #hns-date-picker.no-comments {
838 /*=---------------=*/
839 /*= "Since" label =*/
840 /*=---------------=*/
842 #hns-date-picker span {
845 text
-transform
: uppercase
;
848 /*=--------------------=*/
849 /*= "Since" text field =*/
850 /*=--------------------=*/
852 #hns-date-picker input {
857 box
-shadow
: 0 0 0 1px transparent
;
860 /************************/
861 /* ANTI-KIBITZER TOGGLE */
862 /************************/
864 #anti-kibitzer-toggle {
869 #anti-kibitzer-toggle button {
875 #anti-kibitzer-toggle button::before,
876 #anti-kibitzer-toggle button::after {
877 font
-family
: "Font Awesome", "Font Awesome 5 Free";
879 #anti-kibitzer-toggle button::before {
885 #anti-kibitzer-toggle button::after {
886 content
: "\F007\2004\F164";
890 #anti-kibitzer-toggle.engaged button::before {
894 /************************/
895 /* TEXT SIZE ADJUSTMENT */
896 /************************/
898 #text-size-adjustment-ui {
904 #text-size-adjustment-ui:hover {
908 /* This doesn't work in Mozilla browsers, so hide it */
909 @-moz
-document url
-prefix() {
910 #text-size-adjustment-ui {
919 #text-size-adjustment-ui button {
921 font
-family
: "Font Awesome", "Font Awesome 5 Free";
927 #text-size-adjustment-ui button.default {
928 font
-family
: inherit
;
933 #text-size-adjustment-ui button:disabled {
936 #text-size-adjustment-ui button:disabled:hover {
940 /*=----------------=*/
941 /*= Hover tooltips =*/
942 /*=----------------=*/
944 #text-size-adjustment-ui::after {
945 content
: "Adjust text size";
955 #text-size-adjustment-ui:hover::after {
959 /*******************************/
960 /* COMMENTS VIEW MODE SELECTOR */
961 /*******************************/
963 #comments-view-mode-selector {
969 #comments-view-mode-selector:hover {
977 #comments-view-mode-selector a {
979 font
-family
: "Font Awesome", "Font Awesome 5 Free";
986 #comments-view-mode-selector a.threaded {
987 transform
: scaleY(-1);
990 #comments-view-mode-selector a.chrono {
993 #comments-view-mode-selector a.selected,
994 #comments-view-mode-selector a:hover {
996 text
-decoration
: none
;
998 #comments-view-mode-selector a.selected {
1006 #keyboard-help-overlay {
1009 background
-color
: rgba(0,0,0,0.7);
1016 justify
-content
: center
;
1017 align
-items
: center
;
1018 padding
: 20px
30px
30px
20px
;
1023 #keyboard-help-overlay .keyboard-help-container {
1024 background
-color
: #fff;
1025 filter
: drop
-shadow(4px
4px
2px
#000);
1032 #keyboard-help-overlay .keyboard-help-container h1 {
1034 border
-bottom
: 1px solid
#ddd;
1038 #keyboard-help-overlay .keyboard-help-container .note {
1043 #keyboard-help-overlay .keyboard-help-container .keyboard-shortcuts-lists {
1047 border
-top
: 1px solid
#ddd;
1050 #keyboard-help-overlay .keyboard-help-container ul {
1051 list-style
-type
: none
;
1054 break-inside
: avoid
;
1055 white
-space
: nowrap
;
1057 #keyboard-help-overlay .keyboard-help-container ul:nth-of-type(n+2) {
1060 #keyboard-help-overlay .keyboard-help-container ul li.section {
1062 font
-size
: 1.125rem
;
1065 #keyboard-help-overlay .keyboard-help-container .keys {
1066 margin
: 0 0.5em
0 0;
1068 display
: inline
-block
;
1070 #keyboard-help-overlay .keyboard-help-container .keys code {
1073 #keyboard-help-overlay .keyboard-help-container code {
1074 display
: inline
-block
;
1075 background
-color
: #eee;
1076 border
: 1px solid
#ccc;
1077 padding
: 3px
8px
4px
8px
;
1080 #keyboard-help-overlay .keyboard-help-container code.ak {
1081 background
-color
: #ffeb83;
1082 border
-color
: #d4a500;
1084 #keyboard-help-overlay .keyboard-help-container code.ak::before {
1089 #nav-item-about button.open-keyboard-help {
1092 @media only screen
and (hover
:hover
) and (pointer
:fine
) {
1095 padding
-right
: 0.25em
;
1097 #nav-item-about button.open-keyboard-help {
1098 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1110 #keyboard-help-overlay button.close-keyboard-help {
1114 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1124 margin
: 1.25em
0.5em
0 0.5em
;
1130 .archive
-nav
*[class^
='archive-nav-item'] {
1134 padding
: 6px
4px
4px
4px
;
1137 @-moz
-document url
-prefix() {
1138 .archive
-nav
*[class^
='archive-nav-item'] {
1142 .archive
-nav
-days
.archive
-nav
-item
-day
{
1144 padding
: 7px
0 5px
0;
1147 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1156 margin
: 1.25em
0.5em
0 0.5em
;
1162 .archive
-nav
*[class^
='archive-nav-item'] {
1166 padding
: 6px
4px
4px
4px
;
1169 @-moz
-document url
-prefix() {
1170 .archive
-nav
*[class^
='archive-nav-item'] {
1174 .archive
-nav
-days
.archive
-nav
-item
-day
{
1176 padding
: 7px
0 5px
0;
1179 .archive
-nav
-days
.archive
-nav
-item
-day
:first
-child
{
1188 font
-size
: 1.875rem
;
1198 /* Links to link-posts (not the link-post links themselves; that's below) */
1199 h1
.listing a
[href^
='http'] + a
{
1200 margin
-left
: 0.25em
;
1202 /* Link-post links */
1203 h1
.listing a
[href^
="http"] {
1206 vertical
-align
: top
;
1211 /*=----------------------=*/
1212 /*= Listing hover reveal =*/
1213 /*=----------------------=*/
1214 /* (On desktops, hover over a multi-line listing to reveal all of it) */
1216 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
1219 display
: inline
-block
;
1220 white
-space
: nowrap
;
1221 text
-overflow
: ellipsis
;
1223 border
-bottom
: 1px solid transparent
;
1224 -webkit
-hyphens
: auto
;
1229 padding
: 0 0 1px
1px
;
1231 h1
.listing a
[href^
='http'] + a
{
1232 max
-width
: calc(100%
- 33px
);
1235 h1
.listing a
:focus
{
1236 text
-decoration
: dotted underline
;
1237 white
-space
: initial
;
1241 h1
.listing
:focus
-within
::before
{
1243 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1249 /* Adds hysteresis to the hover area (i.e., prevents oscillation due to small
1251 <?php
$margin_of_hover_error = '10px'; ?
>
1253 h1
.listing a
:not(.edit
-post
-link
):hover
::before
{
1256 top
: -<?php
echo $margin_of_hover_error; ?
>;
1257 right
: -<?php
echo $margin_of_hover_error; ?
>;
1258 bottom
: -<?php
echo $margin_of_hover_error; ?
>;
1259 left
: -<?php
echo $margin_of_hover_error; ?
>;
1262 h1
.listing a
[href^
="http"]:hover
{
1263 text
-decoration
: none
;
1267 /*=-----------------------=*/
1268 /*= In-listing edit links =*/
1269 /*=-----------------------=*/
1271 h1
.listing
.edit
-post
-link
{
1276 /*=---------------------------------=*/
1277 /*= Error messages on listing pages =*/
1278 /*=---------------------------------=*/
1283 padding
: 1.25em
0 1.25em
0;
1287 /*********************/
1288 /* LISTING POST-META */
1289 /*********************/
1291 h1
.listing +
.post
-meta
{
1293 justify
-content
: flex
-start
;
1294 margin
: 0 20px
0 21px
;
1297 h1
.listing +
.post
-meta
> * {
1301 h1
.listing +
.post
-meta
.post
-section
{
1306 h1
.listing +
.post
-meta
.post
-section
::before
{
1311 h1
.listing +
.post
-meta
.read
-time
{
1329 h1
.sequence
-chapter
{
1345 #content.user-page > #top-nav-bar {
1349 /*=---------------------=*/
1350 /*= User's display name =*/
1351 /*=---------------------=*/
1353 #content.user-page h1.page-main-heading {
1354 margin
: 0.25em
0 0 0;
1359 /*=--------------------=*/
1360 /*= User's karma total =*/
1361 /*=--------------------=*/
1363 #content.user-page .user-stats {
1370 #content.user-page .user-stats .karma-type {
1371 white
-space
: nowrap
;
1374 /*=----------------------=*/
1375 /*= Expanded vs. compact =*/
1376 /*=----------------------=*/
1378 #content.user-page #comments-list-mode-selector {
1379 grid
-row
: 5 / span
2;
1381 #content.user-page #comments-list-mode-selector button {
1385 /*=----------------------------------------------------=*/
1386 /*= All, Posts, Comments, Drafts, Conversations, Inbox =*/
1387 /*=----------------------------------------------------=*/
1389 #content.user-page .sublevel-nav {
1390 margin
-bottom
: 0.5em
;
1393 /*=--------------=*/
1394 /*= User's posts =*/
1395 /*=--------------=*/
1397 #content.user-page h1.listing {
1398 margin
: 0.5em
0 0 0;
1405 /*=----------------------=*/
1406 /*= List of participants =*/
1407 /*=----------------------=*/
1409 #content.conversation-page .conversation-participants {
1410 grid
-column
: 2 / span
2;
1413 margin
: 0.5em
0 0 0;
1416 .conversation
-participants ul
,
1417 .conversation
-participants li
{
1418 list-style
-type
: none
;
1419 display
: inline
-block
;
1423 .conversation
-participants li
{
1424 margin
-left
: 0.375em
;
1426 .conversation
-participants li
:not(:last
-of
-type
)::after
{
1430 /*=-------------------------=*/
1431 /*= Posting controls (form) =*/
1432 /*=-------------------------=*/
1434 #content.conversation-page .posting-controls {
1437 #content.conversation-page .post-meta-fields {
1440 flex
-flow
: row wrap
;
1442 #content.conversation-page textarea {
1443 margin
-top
: 0.375em
;
1445 #conversation-form {
1446 padding
: 0 1em
3em
1em
;
1448 #conversation-form input[type='text'],
1449 #conversation-form label {
1452 #conversation-form label {
1456 border
: 1px solid transparent
;
1458 #conversation-form input[type='text'] {
1459 width
: calc(100%
- 4em
);
1462 #conversation-form input[type='submit'] {
1465 #content.conversation-page #markdown-hints-checkbox ~ label {
1466 white
-space
: nowrap
;
1468 #content.conversation-page #markdown-hints {
1469 top
: calc(100% +
2em
);
1472 /*=--------------------=*/
1473 /*= Conversation title =*/
1474 /*=--------------------=*/
1476 #content.conversation-page h1.page-main-heading {
1486 #content.conversation-page > ul.comment-thread:last-of-type {
1490 /******************/
1491 /* SEARCH RESULTS */
1492 /******************/
1494 #content.search-results-page h1.listing,
1495 #content.sequence-page h1.listing {
1507 flex
-flow
: row wrap
;
1510 .login
-container form
{
1513 grid
-row
-gap
: 0.5em
;
1514 align
-content
: start
;
1516 .login
-container form label
{
1518 padding
: 0.25em
0.5em
;
1519 white
-space
: nowrap
;
1522 .login
-container form input
{
1526 .login
-container form input
[type
='submit'],
1527 .login
-container form a
{
1529 justify
-self
: center
;
1531 .login
-container form input
[type
='submit'] {
1535 margin
: 0.5em
0 0 0;
1537 .login
-container form h1
{
1546 grid
-template
-columns
: 5.5em
1fr
;
1547 padding
: 0.5em
2em
0.5em
0;
1550 /* “Create account” form */
1554 grid
-template
-columns
: 8.5em
1fr
;
1555 padding
: 0.5em
1em
1em
1em
;
1560 #signup-form input[type='submit'] {
1561 padding
: 0.4em
0.5em
0.5em
0.5em
;
1566 .login
-container
.login
-tip
{
1567 padding
: 0.5em
0.5em
0.5em
3em
;
1568 margin
: 2em
4em
0 4em
;
1572 .login
-container
.login
-tip span
{
1578 #content.login-page .error-box {
1579 margin
: 1.5em
0.875em
-1.5em
0.875em
;
1581 .error
-box
, .success
-box
{
1586 /***********************/
1587 /* PASSWORD RESET PAGE */
1588 /***********************/
1590 .reset
-password
-container
{
1593 .reset
-password
-container input
[type
='submit'] {
1594 padding
: 0.2em
0.5em
;
1597 .reset
-password
-container input
{
1601 .reset
-password
-container label
{
1602 display
: inline
-block
;
1605 .reset
-password
-container form
> div
{
1608 .reset
-password
-container
.action
-container
{
1612 .reset
-password
-container
.error
-box
{
1616 /*********************/
1617 /* TABLE OF CONTENTS */
1618 /*********************/
1624 margin
: 1.25em
0 0.75em
1.25em
;
1625 padding
: 7px
14px
10px
10px
;
1632 margin
-bottom
: 0.25em
;
1635 .post
-body
.contents ul
{
1636 list-style
-type
: none
;
1637 margin
: 0 0 0 0.5em
;
1638 counter
-reset
: toc
-item
-1 toc
-item
-2 toc
-item
-3;
1642 .post
-body
.contents li
{
1643 margin
: 0.15em
0 0.3em
1em
;
1649 .post
-body
.contents li
::before
{
1656 .contents
.toc
-item
-1 {
1657 counter
-increment
: toc
-item
-1;
1658 counter
-reset
: toc
-item
-2 toc
-item
-3;
1660 .contents
.toc
-item
-1::before
{
1661 content
: counter(toc
-item
-1);
1663 .contents
.toc
-item
-1 ~
.toc
-item
-2 {
1667 .contents
.toc
-item
-2 {
1668 counter
-increment
: toc
-item
-2;
1669 counter
-reset
: toc
-item
-3;
1671 .contents
.toc
-item
-1 ~
.toc
-item
-2::before
{
1672 content
: counter(toc
-item
-1) "." counter(toc
-item
-2);
1674 .contents
.toc
-item
-2::before
{
1675 content
: counter(toc
-item
-2);
1677 .contents
.toc
-item
-1 +
.toc
-item
-3 {
1678 counter
-increment
: toc
-item
-2 toc
-item
-3;
1680 .contents
.toc
-item
-2 ~
.toc
-item
-3,
1681 .contents
.toc
-item
-1 ~
.toc
-item
-3 {
1685 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3 {
1689 .contents
.toc
-item
-3 {
1690 counter
-increment
: toc
-item
-3;
1692 .contents
.toc
-item
-1 ~
.toc
-item
-2 ~
.toc
-item
-3::before
{
1693 content
: counter(toc
-item
-1) "." counter(toc
-item
-2) "." counter(toc
-item
-3);
1695 .contents
.toc
-item
-1 ~
.toc
-item
-3::before
{
1696 content
: counter(toc
-item
-1) "." counter(toc
-item
-3);
1698 .contents
.toc
-item
-2 ~
.toc
-item
-3::before
{
1699 content
: counter(toc
-item
-2) "." counter(toc
-item
-3);
1701 .contents
.toc
-item
-3::before
{
1702 content
: counter(toc
-item
-3);
1704 .contents
.toc
-item
-4,
1705 .contents
.toc
-item
-5,
1706 .contents
.toc
-item
-6 {
1710 /********************/
1711 /* POSTS & COMMENTS */
1712 /********************/
1716 display
: inline
-block
;
1718 font
-size
: 1.0625em
;
1719 white
-space
: nowrap
;
1722 overflow
-wrap
: break-word
;
1723 text
-align
: justify
;
1728 .retracted
.body
-text
{
1729 text
-decoration
: line
-through
;
1733 word
-break: break-all
;
1736 .body
-text a
:not([href
]),
1737 .body
-text a
:not([href
]):hover
,
1738 .body
-text a
:not([href
])::before
,
1739 .body
-text a
:not([href
])::after
{
1740 text
-decoration
: none
;
1752 flex
-flow
: row wrap
;
1753 justify
-content
: center
;
1755 .post
-meta
.lw2
-link
{
1760 .post
-meta
.post
-section
::before
{
1763 .post
-meta
.post
-section
{
1768 .post
-meta
.post
-section
::before
,
1769 .comment
-meta
.alignment
-forum
{
1770 visibility
: visible
;
1771 font
-family
: "Font Awesome", "Font Awesome 5 Free";
1774 .post
-section
.frontpage
::before
{
1777 .post
-section
.featured
::before
{
1780 .post
-section
.meta
::before
{
1783 .post
-section
.personal
::before
{
1786 .post
-section
.draft
::before
{
1789 .post
-section
.alignment
-forum
::before
,
1790 .comment
-meta
.alignment
-forum
{
1792 font
-family
: Concourse
, 'Changa One';
1795 /*= Karma controls hover tooltips =*/
1797 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
1799 .comment
-item
.karma
{
1802 .post
.karma
.active
-controls
::after
,
1803 .comment
-item
.karma
.active
-controls
::after
{
1804 content
: "Double-click for strong vote";
1806 pointer
-events
: none
;
1809 max
-width
: calc(100%
- 12px
);
1811 white
-space
: normal
;
1813 font
-size
: 0.875rem
;
1815 transition
: opacity
0.2s ease
;
1817 .post
.karma
.active
-controls
:hover
::after
,
1818 .comment
-item
.karma
.active
-controls
:hover
::after
{
1822 .post
.karma
.karma
-value
::after
,
1823 .comment
-item
.karma
.karma
-value
::after
{
1824 content
: attr(title
);
1826 pointer
-events
: none
;
1829 transform
: translateX(-50%
);
1830 white
-space
: nowrap
;
1832 font
-size
: 0.875rem
;
1835 transition
: opacity
0.2s ease
;
1837 .post
.karma
.karma
-value
:hover
::after
,
1838 .comment
-item
.karma
.karma
-value
:hover
::after
{
1841 .comment
-item
.karma
.karma
-value
:hover
::after
{
1848 .author
:not(.redacted
)::before
{
1849 content
: attr(data
-full
-name
);
1851 pointer
-events
: none
;
1856 transform
: translateX(-50%
);
1857 white
-space
: nowrap
;
1859 font
-size
: 0.875rem
;
1860 font
-weight
: normal
;
1862 transition
: opacity
0.2s ease
;
1865 .author
:hover
::before
{
1884 margin
: 0.5em
0 0 0;
1887 margin
: 1.1em
0 0.35em
0;
1898 .post
.top
-post
-meta
:last
-child
{
1899 margin
-bottom
: 40px
;
1901 .post
.bottom
-post
-meta
{
1906 border
-style
: solid
;
1907 border
-width
: 1px
0;
1910 /*******************/
1911 /* POST NAVIGATION */
1912 /*******************/
1918 .post
-nav
-item
> * {
1921 justify
-content
: flex
-start
;
1928 border
-bottom
: 1px dotted transparent
;
1933 align
-items
: center
;
1935 .sequence
-title
.post
-nav
-title
{
1943 justify
-content
: flex
-end
;
1945 .post
-nav
.post
-nav
-label
{
1948 .post
-nav
.post
-nav
-title
{
1949 padding
: 0 0 0.125em
0;
1954 margin
: 0 1.5em
0 0;
1955 align
-items
: flex
-start
;
1957 .post
-nav
.prev
.post
-nav
-title
::before
{
1958 content
: "\F0D9\2005";
1961 margin
: 0 0 0 1.5em
;
1963 align
-items
: flex
-end
;
1965 .post
-nav
.next
.post
-nav
-title
::after
{
1966 content
: "\2004\F0DA";
1968 .post
-nav
.prev
.post
-nav
-title
::before
,
1969 .post
-nav
.next
.post
-nav
-title
::after
{
1970 font
-family
: Font Awesome
;
1972 vertical
-align
: text
-bottom
;
1976 @media only screen
and (max
-width
: 900px
) {
1978 flex
-flow
: row wrap
;
1999 padding
: 0.5em
0 0.75em
0;
2007 .post
.link
-post
> .post
-body
> p
:first
-child
{
2010 margin
: 0.5em
0 0 0;
2012 .post
.link
-post
> .post
-body
> p
:only
-child
{
2016 .post
.link
-post a
.link
-post
-link
::before
{
2018 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2023 margin
-right
: 0.25em
;
2043 pointer
-events
: none
;
2046 list-style
-type
: none
;
2050 .comments
.comment
-thread
> li
{
2053 #content > #top-nav-bar + .comment-thread .comment-item {
2060 .comment
-item
.comment
-item
{
2061 margin
: 1em
8px
8px
16px
;
2063 .comment
-item
.comment
-item +
.comment
-item
{
2064 margin
: 2em
8px
8px
16px
;
2073 list-style
-type
: circle
;
2075 .comment
-body
> *:first
-child
{
2078 .comment
-body
> *:last
-child
{
2082 .comments
-empty-message
{
2085 padding
: 0.75em
0 0.9em
0;
2089 /**********************************/
2090 /* DEEP COMMENT THREAD COLLAPSING */
2091 /**********************************/
2093 .comment
-item input
[id^
="expand"] {
2096 .comment
-item input
[id^
="expand"] + label
{
2102 .comment
-item input
[id^
="expand"] + label
::after
{
2103 content
: "(Expand " attr(data
-child
-count
) " below)";
2104 visibility
: visible
;
2107 white
-space
: nowrap
;
2110 .comment
-item input
[id^
="expand"]:checked + label
::after
{
2111 content
: "(Collapse " attr(data
-child
-count
) " below)";
2113 .comment
-item input
[id^
="expand"] ~
.comment
-thread
{
2117 .comment
-item input
[id^
="expand"] ~
.comment
-thread
> li
:first
-child
{
2120 .comment
-item input
[id^
="expand"]:checked ~
.comment
-thread
{
2121 max
-height
: 1000000px
;
2124 .comment
-item input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item
{
2127 .comment
-item input
[id^
="expand"]:checked ~
.comment
-thread
.comment
-thread
.comment
-item a
.comment
-parent
-link
:hover
::after
{
2136 padding
: 2px
24px
2px
10px
;
2140 flex
-flow
: row wrap
;
2141 align
-items
: baseline
;
2143 .user
-page
.comment
-meta
,
2144 .conversation
-page
.comment
-meta
{
2145 padding
-right
: 10px
;
2147 .comment
-meta
.comment
-post
-title
{
2150 text
-overflow
: ellipsis
;
2153 .conversation
-page
.comment
-meta
.comment
-post
-title
{
2158 display
: none
; /* Not sure if we need to display this... */
2160 .comment
-item
.author
:not(.redacted
).original
-poster
::after
{
2161 content
: "\2004(OP)";
2165 /*****************************/
2166 /* COMMENT THREAD NAVIGATION */
2167 /*****************************/
2169 a
.comment
-parent
-link
:not(.inline
-author
),
2170 a
.comment
-parent
-link
.inline
-author
::before
{
2173 a
.comment
-parent
-link
:hover
{
2176 a
.comment
-parent
-link
::before
{
2178 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2185 padding
: 3px
3px
0 3px
;
2187 height
: calc(100% +
2px
);
2191 a
.comment
-parent
-link
::after
{
2196 width
: calc(100% +
26px
);
2197 height
: calc(100% +
38px
);
2200 pointer
-events
: none
;
2204 a
.comment
-parent
-link
:hover
::after
{
2205 visibility
: visible
;
2208 .comment
-child
-links
{
2211 .comment
-child
-link
{
2213 display
: inline
-block
;
2215 .comment
-child
-link
::before
{
2217 display
: inline
-block
;
2229 pointer
-events
: none
;
2231 .comment
-popup
.comment
-parent
-link
{
2234 .comment
-popup
.comment
-body
{
2235 font
-size
: 1.0625rem
;
2238 /**********************/
2239 /* COMMENT PERMALINKS */
2240 /**********************/
2241 /********************/
2242 /* COMMENT LW LINKS */
2243 /********************/
2245 .comment
-meta
.permalink
::before
,
2246 .comment
-meta
.lw2
-link
::before
,
2247 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2249 display
: inline
-block
;
2256 0 0 0 3px transparent
;
2258 background
-size
: 100%
;
2263 .comment
-meta
.permalink
::before
{
2264 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-white-on-blue.gif")) ?>');
2266 .comment
-meta
.lw2
-link
::before
{
2267 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-white-on-blue.gif")) ?>');
2269 .individual
-thread
-page a
.comment
-parent
-link
:empty::before
{
2271 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-white-on-blue.gif")) ?>');
2273 .comment
-meta
.permalink
:hover
::before
{
2274 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/anchor-blue-on-white.gif")) ?>');
2276 .comment
-meta
.lw2
-link
:hover
::before
{
2277 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/lw-blue-on-white.gif")) ?>');
2279 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2280 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/up-arrow-blue-on-white.gif")) ?>');
2282 .comment
-meta
.permalink
:hover
::before
,
2283 .comment
-meta
.lw2
-link
:hover
::before
,
2284 .individual
-thread
-page a
.comment
-parent
-link
:empty:hover
::before
{
2287 0 0 0 3px transparent
;
2291 .comment
-meta
.permalink
:active
::before
,
2292 .comment
-meta
.lw2
-link
:active
::before
,
2293 .individual
-thread
-page a
.comment
-parent
-link
:empty:active
::before
{
2294 transform
: scale(0.9);
2297 .comment
-meta
.permalink
,
2298 .comment
-meta
.lw2
-link
,
2299 .individual
-thread
-page
.comment
-parent
-link
:empty {
2303 .comment
-meta
.permalink
::after
,
2304 .comment
-meta
.lw2
-link
::after
,
2305 .individual
-thread
-page
.comment
-parent
-link
:empty::after
{
2314 pointer
-events
: auto
;
2315 visibility
: visible
;
2318 /*************************/
2319 /* COMMENTS COMPACT VIEW */
2320 /*************************/
2322 #comments-list-mode-selector,
2323 #content.index-page #comments-list-mode-selector,
2324 #content.user-page #comments-list-mode-selector {
2329 justify
-self
: start
;
2332 #comments-list-mode-selector button {
2339 background
-repeat
: no
-repeat
;
2340 background
-size
: 100%
;
2341 background
-origin
: content
-box
;
2343 #comments-list-mode-selector button:disabled {
2346 #comments-list-mode-selector button.expanded {
2347 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_2x.gif")) ?>');
2349 #comments-list-mode-selector button.compact {
2350 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_2x.gif")) ?>');
2352 @media only screen
and (max
-resolution
: 1dppx
) {
2353 #comments-list-mode-selector button.expanded {
2354 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/expanded_1x.gif")) ?>');
2356 #comments-list-mode-selector button.compact {
2357 background
-image
: url('data:image/gif;base64,<?php echo base64_encode(file_get_contents("assets/compact_1x.gif")) ?>');
2361 #content > ul.comment-thread > li.comment-item,
2362 #content.compact > ul.comment-thread > li.comment-item {
2366 #content > .comment-thread {
2369 #content.compact > .comment-thread {
2370 font
-size
: 0.9375rem
;
2373 #content.compact > .comment-thread:hover {
2376 #content.compact > .comment-thread .comment-body {
2377 font
-size
: 1.0625rem
;
2379 #content.compact > .comment-thread .comment-item,
2380 #content.index-page .comment-item.ignored,
2381 #content.inbox-user-page .comment-item.ignored {
2387 #content.compact > .comment-thread .comment-item {
2388 pointer
-events
: none
;
2390 #content.compact > .comment-thread .comment-item::after {
2397 padding
: 0 16px
10px
64px
;
2398 pointer
-events
: auto
;
2400 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
2401 #content.compact:not(:focus-within) > .comment-thread .comment-item:hover,
2402 #content.compact > .comment-thread .comment-item.expanded {
2404 pointer
-events
: auto
;
2408 @media only screen
and (hover
: none
), only screen
and (-moz
-touch
-enabled
) {
2409 #content.compact > .comment-thread.expanded .comment-item {
2411 pointer
-events
: auto
;
2415 #content.compact > .comment-thread .comment-item .comment-meta {
2416 white
-space
: nowrap
;
2418 text
-overflow
: ellipsis
;
2421 #content.compact > .comment-thread .comment-item:hover .comment-meta {
2424 #content.compact > .comment-thread .comment-item .comment-meta a {
2425 pointer
-events
: auto
;
2427 #content.compact > .comment-thread .comment-item .comment-meta .comment-post-title {
2430 #content.compact > .comment-thread .comment-item .comment-meta .karma + .comment-post-title {
2431 margin
-left
: 0.75em
;
2433 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
2434 #content.compact > .comment-thread:last-of-type .comment-item:hover,
2435 #content.compact > .comment-thread:last-of-type .comment-item.expanded {
2438 #content.compact > .comment-thread .comment-item:hover .comment,
2439 #content.compact > .comment-thread .comment-item.expanded .comment {
2445 #content.compact > .comment-thread .comment-item:hover .comment::before,
2446 #content.compact > .comment-thread .comment-item.expanded .comment::before{
2450 width
: calc(100% +
20px
);
2451 height
: calc(100% +
20px
);
2456 #content.compact > .comment-thread:last-of-type .comment-item:hover .comment,
2457 #content.compact > .comment-thread:last-of-type .comment-item.expanded .comment{
2461 @media only screen
and (hover
: none
), only screen
and (-moz
-touch
-enabled
) {
2462 #content.compact > .comment-thread.expanded:last-of-type .comment-item {
2465 #content.compact > .comment-thread.expanded .comment-item .comment {
2471 #content.compact > .comment-thread.expanded .comment-item .comment::before {
2475 width
: calc(100% +
14px
);
2476 height
: calc(100% +
20px
);
2481 #content.compact > .comment-thread.expanded:last-of-type .comment-item .comment {
2484 #content.compact > .comment-thread.expanded .comment-item .comment::after {
2493 background
-color
: rgba(0,0,0,0.5);
2497 /*****************************/
2498 /* HIGHLIGHTING NEW COMMENTS */
2499 /*****************************/
2501 .new-comment
::before
{
2507 pointer
-events
: none
;
2510 /***********************************/
2511 /* COMMENT THREAD MINIMIZE BUTTONS */
2512 /***********************************/
2514 .comment
-minimize
-button
{
2515 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2526 .comment
-minimize
-button
:active
{
2527 transform
: scale(0.9);
2529 .comment
-minimize
-button
::after
{
2530 content
: attr(data
-child
-count
);
2531 font
-weight
: normal
;
2532 font
-size
: 0.8125rem
;
2539 #content.individual-thread-page .comment-minimize-button {
2547 #content.comment-thread-page .comment-item.ignored {
2551 .comment
-item
.ignored
> .comment
> .comment
-meta
> .author
{
2552 text
-decoration
: line
-through
;
2555 /***********************************/
2556 /* INDIVIDUAL COMMENT THREAD PAGES */
2557 /***********************************/
2559 .individual
-thread
-page
> h1
{
2561 margin
: 0.75em
0 3px
0;
2563 .individual
-thread
-page
.comments
{
2575 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2582 .karma
.waiting button
{
2583 pointer
-events
: none
;
2586 /* Replicated karma controls at bottom of comments. */
2587 .comment
-controls
.karma
{
2590 font
-size
: 0.9375em
;
2593 /*****************************/
2594 /* COMMENTING AND POSTING UI */
2595 /*****************************/
2599 margin
: 0 8px
8px
16px
;
2603 .comment
-thread
.comment
-controls +
.comment
-thread
> li
:first
-child
{
2606 .comments
> .comment
-controls
{
2609 .comments
> .comment
-controls
:last
-child
{
2610 margin
: 8px
0 16px
0;
2613 .posting
-controls input
[type
='submit'] {
2616 font
-size
: 1.125rem
;
2619 .comment
-controls
.cancel
-comment
-button
{
2625 padding
: 4px
8px
2px
4px
;
2628 .comment
-controls
.cancel
-comment
-button
::before
{
2629 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2637 .comment +
.comment
-controls
.action
-button
{
2638 font
-weight
: normal
;
2639 font
-size
: 1.0625em
;
2642 .comment
-controls
.action
-button
::before
{
2643 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2646 .new-comment
-button
{
2650 .comment
-controls
.reply
-button
::before
{
2659 margin
: 0.75em
0 0 0;
2668 display
: inline
-block
;
2669 margin
-bottom
: 0.25em
;
2670 font
-size
: 1.125rem
;
2672 .edit
-post
-link
::before
{
2673 margin
-right
: 0.3em
;
2675 .comment
-controls
.edit
-button
::before
,
2676 .edit
-post
-link
::before
{
2678 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2685 .comment
-controls
.delete
-button
{
2686 margin
-right
: 0.25em
;
2688 .comment
-controls
.edit
-button
,
2689 .comment
-controls
.retract
-button
,
2690 .comment
-controls
.unretract
-button
{
2693 .comment
-controls
.retract
-button
::before
{
2697 .comment
-controls
.unretract
-button
::before
{
2701 .comment
-controls
.delete
-button
::before
{
2705 .comment
-controls
.retract
-button
::before
,
2706 .comment
-controls
.unretract
-button
::before
,
2707 .comment
-controls
.delete
-button
::before
{
2712 .comment
-controls form
{
2715 .textarea
-container
{
2718 .posting
-controls textarea
{
2723 max
-height
: calc(100vh
- 6em
);
2727 border
-style
: solid
;
2728 border
-width
: 29px
1px
1px
1px
;
2732 /* GUIEdit buttons */
2734 .guiedit
-buttons
-container
{
2738 width
: calc(100%
- 2px
);
2741 padding
: 1px
4px
0 4px
;
2744 .comment
-thread
-page
.guiedit
-buttons
-container
{
2745 padding
-right
: 60px
;
2747 .guiedit
-buttons
-container button
{
2751 font
-size
: 0.875rem
;
2755 .guiedit
-buttons
-container button
:active
{
2758 .guiedit
-buttons
-container button
:active div
{
2759 transform
: scale(0.9);
2761 .guiedit
-buttons
-container button sup
{
2765 content
: attr(data
-tooltip
);
2767 font
-weight
: normal
;
2773 white
-space
: nowrap
;
2776 .guiedit
:hover
::after
{
2777 visibility
: visible
;
2780 /* Markdown hints */
2782 .posting
-controls
.markdown
-reference
-link
{
2784 padding
: 1px
0 0 6px
;
2786 .posting
-controls
.markdown
-reference
-link a
{
2787 padding
-right
: 1.5em
;
2788 margin
-right
: 0.15em
;
2789 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');
2790 background
-size
: 1.25em
;
2791 background
-repeat
: no
-repeat
;
2792 background
-position
: right center
;
2795 #markdown-hints-checkbox + label {
2797 margin
: 2px
0 0 1em
;
2801 #edit-post-form #markdown-hints-checkbox + label {
2804 #markdown-hints-checkbox {
2808 #markdown-hints-checkbox + label::after {
2809 content
: "(Show Markdown help)";
2811 #markdown-hints-checkbox:checked + label::after {
2812 content
: "(Hide Markdown help)";
2814 #markdown-hints-checkbox + label::before {
2816 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2820 #markdown-hints-checkbox:checked + label::before {
2821 font
-weight
: normal
;
2824 margin
: 4px
0 0 4px
;
2828 top
: calc(100%
- 1em
);
2832 .comment
-controls
#markdown-hints {
2833 top
: calc(100% +
1.75em
);
2835 #markdown-hints-checkbox:checked ~ #markdown-hints {
2838 .markdown
-hints
-row
{
2841 #markdown-hints .markdown-hints-row span,
2842 #markdown-hints .markdown-hints-row code {
2844 display
: table
-cell
;
2846 background
-color
: inherit
;
2847 padding
: 0 12px
0 0;
2850 /******************/
2851 /* EDIT POST FORM */
2852 /******************/
2855 padding
: 1em
1em
4em
1em
;
2857 #edit-post-form .post-meta-fields {
2859 grid
-template
-columns
: 5em auto auto auto
1fr auto
;
2860 margin
-bottom
: 0.625em
;
2863 #edit-post-form label[for='title'],
2864 #edit-post-form label[for='url'],
2865 #edit-post-form label[for='section'] {
2868 #edit-post-form input[type='text'] {
2870 grid
-column
: 2 / span
4;
2871 margin
-bottom
: 0.5em
;
2874 #edit-post-form .link-post-checkbox,
2875 #edit-post-form .link-post-checkbox + label {
2879 #edit-post-form .question-checkbox,
2880 #edit-post-form .question-checkbox + label {
2883 justify
-self
: start
;
2887 #edit-post-form .post-meta-fields input[type='checkbox'] {
2890 pointer
-events
: none
;
2892 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
2893 white
-space
: nowrap
;
2896 padding
: 0.25em
0.5em
0.25em
calc(20px +
0.25em +
0.3725em
);
2899 #edit-post-form .post-meta-fields input[type='checkbox'] + label::before {
2901 font
-family
: "Font Awesome", "Font Awesome 5 Free";
2902 font
-size
: 1.375rem
;
2911 #edit-post-form label[for='url'],
2912 #edit-post-form input[name='url'] {
2915 #edit-post-form .link-post-checkbox:checked ~ label[for='url'],
2916 #edit-post-form .link-post-checkbox:checked ~ input[name='url'] {
2919 #edit-post-form label {
2920 line
-height
: normal
;
2921 border
: 1px solid transparent
;
2923 padding
: 0.25em
0.5em
;
2924 white
-space
: nowrap
;
2926 #edit-post-form input[type='radio'] {
2930 pointer
-events
: none
;
2932 #edit-post-form input[type='radio'] + label {
2935 border
-style
: solid
;
2936 border
-width
: 1px
1px
1px
0;
2939 #edit-post-form input[type='radio']:checked + label {
2943 #edit-post-form label[for='section'] {
2946 #edit-post-form input[type='radio'] + label {
2949 <?php
fit_content("#edit-post-form input[type='radio'] + label"); ?
>
2951 #edit-post-form textarea {
2955 #edit-post-form input[type='submit'] {
2959 #edit-post-form #markdown-hints {
2960 top
: calc(100% +
2em
);
2963 #edit-post-form button.guiedit div {
2966 .guiedit
-mobile
-auxiliary
-button
{
2975 input
[type
='submit'] {
2976 font
-family
: inherit
;
2978 background
-color
: inherit
;
2995 margin
: 1em
0 0.75em
0;
3038 .post
-body
.comment
-box
.comment
-body
{
3041 padding
-left
: 0.5em
;
3043 padding
-bottom
: 3px
;
3045 blockquote
*:first
-child
{
3048 blockquote
*:last
-child
{
3051 blockquote blockquote
{
3055 /* Pseudo-blockquotes that LW sometimes uses for some reason */
3057 .post
-body
.comment
-box
.user
-name
{
3060 .post
-body
.comment
-box
.user
-name
::after
{
3063 .post
-body
.comment
-box
{
3096 border
-collapse
: collapse
;
3097 font
-family
: Inconsolata
, Menlo
, monospace
;
3100 .body
-text table th
,
3101 .body
-text table td
{
3106 .body
-text table td
:nth
-of
-type(n+
2) {
3109 .body
-text table caption
{
3110 margin
: 0 0 0.25em
0;
3119 /*= Superscripts & subscripts =*/
3121 /* Make sure superscripts and subscripts do not affect line spacing. */
3123 vertical
-align
: baseline
;
3133 /*= Code blocks & other "unstyled" text. =*/
3137 font
-family
: Inconsolata
, Menlo
, monospace
;
3140 white
-space
: pre
-wrap
;
3147 display
: inline
-block
;
3148 padding
: 0 4px
1px
5px
;
3153 padding
: 3px
4px
5px
8px
;
3162 /*= Removing browser default styling of various elements =*/
3164 /* On various input elements such as text fields and buttons, remove "blue glow" focus outlines on Macs, dotted black outlines in Firefox, etc. */
3169 /* Remove "embossed" appearance of horizontal rules. */
3177 -webkit
-appearance
: none
;
3178 -moz
-appearance
: none
;
3183 font
-family
: inherit
;
3185 font
-weight
: inherit
;
3193 counter
-reset
: ordered
-list;
3195 .footnote
-definition
{
3197 list-style
-type
: none
;
3198 counter
-increment
: ordered
-list;
3201 .footnote
-definition p
{
3202 font
-size
: inherit
!important
;
3204 .footnote
-definition
::before
{
3205 content
: counter(ordered
-list) ".";
3218 margin
-bottom
: 0.5em
;
3231 .post
-body ol
> li
{
3233 counter
-increment
: ol
;
3234 padding
: 0 0 0 2.5em
;
3235 margin
: 0.25em
0 0 0;
3237 .post
-body ol
> li
::before
{
3238 content
: counter(ol
) ".";
3248 .post
-body ul
:not(.contents
-list) > li
{
3250 padding
: 0 0 0 1.75em
;
3251 margin
: 0.25em
0 0 0;
3253 .post
-body ul
:not(.contents
-list) > li ul
> li
{
3256 .post
-body ul
:not(.contents
-list) > li
::before
{
3263 .post
-body ul
:not(.contents
-list) > li ul
> li
::before
{
3266 .post
-body li
> ul
:first
-child
> li
{
3269 .post
-body li
> ul
:first
-child
> li
::before
{
3281 .error
-retry
-form input
[type
="submit"] {
3282 border
: 1px solid
#aaa;
3284 font
-size
: 1.125rem
;
3285 padding
: 0.5em
1.25em
;
3292 #content.about-page .contents {
3295 #content.about-page .accesskey-table {
3296 border
-collapse
: collapse
;
3299 #content.about-page .accesskey-table th,
3300 #content.about-page .accesskey-table td {
3303 #content.about-page .accesskey-table td:first-child {
3304 padding
-right
: 1.5em
;
3306 #content.about-page .accesskey-table td:last-child {
3308 font
-family
: Inconsolata
, Menlo
, monospace
;
3310 #content.about-page h3:nth-of-type(n+2) {
3314 /******************/
3315 /* IMAGES OVERLAY */
3316 /******************/
3318 #images-overlay + #content .post-body img {
3322 #images-overlay div {
3325 #images-overlay div::after {
3326 content
: "Click to enlarge";
3335 background
-color
: rgba(0,0,0,0.6);
3339 transition
: opacity
0.15s ease
;
3340 pointer
-events
: none
;
3342 <?php
fit_content("#images-overlay div::after"); ?
>
3343 #images-overlay div:hover::after {
3347 #images-overlay img {
3355 /*=--------------=*/
3356 /*= Hover styles =*/
3357 /*=--------------=*/
3360 #images-overlay img:hover {
3361 filter
: drop
-shadow(0 0 3px
#777);
3364 #content img:active,
3365 #images-overlay img:active {
3366 transform
: scale(0.975);
3373 #image-focus-overlay {
3383 #image-focus-overlay::before {
3391 background
-color
: #000;
3395 #image-focus-overlay.engaged {
3399 #image-focus-overlay img {
3404 transform
: translateX(-50%
) translateY(-50%
);
3407 /*=-------------------=*/
3408 /*= Single-image mode =*/
3409 /*=-------------------=*/
3411 #image-focus-overlay:not(.slideshow) .image-number,
3412 #image-focus-overlay:not(.slideshow) .slideshow-buttons {
3420 #image-focus-overlay .caption {
3423 background
-color
: rgba(0,0,0,0.7);
3427 max
-width
: calc(100%
- 18em
);
3435 <?php
fit_content("#image-focus-overlay .caption"); ?
>
3436 #image-focus-overlay .caption.hidden {
3442 #image-focus-overlay .caption p {
3447 #image-focus-overlay .caption:not(:empty)::before {
3452 height
: calc(100% +
1.5em
);
3455 left
: calc(-50vw +
50%
);
3459 /*=--------------=*/
3460 /*= Help overlay =*/
3461 /*=--------------=*/
3463 #image-focus-overlay .help-overlay {
3470 border
-radius
: 10px
;
3474 white
-space
: nowrap
;
3481 background
-color
1s ease
,
3484 #image-focus-overlay .help-overlay:hover {
3487 background
-color
: rgba(0,0,0,0.85);
3489 visibility
: visible
;
3491 visibility
0.2s ease
0.3s
,
3492 color
0.2s ease
0.3s
,
3493 background
-color
0.2s ease
0.3s
;
3496 #image-focus-overlay .help-overlay::after {
3498 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3506 filter
: drop
-shadow(0 0 6px
#fff);
3507 visibility
: visible
;
3512 #image-focus-overlay .help-overlay:hover::after {
3515 visibility
0.2s ease
0.3s
;
3518 #image-focus-overlay .help-overlay p {
3525 #image-focus-overlay .help-overlay p + p {
3526 margin
: 0.75em
0 0 0;
3528 #image-focus-overlay .help-overlay.hidden {
3532 /*=--------------=*/
3533 /*= Slide number =*/
3534 /*=--------------=*/
3536 #image-focus-overlay .image-number {
3550 white
-space
: nowrap
;
3551 transition
: bottom
0.3s ease
;
3553 #image-focus-overlay .image-number::before {
3557 #image-focus-overlay .image-number::after {
3558 content
: " of " attr(data
-number
-of
-images
);
3561 #image-focus-overlay .image-number:hover::before,
3562 #image-focus-overlay .image-number:hover::after {
3565 #image-focus-overlay .image-number.hidden {
3569 /*=-------------------=*/
3570 /*= Slideshow buttons =*/
3571 /*=-------------------=*/
3573 #image-focus-overlay .slideshow-buttons {
3581 justify
-content
: space
-between
;
3582 pointer
-events
: none
;
3584 #image-focus-overlay .slideshow-buttons button {
3585 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3594 pointer
-events
: auto
;
3596 #image-focus-overlay .slideshow-buttons button::selection {
3597 background
-color
: transparent
;
3599 @media only screen
and (hover
: hover
), not screen
and (-moz
-touch
-enabled
) {
3600 #image-focus-overlay .slideshow-buttons button:hover {
3601 background
-color
: rgba(0,0,0,0.1);
3605 #image-focus-overlay .slideshow-buttons button:active {
3609 #image-focus-overlay .slideshow-buttons button:disabled {
3611 background
-color
: transparent
;
3616 #image-focus-overlay .slideshow-button.previous.hidden {
3619 #image-focus-overlay .slideshow-button.next.hidden {
3623 /*=-----------------=*/
3624 /*= Background blur =*/
3625 /*=-----------------=*/
3631 /**************************/
3632 /* QUALIFIED HYPERLINKING */
3633 /**************************/
3635 #content.no-comments .comments,
3636 #content.no-comments .post-meta .comment-count,
3637 #content.no-comments .post-meta .karma,
3638 #content.no-comments + #ui-elements-container #new-comment-nav-ui,
3639 #content.no-comments + #ui-elements-container #hns-date-picker,
3640 #content.no-comments + #ui-elements-container #quick-nav-ui {
3644 #content.no-nav-bars #primary-bar,
3645 #content.no-nav-bars #secondary-bar {
3648 #content.no-nav-bars {
3651 #content.no-nav-bars + #ui-elements-container > * {
3658 left
: calc((100%
- 900px
) / 2 - 69px
);
3665 display
: table
-cell
;
3667 vertical
-align
: middle
;
3668 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3675 .qualified
-linking
{
3679 .qualified
-linking input
[type
='checkbox'] {
3685 .qualified
-linking label
{
3686 font
-family
: "Font Awesome", "Font Awesome 5 Free";
3690 display
: inline
-block
;
3691 margin
-left
: 0.25em
;
3693 .qualified
-linking label
:hover
{
3696 .qualified
-linking label
:active span
{
3697 display
: inline
-block
;
3698 transform
: scale(0.9);
3700 .qualified
-linking label
::selection
{
3701 background
-color
: transparent
;
3704 .qualified
-linking label
::after
{
3714 .qualified
-linking input
[type
='checkbox']:checked + label
::after
{
3718 .qualified
-linking
-toolbar
{
3724 .qualified
-linking input
[type
='checkbox'] ~
.qualified
-linking
-toolbar
{
3727 .qualified
-linking input
[type
='checkbox']:checked ~
.qualified
-linking
-toolbar
{
3730 #qualified-linking-toolbar-toggle-checkbox-bottom ~ .qualified-linking-toolbar {
3735 .qualified
-linking
-toolbar a
{
3740 .qualified
-linking
-toolbar a
::selection
{
3741 background
-color
: transparent
;
3748 .mathjax
-block
-container
{
3751 margin
: 1em
0 1.5em
0;
3753 .mathjax
-inline
-container
{
3755 display
: inline
-block
;
3759 vertical
-align
: text
-top
;
3762 .post
.mathjax
-inline
-container
{
3766 .comment
.mathjax
-inline
-container
{
3770 .mathjax
-inline
-container
.mjx
-chtml
{
3780 background
-color
: currentColor
;
3784 box
-shadow
: 0 0 0 1px currentColor inset
;
3787 .spoiler
:not(:last
-child
) {
3790 #content .spoiler * {
3796 background
-color
: unset;
3799 color
0.1s ease
-out
0.1s
,
3800 background
-color
0.1s ease
-out
0.1s
,
3801 text
-shadow
0.1s ease
-out
0.1s
;
3803 .spoiler
::selection
,
3804 .spoiler
::selection
{
3806 background
-color
: #000;
3808 .spoiler
:not(:hover
)::selection
,
3809 .spoiler
:not(:hover
) ::selection
{
3810 background
-color
: transparent
;
3813 /*= Fix for LessWrong being weird =*/
3818 .spoiler
> p
:first
-child
{
3821 .spoiler
> p
:last
-child
{
3823 padding
-bottom
: 0.25em
;
3825 .spoiler
> p
:hover ~ p
{
3826 background
-color
: currentColor
;
3831 .spoiler
> p
:not(:first
-child
) {
3834 .spoiler
> p
:not(:last
-child
) {
3835 padding
-bottom
: 0.5em
;
3838 /*******************/
3839 /* ALIGNMENT FORUM */
3840 /*******************/
3842 #content.alignment-forum-index-page::after {
3843 content
: "Alignment Forum";
3846 margin
: 0.375em
0 0 -0.375em
;
3849 /**********************/
3850 /* FOR NARROW SCREENS */
3851 /**********************/
3853 @media only screen
and (max
-width
: 1440px
) {
3856 padding
: 8px
10px
10px
10px
;
3860 #hns-date-picker::before {
3865 height
: calc(100% +
2px
);
3871 @media only screen
and (max
-width
: 1160px
) {
3872 #new-comment-nav-ui {
3880 #hns-date-picker::before {
3881 width
: calc(100%
- 35px
);
3883 #theme-selector button::before {
3887 #theme-selector:hover::after {
3891 width
: calc(6em
- 7px
);
3892 height
: calc(100% +
2px
);
3894 left
: calc(100% +
1px
);
3896 #anti-kibitzer-toggle {
3900 @media only screen
and (max
-width
: 1080px
) {
3904 #width-selector button {
3907 #text-size-adjustment-ui {
3911 #text-size-adjustment-ui button {
3915 #text-size-adjustment-ui button.increase {
3918 #text-size-adjustment-ui button.decrease {
3925 #theme-tweaker-toggle {
3929 #theme-tweaker-toggle button {
3937 #new-comment-nav-ui {
3943 #hns-date-picker::before {
3944 width
: calc(100%
- 22px
);
3946 #anti-kibitzer-toggle {
3950 @media only screen
and (max
-width
: 1040px
) {
3954 #new-comment-nav-ui {
3960 #hns-date-picker::before {
3961 width
: calc(100%
- 17px
);
3963 #anti-kibitzer-toggle {
3967 @media only screen
and (max
-width
: 1020px
) {
3971 #new-comment-nav-ui {
3974 #new-comment-nav-ui .new-comments-count::before {
3978 height
: calc(100% +
45px
);
3986 #hns-date-picker::before {
3989 #anti-kibitzer-toggle {
3993 @media only screen
and (max
-width
: 1000px
) {
4000 #theme-selector button {
4003 #text-size-adjustment-ui {
4007 @media not screen
and (hover
: none
), not screen
and (-moz
-touch
-enabled
) {
4009 #new-comment-nav-ui,
4010 #new-comment-nav-ui + #hns-date-picker,
4011 #anti-kibitzer-toggle {
4014 #quick-nav-ui:hover,
4015 #new-comment-nav-ui:hover,
4016 #new-comment-nav-ui + #hns-date-picker:hover,
4017 #new-comment-nav-ui + #hns-date-picker:focus-within,
4018 #new-comment-nav-ui:hover + #hns-date-picker,
4019 #anti-kibitzer-toggle:hover {
4023 #theme-tweaker-toggle {
4039 #ui-elements-container {
4045 #images-overlay + #content .post-body img {
4046 visibility
: visible
;
4051 #comments-sort-mode-selector {
4054 .comment
-minimize
-button
{
4057 .post
-meta
.qualified
-linking
,
4058 .post
-meta
.lw2
-link
{
4061 .comment
-meta
.permalink
,
4062 .comment
-meta
.lw2
-link
,
4063 .comment
-meta
.comment
-parent
-link
{
4066 .new-comment
::before
{
4074 <?php
include("style_mobile_additions.css.php"); ?
>
4076 <?php
if (isset($argv[2]) && preg_match("/\\.css(.php)?$/", $argv[2])) include($argv[2]); ?
>
4080 ## TO BE IMPLEMENTED:
4081 ## This will be specified via command-line argument; but for now, we just
4082 ## include all available additions (currently, only 'accordius').
4088 foreach ($additions as $addition) {
4089 $potential_includes = [
4091 "style_mobile_additions.css.php"
4093 foreach ($potential_includes as $include) {
4094 $include_path = "{$addition}/{$include}";
4095 if (file_exists($include_path))
4096 include ($include_path);