mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[scripts/markdown2htmldoc] fix image transparency in my theme
This commit is contained in:
parent
2be34dfad7
commit
1bb6dac6b3
4 changed files with 13 additions and 4 deletions
|
@ -74,7 +74,9 @@
|
||||||
.token.unit,
|
.token.unit,
|
||||||
.token.attr-name,
|
.token.attr-name,
|
||||||
.token.color.hexcode,
|
.token.color.hexcode,
|
||||||
.token.list {
|
.token.list,
|
||||||
|
.token.nil,
|
||||||
|
.token.nil.keyword {
|
||||||
color: #f99157;
|
color: #f99157;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,9 @@
|
||||||
.token.unit,
|
.token.unit,
|
||||||
.token.attr-name,
|
.token.attr-name,
|
||||||
.token.color.hexcode,
|
.token.color.hexcode,
|
||||||
.token.list {
|
.token.list,
|
||||||
|
.token.nil,
|
||||||
|
.token.nil.keyword {
|
||||||
color: var(--dotfiles-colorscheme-base-09);
|
color: var(--dotfiles-colorscheme-base-09);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -188,7 +188,7 @@ img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
// Fixes manually specified widths for images.
|
// Fixes manually specified widths for images.
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
background-color: colorscheme.$base-01;
|
background-color: colorscheme.$bg;
|
||||||
|
|
||||||
&[align='left'],
|
&[align='left'],
|
||||||
&[align='right'] {
|
&[align='right'] {
|
||||||
|
@ -383,6 +383,11 @@ table {
|
||||||
// rules does differently from just `width: 100%`.
|
// rules does differently from just `width: 100%`.
|
||||||
width: max-content;
|
width: max-content;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
||||||
|
// <https://github.com/primer/css/blob/63764f7edd59c5f4949c91e5373471aa8b0d4865/src/markdown/tables.scss#L32-L34>
|
||||||
|
img {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue