File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed
Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 88
99: root {
1010 --bgColor : # 0d0d0d ;
11+ --bgColorDarkRed : # 7f1000 ;
12+ --bgColorWhite : # f2f2f2 ;
1113 --titleColor : # ed0000 ;
14+ --titleColorDark : # f23005 ;
1215 --bgRedColor : # 7f1000 ;
1316 --textColorWhite : # fffef8 ;
1417 --titleFont : "Bagel Fat One" ;
Original file line number Diff line number Diff line change 1+ form {
2+ padding : 0.5rem ;
3+ grid-area : 3 / 1 / 4 / 4 ;
4+ text-align : center;
5+ }
6+
17.searchbar-container {
28 position : relative;
39 display : flex;
@@ -42,6 +48,12 @@ button.search-button {
4248 margin-left : 1rem ;
4349}
4450
51+ button .search-button : hover {
52+ background-color : var (--titleColorDark );
53+ cursor : pointer;
54+ transition : 0.1s ease;
55+ }
56+
4557.dropdown-menu {
4658 position : absolute;
4759 top : calc (100% );
@@ -115,6 +127,10 @@ button.search-button {
115127}
116128
117129@media screen and (min-width : 768px ) {
130+ form {
131+ grid-area : 2 / 2 / 3 / 3 ;
132+ width : max-content;
133+ }
118134 input .search-input {
119135 width : 18rem ;
120136 height : 2rem ;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ function Searchbar() {
5656 onClick = { handleSubmit }
5757 aria-label = "Valider la recherche"
5858 >
59- Valider
59+ Recherche
6060 </ button >
6161 </ div >
6262
You can’t perform that action at this time.
0 commit comments