Commit 8c252918 authored by Romain Casati's avatar Romain Casati

Fix navbar in galerie.fr.

parent 4c00d42e
......@@ -43,7 +43,11 @@ a:hover {
filter: drop-shadow( 1vh 1vh 0.6vh rgba(0, 0, 0, 0));
}
menu, nav {
.menu {
display: flex;
}
nav {
display: block;
}
......@@ -76,8 +80,7 @@ nav {
}
.menu li {
float: left;
position: relative;
display: inline;
}
.menu li a {
......@@ -86,7 +89,7 @@ nav {
font-size: 1.2vw;
line-height: 1.5vw;
padding: 0.5vw 1vw;
margin: 0.4vw 0.4vw;
margin: 0.5vw 0.4vw 0.4vw 0.4vw;
vertical-align: middle;
text-decoration: none;
}
......@@ -105,7 +108,7 @@ nav {
background-image: linear-gradient(#ccc, #ededed);
border-radius: 0.5vw;
box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.1);
color: #222;
color: #222;
}
.menu li:hover ul a {
......
......@@ -22,7 +22,7 @@
<div id="menu">
<nav>
<ul class="menu">
<li><a href="{{ SITEURL }}/"><img src="{{ SITEURL }}/theme/assets/img/home.svg" style="width: 1.5vw;"/></a></li>
<li><a href="{{ SITEURL }}/"><img src="{{ SITEURL }}/theme/assets/img/home.svg" style="width: 1.5vw; display: block;"/></a></li>
<li><a href="https://console.basthon.fr"> Console</a>
</li>
<li><a href="https://notebook.basthon.fr"> Notebook</a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment