[scripts/markdown2htmldoc] fix image transparency in my theme

This commit is contained in:
Dmytro Meleshko 2021-05-30 18:06:37 +03:00
parent 2be34dfad7
commit 1bb6dac6b3
4 changed files with 13 additions and 4 deletions

View file

@ -74,7 +74,9 @@
.token.unit,
.token.attr-name,
.token.color.hexcode,
.token.list {
.token.list,
.token.nil,
.token.nil.keyword {
color: #f99157;
}

View file

@ -74,7 +74,9 @@
.token.unit,
.token.attr-name,
.token.color.hexcode,
.token.list {
.token.list,
.token.nil,
.token.nil.keyword {
color: var(--dotfiles-colorscheme-base-09);
}

File diff suppressed because one or more lines are too long

View file

@ -188,7 +188,7 @@ img {
max-width: 100%;
// Fixes manually specified widths for images.
box-sizing: content-box;
background-color: colorscheme.$base-01;
background-color: colorscheme.$bg;
&[align='left'],
&[align='right'] {
@ -383,6 +383,11 @@ table {
// rules does differently from just `width: 100%`.
width: max-content;
max-width: 100%;
// <https://github.com/primer/css/blob/63764f7edd59c5f4949c91e5373471aa8b0d4865/src/markdown/tables.scss#L32-L34>
img {
background-color: transparent;
}
}
th {