diff --git a/readme.md b/readme.md index b635aa290b..20961d09bd 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://ochepurna.github.io/layout_search-bar-airbnb/) +- [TEST REPORT LINK](https://ochepurna.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..cbe0bdc1b7 100644 --- a/src/index.html +++ b/src/index.html @@ -17,16 +17,32 @@ /> - +
+ +
- +
+ +
diff --git a/src/style.css b/src/style.css index a63fa10d43..8d9862c5c0 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,57 @@ -/* add styles here */ +@font-face { + font-family: Avenir; + src: url(./fonts/Avenir-Book.ttf); + font-weight: 300; +} + +@font-face { + font-family: Avenir; + src: url(./fonts/Avenir-Heavy.ttf); + font-weight: bold; +} + +.form { + display: block; + box-sizing: border-box; + width: 100%; + margin-top: 20px; + background-image: url(../src/images/Search.svg); + background-repeat: no-repeat; + border: 1px solid #e1e7ed; + border-radius: 4px; + background-color: #fff; + box-shadow: 0 1px 8px 0 #3d4e611a; + color: #3d4e61; + outline: none; + font-family: Avenir, sans-serif; +} + +.form__big { + background-size: 19px; + background-position-x: 26px; + background-position-y: center; + padding-left: 62px; + height: 70px; + font-size: 16px; + line-height: 21.86px; +} + +.form__small { + background-size: 11px; + background-position-x: 13px; + background-position-y: center; + padding-left: 33px; + height: 42px; + font-size: 14px; + line-height: 19.12px; +} + +.form:hover { + box-shadow: 0 3px 8px 0 #3d4e6133; +} + +.form:focus { + box-shadow: 0 4px 4px 0 #00000040; + border: 3px solid #e1e7ed; + font-weight: bold; +}