Skip to content

Commit

Permalink
Stylesheet fixes, bump version
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Marques <[email protected]>
  • Loading branch information
gastmaier committed Sep 23, 2024
1 parent e438d74 commit 271d7c6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion adi_doctools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down
12 changes: 11 additions & 1 deletion adi_doctools/theme/cosmic/style/element.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion adi_doctools/theme/cosmic/style/print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
display: none !important;
}

body.light .highlight {
body .highlight {
background: none;
border: 1px solid var(--text-color3);
}
Expand All @@ -30,6 +30,7 @@
.banner, .search-area, .reverse {
display: none;
}

#right > span {
width: 100%;
}
Expand Down
6 changes: 3 additions & 3 deletions adi_doctools/theme/cosmic/style/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 271d7c6

Please sign in to comment.