File tree Expand file tree Collapse file tree 4 files changed +62
-13
lines changed
blog/blog-source/assets/css/extended Expand file tree Collapse file tree 4 files changed +62
-13
lines changed Original file line number Diff line number Diff line change @@ -551,6 +551,7 @@ h6 small {
551551 align-items : center;
552552 padding : 20px 0 ;
553553 background : # 000 ;
554+ margin : 0 auto;
554555 width : 100% ;
555556}
556557
@@ -592,19 +593,44 @@ h6 small {
592593 text-decoration : none;
593594 color : # fff ;
594595 margin-left : 20px ;
596+ transition : color 0.1s ;
597+ }
598+
599+ .donation a : hover {
600+ color : # ddd ;
595601}
596602
597603.burger {
598604 display : none;
599605}
600606
607+ /* Адаптивность */
608+ @media (min-width : 992px ) {
609+ .nav-container {
610+ max-width : 1240px ;
611+ padding-left : 420px ;
612+ padding-right : 100px ;
613+ }
614+ }
615+
616+ @media (min-width : 768px ) and (max-width : 991px ) {
617+ .nav-container {
618+ padding-left : 32px ;
619+ padding-right : 32px ;
620+ }
621+ }
622+
601623/* Мобильные стили */
602624@media (max-width : 768px ) {
603625 .nav-container {
604626 padding : 10px 0 ;
605627 flex-wrap : wrap;
606628 }
607629
630+ .logo {
631+ margin-left : 50px ;
632+ }
633+
608634 .main-nav {
609635 display : none;
610636 }
@@ -628,13 +654,12 @@ h6 small {
628654 font-size : 14px ;
629655 }
630656
631- /* Бургер-меню */
632657 .burger {
633658 display : block;
634659 cursor : pointer;
635660 position : absolute;
636661 top : 25px ;
637- right : 20px ;
662+ left : 20px ;
638663 z-index : 10 ;
639664 }
640665
You can’t perform that action at this time.
0 commit comments