diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-05-28 12:54:08 -0400 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-05-28 12:54:30 -0400 |
commit | a95c92c018d7b3dec9bd2fc3485671fe7292b414 (patch) | |
tree | 180f8ae088a607f5634e2136185af0342e035808 /static/peach.css | |
parent | e4d4d271d22b0efe8c59f4f0117e884a73fb81b3 (diff) |
templates: update search.tmpl
Add styling.
Diffstat (limited to 'static/peach.css')
-rw-r--r-- | static/peach.css | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/static/peach.css b/static/peach.css index 63210fe..a25aa66 100644 --- a/static/peach.css +++ b/static/peach.css @@ -3,6 +3,7 @@ * SPDX-License-Identifier: ISC */ +/** peach **/ @font-face { font-family: Roboto; src: url('/static/font/RobotoFlex-Regular.ttf'); @@ -32,6 +33,8 @@ body { } } + +/** weather **/ .header-container, .main-container { display: flex; @@ -109,3 +112,60 @@ body { font-size: 0.8em; color: rgb(150,150,150) } + + +/** search **/ +.search-container .search-form { + display: flex; + flex-direction: row; + column-gap: 15px; + align-items: center; +} + +.search-container .search-form .search-box { + flex-basis: 70%; +} + +.search-container .search-form .search-box .location { + width: 100%; + font-size: 2em; + border: 2px solid rgb(0,0,0); +} + +.search-container .search-form .btn-block .search-btn { + cursor: pointer; + border: none; + background-color: rgb(255,255,255); + color: rgb(0,0,0); + font-size: 2.8em; +} + +.message-container { + font-size: 1.2em; +} + +.message-container p { + margin: 5px 0 5px 0; +} + +.search-result-container { + display: flex; + flex-direction: column; + row-gap: 6px; +} + +.search-result-container .item { + font-size: 1.8em; +} + +.search-result-container .location-name a { + text-decoration: none; + color: rgb(0,0,0); + font-weight: 600; + padding: 3px 5px 5px 5px; +} + +.search-result-container .location-name a:hover { + transition: background-color 0.3s linear; + background-color: rgb(245,245,245); +} |