From 74b65dd83f7c66d1f67f961b1fee65400b1fc334 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Mon, 18 Nov 2024 23:18:18 +0300 Subject: Фикс темы под мобильные устройства MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/neonxp/assets/css/main.css | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) (limited to 'themes/neonxp/assets/css/main.css') 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 -- cgit v1.2.3