fixed header to top of the screen, may revert
This commit is contained in:
parent
125765280c
commit
278973b18d
1 changed files with 2 additions and 1 deletions
|
@ -23,12 +23,13 @@ a:hover {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: block flex;
|
display: block flex;
|
||||||
margin: 1em;
|
margin: calc(24px + 3em) 1em 1em 1em;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
/* needed due to flex parent*/
|
/* needed due to flex parent*/
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Reference in a new issue