5 /* Hide the mobile elements on desktop screens: */
7 @media not screen
and (hover
: none
), not screen
and (-moz
-touch
-enabled
) {
9 #appearance-adjust-ui-toggle,
10 #theme-selector .theme-selector-close-button {
15 @media only screen
and (hover
: none
), only screen
and (-moz
-touch
-enabled
) {
17 /*====================*/
18 /* MOBILE UI ELEMENTS */
19 /*====================*/
21 #ui-elements-container {
25 #ui-elements-container > * {
32 #ui-elements-container > div[id$='-ui-toggle'] {
34 display
: inline
-block
;
38 #ui-elements-container > div[id$='-ui-toggle'] button,
39 #theme-selector .theme-selector-close-button {
40 font
-family
: Font Awesome
;
45 -webkit
-tap
-highlight
-color
: transparent
;
46 transition
: transform
0.2s ease
;
48 #ui-elements-container > div[id$='-ui-toggle'] button::selection,
49 #theme-selector .theme-selector-close-button::selection {
50 background
-color
: transparent
;
52 #ui-elements-container > div[id$='-ui-toggle'] button::-moz-focus-inner,
53 #theme-selector .theme-selector-close-button::-moz-focus-inner {
56 #ui-elements-container > div[id$='-ui-toggle'] button.engaged {
57 transform
: rotate(-90deg
);
61 #appearance-adjust-ui-toggle {
71 #theme-selector.engaged,
72 #quick-nav-ui.engaged,
73 #new-comment-nav-ui.engaged,
74 #hns-date-picker.engaged {
78 #image-focus-overlay.engaged {
81 #image-focus-overlay .help-overlay {
89 @media only screen
and (max
-width
: 900px
) {
92 #ui-elements-container {
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
);
153 @media only screen
and (max
-height
: 675px
) {
154 #theme-selector button {
157 #theme-selector button::after {
161 #theme-selector .theme-selector-close-button {
164 background
-color
: transparent
;
168 #theme-selector .theme-selector-close-button,
169 #theme-selector .theme-selector-close-button:focus,
170 #theme-selector .theme-selector-close-button:active,
171 #theme-selector .theme-selector-close-button:hover {
182 #theme-selector ~ #theme-tweaker-toggle {
185 #theme-selector ~ #theme-tweaker-toggle::after {
186 content
: "Open theme tweaker";
193 #theme-selector.engaged ~ #theme-tweaker-toggle {
202 visibility
0.2s ease
;
204 @media only screen
and (max
-height
: 675px
) {
205 #theme-selector.engaged ~ #theme-tweaker-toggle {
209 <?php
fit_content("#theme-selector.engaged ~ #theme-tweaker-toggle"); ?
>
210 #theme-selector.engaged ~ #theme-tweaker-toggle button {
218 /*======================*/
219 /* ANTI-KIBITZER TOGGLE */
220 /*======================*/
222 #theme-selector ~ #anti-kibitzer-toggle {
229 width
: calc(100vw
- 44px
);
232 pointer
-events
: none
;
234 #theme-selector.engaged ~ #anti-kibitzer-toggle {
240 visibility
0.2s ease
;
242 @media only screen
and (max
-height
: 675px
) {
243 #theme-selector.engaged ~ #anti-kibitzer-toggle {
247 #theme-selector.engaged ~ #anti-kibitzer-toggle button {
248 pointer
-events
: auto
;
249 display
: inline
-block
;
252 /*=================*/
253 /* QUICKNAV WIDGET */
254 /*=================*/
260 visibility
0.2s ease
;
265 #quick-nav-ui.engaged {
272 #quick-nav-ui a + a {
275 #quick-nav-ui a::after {
277 top
: calc(100% +
2px
);
284 text
-transform
: uppercase
;
287 <?php
fit_content("#quick-nav-ui a::after"); ?
>
288 #quick-nav-ui a[href='#top']::after {
292 #quick-nav-ui a[href='#comments']::after {
295 #content.post-page:not(.individual-thread-page) ~ #ui-elements-container #quick-nav-ui a[href='#comments'] {
297 transition
: visibility
0.2s ease
;
299 #content.post-page:not(.individual-thread-page) ~ #ui-elements-container #quick-nav-ui.engaged a[href='#comments'] {
302 #quick-nav-ui a[href='#bottom-bar']::after {
306 /*======================*/
307 /* NEW COMMENT QUICKNAV */
308 /*======================*/
310 #new-comment-nav-ui {
315 max
-height
0.2s ease
,
316 visibility
0.2s ease
;
321 #new-comment-nav-ui::before {
322 content
: "New Comments";
325 font
-size
: 0.5625rem
;
330 text
-transform
: uppercase
;
333 <?php
fit_content("#new-comment-nav-ui::before"); ?
>
334 #new-comment-nav-ui.engaged {
338 #new-comment-nav-ui .new-comment-sequential-nav-button {
343 #new-comment-nav-ui .new-comment-sequential-nav-button.new-comment-previous {
344 padding
: 2px
7px
3px
7px
;
346 #new-comment-nav-ui .new-comments-count {
347 padding
: 4px
0 5px
0;
349 #new-comment-nav-ui .new-comments-count::before {
352 #new-comment-nav-ui button::after {
359 text
-transform
: uppercase
;
360 pointer
-events
: none
;
362 #new-comment-nav-ui button.new-comment-previous::after {
366 #new-comment-nav-ui button.new-comment-next::after {
371 /*=================*/
372 /* HNS DATE PICKER */
373 /*=================*/
380 max
-height
0.2s ease
,
381 visibility
0.2s ease
;
383 #hns-date-picker.engaged {
386 #hns-date-picker::before {
387 width
: calc(100% +
2px
);
388 border
-width
: 1px
!important
;
398 #bottom-bar .nav-item {
402 #bottom-bar .nav-inner {
404 padding
: 1rem
0 1.25rem
0;
409 #content #bottom-bar .nav-item .nav-inner::before {
419 #bottom-bar .nav-inner::after {
422 text
-transform
: uppercase
;
430 #bottom-bar #nav-item-first .nav-inner::after {
431 content
: "First Page";
433 #bottom-bar #nav-item-prev .nav-inner::after {
434 content
: "Prev. Page";
436 #bottom-bar #nav-item-top .nav-inner::after {
439 #bottom-bar #nav-item-next .nav-inner::after {
440 content
: "Next Page";
442 #bottom-bar #nav-item-last .nav-inner::after {
443 content
: "Last Page";
446 @media only screen
and (max
-width
: 900px
) {
452 width
: calc(100% +
8px
);
455 .nav
-bar
.nav
-inner
::after
{
459 #primary-bar .nav-item {
462 #secondary-bar .nav-item:not(#nav-item-search) {
465 #primary-bar .nav-inner,
466 #secondary-bar .nav-inner {
467 text
-transform
: uppercase
;
470 #primary-bar .nav-inner::before,
471 #secondary-bar .nav-inner::before {
473 font
-family
: "Font Awesome";
478 #nav-item-home .nav-inner::before {
481 #nav-item-featured .nav-inner::before {
484 #nav-item-all .nav-inner::before {
487 #nav-item-meta .nav-inner::before {
490 #nav-item-recent-comments > * > span {
493 #nav-item-recent-comments .nav-inner::before {
496 #nav-item-archive .nav-inner::before {
499 #nav-item-about .nav-inner::before {
506 #nav-item-search .nav-inner::before {
509 #nav-item-search .nav-inner {
513 #nav-item-search input {
517 #nav-item-search button {
519 padding
: 5px
5px
5px
10px
;
524 #nav-item-search button::before {
526 font
-family
: Font Awesome
;
533 #nav-item-login .nav-inner::before {
537 @media only screen
and (max
-width
: 520px
) {
543 #nav-item-search .nav-inner {
546 #nav-item-search button {
550 #bottom-bar #nav-item-first .nav-inner::after {
553 #bottom-bar #nav-item-prev .nav-inner::after {
556 #bottom-bar #nav-item-next .nav-inner::after {
559 #bottom-bar #nav-item-last .nav-inner::after {
564 /*=================*/
565 /* INBOX INDICATOR */
566 /*=================*/
568 @media only screen
and (max
-width
: 900px
) {
572 pointer
-events
: none
;
574 #inbox-indicator::before {
580 #inbox-indicator.new-messages {
581 pointer
-events
: auto
;
583 #inbox-indicator.new-messages::before {
584 box
-shadow
: 0 0 8px
1px
#f00 inset;
587 @media only screen
and (max
-width
: 520px
) {
588 #inbox-indicator::before {
593 @media only screen
and (max
-width
: 374px
) {
594 #inbox-indicator::before {
599 /*===================*/
600 /* TOP PAGINATION UI */
601 /*===================*/
611 @media only screen
and (max
-width
: 900px
) {
612 #content > .page-toolbar {
616 #content.user-page > .page-toolbar {
617 grid
-column
: 2 / span
2;
621 @media only screen
and (max
-width
: 520px
) {
622 #content:not(.user-page) .page-toolbar {
624 flex
-direction
: column
-reverse
;
629 #content.user-page .page-toolbar {
632 justify
-content
: flex
-end
;
635 #content.user-page .page-toolbar > form,
636 #content.user-page .page-toolbar > .button {
641 #content.user-page .page-toolbar .button {
642 text
-transform
: uppercase
;
645 #content.user-page .page-toolbar .button::before {
650 #content.user-page .page-toolbar .rss {
665 @media only screen
and (max
-width
: 900px
) {
666 .sublevel
-nav
:not(.sort
) {
668 width
: calc(100vw
- 100px
);
670 .sublevel
-nav
:not(.sort
) .sublevel
-item
{
675 @media only screen
and (max
-width
: 720px
) {
676 .sublevel
-nav
:not(.sort
) {
677 width
: calc(100vw
- 200px
);
680 @media only screen
and (max
-width
: 520px
) {
681 .sublevel
-nav
:not(.sort
) {
682 width
: calc(100vw
- 100px
);
684 .sublevel
-nav
:not(.sort
) .sublevel
-item
{
689 /*=====================*/
690 /* SORT ORDER SELECTOR */
691 /*=====================*/
693 @media only screen
and (max
-width
: 720px
) {
694 #content.index-page > .sublevel-nav.sort {
704 @media only screen
and (max
-width
: 900px
) {
705 div
[class^
='archive-nav-'] {
707 justify
-content
: flex
-start
;
709 .archive
-nav
*[class^
='archive-nav-item'],
710 .archive
-nav
*[class^
='archive-nav-item']:first
-child
{
714 flex
: 0 1 calc((100%
/ 8) - 4px
);
716 .archive
-nav
.archive
-nav
-item
-day
,
717 .archive
-nav
.archive
-nav
-item
-day
:first
-child
{
718 flex
-basis
: calc((100%
/ 16) - 4px
);
720 .archive
-nav
> *[class^
='archive-nav-'] +
*[class^
='archive-nav-'] {
724 .archive
-nav
> *[class^
='archive-nav-'] +
*[class^
='archive-nav-']::before
{
729 width
: calc(100% +
8px
);
734 @media only screen
and (max
-width
: 720px
) {
735 .archive
-nav
.archive
-nav
-item
-day
,
736 .archive
-nav
.archive
-nav
-item
-day
:first
-child
{
737 flex
-basis
: calc((100%
/ 12) - 4px
);
740 @media only screen
and (max
-width
: 520px
) {
741 .archive
-nav
*[class^
='archive-nav-item'],
742 .archive
-nav
*[class^
='archive-nav-item']:first
-child
{
743 flex
-basis
: calc((100%
/ 5) - 4px
);
745 .archive
-nav
.archive
-nav
-item
-day
,
746 .archive
-nav
.archive
-nav
-item
-day
:first
-child
{
747 flex
-basis
: calc((100%
/ 8) - 4px
);
763 @media only screen
and (max
-width
: 720px
) {
764 #content.user-page h1.page-main-heading {
767 #content.user-page .user-stats {
777 @media only screen
and (max
-width
: 640px
) {
780 margin
: 0 auto
3em auto
;
783 .login
-container
#login-form,
784 .login
-container
#signup-form {
785 padding
: 0 1em
1.25em
1em
;
788 .login
-container
#signup-form {
791 .login
-container
#login-form > *,
792 .login
-container
#signup-form > * {
793 grid
-column
: 1 / span
2;
795 .login
-container form label
{
800 .login
-container form input
{
801 margin
: 0.25em
0 0.75em
0;
804 .login
-container form h1
{
805 grid
-column
: 1 / span
2;
806 margin
: 0 0 0.25em
0;
808 .login
-container form a
{
809 margin
: 0.75em
0 0 0;
811 .login
-container
.login
-tip
{
812 margin
: 1.5em
1em
0 1em
;
816 /*==================*/
817 /* POSTS & COMMENTS */
818 /*==================*/
827 @media only screen
and (max
-width
: 720px
) {
828 .post
-meta
.lw2
-link span
,
829 .post
-meta
.karma
-value span
,
830 .post
-meta
.comment
-count span
{
833 .post
-meta
.comment
-count
::before
{
835 font
-family
: Font Awesome
;
837 margin
: 0 0.25em
0 0;
846 @media only screen
and (max
-width
: 900px
) {
852 @media only screen
and (max
-width
: 520px
) {
866 @media only screen
and (max
-width
: 900px
) {
879 a
.comment
-parent
-link
::after
{
882 @media only screen
and (max
-width
: 900px
) {
884 padding
: 2px
40px
2px
10px
;
887 @media only screen
and (max
-width
: 720px
) {
888 .comment
-meta
.karma
-value span
{
891 .comment
-meta
.comment
-parent
-link
{
895 @media only screen
and (max
-width
: 520px
) {
900 .comment
-meta
.author
{
903 .comment
-post
-title2
{
905 text
-overflow
: ellipsis
;
908 .comment
-meta
.lw2
-link
{
913 /*=======================*/
914 /* COMMENTS COMPACT VIEW */
915 /*=======================*/
917 /*===========================*/
918 /* COMMENT THREAD NAVIGATION */
919 /*===========================*/
921 @media only screen
and (max
-width
: 900px
) {
922 a
.comment
-parent
-link
{
927 a
.comment
-parent
-link
::before
{
932 line
-height
: inherit
;
935 transform
: scaleX(-1);
940 @media only screen
and (max
-width
: 520px
) {
941 a
.comment
-parent
-link
{
944 a
.comment
-parent
-link
::before
{
954 /*=================================*/
955 /* COMMENT THREAD MINIMIZE BUTTONS */
956 /*=================================*/
958 @media only screen
and (max
-width
: 520px
) {
959 .comment
-minimize
-button
{
964 /*===========================*/
965 /* COMMENTING AND POSTING UI */
966 /*===========================*/
968 @media only screen
and (max
-width
: 900px
) {
969 .comment
-controls
.cancel
-comment
-button
{
972 margin
-right
: 0.125em
;
974 .comment
-controls
.edit
-button
::before
{
977 .comments
> .comment
-controls
.cancel
-comment
-button
{
980 .comment
-controls
.cancel
-comment
-button
::before
{
984 @media only screen
and (max
-width
: 520px
) {
988 .comment
-controls
:focus
-within
{
991 .comment
-controls
.cancel
-comment
-button
{
994 .textarea
-container
:focus
-within textarea
{
998 width
: calc(100vw
- 4px
);
999 height
: calc(100%
- 100px
);
1005 #content.conversation-page .textarea-container:focus-within textarea {
1006 height
: calc(100%
- 54px
);
1008 #content.conversation-page .textarea-container:focus-within::after {
1018 .textarea
-container
:focus
-within
.guiedit
-buttons
-container
{
1024 background
-image
: none
;
1025 padding
: 3px
4px
4px
4px
;
1031 .textarea
-container
:focus
-within button
.guiedit
{
1032 font
-size
: 0.9375rem
;
1035 width
: calc((100%
/ 10) - 2px
);
1036 padding
: 10px
1px
8px
0;
1040 .textarea
-container
:focus
-within
.guiedit
-mobile
-auxiliary
-button
{
1044 width
: calc(((100%
- 16px
) / 10) * 2.5 - 7px
);
1046 padding
: 5px
5px
6px
5px
;
1049 .textarea
-container
:focus
-within button
.guiedit sup
{
1051 left
: calc(50% +
0.65em
);
1052 top
: calc(50%
- 1.3em
);
1054 .textarea
-container
:focus
-within
.guiedit
-mobile
-help
-button
{
1057 .textarea
-container
:focus
-within
.guiedit
-mobile
-exit-button
{
1065 #edit-post-form #markdown-hints {
1072 padding
: 4px
0 4px
8px
;
1075 border
-style
: double;
1076 pointer
-events
: none
;
1078 #markdown-hints::after {
1079 content
: "(Type to hide this help box.)";
1082 margin
: 12px
18px
13px
10px
;
1089 /*================*/
1090 /* EDIT POST FORM */
1091 /*================*/
1093 @media only screen
and (max
-width
: 520px
) {
1097 #edit-post-form .post-meta-fields {
1098 grid
-template
-columns
: 4.5em auto auto auto
1fr auto
;
1100 #edit-post-form label[for='url'],
1101 #edit-post-form label[for='section'],
1102 #edit-post-form label[for='title'] {
1105 #edit-post-form .post-meta-fields input[type='checkbox'] + label {
1106 white
-space
: normal
;
1109 font
-family
: Font Awesome
;
1111 justify
-self
: start
;
1113 #edit-post-form .post-meta-fields .question-checkbox,
1114 #edit-post-form .post-meta-fields .question-checkbox + label {
1118 #edit-post-form .post-meta-fields input[type='radio'] + label {
1121 #edit-post-form .textarea-container:focus-within textarea {
1122 height
: calc(100%
- 101px
);
1126 #markdown-hints-checkbox,
1127 #markdown-hints-checkbox + label {
1131 #edit-post-form div:last-child {
1135 #edit-post-form input[type='submit'] {
1139 margin
: 1rem auto
1.5rem auto
;
1140 padding
: 6px
12px
8px
12px
;
1144 /*===================*/
1145 /* TABLE OF CONTENTS */
1146 /*===================*/
1148 @media only screen
and (max
-width
: 900px
) {
1157 @media only screen
and (max
-width
: 520px
) {
1160 margin
: 1em auto
0 auto
;
1166 div
.post
-body
.contents ul
{
1171 /*========================*/
1172 /* QUALIFIED HYPERLINKING */
1173 /*========================*/
1175 @media only screen
and (max
-width
: 520px
) {
1176 .qualified
-linking
-toolbar
{
1181 } /* END MOBILE LAYOUT */