@if $enable-dark-mode { body { transition: background-color 0.5s, color 0.5s; } } // // Remove underline from all links // a:link, a:visited, a:hover, a:active { text-decoration: none; } // // Ensure main page is rendered to full viewport height // .main { min-height: 100vh; } .fullcover { --navbar-height: #{$navbar-height}; min-height: calc(100vh - var(--navbar-height)); } .fullscreen { --overlay-offset: #{$overlay-offset}; min-height: calc(100vh - var(--overlay-offset)); } .main-content { margin-top: var(--navbar-offset); } $utilities: map-merge( $utilities, ( "cursor": ( property: margin-left margin-right, class: mx, responsive: true, values: auto 0, ) ) ); .tickmark li::marker { content: "✓ "; } .anchor { color: transparent; } .heading:hover .anchor { transition: 0.25s ease-in-out; color: $primary; } $utilities: map-merge( $utilities, ( "padding-start-wide": ( property: padding-left, responsive: true, class: psw, values: ( 0: 0, 1: 1.5 * $spacer, 2: 3 * $spacer, 3: 6 * $spacer, 4: 9 * $spacer, 5: 12 * $spacer, ) ), "padding-top-wide": ( property: padding-top, responsive: true, class: ptw, values: ( 0: 0, 1: 1.5 * $spacer, 2: 3 * $spacer, 3: 6 * $spacer, 4: 9 * $spacer, 5: 12 * $spacer, ) ), "font-size": map-merge( map-get($utilities, "font-size"), ( responsive: true ), ), ) ); @media screen and (orientation: portrait) { .min-vh-custom { min-height: 25vh !important } } @media screen and (orientation: landscape) { .min-vh-custom { min-height: 50vh !important } } :root { --nav-height: 90px; } @include media-breakpoint-up(sm) { .ratio-section { min-height: calc(min(100vh, 576px) - var(--nav-height)); } } @include media-breakpoint-up(md) { .ratio-section { min-height: calc(min(100vh, 768px) - var(--nav-height)); } } @include media-breakpoint-up(lg) { .ratio-section { min-height: calc(min(100vh, 992px) - var(--nav-height)); } } @include media-breakpoint-up(xl) { .ratio-section { min-height: calc(min(100vh, 1200px) - var(--nav-height)); } } @include media-breakpoint-up(xxl) { .ratio-section { min-height: calc(min(100vh, 1400px) - var(--nav-height)); } } $utilities: map-merge( $utilities, ( "padding-start-wide": ( property: padding-left, responsive: true, class: psw, values: ( 0: 0, 1: 1.5 * $spacer, 2: 3 * $spacer, 3: 6 * $spacer, 4: 9 * $spacer, 5: 12 * $spacer, ) ), "padding-top-wide": ( property: padding-top, responsive: true, class: ptw, values: ( 0: 0, 1: 1.5 * $spacer, 2: 3 * $spacer, 3: 6 * $spacer, 4: 9 * $spacer, 5: 12 * $spacer, ) ), "font-size": map-merge( map-get($utilities, "font-size"), ( responsive: true ), ) ) );