File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 16
16
17
17
< header class ="header ">
18
18
< nav class ="nav ">
19
- < div class ="title__box ">
20
- < a href ="# " class ="icon__box nav__link ">
21
- < img class ="nav__icon " src ="img/favicon-3.svg ">
22
- < h1 class ="nav__title "> Moviescope</ h1 >
23
- </ a >
24
- </ div >
19
+ < a href ="# " class ="title__box nav__link ">
20
+ < img class ="nav__icon " src ="img/favicon-3.svg ">
21
+ < h1 class ="nav__title "> Moviescope</ h1 >
22
+ </ a >
25
23
< form action ="./pages/search.html " class ="searchBox ">
26
24
< input type ="text " class ="searchBox__input " name ="search " placeholder ="Search Movies/TV Shows ">
27
25
< button class ="searchBox__btn ">
Original file line number Diff line number Diff line change @@ -75,18 +75,12 @@ body {
75
75
height : 100% ;
76
76
display : flex;
77
77
align-items : center;
78
- justify-content : center;
79
- }
80
-
81
- .icon__box {
82
- height : 100% ;
83
- display : flex;
84
- align-items : center;
78
+ justify-content : space-between;
85
79
}
86
80
87
81
.nav__icon {
88
- margin-right : 5 % ;
89
- height : 75 % ;
82
+ height : 80 % ;
83
+ padding-right : 1 % ;
90
84
}
91
85
92
86
.nav__title {
@@ -114,7 +108,7 @@ body {
114
108
115
109
.searchBox__input {
116
110
background-color : var (--nav-color-contrast );
117
- padding : 1.6 rem ;
111
+ padding : 1 rem 0 rem 1 rem 1 rem ;
118
112
height : 100% ;
119
113
width : 90% ;
120
114
font-size : 1.5rem ;
You can’t perform that action at this time.
0 commit comments