@@ -7,6 +7,7 @@ body, html, root {
77 background : # F5F0CD !important ;
88}
99
10+
1011/* navbar */
1112.navbar {
1213 display : flex;
@@ -22,7 +23,8 @@ body, html, root {
2223}
2324
2425.navbar-left {
25- width : 90% ;
26+ flex : 1 ;
27+ width : auto;
2628 display : flex;
2729 align-items : center;
2830 background-color : # 578FCA ;
@@ -480,57 +482,134 @@ iframe {
480482 color : # E22914 ;
481483}
482484
483- @media (max-width : 1300px ) {
485+ @media (max-width : 600px ) {
486+ .navbar {
487+ flex-direction : column;
488+ align-items : flex-start;
489+ gap : 0.5rem ;
490+ }
491+
492+ .navbar-left {
493+ width : 100% ;
494+ flex-wrap : wrap;
495+ justify-content : center;
496+ text-align : center;
497+ }
498+
499+ .navbar-logo {
500+ height : 40px ;
501+ margin : 0.5rem auto;
502+ }
503+
504+ .navbar-title , .cursor {
505+ font-size : 1.5rem ;
506+ }
484507
485- .navbar-logo {
486- height : 40px ;
487- }
508+ .navbar-menu {
509+ flex-wrap : wrap;
510+ gap : 1rem ;
511+ justify-content : center;
512+ padding : 0.5rem 0 ;
513+ }
488514
489- .navbar-title , .cursor {
490- font-size : 3rem ;
491- }
515+ .main-msg {
516+ margin : 1.5rem auto;
517+ padding : 0 1rem ;
518+ }
492519
520+ .search-bar-container {
521+ margin : 0 1rem ;
522+ }
493523
494- .navbar-menu {
495- flex-direction : column;
496- align-items : stretch;
497- gap : 1rem ;
498- margin : 1rem auto;
499- padding : 0 ;
500- width : 20% ;
501- }
524+ .preview-post {
525+ width : 100% ;
526+ height : auto;
527+ min-height : 320px ;
528+ }
529+
530+ .post {
531+ margin : 1rem ;
532+ padding : 1rem ;
533+ }
502534
503- .navbar-menu a {
504- display : block;
505- max-width : 60% ;
506- text-align : center;
507- font-size : 80% ;
508- }
535+ iframe {
536+ width : 100% !important ;
537+ height : 16rem !important ;
538+ }
509539
510- .preview-tags-container {
511- display : none;
512- }
540+ .contributors-container ,
541+ .contact-container {
542+ padding-bottom : 10% ;
543+ }
513544}
514545
515- @media (max-width : 920px ) {
546+ @media (min-width : 601px ) and (max-width : 900px ) {
547+ .navbar-title , .cursor {
548+ font-size : 2rem ;
549+ }
516550
517- .navbar-logo {
518- height : 20 px ;
519- }
551+ .navbar-logo {
552+ height : 50 px ;
553+ }
520554
521- . navbar-title , . cursor {
522- font-size : 1 rem ;
523- }
555+ . preview-post {
556+ width : 45 % ;
557+ }
524558
525- . main-body-msg {
526- font-size : 0 ;
527- }
559+ . post {
560+ margin : 1 rem 5 rem ;
561+ }
528562
529- .preview-summary {
530- display : none;
531- }
563+ iframe {
564+ width : 90% !important ;
565+ height : 24rem !important ;
566+ }
532567
533- .navbar-menu a {
534- font-size : 60% ;
535- }
536- }
568+ .contributors-container ,
569+ .contact-container {
570+ padding-bottom : 15% ;
571+ }
572+ }
573+
574+ @media (min-width : 901px ) and (max-width : 1200px ) {
575+ .navbar-title , .cursor {
576+ font-size : 3rem ;
577+ }
578+
579+ .preview-post {
580+ width : 30% ;
581+ }
582+
583+ .post {
584+ margin : 1rem 8rem ;
585+ }
586+
587+ iframe {
588+ width : 85% !important ;
589+ height : 28rem !important ;
590+ }
591+
592+ .contributors-container ,
593+ .contact-container {
594+ padding-bottom : 20% ;
595+ }
596+ }
597+
598+ @media (min-width : 1201px ) {
599+ .navbar-title , .cursor {
600+ font-size : 4rem ;
601+ }
602+
603+ .preview-post {
604+ width : 30% ;
605+ }
606+
607+ .post {
608+ margin : 1rem 20rem ;
609+ }
610+
611+ iframe {
612+ width : 80% !important ;
613+ height : 35rem !important ;
614+ }
615+ }
0 commit comments