File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1111 margin : -12px ;
1212 font-family : $font-qanelas ;
1313
14+ @media (min-width : $site-max-width ) {
15+ > * {
16+ max-width : $site-max-width ;
17+ width : 100% ;
18+ }
19+ }
20+
1421 .d-header {
1522 height : 6rem ;
1623 background-color : $white ;
Original file line number Diff line number Diff line change @@ -768,6 +768,25 @@ html {
768768 scroll-behavior : smooth ;
769769}
770770
771+ // Max-width constraint for large screens to prevent layout stretch
772+ @media (min-width : $site-max-width ) {
773+ .td-navbar {
774+ > .container-fluid {
775+ max-width : $site-max-width ;
776+ margin-left : auto ;
777+ margin-right : auto ;
778+ }
779+ }
780+
781+ .container-fluid.td-outer {
782+ > .td-main {
783+ max-width : $site-max-width ;
784+ margin-left : auto ;
785+ margin-right : auto ;
786+ }
787+ }
788+ }
789+
771790h1 , h2 , h3 , h4 , h5 , h6 {
772791 scroll-margin-top : 1rem ;
773792}
Original file line number Diff line number Diff line change @@ -114,6 +114,10 @@ $pagination-disabled-color: $gray-300 !default;
114114$navbar-dark-color : rgba ($white , 0.75 ) !default ;
115115$navbar-dark-hover-color : rgba ($white , 0.35 ) !default ;
116116
117+ // Layout
118+
119+ $site-max-width : 1920px ;
120+
117121// Footer
118122
119123$list-inline-padding : $spacer ;
You can’t perform that action at this time.
0 commit comments