From f435e049621006a58accb0e6e667154b45f71a97 Mon Sep 17 00:00:00 2001 From: cark Date: Fri, 20 Aug 2021 01:22:36 +0100 Subject: [PATCH] add search bar --- sass/main.scss | 16 ++++++++++++++++ templates/index.html | 6 ++++++ 2 files changed, 22 insertions(+) diff --git a/sass/main.scss b/sass/main.scss index 81f6768..d4d9847 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -17,4 +17,20 @@ body { margin: 0; } line-height: 100%; +} + +.search { + width: calc(100% - 24px); + height: 36px; + margin: 24px; + padding: 4px 12px; + + background: #423c63; + border: 1px #6a6391 solid; + border-radius: 4px; + box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.25); + color: #d9d5f3; + + font-size: 1.5em; + font-family: 'Crimson Text', serif; } \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index ec0ceeb..ab4dec6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,4 +6,10 @@

bad advice from people who don't know anything.

+
+ +
+ {% endblock content %} \ No newline at end of file