-
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 #4435
base: master
Are you sure you want to change the base?
add task solution #4435
Changes from 2 commits
e80bc08
6406cf6
26b8136
04a1e97
bf9ffa3
726bf4f
aa8edd2
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 |
---|---|---|
@@ -1 +1,56 @@ | ||
/* add styles here */ | ||
@font-face { | ||
font-family: Avenir; | ||
src: | ||
url('./fonts/Avenir-Book.ttf') format('truetype'), | ||
url('./fonts/Avenir-Heavy.ttf') format('truetype'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
|
||
.body { | ||
font-family: Avenir, sans-serif; | ||
font-weight: 300; | ||
font-size: 16px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.form { | ||
width: 100%; | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
display: flex; | ||
} | ||
|
||
.big-input { | ||
flex: 1; | ||
padding-left: 26px; | ||
gap: 17px; | ||
height: 70px; | ||
border-radius: 4px; | ||
border: 1px solid #e1e7ed; | ||
box-sizing: border-box; | ||
box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); | ||
background: #fff url('./images/Search.svg') no-repeat left 10px center; | ||
} | ||
|
||
.small-input { | ||
flex: 1; | ||
padding-left: 13px; | ||
gap: 9px; | ||
height: 42px; | ||
font-size: 14px; | ||
border-radius: 4px; | ||
border: 1px solid #e1e7ed; | ||
box-sizing: border-box; | ||
box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); | ||
background: #fff url('./images/Search.svg') no-repeat left 5px center; | ||
} | ||
|
||
input:hover { | ||
box-shadow: 0 3px 8px 0 rgba(61, 78, 97, 0.2); | ||
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. do not add styles using tag selector Instead, add a common |
||
} | ||
|
||
input:focus { | ||
background: linear-gradient(180deg, #fff 0%, #f6f6f7 100%); | ||
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. one of the reason tests fail might be overwritten by standard browser styles for placeholder Add correct styles (font family - inherit, color, font weight) using pseudoelement: https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder |
||
outline: none; | ||
} |
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.
this property is better to define in * selector and remove everywhere else