From ec8d4960cd2293a59652431fd3e32c407eb7e4de Mon Sep 17 00:00:00 2001 From: David Ashby Date: Thu, 18 May 2017 21:42:54 -0400 Subject: [PATCH] add search --- css/style.css | 27 +++++++++++++++++++++++++++ index.html | 44 +++++++++++++++++++++++++++++++++----------- 2 files changed, 60 insertions(+), 11 deletions(-) diff --git a/css/style.css b/css/style.css index 0b27910..5c6b391 100644 --- a/css/style.css +++ b/css/style.css @@ -12,6 +12,33 @@ display: inline; } +#searchBox { + position: absolute; + right: 10px; + top: 7px; + text-align: right; + width: 400px; +} + +#searchBox input { + width: 300px; + font-size: 16px; + background: #f9f8ed; + padding: 2px 5px; + border: none; + border-bottom: 2px solid #d8d0a0; + font-family: 'Libre Baskerville', sans-serif; +} + +#searchBox input:focus { + outline: none; +} + +#searchBox input::placeholder { + font-family: 'Libre Baskerville', sans-serif; + color: #d8d0a0; +} + #current { background-color: #f7f3dc; width: calc(40vw - 40px); diff --git a/index.html b/index.html index 0ee7817..8e84158 100644 --- a/index.html +++ b/index.html @@ -13,28 +13,41 @@ @@ -71,6 +90,9 @@ spreadsheet github reload +
No Book Selected