update small-menu

This commit is contained in:
Simon Vieille 2022-04-20 23:45:15 +02:00
parent 2024e5ace4
commit 1f1a61616c
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 16 additions and 11 deletions

View file

@ -143,7 +143,6 @@ pre[class*="language-"] {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
} }
li { li {
@ -178,15 +177,20 @@ pre[class*="language-"] {
.navigation { .navigation {
padding-top: 0; padding-top: 0;
display: none; display: none;
margin-top: 10px;
a { li {
margin-left: 2px; $radius: 8px;
padding-top: 12px;
padding-bottom: 12px;
}
.deblan-icon { &:first-child, &:first-child a {
margin-right: 0; border-top-right-radius: $radius;
border-top-left-radius: $radius;
}
&:last-child, &:last-child a {
border-bottom-right-radius: $radius;
border-bottom-left-radius: $radius;
}
} }
} }
@ -194,8 +198,9 @@ pre[class*="language-"] {
display: block; display: block;
} }
img { .logo-svg {
padding: 10px; margin-left: 10px;
margin-top: 20px;
} }
} }

View file

@ -60,7 +60,7 @@
</div> </div>
<div class="small-menu hidden-large hidden-medium visible-small"> <div class="small-menu hidden-large hidden-medium visible-small">
<a href="{{ safe_path('blog_menu_posts') }}"> <a href="{{ safe_path('blog_menu_posts') }}">
<img src="{{ asset('build/images/logo-small.png') }}" class="fixed" alt="Deblan blog"> {{ include('module/_logo.html.twig') }}
</a> </a>
<nav class="navigation"> <nav class="navigation">