From 42b7fc2f98df859d701037f94d2aaf08cf38cf34 Mon Sep 17 00:00:00 2001 From: Akira Takahashi Date: Fri, 22 Nov 2024 14:25:29 +0900 Subject: [PATCH] =?UTF-8?q?1=E3=83=9A=E3=83=BC=E3=82=B8=E7=9B=AE=E3=81=97?= =?UTF-8?q?=E3=81=8B=E5=8D=B0=E5=88=B7=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/kunai/site/layout.css | 16 +++++++++++++++- css/kunai/site/navbar.css | 12 ++++++++++++ css/kunai/site/sidebar.css | 23 +++++++++++++++++++++++ css/kunai/site/tree.css | 10 ++++++++++ 4 files changed, 60 insertions(+), 1 deletion(-) diff --git a/css/kunai/site/layout.css b/css/kunai/site/layout.css index 59f64ff..5b67bf9 100644 --- a/css/kunai/site/layout.css +++ b/css/kunai/site/layout.css @@ -38,7 +38,6 @@ body { } } - nav[role="navigation"] { display: flex; // min-height: 3rem; @@ -322,3 +321,18 @@ main { } } +@media print { + body { + overflow: visible; + } + + main { + overflow: visible; + + div[itemtype="http://schema.org/Article"], + div[itemtype="http://schema.org/Article"] + div { + overflow: visible; + } + } +} + diff --git a/css/kunai/site/navbar.css b/css/kunai/site/navbar.css index 2e2f413..b32308d 100644 --- a/css/kunai/site/navbar.css +++ b/css/kunai/site/navbar.css @@ -106,3 +106,15 @@ nav[role="navigation"] { } } + +@media print { + nav[role="navigation"] { + .navbar-brand { + > .title-wrapper { + &:before { + overflow: visible; + } + } + } + } +} diff --git a/css/kunai/site/sidebar.css b/css/kunai/site/sidebar.css index fa881b8..2c139a2 100644 --- a/css/kunai/site/sidebar.css +++ b/css/kunai/site/sidebar.css @@ -775,3 +775,26 @@ main[role="main"] .kunai-sidebar.force-legacy { } } +@media print { + .kunai-sidebar > .tree.v2 { + overflow: visible; + + ul.stackable { + > li.stack { + &.expanded:not(.empty) { + overflow: visible; + } + } + } + + > ul.root { + overflow: visible; + } + + ul.members { + > li.member { + overflow: visible; + } + } + } +} diff --git a/css/kunai/site/tree.css b/css/kunai/site/tree.css index ab4d8ec..1f6e76d 100644 --- a/css/kunai/site/tree.css +++ b/css/kunai/site/tree.css @@ -187,3 +187,13 @@ } } +@media print { + @mixin tree $cl-border { + a { + overflow: visible; + } + ul { + overflow: visible; + } + } +}