default.css: fix white background on article children

main
Manos Pitsidianakis 2020-07-30 13:58:14 +03:00
parent 191cd7d883
commit ec2703e65e
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 9 additions and 8 deletions

View File

@ -292,7 +292,6 @@ main.article article {
grid-column: 1 / span 3;
grid-row: 2 / 3;
order:1;
background: var(--color-bg);
display: grid;
grid-template-columns: minmax(5vw, 1fr) minmax(auto, 65ch) minmax(5vw, 1fr);
}
@ -312,14 +311,16 @@ main.article div.right {
}
main.article article > figure,video,div.sourceCode {
grid-column: 1/ span 3;
margin: 0 auto 1rem auto;
max-width: max-content;
width: 100%;
overflow-x: auto;
grid-column: 1/ span 3;
margin: 0 auto 1rem auto;
max-width: max-content;
width: 100%;
overflow-x: auto;
background: var(--color-bg);
}
main.article article > p,hr,blockquote,dl,ul,ol,h1,h2,h3,h4,h5,h6,table,div.manual-text{
grid-column: 2/ span 1;
main.article article > p,hr,blockquote,dl,ul,ol,h1,h2,h3,h4,h5,h6,table,div.manual-text {
grid-column: 2/ span 1;
background: var(--color-bg);
}
main section {
background: var(--color-bg);