-
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
Open
VolodymyrV7
wants to merge
7
commits into
mate-academy:master
Choose a base branch
from
VolodymyrV7:develop
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
add task solution #4435
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e80bc08
add task solution
6406cf6
add task solution 2
26b8136
add task solution 3
04a1e97
add task solution 20.08
bf9ffa3
add task solution 22.08
726bf4f
add task solution 22.08_1
aa8edd2
add task solution 22.08_2
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,59 @@ | ||
/* 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; | ||
} | ||
|
||
* { | ||
font-size: 16px; | ||
border-radius: 4px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.input { | ||
border: 1px solid #e1e7ed; | ||
box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); | ||
font-family: Avenir, sans-serif; | ||
font-weight: 400; | ||
} | ||
|
||
.input::placeholder { | ||
color: #3d4e61; | ||
} | ||
|
||
.form { | ||
width: 100%; | ||
margin: 20px 0; | ||
display: flex; | ||
} | ||
|
||
.big-input { | ||
flex: 1; | ||
padding-left: 62px; | ||
height: 70px; | ||
background: #fff url('./images/Search.svg') no-repeat left 26px center; | ||
background-size: 19px 19px; | ||
} | ||
|
||
.small-input { | ||
flex: 1; | ||
padding-left: 33px; | ||
height: 42px; | ||
font-size: 14px; | ||
background: #fff url('./images/Search.svg') no-repeat left 13px center; | ||
background-size: 11px 11px; | ||
} | ||
|
||
input:hover { | ||
box-shadow: 0 3px 8px 0 rgba(61, 78, 97, 0.2); | ||
} | ||
|
||
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 |
||
url('./images/Search.svg') no-repeat left center; | ||
font-weight: 900; | ||
outline: none; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
do not add styles using tag selector
Instead, add a common
input
class to both inputs and add all shared styles using this class (instead of repeating them in small-input and biginput)