-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add task solution #3440
base: master
Are you sure you want to change the base?
add task solution #3440
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -0,0 +1,68 @@ | ||||
@font-face { | ||||
font-family: "Avenir"; | ||||
src: url("./fonts/Avenir-Book.ttf"); | ||||
font-style: normal; | ||||
font-weight: 300; | ||||
} | ||||
|
||||
@font-face { | ||||
font-family: "Avenir Heavy"; | ||||
src: url("./fonts/Avenir-Heavy.ttf"); | ||||
font-style: normal; | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Default value, you can just remove it
Suggested change
|
||||
font-weight: 900; | ||||
} | ||||
|
||||
* { | ||||
font-family: "Avenir", sans-serif; | ||||
} | ||||
|
||||
body { | ||||
margin: 0; | ||||
--color-primary: rgba(61, 78, 97, 1); | ||||
--background-color: rgba(225, 231, 237, 1); | ||||
--shadow: 1px 4px 4px rgba(0, 0, 0, 0.25); | ||||
} | ||||
|
||||
.search-container { | ||||
margin: 20px 8px 0; | ||||
} | ||||
|
||||
.search-bar input { | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to write styles for input with classes selector |
||||
width: 100%; | ||||
box-sizing: border-box; | ||||
border: 1px solid var(--background-color); | ||||
border-radius: 4px; | ||||
background-image: url("./images/search.svg"); | ||||
background-repeat: no-repeat; | ||||
} | ||||
|
||||
.big-form .input { | ||||
margin-bottom: 20px; | ||||
background-size: 19px 19px; | ||||
height: 70px; | ||||
font-size: 16px; | ||||
padding-left: 62px; | ||||
background-position: 25px center; | ||||
} | ||||
|
||||
.small-form .input { | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||
background-size: 11px 11px; | ||||
height: 42px; | ||||
font-size: 14px; | ||||
padding-left: 33px; | ||||
background-position: 13px center; | ||||
} | ||||
|
||||
.input::placeholder { | ||||
color: var(--color-primary); | ||||
} | ||||
|
||||
.input:hover { | ||||
box-shadow: var(--shadow); | ||||
} | ||||
|
||||
.input:focus { | ||||
outline: none; | ||||
box-shadow: var(--shadow); | ||||
font-family: "Avenir Heavy", sans-serif; | ||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to check and fix it everywhere