-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
afacaf6
commit 21a651a
Showing
3 changed files
with
110 additions
and
12 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,85 @@ | ||
/* add styles here */ | ||
@font-face { | ||
font-family: Avenir; | ||
font-weight: 300; | ||
font-style: normal; | ||
src: url('./fonts/Avenir-Book.ttf'); | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir; | ||
font-weight: 900; | ||
font-style: normal; | ||
src: url('./fonts/Avenir-Heavy.ttf'); | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
.body { | ||
font-family: Avenir, sans-serif; | ||
color: #3d4e61; | ||
} | ||
|
||
.input { | ||
display: block; | ||
width: 100%; | ||
background-image: url(images/Search.svg); | ||
background-repeat: no-repeat; | ||
border: 1px solid #e1e7ed; | ||
border-radius: 4px; | ||
box-shadow: 0 1px 8px 0 #3d4e611a; | ||
color: #3d4e61; | ||
margin-top: 20px; | ||
} | ||
|
||
.input__big { | ||
height: 70px; | ||
background-size: 19px 19px; | ||
background-position: 26px center; | ||
padding-left: 62px; | ||
font-family: Avenir, sans-serif; | ||
font-size: 16px; | ||
} | ||
|
||
.input__small { | ||
height: 42px; | ||
background-size: 11px 11px; | ||
background-position: 12px 14px; | ||
padding-left: 33px; | ||
font-family: Avenir, sans-serif; | ||
font-size: 14px; | ||
} | ||
|
||
.input__big::placeholder { | ||
font-family: Avenir, sans-serif; | ||
font-weight: 400; | ||
} | ||
|
||
.input__small::placeholder { | ||
font-family: Avenir, sans-serif; | ||
font-weight: 400; | ||
} | ||
|
||
.input__big:hover { | ||
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); | ||
} | ||
|
||
.input__small:hover { | ||
box-shadow: 0 3px 8px 0 rgba(61, 78, 97, 0.2); | ||
} | ||
|
||
.input__big:focus { | ||
color: #3d4e61; | ||
text-shadow: 1px 4px 4px rgba(0, 0, 0, 0.25); | ||
outline: none; | ||
font-weight: 900; | ||
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); | ||
} | ||
|
||
.input__small:focus { | ||
color: #3d4e61; | ||
text-shadow: none; | ||
outline: none; | ||
font-weight: 900; | ||
} |