From 1f1a61616c934475be13cd665f3c9fe356846a23 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 20 Apr 2022 23:45:15 +0200 Subject: [PATCH] update small-menu --- assets/css/app.scss | 25 +++++++++++++++---------- templates/module/_navigation.html.twig | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/assets/css/app.scss b/assets/css/app.scss index 1bc63d1..ef5b4ae 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -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; } } diff --git a/templates/module/_navigation.html.twig b/templates/module/_navigation.html.twig index 456a7bc..5bed122 100644 --- a/templates/module/_navigation.html.twig +++ b/templates/module/_navigation.html.twig @@ -60,7 +60,7 @@
- Deblan blog + {{ include('module/_logo.html.twig') }}