File tree Expand file tree Collapse file tree 1 file changed +35
-27
lines changed
Expand file tree Collapse file tree 1 file changed +35
-27
lines changed Original file line number Diff line number Diff line change @@ -564,23 +564,27 @@ footer a:hover {
564564
565565@media (max-width : 768px ) {
566566 .burger-btn {
567- display : block;
568- position : absolute;
569- right : 20px ;
570- top : 20px ;
571- cursor : pointer;
572- padding : 10px ;
573- z-index : 3 ;
574- }
575-
576- .burger-btn span {
577- display : block;
578- width : 25px ;
579- height : 3px ;
580- background-color : # fff ;
581- margin : 5px 0 ;
582- transition : 0.3s ;
583- }
567+ display : block;
568+ position : absolute;
569+ left : 20px ;
570+ top : 20px ;
571+ cursor : pointer;
572+ padding : 10px ;
573+ z-index : 3 ;
574+ }
575+
576+ .burger-btn span {
577+ display : block;
578+ width : 25px ;
579+ height : 3px ;
580+ background-color : # 333 ;
581+ margin : 5px 0 ;
582+ transition : 0.3s ;
583+ }
584+
585+ .logo {
586+ padding-left : 50px ;
587+ }
584588
585589 .project-grid {
586590 grid-template-columns : 1fr ;
@@ -614,7 +618,7 @@ footer a:hover {
614618 }
615619
616620 .project-title {
617- display : none; /* Скрываем заголовок на мобильных */
621+ display : none;
618622 }
619623
620624 main {
@@ -630,14 +634,15 @@ footer a:hover {
630634 }
631635
632636 nav ul {
633- position : fixed;
634- top : -100% ;
635- left : 0 ;
636- right : 0 ;
637- background-color : # 5f9ea0 ;
638- transition : 0.3s ;
639- box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 );
640- }
637+ position : fixed;
638+ top : -100vh ;
639+ left : 0 ;
640+ right : 0 ;
641+ background-color : # 5f9ea0 ;
642+ transition : 0.3s ;
643+ box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 );
644+ z-index : 2 ;
645+ }
641646
642647 nav ul li {
643648 display : block;
@@ -656,7 +661,10 @@ footer a:hover {
656661 }
657662
658663 .burger-checkbox : checked ~ nav ul {
659- top : 70px ;
664+ top : 70px ;
665+ height : auto;
666+ max-height : calc (100vh - 70px );
667+ overflow-y : auto;
660668 }
661669
662670 .burger-checkbox : checked ~ .burger-btn span : nth-child (1 ) {
You can’t perform that action at this time.
0 commit comments