diff --git a/adi_doctools/__init__.py b/adi_doctools/__init__.py index df64faa..f84c350 100644 --- a/adi_doctools/__init__.py +++ b/adi_doctools/__init__.py @@ -12,7 +12,7 @@ from .lut import get_lut from .role.interref import interref_repos_apply -__version__ = "0.3.43" +__version__ = "0.3.44" logger = logging.getLogger(__name__) diff --git a/adi_doctools/theme/cosmic/style/element.scss b/adi_doctools/theme/cosmic/style/element.scss index 2fe3093..f4ef422 100644 --- a/adi_doctools/theme/cosmic/style/element.scss +++ b/adi_doctools/theme/cosmic/style/element.scss @@ -221,11 +221,21 @@ iframe { } } -@media (max-width: $screen-1) { +@media (max-width: $screen-2) { .iframe-video { width: 100%; overflow: hidden; } +} + +@media (min-width: $screen-1) and (max-width: $screen-2) { + .iframe-video iframe { + width: calc(100vw - 20rem); + height: calc(56.25vw - 11.25rem); + } +} + +@media (max-width: $screen-1) { .iframe-video iframe { width: calc(100vw - 2rem); height: calc(56.25vw - 1.125rem); diff --git a/adi_doctools/theme/cosmic/style/print.scss b/adi_doctools/theme/cosmic/style/print.scss index 03bb4a7..9265ed8 100644 --- a/adi_doctools/theme/cosmic/style/print.scss +++ b/adi_doctools/theme/cosmic/style/print.scss @@ -17,7 +17,7 @@ display: none !important; } - body.light .highlight { + body .highlight { background: none; border: 1px solid var(--text-color3); } @@ -30,6 +30,7 @@ .banner, .search-area, .reverse { display: none; } + #right > span { width: 100%; } diff --git a/adi_doctools/theme/cosmic/style/sidebar.scss b/adi_doctools/theme/cosmic/style/sidebar.scss index ea37302..789d642 100644 --- a/adi_doctools/theme/cosmic/style/sidebar.scss +++ b/adi_doctools/theme/cosmic/style/sidebar.scss @@ -174,7 +174,7 @@ display: inline-block; line-height: 1.75em; width: 100%; - padding-left: .75em; + padding: 0 .5em 0 .75em; margin-left: -.75em; border-radius: $border-radius-extra; font-size: .9em; @@ -248,13 +248,13 @@ } a:not(.current) { - letter-spacing: .025em; + letter-spacing: .005em; } a.current { color: var(--accent-color); font-weight: bold; - letter-spacing: -.01em; + letter-spacing: -.008em; } nav {