-
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
Showing
3 changed files
with
101 additions
and
16 deletions.
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,70 @@ | ||
/* add styles here */ | ||
.html { | ||
font-family: Avenir, sans-serif; | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir, sans-serif; | ||
src: url(./src/fonts/Avenir-Book.ttf) format(ttf); | ||
src: url(./src/fonts/Avenir-Heavy.ttf) format(ttf); | ||
src: url(./src/fonts/Avenir.ttc) format(ttf); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
.body { | ||
font-family: Avenir, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.form { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
padding-inline: 5px; | ||
} | ||
|
||
.form__searchBar { | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: column; | ||
width: 100%; | ||
background-image: url('/src/images/Search.svg'); /* Добавляем иконку */ | ||
background-repeat: no-repeat; | ||
background-position: 25px center; /* Позиционируем иконку */ | ||
background-size: 19px 19px; | ||
padding: 20px 20px 20px 60px; | ||
margin: 20px; | ||
box-sizing: border-box; | ||
border: 1px solid rgba(144, 122, 231, 0.25); | ||
border-radius: 2px; | ||
color: rgba(61, 78, 97, 1); | ||
} | ||
|
||
.form > .form__searchBar:hover { | ||
box-shadow: 1px 4px 4px 1px rgba(0, 0, 0, 0.25); | ||
} | ||
|
||
.form > .form__searchBar:focus { | ||
font-weight: bold; | ||
box-shadow: 1px 4px 4px 1px rgba(0, 0, 0, 0.25); | ||
border: none; | ||
} | ||
|
||
.form__searchBar--big { | ||
height: 70px; | ||
font-weight: 16px; | ||
|
||
|
||
} | ||
|
||
.form__searchBar--small { | ||
height: 42px; | ||
margin-top: 0; | ||
background-position: 15px center; | ||
background-size: 11px 11px; | ||
font-weight: 14px; | ||
padding-left: 33px; | ||
} |