Make header smaller

This commit is contained in:
Konrad Borowski 2019-03-15 08:49:06 +01:00
parent 6022b3a231
commit dc2348e808

View File

@ -9,15 +9,18 @@ body {
header {
background: #dd6;
color: white;
padding: 1em 0 1em;
box-shadow: 0 -5px 2px rgba(0, 0, 0, 0.1) inset;
}
header div {
margin: 0 auto;
padding: 0 1em;
max-width: 900px;
display: flex;
align-items: center;
justify-content: space-between;
}
header h1 {
margin: 0;
color: #440;
display: inline-block;
}
@ -25,7 +28,6 @@ header small {
opacity: 0.7;
}
header nav {
margin-top: 0.7em;
float: right;
}
header li {