Let content_body have margin-top when there is no header.
This commit is contained in:
parent
5b6621ea4e
commit
ad1655bf3e
1 changed files with 6 additions and 3 deletions
|
@ -122,10 +122,13 @@ pre
|
||||||
grid-auto-rows: min-content;
|
grid-auto-rows: min-content;
|
||||||
grid-gap: 8px;
|
grid-gap: 8px;
|
||||||
|
|
||||||
/*
|
|
||||||
8px all around except the top, where the header already has a margin.
|
|
||||||
*/
|
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
|
}
|
||||||
|
#header:not(.hidden) + #content_body
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
The header already has a margin.
|
||||||
|
*/
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue