File tree 6 files changed +23
-4
lines changed
6 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 192
192
align-items : center;
193
193
}
194
194
195
+ .navbar img {
196
+ width : 100px ;
197
+ padding : 0px 6px ;
198
+ margin-right : -64px ;
199
+ }
200
+
195
201
.navbar h1 {
196
202
color : var (--off-white ); /* Changed to use off-white for better contrast */
197
203
margin : 0 ;
198
204
font-size : 2rem ;
199
- margin-left : 15 px ; /* Adjust this value to move the logo right */
205
+ margin-left : -38 rem ; /* Adjust this value to move the logo right */
200
206
transition : color 0.3s ease; /* Smooth transition for color change */
201
207
}
202
208
257
263
258
264
<!-- Navbar -->
259
265
< nav class ="navbar ">
266
+ < img src ="images/logo.png " alt ="logo ">
260
267
< h1 > Resum Resume</ h1 >
261
268
< ul >
262
269
< li > < a href ="index.html "> Home</ a > </ li >
Original file line number Diff line number Diff line change 618
618
< label for ="toggler " class ="fas fa-bars "> </ label >
619
619
620
620
< a href ="# " class ="logo " id =""> < span id ="newlogo "> </ span > </ a >
621
- < a href ="# " class ="logo "> Resum Resume</ a >
622
-
621
+ < a href ="# " class ="logo "> < img src ="images/logo.png " alt ="logo "> Resum Resume</ a >
623
622
< nav class ="navbar ">
624
623
< a href ="#home "> Home</ a >
625
624
< a href ="about.html "> About</ a >
Original file line number Diff line number Diff line change 126
126
align-items : center;
127
127
}
128
128
129
+ .navbar img {
130
+ width : 100px ;
131
+ padding : 0px 6px ;
132
+ margin-right : -64px ;
133
+ }
134
+
129
135
.navbar h1 {
130
136
color : white;
131
- margin-left : 15 px ;
137
+ margin-left : -38 rem ;
132
138
font-size : 2rem ;
133
139
transition : color 0.3s ease;
134
140
}
210
216
211
217
<!-- Navbar -->
212
218
< nav class ="navbar ">
219
+ < img src ="images/logo.png " alt ="logo ">
213
220
< h1 > Resum Resume</ h1 >
214
221
< ul >
215
222
< li > < a href ="index.html "> Home</ a > </ li >
Original file line number Diff line number Diff line change @@ -95,6 +95,12 @@ header .logo {
95
95
font-weight : bolder;
96
96
}
97
97
98
+ .logo img {
99
+ width : 100px ;
100
+ padding : 0px 6px ;
101
+ margin-right : -14px ;
102
+ }
103
+
98
104
header .logo : hover {
99
105
font-size : 3rem ;
100
106
color : var (--soft-gold ); /* Soft Gold on hover for logo */
You can’t perform that action at this time.
0 commit comments