/* Fonts */ @import "fonts"; /* Load Bootstrap v5 and customizations */ @import "bs-load"; /*SVG ICON SYSTEM*/ @import "svg-icons"; /* Navbar toggler icon override */ @import "nav-burger"; /* Navbar & Main layout styling */ @import "layout-top-navbar-main"; /* main */ html, body { color: $gray-200; background-color: $spaceblue-800; height: 100%; } /* links */ a { // @extend .text-decoration-none; color: $gray-200; &:hover { // @extend .text-decoration-underline; color: $primary; text-decoration-color: $gray-200 !important; } } /* general additional text style */ .font-family-handbrush { font-family: $font-family-handbrush; } .text-gray-100 { color: $gray-100 !important; } .text-gray-200 { color: $gray-200 !important; } .text-gray-300 { color: $gray-300 !important; } .text-gray-400 { color: $gray-400 !important; } .text-gray-500 { color: $gray-500 !important; } .text-gray-600 { color: $gray-600 !important; } .text-gray-700 { color: $gray-700 !important; } .fs-larger { font-size: larger; } .fs-smaller { font-size: smaller; } /* general additional spacing style */ .mb-two-rem { margin-bottom: 2rem !important; } /* general additional border style */ .border-bottom { &.border-dashed { border-bottom-style: dashed !important; } &.border-gray-300 { border-bottom-color: $gray-300 !important; } &.border-gray-400 { border-bottom-color: $gray-400 !important; } &.border-gray-500 { border-bottom-color: $gray-500 !important; } &.border-gray-600 { border-bottom-color: $gray-600 !important; } &.border-gray-700 { border-bottom-color: $gray-700 !important; } &.border-gray-800 { border-bottom-color: $gray-800 !important; } &.border-spaceblue-300 { border-bottom-color: $spaceblue-300 !important; } &.border-spaceblue-400 { border-bottom-color: $spaceblue-400 !important; } &.border-spaceblue-500 { border-bottom-color: $spaceblue-500 !important; } &.border-spaceblue-600 { border-bottom-color: $spaceblue-600 !important; } &.border-spaceblue-700 { border-bottom-color: $spaceblue-700 !important; } &.border-spaceblue-800 { border-bottom-color: $spaceblue-800 !important; } } /* post styling */ article.post.sticky { @extend .card; background-color: shade-color($gray-800, 50%); border-bottom: inherit !important; margin-bottom: inherit !important; padding-bottom: inherit !important; &.mb-two-rem { margin-bottom: 2rem !important; } header.post-header { @extend .card-body; @extend .pb-0; } div.post-body { @extend .card-body; @extend .pt-0; &:last-child { padding-bottom: 0 !important; margin-bottom: .25rem !important; } } } .post-header { .post-title, .post-title a { -ms-word-wrap: break-word; word-wrap: break-word; } } .more-link-outer { @extend .text-end; @extend .mb-0; .more-link { @extend .text-decoration-none; @extend .font-family-handbrush; } } /* blockquote handling */ blockquote, blockquote.wp-block-quote { background-color: tint-color($spaceblue-800, 5%) !important; @extend .border-start; @extend .border-5; border-left-color: tint-color($spaceblue-800, 15%) !important; @extend .ms-0; @extend .my-4; @extend .px-3; @extend .py-2; quotes: "\201C" "\201D" "\201C" "\201D"; position: relative; p { @extend .blockquote; &:last-of-type { @extend .my-0; @extend .py-0; } } &.is-style-large { p { font-size: 1.7em; } } cite { @extend .blockquote-footer; color: $gray-300; @extend .my-0; @extend .py-0; font-size: 0.85em; font-style: normal; } &:last-child { @extend .py-1; } } figure.wp-block-pullquote { // @extend .my-3; // @extend .py-3; margin: 2em !important; @extend .p-5; &:not(.is-style-solid-color) { background-color: tint-color($spaceblue-800, 5%) !important; @extend .border-top; @extend .border-bottom; @extend .border-5; border-top-color: tint-color($spaceblue-800, 15%) !important; border-bottom-color: tint-color($spaceblue-800, 15%) !important; & blockquote { background-color: none !important; border: none !important; } } & blockquote { @extend .m-0; @extend .p-0; background-color: inherit !important; border: inherit !important; } } /* other wp styling */ .wp-block-image.alignfull img, .wp-block-image.alignwide img, .wp-block-image img, .wp-block-media-text__media img { height: auto; } .btn-primary { color: $spaceblue-800; } .has-drop-cap:not(:focus)::first-letter { font-size: 5em; margin: 0.05em 0.05em 0 0; } .wp-block-button { .wp-block-button__link { @extend .btn; @extend .text-decoration-none; @extend .mb-1; } &:not(.is-style-outline) .wp-block-button__link { @extend .btn-primary; } &.is-style-outline .wp-block-button__link { @extend .btn-outline-primary; } &.alignleft { @extend .text-start; } &.aligncenter { @extend .text-center; } &.alignright { @extend .text-end; } } table, .wp-block-table table, .wp-block-calendar table { @extend .table; @extend .table-dark; caption { @extend .text-gray-400; } thead th, tbody td { border: none !important; } thead tr { border-bottom: 1px solid $gray-600; } tbody tr { border-bottom: 1px solid $gray-800; &:last-child { border-bottom: none !important; } } } .wp-block-calendar table, .wp-block-table.is-style-stripes table { @extend .table-striped; } .post-page-numbers { @extend .text-decoration-none; @extend .page-item; &.current { @extend .active; & .page-link { @extend .text-decoration-none; color: $spaceblue-100 !important; background-color: $spaceblue-600 !important; border-color: $spaceblue-600 !important; &:hover { @extend .text-decoration-none; color: $spaceblue-100 !important; background-color: $spaceblue-600 !important; border-color: $spaceblue-600 !important; } } } &:hover { @extend .text-decoration-none; } & .page-link { @extend .text-decoration-none; color: $gray-200; background-color: inherit !important; border: 1px solid $spaceblue-600; &:hover { color: $spaceblue-800; background-color: $primary !important; border: 1px solid $spaceblue-600; } } } /* search form */ .form-control { color: $gray-200; background-color: $spaceblue-900 !important; border-color: $spaceblue-600; } .form-control:focus { border-color: $input-focus-border-color; } .form-control::-ms-clear, input.form-control::-ms-clear, .form-control::-ms-reveal, input.form-control::-ms-reveal { display: none; } .form-control::-webkit-input-placeholder { /* WebKit, Blink, Edge */ color: $spaceblue-700 !important; } .form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: $spaceblue-700 !important; opacity: 1; } .form-control::-moz-placeholder { /* Mozilla Firefox 19+ */ color: $spaceblue-700 !important; opacity: 1; } .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */ color: $spaceblue-700 !important; } .form-control::-ms-input-placeholder { /* Microsoft Edge */ color: $spaceblue-700 !important; } .form-control::placeholder { /* Most modern browsers support this now. */ color: $spaceblue-700 !important; } label { @extend .form-label; } input, .wp-block-search .wp-block-search__input, form input { @extend .form-control; &:focus { border-color: $input-focus-border-color; } &::-ms-clear &::-ms-reveal { display: none; } &::-webkit-input-placeholder { /* WebKit, Blink, Edge */ color: $spaceblue-700 !important; } &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: $spaceblue-700 !important; opacity: 1; } &::-moz-placeholder { /* Mozilla Firefox 19+ */ color: $spaceblue-700 !important; opacity: 1; } &:-ms-input-placeholder { /* Internet Explorer 10-11 */ color: $spaceblue-700 !important; } &::-ms-input-placeholder { /* Microsoft Edge */ color: $spaceblue-700 !important; } &::placeholder { /* Most modern browsers support this now. */ color: $spaceblue-700 !important; } } button, .wp-block-search .wp-block-search__button, form button { @extend .btn; @extend .btn-primary; } select { @extend .form-select; } .btn-primary, button, .wp-block-search .wp-block-search__button, form button, .wp-block-button:not(.is-style-outline) .wp-block-button__link { box-shadow: inherit; }