From e77e6af42cec8949db324afbd7cadf3586410a12 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sun, 4 Apr 2021 17:43:35 +0200 Subject: [PATCH] =?UTF-8?q?Z=C3=A1kladn=C3=AD=20styly=20pro=20search=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/main.scss | 17 +++++++++++++++++ templates/index.html | 4 ++++ 2 files changed, 21 insertions(+) diff --git a/sass/main.scss b/sass/main.scss index d0c576a..621ddd8 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -113,12 +113,29 @@ header { } nav.secondary { + display: flex; + align-items: center; font-size: .9rem; color: #4C566A; a:hover { text-decoration: underline; } + + .search { + display: flex; + align-items: center; + margin-left: auto; + padding: .4em; + border: 1px solid #D8DEE9; + font-size: 1.2em; + + input { + margin-right: .1em; + border: none; + outline: none; + } + } } nav.primary { diff --git a/templates/index.html b/templates/index.html index 528ecce..78051b4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,6 +7,10 @@