-
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
Develop #4550
base: master
Are you sure you want to change the base?
Develop #4550
Changes from 2 commits
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,64 @@ | ||
/* add styles here */ | ||
@font-face { | ||
font-family: Avenir; | ||
src: url(./fonts/Avenir-Book.ttf); | ||
font-weight: 300; | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir; | ||
src: url(./fonts/Avenir-Heavy.ttf); | ||
font-weight: bold; | ||
} | ||
|
||
.page { | ||
font-family: Avenir, sans-serif; | ||
} | ||
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. Consider adding a fallback font to ensure that if 'Avenir' is not available, the browser can use an alternative font. This aligns with the checklist item: 'Remember to use fallback fonts - alternative font-family in case the main one doesn't work'. |
||
|
||
.search-bar { | ||
display: flex; | ||
flex-direction: column; | ||
margin-top: 20px; | ||
} | ||
|
||
.search-bar::placeholder { | ||
color: #3d4e61; | ||
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. The selector |
||
} | ||
|
||
.search-bar__input { | ||
background: url(../src/images/Search.svg); | ||
background-repeat: no-repeat; | ||
width: 100%; | ||
box-sizing: border-box; | ||
border: 1px solid #e1e7ed; | ||
border-radius: 4px; | ||
outline: none; | ||
} | ||
|
||
.search_bar__input--big { | ||
padding-left: 62px; | ||
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. There is an inconsistency in class naming. The class |
||
height: 70px; | ||
font-size: 16px; | ||
background-size: 19px; | ||
background-position: left 26px center; | ||
} | ||
|
||
.search-bar__input--small { | ||
height: 42px; | ||
padding-left: 33px; | ||
font-size: 14px; | ||
background-size: 11px; | ||
background-position: 13px center; | ||
} | ||
|
||
.search_bar__input--big:hover, | ||
.search-bar__input--small:hover { | ||
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. There is an inconsistency in class naming. The class |
||
box-shadow: 0 3px 8px 0 rgba(61, 78, 97, 0.2); | ||
} | ||
|
||
.search_bar__input--big:focus, | ||
.search-bar__input--small:focus { | ||
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. There is an inconsistency in class naming. The class |
||
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25); | ||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); | ||
font-weight: 900; | ||
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.
The class name 'page' should represent the meaning of the content rather than the style or tag name. Consider using a more descriptive class name.