update css 2

This commit is contained in:
MATUS 2024-06-05 19:26:42 +02:00
parent ba703d3942
commit ad08807377
2 changed files with 17 additions and 2 deletions

@ -5,10 +5,13 @@ body, html {
display: flex;
flex-direction: column;
min-height: 100vh;
align-items: center;
}
header {
background-color: #333;
display: flex;
align-items: center;
}
header nav ul {
@ -24,7 +27,7 @@ header nav ul li {
margin: unset;
}
header nav ul li a {
header nav ul li a, header nav ul li p {
display: block;
padding: 14px 20px;
text-decoration: none !important;
@ -48,6 +51,10 @@ header nav ul li:hover .submenu {
display: flex;
}
header nav ul li p, header nav ul li a{
margin: 0;
}
header nav ul li .submenu li a {
padding: 10px;
}
@ -66,8 +73,16 @@ footer {
color: white;
text-align: center;
padding: 10px 0;
display: flex;
align-items: center;
}
h1, h2, h3, h4, h5, h6 {
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>