pedf
/
pomocskolam
Archived
1
0
Fork 0

Univerzální styly pro navigaci

form
Emil Miler 4 years ago
parent d6a913ccd0
commit 315fa76d6c

@ -15,34 +15,21 @@ body {
line-height: 1.8; line-height: 1.8;
} }
header { nav ul {
display: flex;
align-items: center;
justify-content: space-around;
padding: 4em 0;
max-width: 100em;
width: 100vw;
img {
max-height: 7em;
}
h1 {
font-size: 2em;
}
nav ul {
display: flex; display: flex;
flex-direction: column;
list-style-type: none; list-style-type: none;
padding: 0; padding: 0;
li a { li a {
display: block;
padding: .7em; padding: .7em;
border: 1px solid #000; border: 1px solid #000;
margin: 0 .5em; margin: .5em;
text-decoration: none; text-decoration: none;
color: #000; color: #000;
font-size: 1.2em; font-size: 1.2em;
text-align: center;
&:hover { &:hover {
color: #fff; color: #fff;
@ -50,6 +37,26 @@ header {
border: 1px solid #C61730; border: 1px solid #C61730;
} }
} }
}
header {
display: flex;
align-items: center;
justify-content: space-around;
padding: 4em 0;
max-width: 100em;
width: 100vw;
img {
max-height: 7em;
}
h1 {
font-size: 2em;
}
nav ul {
flex-direction: row;
} }
} }