diff --git a/readme.md b/readme.md index b635aa290b..344e854d64 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://clavigo.github.io/layout_search-bar-airbnb/) +- [TEST REPORT LINK](https://clavigo.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..189e8a7301 100644 --- a/src/index.html +++ b/src/index.html @@ -17,16 +17,20 @@ /> - +
+ - + +
diff --git a/src/style.css b/src/style.css index a63fa10d43..b2fab2b7b7 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,100 @@ /* add styles here */ +@font-face { + font-family: Avenir; + src: url("fonts/Avenir-Book.ttf") format("truetype"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: Avenir; + src: url("fonts/Avenir-Heavy.ttf") format("truetype"); + font-weight: bold; + font-style: normal; +} + +body { + font-family: Avenir, Arial, Helvetica, sans-serif; +} + +input { + display: block; + width: 100%; + margin-top: 20px; + font-family: Avenir, Arial, Helvetica, sans-serif; + border: 1px solid rgba(225, 231, 237, 1); + border-radius: 4px; +} + +.big-input { + height: 70px; + box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); + box-sizing: border-box; + padding-left: 62px; + background-image: url("./images/Search.svg"); + background-repeat: no-repeat; + background-position: 25px center; + font-size: 16px; + color: rgba(61, 78, 97, 1); + font-weight: bold; +} + +.big-input::placeholder { + color: rgba(61, 78, 97, 1); + font-weight: normal; +} + +.big-input:hover { + box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); +} + +.big-input:focus { + outline: none; + background-image: url("./images/Search.svg"), + linear-gradient(180deg, #fff 0%, #f6f6f7 100%); + background-repeat: no-repeat; + background-position: + 25px center, + 0 0; + background-size: + 19px 19px, + 100% 100%; + text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); +} + +.small-input { + height: 42px; + box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); + box-sizing: border-box; + padding-left: 33px; + background-image: url("./images/Search.svg"); + background-repeat: no-repeat; + background-position: 12px center; + background-size: 11px 11px; + color: rgba(61, 78, 97, 1); + font-weight: bold; + font-size: 14px; +} + +.small-input::placeholder { + color: rgba(61, 78, 97, 1); + font-weight: normal; +} + +.small-input:hover { + box-shadow: 0 3px 8px 0 rgba(61, 78, 97, 0.2); +} + +.small-input:focus { + outline: none; + background-image: url("./images/Search.svg"), + linear-gradient(180deg, #fff 0%, #f6f6f7 100%); + background-repeat: no-repeat; + background-position: + 12px center, + 0 0; + background-size: + 11px 11px, + 100% 100%; + text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); +}