diff --git a/assets/style.css b/assets/style.css index 7aa0cbe..79f458d 100644 --- a/assets/style.css +++ b/assets/style.css @@ -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; } \ No newline at end of file diff --git a/templates/footer.html b/templates/footer.html index 7071b8c..1c129cb 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1 +1 @@ -

Kontaktuje nás: Email: example@example.com | Tel.: +123 456 7890 | Adresa: 123 železná ulica, Komárno

\ No newline at end of file +

Kontaktuje nás: tel.: +421 832 323 445, email: kovo@srot.sk

\ No newline at end of file