diff --git a/readme.md b/readme.md index b635aa290b..df3a6405d9 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://pogorielova.github.io/layout_search-bar-airbnb/) +- [TEST REPORT LINK](https://pogorielova.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..64e192018d 100644 --- a/src/index.html +++ b/src/index.html @@ -17,16 +17,23 @@ /> - +
+ - + +
diff --git a/src/style.css b/src/style.css index a63fa10d43..b02611a99c 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,68 @@ -/* add styles here */ +@font-face { + font-family: Avenir; + src: + url('fonts/Avenir.ttc') format('truetype'), + url('fonts/Avenir-Book.ttf') format('truetype'), + url('fonts/Avenir-Heavy.ttf') format('truetype'); +} + +body { + padding: 0; + margin: 0; + + font-family: Avenir, Arial, Helvetica, sans-serif; + font-weight: 300; + color: #3d4e61; +} + +.form { + padding: 20px 8px; +} + +.form__input { + display: block; + box-sizing: border-box; + width: 100%; + font-family: inherit; + background-image: url(images/Search.svg); + background-repeat: no-repeat; + border: 1px solid #e1e7ed; + border-radius: 5px; + box-shadow: 0 1px 8px 0 #3d4e611a; +} + +.form__input:hover { + border: 1px solid #e1e7ed; + box-shadow: 0 3px 8px 0 #3d4e6133; +} + +.form__input:focus { + outline: none; + box-shadow: none; +} + +.form__input:active { + box-shadow: none; +} + +.form__input_big { + height: 70px; + margin-bottom: 20px; + font-size: 16px; + background-position: 25px; + background-size: 19px 19px; + padding-left: 62px; +} + +.form__input_small { + height: 42px; + font-size: 14px; + background-position: 13px; + background-size: 11px 11px; + padding-left: 33px; +} + +.form__input::placeholder { + font-family: Avenir, Arial, Helvetica, sans-serif; + font-weight: 400; +}