aboutsummaryrefslogtreecommitdiff
path: root/themes/neonxp/assets/css/main.css
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-11-18 23:18:18 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-11-18 23:18:18 +0300
commit74b65dd83f7c66d1f67f961b1fee65400b1fc334 (patch)
treedd9d5f0db2dbc733bcbbb04f98f0d18abf40031e /themes/neonxp/assets/css/main.css
parent1c1ae0094244868c63bd875c0cbfa50ced37de8d (diff)
Фикс темы под мобильные устройства
Diffstat (limited to 'themes/neonxp/assets/css/main.css')
-rw-r--r--themes/neonxp/assets/css/main.css39
1 files changed, 27 insertions, 12 deletions
diff --git a/themes/neonxp/assets/css/main.css b/themes/neonxp/assets/css/main.css
index 89ab654..23daadd 100644
--- a/themes/neonxp/assets/css/main.css
+++ b/themes/neonxp/assets/css/main.css
@@ -12,21 +12,36 @@
height: 64px;
}
-@media (min-width: 1030px) {
- .single-page {
- display: flex;
- flex-direction: row;
- gap: var(--pico-block-spacing-horizontal);
- }
+.print-footer {
+ display: none;
+}
+
+@media print {
.sidebar {
- min-width: 300px;
- height: auto;
+ display: none;
+ }
+ article {
+ border: 0
}
- .sidebar .toc {
- min-width: 300px;
+ article footer {
+ display: none;
+ }
+ .container>header {
+ display: none;
+ }
+ .container>footer {
+ display: none;
+ }
+ .comments {
+ display: none;
}
.h-entry {
- width: 100%;
- max-width: 1130px;
+ width: 100% !important;
+ }
+ .container {
+ width: 100% !important;
+ }
+ .print-footer {
+ display: block !important;
}
} \ No newline at end of file