diff --git a/readme.md b/readme.md index b635aa290b..12252511c5 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://t-namestnykova.github.io/layout_search-bar-airbnb/) +- [TEST REPORT LINK](https://t-namestnykova.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..7d5aefbcc5 100644 --- a/src/index.html +++ b/src/index.html @@ -10,23 +10,34 @@ http-equiv="X-UA-Compatible" content="ie=edge" /> - Document + Search Bar - - - + + diff --git a/src/style.css b/src/style.css index a63fa10d43..ef440ab104 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,61 @@ -/* add styles here */ +@font-face { + font-family: Avenir; + src: url(./fonts/Avenir-Book.ttf); + font-weight: 300; +} + +@font-face { + font-family: Avenir-Heavy; + src: url(./fonts/Avenir-Heavy.ttf); + font-weight: 900; +} + +.search-bar-top, +.search-bar-bottom { + margin-top: 20px; +} + +.search-bar__input { + box-sizing: border-box; + width: 100%; + padding: 0; + background-repeat: no-repeat; + background-image: url(./images/Search.svg); + border: 1px solid #e1e7ed; + border-radius: 4px; + box-shadow: 0 1px 8px 0 #3d4e611a; + + font-family: Avenir, sans-serif; + font-weight: 300; + color: #3d4e61; +} + +.search-bar__input--primary { + background-size: 19px 19px; + background-position: 26px center; + padding-left: 62px; + font-size: 16px; + height: 70px; +} + +.search-bar__input--secondary { + background-size: 11px 11px; + background-position: 13px center; + padding-left: 33px; + font-size: 14px; + height: 42px; +} + +.search-bar__input::placeholder { + color: #3d4e61; +} + +.search-bar__input:hover { + box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.25); +} + +.search-bar__input:focus { + box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.25); + outline: none; + font-family: Avenir-Heavy, sans-serif; +}