From 41972b343750b9dcdd2d0f978526ac11edae4ad1 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Thu, 5 May 2022 18:29:49 -0700 Subject: [PATCH] doc: add styles to Header stylesheet --- src/Header/Header.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/Header/Header.css b/src/Header/Header.css index e69de29..37bb0e7 100644 --- a/src/Header/Header.css +++ b/src/Header/Header.css @@ -0,0 +1,36 @@ +.header { + height: 60px; + display: flex; + align-items: center; + background-color: #131921; + position: sticky; + top: 0; + z-index: 100; +} + +.header__logo { + width: 100px; + object-fit: contain; + margin: 0 20px; + margin-top: 18px; +} + +.header__search { + display: flex; + flex: 1; + align-items: center; + border-radius: 24px; +} + +.header__searchInput { + height: 12px; + padding: 10px; + border: none; + width: 100%; +} + +.header__searchIcon { + padding: 5px; + height: 22px !important; + background-color: #cd9042; +}