5 /* Hide the mobile elements on desktop screens: */
7 @media only screen
and (max
-width
: 1160px
) {
9 #appearance-adjust-ui-toggle {
14 @media only screen
and (max
-width
: 1160px
) {
16 /*====================*/
17 /* MOBILE UI ELEMENTS */
18 /*====================*/
20 #ui-elements-container {
21 height
: unset !important
;
24 #ui-elements-container > * {
31 #ui-elements-container > div[id$='-ui-toggle'] {
33 display
: inline
-block
;
37 #ui-elements-container > div[id$='-ui-toggle'] button,
38 #theme-selector .theme-selector-close-button {
39 font
-family
: Font Awesome
;
44 -webkit
-tap
-highlight
-color
: transparent
;
45 transition
: transform
0.2s ease
;
47 #ui-elements-container > div[id$='-ui-toggle'] button::selection,
48 #theme-selector .theme-selector-close-button::selection {
49 background
-color
: transparent
;
51 #ui-elements-container > div[id$='-ui-toggle'] button::-moz-focus-inner,
52 #theme-selector .theme-selector-close-button::-moz-focus-inner {
55 #ui-elements-container > div[id$='-ui-toggle'] button.engaged {
56 transform
: rotate(-90deg
);
60 #appearance-adjust-ui-toggle {
70 #theme-selector.engaged,
71 #quick-nav-ui.engaged,
72 #new-comment-nav-ui.engaged,
73 #hns-date-picker.engaged {
77 #image-focus-overlay.engaged {
80 #image-focus-overlay .help-overlay {
88 @media only screen
and (max
-width
: 900px
) {
91 #ui-elements-container {
107 background
-color
: #fff;
108 width
: calc(100vw
- 20px
);
115 max
-height
0.2s ease
,
116 visibility
0.2s ease
;
117 top
: calc(100% +
10px
);
122 #theme-selector.engaged {
127 #theme-selector::before {
128 content
: "Select theme";
133 margin
: 0.375em
1em
0.5em
1em
;
136 #theme-selector button {
137 width
: calc(100%
- 0.5em
);
138 background
-repeat
: no
-repeat
;
139 padding
: 1em
0.875em
;
145 #theme-selector button::after {
146 content
: attr(data
-theme
-description
);
154 @media only screen
and (max
-height
: 675px
) {
155 #theme-selector button {
158 #theme-selector button::after {
162 #theme-selector .theme-selector-close-button {
165 background
-color
: transparent
;
171 #theme-selector .theme-selector-close-button,
172 #theme-selector .theme-selector-close-button:focus,
173 #theme-selector .theme-selector-close-button:active,
174 #theme-selector .theme-selector-close-button:hover {
178 #theme-selector .interaction-blocker-overlay {
185 pointer
-events
: auto
;
188 #theme-selector .interaction-blocker-overlay.enabled {
192 /*=============================*/
193 /* THEME SELECTOR AUX CONTROLS */
194 /*=============================*/
196 #theme-selector .auxiliary-controls-container {
198 justify
-content
: space
-between
;
199 align
-items
: stretch
;
200 padding
: 0.75em
0 0 0;
202 border
-top
: 1px solid
#000;
209 #theme-selector #theme-tweaker-toggle {
216 #theme-selector #theme-tweaker-toggle button {
222 background
-image
: none
;
223 padding
: 0.5em
0.625em
0.375em
0.625em
;
227 #theme-selector #theme-tweaker-toggle button::after {
228 content
: "Theme tweaker";
237 font
-family
: <?php
echo $UI_font; ?
>;
240 #theme-selector #theme-tweaker-toggle button::before {
248 /*======================*/
249 /* ANTI-KIBITZER TOGGLE */
250 /*======================*/
252 #theme-selector #anti-kibitzer-toggle {
260 border
-radius
: unset;
264 #theme-selector #anti-kibitzer-toggle button {
269 background
-image
: unset;
272 #theme-selector #anti-kibitzer-toggle button::before {
279 #theme-selector #anti-kibitzer-toggle button::after {
280 content
: "\F007\2004\F164";
285 /*====================*/
286 /* DARK MODE SELECTOR */
287 /*====================*/
289 #theme-selector #dark-mode-selector {
296 #theme-selector #dark-mode-selector button {
300 padding
: 0 0 0.75em
0;
302 background
-image
: none
;
305 background
-color
: transparent
;
307 #theme-selector #dark-mode-selector button::before {
310 #theme-selector #dark-mode-selector button::after {
311 content
: attr(data
-name
);
321 padding
: 0 0.25em
0.5em
0.25em
;
325 /*=================*/
326 /* QUICKNAV WIDGET */
327 /*=================*/
333 visibility
0.2s ease
;
338 #quick-nav-ui.engaged {
345 #quick-nav-ui a + a {
348 #quick-nav-ui a::after {
350 top
: calc(100% +
2px
);
357 text
-transform
: uppercase
;
360 <?php
fit_content("#quick-nav-ui a::after"); ?
>
361 #quick-nav-ui a[href='#top']::after {
365 #quick-nav-ui a[href='#comments']::after {
368 #content.post-page:not(.individual-thread-page) ~ #ui-elements-container #quick-nav-ui a[href='#comments'] {
370 transition
: visibility
0.2s ease
;
372 #content.post-page:not(.individual-thread-page) ~ #ui-elements-container #quick-nav-ui.engaged a[href='#comments'] {
375 #quick-nav-ui a[href='#bottom-bar']::after {
379 /*======================*/
380 /* NEW COMMENT QUICKNAV */
381 /*======================*/
383 #new-comment-nav-ui {
388 max
-height
0.2s ease
,
389 visibility
0.2s ease
;
394 #new-comment-nav-ui::before {
395 content
: "New Comments";
398 font
-size
: 0.5625rem
;
403 text
-transform
: uppercase
;
406 <?php
fit_content("#new-comment-nav-ui::before"); ?
>
407 #new-comment-nav-ui.engaged {
411 #new-comment-nav-ui .new-comment-sequential-nav-button {
416 #new-comment-nav-ui .new-comment-sequential-nav-button.new-comment-previous {
417 padding
: 2px
7px
3px
7px
;
419 #new-comment-nav-ui .new-comments-count {
420 padding
: 4px
0 5px
0;
422 #new-comment-nav-ui .new-comments-count::before {
425 #new-comment-nav-ui button::after {
432 text
-transform
: uppercase
;
433 pointer
-events
: none
;
435 #new-comment-nav-ui button.new-comment-previous::after {
439 #new-comment-nav-ui button.new-comment-next::after {
444 /*=================*/
445 /* HNS DATE PICKER */
446 /*=================*/
453 max
-height
0.2s ease
,
454 visibility
0.2s ease
;
456 #hns-date-picker.engaged {
459 #hns-date-picker::before {
460 width
: calc(100% +
2px
);
461 border
-width
: 1px
!important
;
471 width
: calc(100%
- 9rem +
8px
);
472 background
: rgba(255,255,255,0.85);
473 backdrop
-filter
: blur(1px
);
475 #content.index-page #bottom-bar {
478 #bottom-bar .nav-item {
482 #bottom-bar .nav-inner {
484 padding
: 1rem
0 1.25rem
0;
489 #content #bottom-bar .nav-item .nav-inner::before {
499 #bottom-bar .nav-inner::after {
502 text
-transform
: uppercase
;
510 #bottom-bar #nav-item-first .nav-inner::after {
511 content
: "First Page";
513 #bottom-bar #nav-item-prev .nav-inner::after {
514 content
: "Prev. Page";
516 #bottom-bar #nav-item-top .nav-inner::after {
519 #bottom-bar #nav-item-next .nav-inner::after {
520 content
: "Next Page";
522 #bottom-bar #nav-item-last .nav-inner::after {
523 content
: "Last Page";
526 @media only screen
and (max
-width
: 900px
) {
531 width
: calc(100% +
8px
);
535 .nav
-bar
.nav
-inner
::after
{
539 #primary-bar .nav-item {
542 .nav
-bar
-top
:not(#primary-bar) .nav-item:not(#nav-item-search) {
545 .nav
-bar
-top
:not(#anything) .nav-inner {
546 text
-transform
: uppercase
;
549 .nav
-bar
-top
.nav
-inner
::before
{
551 font
-family
: "Font Awesome";
556 #nav-item-home .nav-inner::before {
559 #nav-item-featured .nav-inner::before {
562 #nav-item-all .nav-inner::before {
565 #nav-item-meta .nav-inner::before {
568 #nav-item-tags .nav-inner::before {
571 #nav-item-recent-comments > * > span {
574 #nav-item-recent-comments .nav-inner::before,
575 #nav-item-alignment-forum-comments .nav-inner::before {
578 #nav-item-alignment-forum .nav-inner::before {
580 font
-family
: Concourse
, 'Changa One';
582 #nav-item-questions .nav-inner::before {
584 font
-family
: Concourse
, 'Changa One';
586 #nav-item-events .nav-inner::before {
589 #nav-item-shortform .nav-inner::before {
592 #nav-item-archive .nav-inner::before {
595 #nav-item-about .nav-inner::before {
602 #nav-item-search .nav-inner::before {
605 #nav-item-search .nav-inner {
609 #nav-item-search input {
613 #nav-item-search button {
615 padding
: 5px
5px
5px
10px
;
620 #nav-item-search button::before {
622 font
-family
: Font Awesome
;
629 #nav-item-login .nav-inner::before {
633 @media only screen
and (max
-width
: 520px
) {
639 #nav-item-search .nav-inner {
642 #nav-item-search button {
646 #bottom-bar #nav-item-first .nav-inner::after {
649 #bottom-bar #nav-item-prev .nav-inner::after {
652 #bottom-bar #nav-item-next .nav-inner::after {
655 #bottom-bar #nav-item-last .nav-inner::after {
660 /*=================*/
661 /* INBOX INDICATOR */
662 /*=================*/
664 @media only screen
and (max
-width
: 900px
) {
668 pointer
-events
: none
;
670 #inbox-indicator::before {
676 #inbox-indicator.new-messages {
677 pointer
-events
: auto
;
679 #inbox-indicator.new-messages::before {
680 box
-shadow
: 0 0 8px
1px
#f00 inset;
683 @media only screen
and (max
-width
: 520px
) {
684 #inbox-indicator::before {
689 @media only screen
and (max
-width
: 374px
) {
690 #inbox-indicator::before {
695 /*===================*/
696 /* TOP PAGINATION UI */
697 /*===================*/
707 @media only screen
and (max
-width
: 900px
) {
708 #content > .page-toolbar {
712 #content.user-page > .page-toolbar {
713 grid
-column
: 2 / span
2;
717 @media only screen
and (max
-width
: 520px
) {
718 #content:not(.user-page) .page-toolbar {
720 flex
-direction
: column
-reverse
;
725 #content.user-page .page-toolbar {
728 justify
-content
: flex
-end
;
731 #content.user-page .page-toolbar > form,
732 #content.user-page .page-toolbar > .button {
737 #content.user-page .page-toolbar .button {
738 text
-transform
: uppercase
;
741 #content.user-page .page-toolbar .button::before {
746 #content.user-page .page-toolbar .rss {
761 @media only screen
and (max
-width
: 900px
) {
762 .sublevel
-nav
:not(.sort
) {
764 width
: calc(100vw
- 200px
);
766 .sublevel
-nav
:not(.sort
) .sublevel
-item
{
771 @media only screen
and (max
-width
: 520px
) {
772 .sublevel
-nav
:not(.sort
) .sublevel
-item
{
777 /*=====================*/
778 /* SORT ORDER SELECTOR */
779 /*=====================*/
781 @media only screen
and (max
-width
: 720px
) {
782 #content.index-page > .sublevel-nav.sort {
792 @media only screen
and (max
-width
: 900px
) {
793 div
[class^
='archive-nav-'] {
795 justify
-content
: flex
-start
;
797 .archive
-nav
*[class^
='archive-nav-item'],
798 .archive
-nav
*[class^
='archive-nav-item']:first
-child
{
802 flex
: 0 1 calc((100%
/ 8) - 4px
);
804 .archive
-nav
.archive
-nav
-item
-day
,
805 .archive
-nav
.archive
-nav
-item
-day
:first
-child
{
806 flex
-basis
: calc((100%
/ 16) - 4px
);
808 .archive
-nav
> *[class^
='archive-nav-'] +
*[class^
='archive-nav-'] {
812 .archive
-nav
> *[class^
='archive-nav-'] +
*[class^
='archive-nav-']::before
{
817 width
: calc(100% +
8px
);
822 @media only screen
and (max
-width
: 720px
) {
823 .archive
-nav
.archive
-nav
-item
-day
,
824 .archive
-nav
.archive
-nav
-item
-day
:first
-child
{
825 flex
-basis
: calc((100%
/ 12) - 4px
);
828 @media only screen
and (max
-width
: 520px
) {
829 .archive
-nav
*[class^
='archive-nav-item'],
830 .archive
-nav
*[class^
='archive-nav-item']:first
-child
{
831 flex
-basis
: calc((100%
/ 5) - 4px
);
833 .archive
-nav
.archive
-nav
-item
-day
,
834 .archive
-nav
.archive
-nav
-item
-day
:first
-child
{
835 flex
-basis
: calc((100%
/ 8) - 4px
);
851 #content.user-page h1.page-main-heading {
854 @media only screen
and (max
-width
: 520px
) {
855 #content.user-page h1.page-main-heading {
857 text
-overflow
: ellipsis
;
859 #content.user-page .user-stats .karma-type {
868 @media only screen
and (max
-width
: 640px
) {
871 margin
: 0 auto
3em auto
;
874 .login
-container
#login-form,
875 .login
-container
#signup-form {
876 padding
: 0 1em
1.25em
1em
;
879 .login
-container
#signup-form {
882 .login
-container
#login-form > *,
883 .login
-container
#signup-form > * {
884 grid
-column
: 1 / span
2;
886 .login
-container form label
{
891 .login
-container form input
{
892 margin
: 0.25em
0 0.75em
0;
895 .login
-container form h1
{
896 grid
-column
: 1 / span
2;
897 margin
: 0 0 0.25em
0;
899 .login
-container form a
{
900 margin
: 0.75em
0 0 0;
902 .login
-container
.login
-tip
{
903 margin
: 1.5em
1em
0 1em
;
907 /*==================*/
908 /* POSTS & COMMENTS */
909 /*==================*/
911 @media only screen
and (max
-width
: 720px
) {
913 padding
: 0 0 0 2.25em
;
915 .body
-text ol
> li
::before
{
918 .body
-text ul
:not(.contents
-list) > li
,
919 .body
-text ul
:not(.contents
-list) > li ul
> li
{
920 padding
: 0 0 0 0.75em
;
922 .body
-text ul
:not(.contents
-list) > li
::before
,
923 .body
-text ul
:not(.contents
-list) > li ul
> li
::before
{
925 margin
-left
: -0.06em
;
936 @media only screen
and (max
-width
: 720px
) {
937 .post
-meta
.lw2
-link span
,
938 .post
-meta
.karma
-value span
,
939 .post
-meta
.comment
-count span
{
942 .post
-meta
.comment
-count
::before
{
944 font
-family
: Font Awesome
;
946 margin
: 0 0.25em
0 0;
951 /*===================*/
952 /* POSTS & BODY TEXT */
953 /*===================*/
955 @media only screen
and (max
-width
: 900px
) {
963 @media only screen
and (max
-width
: 520px
) {
977 a
.comment
-parent
-link
::after
{
980 @media only screen
and (max
-width
: 900px
) {
982 padding
: 2px
40px
2px
10px
;
985 @media only screen
and (max
-width
: 720px
) {
986 .comment
.karma
-value span
{
989 .comment
-meta
.comment
-parent
-link
{
993 @media only screen
and (max
-width
: 520px
) {
995 padding
: 2px
24px
2px
10px
;
1001 .comment
-meta
> :not(.author
) {
1004 .comment
-meta
.author
,
1005 .comment
-meta
.date
{
1008 .comment
-meta
:before
{
1013 .comment
-post
-title2
{
1015 text
-overflow
: ellipsis
;
1018 .comment
-meta
.lw2
-link
{
1023 /*=======================*/
1024 /* COMMENTS COMPACT VIEW */
1025 /*=======================*/
1027 /*===========================*/
1028 /* COMMENT THREAD NAVIGATION */
1029 /*===========================*/
1031 @media only screen
and (max
-width
: 900px
) {
1032 a
.comment
-parent
-link
{
1037 a
.comment
-parent
-link
::before
{
1042 line
-height
: inherit
;
1043 visibility
: visible
;
1045 transform
: scaleX(-1);
1050 @media only screen
and (max
-width
: 520px
) {
1051 a
.comment
-parent
-link
{
1054 a
.comment
-parent
-link
::before
{
1064 /*=================================*/
1065 /* COMMENT THREAD MINIMIZE BUTTONS */
1066 /*=================================*/
1068 @media only screen
and (max
-width
: 520px
) {
1069 .comment
-minimize
-button
{
1074 /*===========================*/
1075 /* COMMENTING AND POSTING UI */
1076 /*===========================*/
1078 @media only screen
and (max
-width
: 900px
) {
1079 .comment
-controls
.delete
-button
, .comment
-controls
.retract
-button
, .comment
-controls
.unretract
-button
, .comment
-controls
.edit
-button
{
1082 .comment
-controls
.delete
-button
::before
, .comment
-controls
.retract
-button
::before
, .comment
-controls
.unretract
-button
::before
, .comment
-controls
.edit
-button
::before
{
1085 .comment
-controls
.cancel
-comment
-button
{
1088 margin
-right
: 0.125em
;
1090 .comment
-controls
.edit
-button
::before
{
1091 font
-size
: 0.9375rem
;
1093 .comments
> .comment
-controls
.cancel
-comment
-button
{
1096 .comment
-controls
.cancel
-comment
-button
::before
{
1100 @media only screen
and (max
-width
: 520px
) {
1104 .comment
-controls
:focus
-within
{
1107 .comment
-controls
.cancel
-comment
-button
{
1110 .textarea
-container
:focus
-within textarea
{
1114 width
: calc(100vw
- 4px
);
1115 height
: calc(100%
- 100px
);
1121 #content.conversation-page .textarea-container:focus-within textarea {
1122 height
: calc(100%
- 54px
);
1124 #content.conversation-page .textarea-container:focus-within::after {
1134 .textarea
-container
:focus
-within
.guiedit
-buttons
-container
{
1140 background
-image
: none
;
1141 padding
: 3px
4px
4px
4px
;
1147 .textarea
-container
:focus
-within button
.guiedit
{
1148 font
-size
: 0.9375rem
;
1151 width
: calc((100%
/ 10) - 2px
);
1152 padding
: 10px
1px
8px
0;
1156 .textarea
-container
:focus
-within
.guiedit
-mobile
-auxiliary
-button
{
1160 width
: calc(((100%
- 16px
) / 10) * 2.5 - 7px
);
1162 padding
: 5px
5px
6px
5px
;
1165 .textarea
-container
:focus
-within button
.guiedit sup
{
1167 left
: calc(50% +
0.65em
);
1168 top
: calc(50%
- 1.3em
);
1170 .textarea
-container
:focus
-within
.guiedit
-mobile
-help
-button
{
1173 .textarea
-container
:focus
-within
.guiedit
-mobile
-exit-button
{
1181 #edit-post-form #markdown-hints {
1188 padding
: 4px
0 4px
8px
;
1191 border
-style
: double;
1192 pointer
-events
: none
;
1194 #markdown-hints::after {
1195 content
: "(Type to hide this help box.)";
1198 margin
: 12px
18px
13px
10px
;
1205 /*================*/
1206 /* EDIT POST FORM */
1207 /*================*/
1209 @media only screen
and (max
-width
: 520px
) {
1213 #edit-post-form .post-meta-fields {
1214 grid
-template
-columns
: 4.5em auto auto auto
1fr auto
;
1216 #edit-post-form label[for='url'],
1217 #edit-post-form label[for='section'],
1218 #edit-post-form label[for='title'] {
1221 #edit-post-form .post-meta-fields input[type='checkbox'] + label.iconify {
1222 white
-space
: normal
;
1225 font
-family
: Font Awesome
;
1227 justify
-self
: start
;
1229 #edit-post-form .post-meta-fields .question-checkbox,
1230 #edit-post-form .post-meta-fields .question-checkbox + label {
1234 #edit-post-form .post-meta-fields input[type='radio'] + label {
1237 #edit-post-form .textarea-container:focus-within textarea {
1238 height
: calc(100%
- 101px
);
1242 #markdown-hints-checkbox,
1243 #markdown-hints-checkbox + label {
1247 #edit-post-form div:last-child {
1251 #edit-post-form input[type='submit'] {
1255 margin
: 1rem auto
1.5rem auto
;
1256 padding
: 6px
12px
8px
12px
;
1259 #edit-post-form .textarea-container .autocomplete-container,
1260 .comment
-controls
.textarea
-container
.autocomplete
-container
{
1261 max
-height
: calc(50vh
- 101px
);
1271 /*===================*/
1272 /* TABLE OF CONTENTS */
1273 /*===================*/
1275 @media only screen
and (max
-width
: 900px
) {
1283 .contents
.collapsed
{
1288 @media only screen
and (max
-width
: 520px
) {
1291 margin
: 1em auto
0 auto
;
1294 .contents
.collapsed
{
1301 div
.post
-body
.contents ul
{
1306 /*========================*/
1307 /* QUALIFIED HYPERLINKING */
1308 /*========================*/
1310 @media only screen
and (max
-width
: 520px
) {
1311 .qualified
-linking
-toolbar
{
1316 } /* END MOBILE LAYOUT */