dodan class headerju in nav, za lažjo orientacijo kasneje

This commit is contained in:
iva
2026-10-21 18:46:08 +02:00
parent 9fe879e75c
commit 215dda75a3
2 changed files with 24 additions and 2 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
<title>Domov | Za prste obliznit</title> <title>Domov | Za prste obliznit</title>
</head> </head>
<body> <body>
<header> <header class="site_header">
<nav> <nav class="nav_bar">
<a href="index.html"> <a href="index.html">
<img src="logo.png" alt="Logotip restavracije" width="150"><br> <img src="logo.png" alt="Logotip restavracije" width="150"><br>
Za prste obliznit Za prste obliznit
+22
View File
@@ -0,0 +1,22 @@
ul.main_menu {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: antiquewhite;
}
ul.main_menu li {
float:left;
}
ul.main_menu li a {
display: block;
color:navy;
text-align: center;
padding: 24px , 26px;
text-decoration: none;
}
ul.main_menu li a:hover {
background-color: brown;
color: antiquewhite;
}