diff --git a/readme.md b/readme.md index b635aa290b..9c24c753c8 100644 --- a/readme.md +++ b/readme.md @@ -25,8 +25,8 @@ ___ ❗️ Replace `` with your Github username and copy the links to `Pull Request` description: -- [DEMO LINK](https://.github.io/layout_search-bar-airbnb/) -- [TEST REPORT LINK](https://.github.io/layout_search-bar-airbnb/report/html_report/) +- [DEMO LINK](https://ekreed.github.io/layout_search-bar-airbnb/) +- [TEST REPORT LINK](https://ekreed.github.io/layout_search-bar-airbnb/report/html_report/) ❗️ Copy this `Checklist` to the `Pull Request` description after links, and put `- [x]` before each point after you checked it. diff --git a/src/index.html b/src/index.html index abe507e10c..af14151f07 100644 --- a/src/index.html +++ b/src/index.html @@ -17,16 +17,28 @@ /> - +
+ +
- +
+ +
diff --git a/src/style.css b/src/style.css index a63fa10d43..b4760ff0f8 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,80 @@ /* add styles here */ +html { + --font-color: #3d4e61; + --default-font-weight: 300; +} + +@font-face { + font-family: Avenir; + font-weight: var(--default-font-weight); + src: url(./fonts/Avenir-Book.ttf); +} + +@font-face { + font-family: Avenir; + font-weight: 800; + src: url(./fonts/Avenir-Heavy.ttf); +} + +body { + font-family: Avenir, sans-serif; +} + +.serch-bar { + margin-top: 20px; +} + +.serch-bar__input { + width: 100%; + color: var(--font-color); + font-family: inherit; + background-image: url('./images/Search.svg'); + background-repeat: no-repeat; + box-sizing: border-box; + border: 1px solid #e1e7ed; + box-shadow: 0 1px 8px 0 #3d4e611a; + border-radius: 4px; +} + +.serch-bar__input--big { + height: 70px; + font-size: 16px; + padding-left: 62px; + background-position: 26; + background-size: 19px; +} + +.serch-bar__input--small { + font-size: 14px; + line-height: 20px; + height: 42px; + background-position: 13; + padding-left: 33px; + background-size: 11px; + color: var(--font-color); +} + +.serch-bar__input:hover { + box-shadow: 0 3px 8px 0 #3d4e6133; +} + +.serch-bar__input:focus { + outline: none; + font-weight: 800; + box-shadow: 0 4px 4px 0 #00000040; + border-radius: 3px; +} + +.serch-bar__input::placeholder { + font-family: inherit; + font-size: 16px; + color: var(--font-color); + font-weight: var(--default-font-weight); +} + +.serch-bar__input--small::placeholder { + font-size: 14px; + font-family: inherit; + font-weight: var(--default-font-weight); + color: var(--font-color); +}