Skip to content

Commit

Permalink
Tune only-dark/light CSS, 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 May 31, 2024
1 parent 7ed1732 commit 95527ca
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion adi_doctools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .role import setup as role_setup
from .lut import get_lut

__version__ = "0.3.33"
__version__ = "0.3.34"

logger = logging.getLogger(__name__)

Expand Down
18 changes: 15 additions & 3 deletions adi_doctools/theme/cosmic/style/element.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ a {
}

.body {
p a, a.reference.internal, aside a {
p a, a.reference.internal:not(.image-reference), aside a {
color: var(--accent-color);
border-bottom: 1px solid rgba(125, 125, 125, .25);
}
Expand Down Expand Up @@ -231,12 +231,24 @@ iframe {
}
}

.image-reference {
text-align: center;
}

.only-dark, .only-light, #badges img {
background: none !important;
}

#badges img {
display: inline-block !important;
}

.only-light {
display: var(--display-light);
display: var(--display-light) !important;
}

.only-dark {
display: var(--display-dark);
display: var(--display-dark) !important;
}

figcaption p {
Expand Down

0 comments on commit 95527ca

Please sign in to comment.