File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
<!-- <nav class="navbar navbar-expand-lg navbar-dark"> -->
2
- < section id ="header ">
2
+ < section id ="header " class =" p-4 mb-4 " >
3
3
< div class ="header container ">
4
4
< div class ="nav-bar ">
5
- < div class ="d-flex d-none d-sm-block d-md-block d-lg-none ">
5
+ < div class ="d-flex mx-auto ">
6
6
< div class ="brand ">
7
7
< a class ="" href ="/ "> < img src ="/assets/img/logo/logo.png " style ="height: 70px; width: 70px; background-color: white; " class ="mr-3 "> Py Contributors</ a >
8
8
</ div >
Original file line number Diff line number Diff line change @@ -163,18 +163,12 @@ background-attachment: fixed !important;
163
163
/* Chnages*/
164
164
165
165
# header {
166
- position : fixed;
167
166
z-index : 1000 ;
168
167
left : 0 ;
169
168
top : 0 ;
170
169
width : 100vw ;
171
170
height : auto;
172
171
}
173
- # header .header {
174
- min-height : 8vh ;
175
- background-color : rgba (31 , 30 , 30 , 0.24 );
176
- transition : .3s ease background-color;
177
- }
178
172
179
173
# header .nav-bar {
180
174
display : flex;
@@ -234,20 +228,24 @@ background-attachment: fixed !important;
234
228
color : crimson;
235
229
}
236
230
.hamburger {
237
- z-index : 1 ;
231
+ z-index : 100 ;
238
232
display : inline-block;
239
233
cursor : pointer;
240
234
position : absolute;
241
- right : 10 px ;
235
+ right : 10 % ;
242
236
top : 10px ;
237
+ border : 5px solid white;
238
+ padding : 10px ;
239
+ border-radius : 50% ;
240
+ transform : scale (.8 );
243
241
}
244
242
245
243
.line1 , .line2 , .line3 {
246
244
width : 35px ;
247
245
height : 5px ;
248
246
background-color : white;
249
247
margin : 6px 0 ;
250
- transition : 0.4 s ;
248
+ transition : 0.5 s ;
251
249
}
252
250
253
251
.cross .line1 {
You can’t perform that action at this time.
0 commit comments