mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-21 20:03:18 -06:00
Move @media specializations section instead of previous commit
Reverts 960d1d24be
This commit is contained in:
parent
960d1d24be
commit
e6b5997dff
@ -306,60 +306,6 @@ h1 svg.icon {
|
||||
|
||||
/* }}} */
|
||||
|
||||
/* @media specializations {{{ */
|
||||
|
||||
/* Light mode */
|
||||
@media print,
|
||||
(prefers-color-scheme: light) {
|
||||
li.disabled {
|
||||
opacity: .25;
|
||||
}
|
||||
}
|
||||
|
||||
/* Print compatibility {{{ */
|
||||
@media print {
|
||||
.top,
|
||||
.section-header-link,
|
||||
.post-meta-edit-history,
|
||||
.prevnext,
|
||||
.share-buttons,
|
||||
.related-posts,
|
||||
.latest-posts {
|
||||
display: none;
|
||||
}
|
||||
|
||||
* {
|
||||
-webkit-print-color-adjust: exact !important;
|
||||
color-adjust: exact !important;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
table,
|
||||
aside,
|
||||
.code-block {
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
.table-of-contents {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table-of-contents.print {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#back-to-top {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
||||
/* }}} */
|
||||
|
||||
|
||||
/* Heading formatting (website title and article section headers) {{{ */
|
||||
|
||||
@ -709,11 +655,9 @@ h1 svg.icon {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media not print {
|
||||
.table-of-contents.print {
|
||||
display: none;
|
||||
padding: 8px 15px;
|
||||
}
|
||||
.table-of-contents.print {
|
||||
display: none;
|
||||
padding: 8px 15px;
|
||||
}
|
||||
|
||||
/* Social media share buttons */
|
||||
@ -986,3 +930,58 @@ aside.quote {
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
||||
|
||||
/* @media specializations {{{ */
|
||||
|
||||
/* Light mode */
|
||||
@media print,
|
||||
(prefers-color-scheme: light) {
|
||||
li.disabled {
|
||||
opacity: .25;
|
||||
}
|
||||
}
|
||||
|
||||
/* Print compatibility {{{ */
|
||||
@media print {
|
||||
.top,
|
||||
.section-header-link,
|
||||
.post-meta-edit-history,
|
||||
.prevnext,
|
||||
.share-buttons,
|
||||
.related-posts,
|
||||
.latest-posts {
|
||||
display: none;
|
||||
}
|
||||
|
||||
* {
|
||||
-webkit-print-color-adjust: exact !important;
|
||||
color-adjust: exact !important;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
table,
|
||||
aside,
|
||||
.code-block {
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
.table-of-contents {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table-of-contents.print {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#back-to-top {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user