From 5f5e8c5a2b51ec74a2dc27b7c18977ccd1767199 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Tue, 1 Sep 2020 22:51:53 +0200 Subject: [PATCH] Center search bar --- css/bookmarks.css | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/css/bookmarks.css b/css/bookmarks.css index 83278e1..c84e085 100644 --- a/css/bookmarks.css +++ b/css/bookmarks.css @@ -1,23 +1,19 @@ +h1.title { + font-size: 48px; + font-family: chancery,cursive,LiSu,sans-serif; +} + .tag { background-color: transparent; } -/* When the input field gets focus, change its width to 100% */ -input[type=text]:focus { - width: 100%; -} - -input { +input#search { + display: block; + margin: auto; width: 400px; - margin: 10px; box-sizing: border-box; border: 2px solid #ccc; border-radius: 4px; font-size: 16px; - background-color: white; - background-position: 10px 12px; - background-repeat: no-repeat; - padding: 12px 20px 12px 40px; - -webkit-transition: width .4s ease-in-out; - transition: width .4s ease-in-out; + padding: 12px 20px 12px 20px; }