mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Make web header bigger on desktop
This commit is contained in:
parent
3b53b4b991
commit
1a7f055852
1 changed files with 16 additions and 10 deletions
|
@ -4,7 +4,7 @@ body{
|
|||
font-family: Georgia, serif;
|
||||
font-size: 18px;
|
||||
padding: 0 3em;
|
||||
margin: 6em auto 3em;
|
||||
margin: 8em auto 3em;
|
||||
max-width: 55ch;
|
||||
}
|
||||
|
||||
|
@ -18,15 +18,10 @@ body > header{
|
|||
box-shadow: 0 0 3px #ccc;
|
||||
}
|
||||
|
||||
@media(max-width: 96ch){
|
||||
body > header{
|
||||
position: fixed;
|
||||
}
|
||||
}
|
||||
|
||||
body > header ul{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0.5em 1em;
|
||||
|
@ -34,10 +29,21 @@ body > header ul{
|
|||
|
||||
body > header li:first-child > a{
|
||||
display: block;
|
||||
width: 90px;
|
||||
height: 21px;
|
||||
width: 180px;
|
||||
height: 42px;
|
||||
background: no-repeat center/100% url(/images/logo-full.svg);
|
||||
text-indent: -999em;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
@media(max-width: 96ch){
|
||||
body > header{
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
body > header li:first-child > a{
|
||||
width: 90px;
|
||||
height: 21px;
|
||||
}
|
||||
}
|
||||
|
||||
body > nav,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue