update css 2
This commit is contained in:
parent
ba703d3942
commit
ad08807377
@ -5,10 +5,13 @@ body, html {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
header nav ul {
|
header nav ul {
|
||||||
@ -24,7 +27,7 @@ header nav ul li {
|
|||||||
margin: unset;
|
margin: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
header nav ul li a {
|
header nav ul li a, header nav ul li p {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 14px 20px;
|
padding: 14px 20px;
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
@ -48,6 +51,10 @@ header nav ul li:hover .submenu {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header nav ul li p, header nav ul li a{
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
header nav ul li .submenu li a {
|
header nav ul li .submenu li a {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
@ -66,8 +73,16 @@ footer {
|
|||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
@ -1 +1 @@
|
|||||||
<p>Kontaktuje nás: Email: example@example.com | Tel.: +123 456 7890 | Adresa: 123 železná ulica, Komárno</p>
|
<p>Kontaktuje nás: tel.: +421 832 323 445, email: kovo@srot.sk</p>
|
Loading…
Reference in New Issue
Block a user