diff --git a/readme.md b/readme.md index b635aa290b..1d875f7279 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://anhrytsan.github.io/layout_search-bar-airbnb/) +- [TEST REPORT LINK](https://anhrytsan.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..b85d81bb62 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..8c7055b00e 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,82 @@ -/* add styles here */ +@font-face { + font-family: Avenir; + src: url(fonts/Avenir-Book.ttf); + font-weight: 300; + font-style: normal; +} + +@font-face { + font-family: Avenir; + src: url(fonts/Avenir-Heavy.ttf); + font-weight: 900; +} + +body { + margin-top: 0; + font-family: Avenir, sans-serif; +} + +.form { + display: flex; + flex-direction: column; + color: #3d4e61; +} + +.form__input { + background-image: url(images/Search.svg); + background-repeat: no-repeat; + background-position: 25px center; + background-size: 19px; + padding-left: 62px; + box-sizing: border-box; + border: 1px solid #e1e7ed; + border-radius: 4px; + box-shadow: 0 1px 8px rgba(61, 78, 97, 0.1); + font-weight: 300; + font-family: inherit; + outline: none; +} + +.form__input::placeholder { + color: #3d4e61; + font-weight: 300; + line-height: 21.86px; +} + +.form__input--first { + height: 70px; + margin: 20px 0; + font-size: 16px; +} + +.form__input--second { + height: 42px; + font-size: 14px; + padding-left: 33px; + background-position: 12px center; + background-size: 11px; +} + +.form__input:focus { + outline: none; + box-shadow: 0 3px 8px rgba(61, 78, 97, 0.2); + border-radius: 3px; + border-color: #3d4e61; + background-image: url(images/Search.svg), + linear-gradient(180deg, #fff 0%, #f6f6f7 100%); + background-repeat: no-repeat; + background-size: 19px, 100%; + font-weight: 600; +} + +.form__input--second:focus { + background-position: + 13px center, + 0 0; + background-size: 11px, 100%; + box-shadow: none; +} + +.form__input:hover { + box-shadow: 0 3px 8px 0 #3d4e6133; +}