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;
padding: 0;
list-style: none;
}
li {
@ -178,15 +177,20 @@ pre[class*="language-"] {
.navigation {
padding-top: 0;
display: none;
margin-top: 10px;
a {
margin-left: 2px;
padding-top: 12px;
padding-bottom: 12px;
}
li {
$radius: 8px;
.deblan-icon {
margin-right: 0;
&:first-child, &:first-child a {
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;
}
img {
padding: 10px;
.logo-svg {
margin-left: 10px;
margin-top: 20px;
}
}

View file

@ -60,7 +60,7 @@
</div>
<div class="small-menu hidden-large hidden-medium visible-small">
<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>
<nav class="navigation">