diff --git a/readme.md b/readme.md index b635aa290b..624719b347 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://aholubko.github.io/layout_search-bar-airbnb/) +- [TEST REPORT LINK](https://aholubko.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..e261ae17ff 100644 --- a/src/index.html +++ b/src/index.html @@ -17,16 +17,30 @@ /> - + diff --git a/src/style.css b/src/style.css index a63fa10d43..2abcc89366 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,75 @@ /* add styles here */ +@font-face { + font-family: Avenir; + src: + url(./fonts/Avenir-Book.ttf) format('truetype'), + url(./fonts/Avenir-Heavy.ttf) format('truetype'); + font-weight: 300; + font-style: normal; +} + +body { + font-family: Avenir, sans-serif; + margin: 0; + padding: 0; +} + +.search { + display: flex; + flex-direction: column; + align-items: center; + font-family: Avenir, sans-serif; + margin: 0 auto; + padding: 0 48px; +} + +.search__form { + width: 100%; + display: flex; + align-items: center; + position: relative; +} + +.search__input { + width: 100%; + border: 1px solid #e1e7ed; + position: relative; +} + +.search__form--big { + margin-top: 20px; + height: 70px; +} + +.search__form--small { + margin-top: 20px; + height: 42px; +} + +.search__input--big { + font-size: 16px; + padding: 26px 62px; + background-image: url(./images/Search.svg); + background-position: 26px center; + background-repeat: no-repeat; + background-size: 19px; +} + +.search__input--small { + font-size: 14px; + padding: 10px 33px; + background-image: url(./images/Search.svg); + background-position: 13px center; + background-repeat: no-repeat; + background-size: 11px; +} + +.search__input:hover { + box-shadow: 0 3px 8px 0 #3d4e6133; +} + +.search__input:focus { + box-shadow: 0 4px 4px 0 #00000040; + text-shadow: 0 4px 4px 0 #00000040; + outline: none; +}