// $Id: site.less 26554 2025-01-31 15:31:21Z efolley $ /* =============================================== VARS AND MIXINS =============================================== */ //// BREAKPOINTS 640/1024/1280/1536/1920 @sm-only: ~"screen and (max-width: 639px)"; @md-only: ~"screen and (min-width: 640px) and (max-width: 1023px)"; @lg-only: ~"screen and (min-width: 1024px) and (max-width: 1279px)"; @xl-only: ~"screen and (min-width: 1280px) and (max-width: 1535px)"; @xxl-only: ~"screen and (min-width: 1536px) and (max-width: 1919px)"; @xxxl-up: ~"screen and (min-width: 1920px)"; @sm-md: ~"screen and (max-width: 1023px)"; @sm-lg: ~"screen and (max-width: 1279px)"; @sm-xl: ~"screen and (max-width: 1535px)"; @sm-xxl: ~"screen and (max-width: 1919px)"; @md-up: ~"screen and (min-width: 640px)"; @md-lg: ~"screen and (min-width: 640px) and (max-width: 1279px)"; @md-xl: ~"screen and (min-width: 640px) and (max-width: 1535px)"; @md-xxl: ~"screen and (min-width: 640px) and (max-width: 1919px)"; @lg-up: ~"screen and (min-width: 1024px)"; @lg-xl: ~"screen and (min-width: 1024px) and (max-width: 1535px)"; @lg-xxl: ~"screen and (min-width: 1024px) and (max-width: 1919px)"; @xl-up: ~"screen and (min-width: 1280px)"; @xl-xxl: ~"screen and (min-width: 1280px) and (max-width: 1919px)"; @xxl-up: ~"screen and (min-width: 1536px)"; // Breakpoints (legacy) @small-screen-only: ~"screen and (max-width: 639px)"; @medium-screen-up: ~"screen and (min-width: 640px)"; @medium-screen-only: ~"screen and (min-width: 640px) and (max-width: 1023px)"; @small-medium-screens-only: ~"screen and (max-width: 1023px)"; @large-screen-up: ~"screen and (min-width: 1024px)"; @large-screen-only: ~"screen and (min-width: 1024px) and (max-width: 1199px)"; @medium-large-screens-only: ~"screen and (min-width: 640px) and (max-width: 1199px)"; @xlarge-screen-up: ~"screen and (min-width: 1200px)"; //// COLORS // Grays @white: #fff; @near-white: #f8f8f8; @lightest-gray: #e0e0e0; @lighter-gray: #c0c0c0; @light-gray: #a0a0a0; @gray: #808080; @dark-gray: #606060; @darker-gray: #404040; @darkest-gray: #202020; @near-black: #101010; @black: #000; @transparent: transparent; // Social networking colors @facebook-blue: #3b5998; @twitter-blue: #00aced; @twitter-black: @black; @youtube-red: #e52929; @pinterest-red: #cb2027; @instagram-blue: #517fa4; @rss-orange: #fa9b39; @digg-blue: #0093cc; @googleplus-orange: #dd4b39; @linkedin-blue: #007bb6; @flickr-pink: #ff0084; @tumblr-blue: #32506d; @foursquare-blue: #0072b1; @dribbble-pink: #ea4c89; @vine-green: #00b488; @whatsapp-green: #25d366; //// MIXINS // RGBA .rgba(@color, @alpha) { @alphaColor: hsla(hue(@color), saturation(@color), lightness(@color), @alpha); background-color: @color; // Fallback for older browsers background-color: @alphaColor; } // Clearfix .contain-floats() { &:after { content: ""; display: table; clear: both; } } .no-contain-floats() { &:after { content: none; display: block; clear: none; } } // Full-width, even if inside fixed width .full-width() { position: relative; width: 100vw; left: 50%; margin-left: -50vw; } // Prevent URLs from break out of boxes .no-text-breakouts() { -ms-word-break: break-all; word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; } // Flexbox columns - DEPRECATED .cols(@num) { flex: 0 0 percentage((@num/12)); max-width: percentage((@num/12)); } /* =============================================== SITE DECLARATIONS =============================================== */ //// SITE COLORS @darkest-blue: #132c4b; @dark-blue: #1c499e; @medium-blue: #233e99; @light-blue: #0095bb; @gold: #f8bb1c; @smoke: #f1f1f1; @purple: #7d3f90; @text-color: #001335; @dortch-blue: #22517c; @unity-blue: #184397; @unity-orange: #f76b16; @unity-light-blue: #55a5c4; @byv-blue: #112f89; @byv-green: #8cc63f; @bwr-purple: #924981; @b2b-gold: #b5964c; //// TYPOGRAPHY @futura: 'futura-pt', sans-serif; @text-font: @futura; @header-font: @futura; //// MISC @content-width: 1200px; @sizer-padding: 20px; @sm-cw: ~"screen and (max-width: 1239px)"; @cw-up: ~"screen and (min-width: 1240px)"; @menu-sm: ~"screen and (max-width: 1023px)"; @menu-lg: ~"screen and (min-width: 1024px)"; //// CUSTOM PROPERTIES :root { --font-size: 16px; --line-height: 1.5; --baseline: 1.5rem; --border-radius: .5rem; // fluid font sizes (320 - 1200px using 1 = .25rem; multiplier .4545 per .25rem difference) --fluid-4-6: clamp(1rem, calc(1rem + ((1vw - 0.2rem) * 0.9091)), 1.5rem); --fluid-4-7: clamp(1rem, calc(1rem + ((1vw - 0.2rem) * 1.3636)), 1.75rem); --fluid-4-8: clamp(1rem, calc(1rem + ((1vw - 0.2rem) * 1.8182)), 2rem); --fluid-5-6: clamp(1.25rem, calc(1.25rem + ((1vw - 0.2rem) * 0.4545)), 1.5rem); --fluid-5-7: clamp(1.25rem, calc(1.25rem + ((1vw - 0.2rem) * 0.9091)), 1.75rem); --fluid-5-8: clamp(1.25rem, calc(1.25rem + ((1vw - 0.2rem) * 1.3636)), 2rem); --fluid-6-8: clamp(1.5rem, calc(1.5rem + ((1vw - 0.2rem) * 0.9091)), 2rem); --fluid-6-10: clamp(1.5rem, calc(1.5rem + ((1vw - 0.2rem) * 1.8182)), 2.5rem); --fluid-6-12: clamp(1.5rem, calc(1.5rem + ((1vw - 0.2rem) * 2.7273)), 3rem); --fluid-8-12: clamp(2rem, calc(2rem + ((1vw - 0.2rem) * 1.8182)), 3rem); --fluid-8-16: clamp(2rem, calc(2rem + ((1vw - 0.2rem) * 3.6364)), 4rem); --fluid-10-16: clamp(2.5rem, calc(2.5rem + ((1vw - 0.2rem) * 2.7273)), 4rem); --fluid-10-20: clamp(2.5rem, calc(2.5rem + ((1vw - 0.2rem) * 4.5455)), 5rem); --fluid-8-24: clamp(2rem, calc(2rem + ((1vw - 0.2rem) * 7.2727)), 6rem); --fluid-12-24: clamp(3rem, calc(3rem + ((1vw - 0.2rem) * 5.4545)), 6rem); // buttons --button-primary-color: @text-color; --button-primary-bg-color: @gold; --button-primary-border-color: @gold; --button-secondary-color: @white; --button-secondary-bg-color: @light-gray; --button-secondary-border-color: @light-gray; --button-border-radius: 0; // forms --input-border-radius: .25rem; --input-height: 2rem; --input-padding: .25rem .5rem; --input-item-max-width: 400px; --amounts-min-width: 100px; --amounts-max-width: 100%; --amounts-gap: 1rem; --button-amounts-color: @white; --button-amounts-bg-color: @dark-blue; --button-amounts-checked-color: @text-color; --button-amounts-checked-bg-color: @gold; --button-amounts-border-radius: .25rem; --button-amounts-height: 3.5rem; --button-amounts-font-size: 1.2rem; --contrib-freq-msg-bg-color: @near-white; --contrib-freq-msg-padding: .5rem; --fl10-max-width: none; --fl10-max-item-width: 100%; --fl10-max-form-width: 550px; --fl11-max-width: none; --fl11-max-item-width: 100%; --fl11-form-sidebar-gap: 1.5rem 3rem; --fl12-max-width: none; --fl12-max-item-width: 100%; --fl12-form-sidebar-gap: 1.5rem 3rem; --fl13-max-width: none; --fl13-max-item-width: 100%; --fl13-form-sidebar-gap: 1.5rem 3rem; --fl14-max-width: none; --fl14-max-item-width: 100%; --fl14-form-sidebar-gap: 1.5rem 3rem; --boxed-inputs-bg-color: @white; --boxed-inputs-border-color: @lighter-gray; --boxed-inputs-input-bg-color: @white; --boxed-inputs-input-focus-color: #f8f8f8; // p3 ui --tabs-bg-color: @lightest-gray; --tabs-active-bg-color: @lighter-gray; --tabs-border-color: @lighter-gray; --accordion-tab-padding: .5rem 1rem; --accordion-tab-bg-color: @lightest-gray; --accordion-tab-active-bg-color: @lighter-gray; --accordion-tab-border-color: @lighter-gray; --slider-nav-color: @white; --slider-nav-bg-color: @light-gray; --tooltip-bg-color: @dark-gray; --tooltip-color: @white; --tooltip-padding: .25rem .5rem; --bar-border-color: @lighter-gray; --hbar-width: 200px; --hbar-height: 2rem; --vbar-width: 2rem; --vbar-height: 200px; --card-2up-col-gap: 3rem; --card-2up-row-gap: 1.5rem; --logo-grid-base-height: 5rem; --logo-grid-scale-factor-horizontal: 0.2; --logo-grid-scale-factor-vertical: 0.6; --logo-grid-logo-min-size: 0.5; --logo-grid-logo-max-size: 1.25; --logo-grid-gap: 2rem 3rem; // event calendar --cal-next-prev-bg-color: @dark-blue; --cal-next-prev-color: @white; --cal-header-bg-color: @lightest-gray; --cal-header-color: @text-color; } .social-icons { --icon-font-size: 1.5rem; } .grid-block-grid.min-max { --grid-column-gap: 1rem; --grid-row-gap: 1rem; --grid-column-count: 4; --grid-item-min-width: 200px; } #user-login { --login-line-height: 3rem; } #topnav { --nav-level1-bg-color: @transparent; --nav-level1-link-color: @text-color; --nav-level1-hover-bg-color: @transparent; --nav-level1-hover-color: @text-color; --nav-level1-link-padding: 0; --nav-level1-line-height: 2rem; --nav-level1-gap: 2rem; --nav-level2-bg-color: @dark-blue; --nav-level2-link-color: @white; --nav-level2-hover-bg-color: @light-blue; --nav-level2-hover-color: @white; --nav-level2-link-padding: .5rem 1rem; --nav-mobile-bg-color: @dark-blue; --nav-mobile-link-color: @white; --nav-mobile-border-color: @white; } /* =============================================== GLOBAL ELEMENTS =============================================== */ div.preview-notice-v2 { display: none; } body.is-preview div.preview-notice-v2 { display: flex; } body:after { display: none; } :root { accent-color: auto; } html { font-family: @text-font; color: @text-color; background-color: @white; } input, textarea, select, button { font-size: inherit; font-family: inherit; } h1, .h1, h2, .h2 { color: @black; font-family: @header-font; } h3, .h3 { color: @medium-blue; font-family: @header-font; } h4, .h4, h5, h6 { color: @black; font-family: @header-font; } h1.page-title { text-transform: uppercase; } form h2 { padding-bottom: .25rem; text-transform: uppercase; border-bottom: 2px solid @black; } h3.title { font-size: var(--fluid-4-6); } a { color: @medium-blue; } span.req { color: @medium-blue; } .cs-darkest-blue { background-color: @darkest-blue; color: @white; h1,h2,h3,h4,h5,h6 { color: @white; } a:not(.button) { color: @white; } a.button { // default gold } } .cs-gold { background-color: @gold; color: @text-color; h1,h2,h3,h4,h5,h6 { color: @text-color; } a:not(.button) { // default } a.button { --button-primary-color: @gold; --button-primary-bg-color: @darkest-blue; --button-primary-border-color: @darkest-blue; } } .cs-light-gray { background-color: #e7e9ed; a:not(.button) { color: @text-color; } } .contribute-footer { margin-top: 3rem; } .cs-dortch-blue { background-color: @dortch-blue; color: @white; h1,h2,h3,h4,h5,h6 { color: @white; } a:not(.button) { color: @white; } a.button { // default gold } } .cs-unity-blue { background-color: @unity-blue; color: @white; h1,h2,h3,h4,h5,h6 { color: @white; } a:not(.button) { color: @white; } a.button { // default gold } } .cs-byv-blue { background-color: @byv-blue; color: @white; h1,h2,h3,h4,h5,h6 { color: @white; } a:not(.button) { color: @white; } a.button { // default gold } } .cs-b2b-gold { background-color: @black; color: @b2b-gold; h1,h2,h3,h4,h5,h6 { color: @b2b-gold; } a:not(.button) { // default } a.button { --button-primary-color: @black; --button-primary-bg-color: @b2b-gold; --button-primary-border-color: @b2b-gold; } } /* =============================================== VANILLA THEME OVERRIDES =============================================== */ //// ADDTOCALENDAR .addtocalendar { width: 100%; } .atc-style-blue .atcb-link, .atc-style-blue .atcb-link:hover, .atc-style-blue .atcb-link:active, .atc-style-blue .atcb-link:focus { padding: .5rem 1rem; border: 1px solid var(--button-primary-border-color); background-color: var(--button-primary-bg-color); color: var(--button-primary-color); font-family: @text-font; text-align: center; font-weight: bold; line-height: 1; border-radius: var(--button-border-radius); box-shadow: none; text-transform: uppercase; } .atc-style-blue .atcb-item, .atc-style-blue .atcb-item-link { margin: 0; } //// BUTTONS button, a.button { text-transform: uppercase; &.gold {} &.dark-blue { --button-primary-color: @white; --button-primary-bg-color: @dark-blue; --button-primary-border-color: @dark-blue; } &.text-color { --button-primary-color: @gold; --button-primary-bg-color: @text-color; --button-primary-border-color: @text-color; } &.bwr-purple { --button-primary-color: @white; --button-primary-bg-color: @bwr-purple; --button-primary-border-color: @bwr-purple; } &.byv-blue { --button-primary-color: @white; --button-primary-bg-color: @byv-blue; --button-primary-border-color: @byv-blue; } &.byv-green { --button-primary-color: @white; --button-primary-bg-color: @byv-green; --button-primary-border-color: @byv-green; } &.unity-blue { --button-primary-color: @white; --button-primary-bg-color: @unity-blue; --button-primary-border-color: @unity-blue; } &.unity-orange { --button-primary-color: @white; --button-primary-bg-color: @unity-orange; --button-primary-border-color: @unity-orange; } &.dortch-blue { --button-primary-color: @white; --button-primary-bg-color: @dortch-blue; --button-primary-border-color: @dortch-blue; } } .primary-form .button-wrapper button[type="submit"]:not(.secondary) { font-size: 1.5rem; padding: 1rem 2rem; } .equal-buttons { grid-auto-rows: 1fr; .card { div, .readmore { height: 100%; } .readmore a { width: 100%; height: 100%; place-content: center; } } } /* =============================================== PRINT STYLES =============================================== */ @media print { body { font-size: 12pt; background: none; } div, .preview-notice-v2 { display: none; } .page-container, #middle, #middle .sizer, #middle .sizer .container, #content, #content .story-content { display: block; margin: 0; padding: 0; border: 0; height: auto; width: auto; background: none; box-shadow: none; } #content .story-content div { display: block; } } /* =============================================== MAIN STRUCTURE =============================================== */ //// CONTAINERS .sizer, .like-sizer { max-width: calc(@content-width + (@sizer-padding * 2)); padding: 0 @sizer-padding; margin: 0 auto; } .story-content { container-name: story-content; container-type: inline-size; .contain-floats(); } //// TOP #top { background-color: @smoke; .container { display: flex; justify-content: space-between; align-items: center; column-gap: 2rem; } .logo { padding: 1rem 0; } .links { margin-bottom: 2rem; display: flex; column-gap: 2rem; justify-content: flex-end; align-items: center; } .social-icons { --icon-font-size: 1.25rem; li { background-color: @text-color; } a { color: @white; } li.search { background-color: @transparent; a { color: @text-color; } } } .btns { display: flex; .button { border-radius: 0; padding: 1rem 2rem; } } } @media @menu-sm { #top { .not-logo { display: none; } } } //// MENU TOGGLE #menu-toggle { text-align: right; font-size: 2rem; a { color: @white; text-decoration: none; } button { color: @dark-blue; background: transparent; border: 0; padding: .5rem; } span { margin-right: .5rem; } .fa-solid { transition: all 1s; } } @media @menu-lg { #menu-toggle { display: none; } } @media @sm-only { #menu-toggle { span { display: none; } } } //// TOP NAV #topnav { a[href=""], a[href="#"] { cursor: default; } } @media @menu-lg { #topnav { background: var(--nav-level1-bg-color); .sizer { padding: 0; > ul { display: flex; gap: var(--nav-level1-gap); justify-content: flex-end; > li { margin: 0; display: block; position: relative; > a { padding: var(--nav-level1-link-padding); border-top: 4px solid transparent; border-bottom: 4px solid transparent; display: block; color: var(--nav-level1-link-color); line-height: var(--nav-level1-line-height); font-weight: bold; text-align: center; text-decoration: none; transition: background-color .25s; text-transform: uppercase; transition: all .25s; &:hover { background-color: var(--nav-level1-hover-bg-color); color: var(--nav-level1-hover-color); border-bottom-color: @medium-blue; } } } } .level2 { position: absolute; top: var(--nav-level1-line-height); left: 0; z-index: 99999; height: 0; opacity: 0; overflow: hidden; transition: opacity 1s linear; ul { background: var(--nav-level2-bg-color); li { a { width: 250px; color: var(--nav-level2-link-color); display: block; padding: var(--nav-level2-link-padding); text-decoration: none; &:hover { background-color: var(--nav-level2-hover-bg-color); color: var(--nav-level2-hover-color); } } } } } > ul > li:hover .level2 { height: auto; overflow: auto; opacity: 1; } .level3 { height: 0; opacity: 0; overflow: hidden; transition: opacity 1s linear; } } } } @media @menu-sm { #topnav.slidedown { background: var(--nav-mobile-bg-color); > .sizer { padding: 0; > ul { width: 100%; overflow: hidden; &:not(.active) { height: 0; } > li { margin: 0; width: 100%; height: auto; display: block; border-top: 1px solid var(--nav-mobile-border-color); &:first-child { border: 0; } &.has-subnav { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; flex-wrap: wrap; > a { flex-grow: 1; } } > a { display: block; padding: .7rem .5rem; color: var(--nav-mobile-link-color); text-align: left; height: auto; line-height: 1; text-decoration: none; i { display: none; } } > div.subnav { padding: 0 .5rem; color: var(--nav-mobile-link-color); width: auto; .fas { transition: all 1s; } } } } .level2 { width: 100%; overflow: hidden; &:not(.active) { height: 0; } > ul { > li { border-top: 1px solid var(--nav-mobile-border-color); > a { line-height: 1; display: block; padding: .7rem .5rem .7rem 2rem; color: var(--nav-mobile-link-color); border-bottom: none; text-decoration: none; } > div.subnav { padding: 0 .5rem; color: var(--nav-mobile-link-color); width: auto; .fas { transition: all 1s; } } } } } .level3 { width: 100%; &:not(.active) { height: 0; } } } } } @media @menu-sm { #topnav.slidein > .sizer { padding: 0; } #topnav.slidein > .sizer > ul { padding: 1rem 2rem; background-color: var(--nav-mobile-bg-color); position: fixed; top: 0; bottom: 0; left: 0; overflow-y: scroll; z-index: 100; width: 100%; transition: .5s; transform: translateX(100%); &.expanded { transform: translateX(0); } li { margin-bottom: .75rem; } li.close { color: var(--nav-mobile-link-color); text-align: right; font-size: 1.5rem; } a { color: var(--nav-mobile-link-color); } .level2 { margin-top: .75rem; padding-left: .5rem; } } } //// BANNER #banner { .sizer { max-width: 1920px; padding-inline: 0; } } #banner.bwr { background-color: @bwr-purple; } #banner.byv { background-color: @byv-blue; } #banner.unity { background-color: @unity-blue; } #banner.dortch { background-color: @dortch-blue; } #banner.b2b { background-color: @b2b-gold; } @media screen and (min-width: 1921px) { #banner.bwr { img { -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); } } #banner.byv { img { -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); } } #banner.unity { img { -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); } } #banner.dortch { img { -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 100%); } } #banner.b2b { img { -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); } } } //// MIDDLE #middle { min-height: 200px; } body:not(.homepage) { #middle { padding: 2rem 0; } } body.is-story:not(.layout-no-sidebar) { #middle { > .sizer > .container { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem 5%; } #content { width: 62%; } #sidebar { width: 33%; } } } @media @sm-md { body.is-story:not(.layout-no-sidebar) { #middle { > .sizer > .container { gap: 0; } #content { width:100%; } #sidebar { display: none; } } } } //// SIDEBAR #sidebar { > div { margin-bottom: 1.5rem; } } //// USER LOGIN #user-login { height: var(--login-line-height); ul { margin: 0; list-style: none; list-style-image: none; display: flex; gap: 1rem; li { margin: 0; line-height: var(--login-line-height); } a { line-height: var(--login-line-height); } } } //// BOTTOM SPONSORS #bottom-sponsors { padding-block: 3rem; h2 { text-align: center; } } //// BOTTOM DONATE #bottom-donate { background-color: @gold; padding: 3rem 0; .container { display: flex; flex-wrap: wrap; gap: 1.5rem .75rem; justify-content: center; align-items: center; text-align: center; } h2 { margin-bottom: 0; } .button { padding: 1rem 2rem; font-size: 1.25rem; } } //// BOTTOM #bottom { padding: 3rem 0; .logo-social { margin-bottom: 1.5rem; display: flex; gap: 1.5rem 3rem; justify-content: space-between; align-items: center; } .social-icons { --icon-font-size: 2rem; ul { gap: 1rem; justify-content: flex-end; } li { background-color: @text-color; } a { color: @white; } } } /* =============================================== HOMEPAGE =============================================== */ body.homepage { #middle { padding-block: 0; > .sizer { max-width: none; padding-inline: 0; } .story-content > div h2 { font-size: var(--fluid-8-12); text-transform: uppercase; } } } //// HERO body.homepage .hero { padding-top: 2rem; background: @darkest-blue url(/images/hp-hero-bg.jpg) no-repeat top left; background-size: cover; > .sizer { max-width: 1480px; } // card layout .card-inner { display: grid; grid-template-columns: 6fr 3rem 3fr; } .card-media { grid-column: 1; grid-row: 1; align-self: end; } .card-content { padding: 1rem 0; grid-column: 3; grid-row: 1; align-self: center; } // card text content .card-content-inner { padding: 2rem; background-color: @light-blue; text-align: center; border-radius: var(--border-radius); h1 { color: @white; text-transform: uppercase; font-size: var(--fluid-6-10); } .img { margin-bottom: .25rem; img { margin-inline: auto; } } h3 { margin-bottom: 0; color: @darkest-blue; font-size: var(--fluid-5-8); text-transform: uppercase; } p { color: @white; } } // form form { .form-item { max-width: none; } button { border-radius: 0; margin-left: auto; } } } @media @sm-md { body.homepage .hero { .card-inner { grid-template-columns: 1fr; row-gap: 0; } .card-media { grid-column: 1 / 2; grid-row: 1; } .card-content { grid-column: 1 / 2; grid-row: 2; padding-top: 0; } } } @media @lg-only { body.homepage .hero { .card-content-inner { h1 { font-size: 1.75rem; } h3 { font-size: 1.25rem; } } } } //// ABOUT body.homepage .about { padding: 2rem 0 0; font-size: 1.25rem; text-align: center; font-weight: 500; text-wrap: balance; .container :last-child { margin-bottom: 0; } } //// EVENTS body.homepage .events { padding: 4rem 0; .header { margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem 2rem; } h2 { margin-bottom: 0; } .readmore { font-weight: bold; text-transform: uppercase; .fa-arrow-right { color: @gold; } } .leadin-card { img { border-radius: var(--border-radius); } h3.title { font-weight: 500; } } } //// REPORTS body.homepage .reports { padding: 4rem 0; background-image: url(/images/hp-reports-bg.png); background-position: top right; background-repeat: no-repeat; background-size: cover; .header { margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem 3rem; > div { max-width: 600px; } } h2 { margin-bottom: .75rem; } .readmore { font-weight: bold; text-transform: uppercase; color: @gold; .fa-arrow-right { color: @gold; } } .leadin-card { img { border-radius: var(--border-radius); } h3.title { font-weight: 500; } } } @media @sm-only { body.homepage .reports { .header { flex-direction: column; align-items: flex-start; } } } //// UPDATES body.homepage .updates { padding: 4rem 0; .header { margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem 2rem; } h2 { margin-bottom: 0; } .readmore { font-weight: bold; text-transform: uppercase; .fa-arrow-right { color: @gold; } } .leadin-card { img { border-radius: var(--border-radius); } h3.title { font-weight: 500; } } } @media @lg-up { body.homepage .updates { background: url(/images/hp-events-bg.png) top right no-repeat; .container { max-width: 800px; } } } //// MAP body.homepage .map { padding: 4rem 0; .header { display: flex; gap: 1.5rem; justify-content: center; align-items: center; } h2 { margin-bottom: 0; text-align: right; } .stats { margin-block-end: 1.5rem; padding: 1rem; border-radius: var(--border-radius); gap: 1rem 2rem; > div { text-align: center; } .num { display: block; font-size: 3rem; font-weight: bold; } .label { text-transform: uppercase; font-size: 1.25rem; } } } @media @sm-only { body.homepage .map { .header { flex-direction: column; text-align: center; } .stats .label { font-size: 1rem; } } } //// SOCIAL body.homepage .social { padding: 4rem 0; } /* =============================================== EVENTS =============================================== */ .event-listing { .tmpl-event-search { .view-controls { display: none; } } .tmpl-event-calendar { .view-controls-container { display: none; } } .tmpl-event-details { .event-info-summary { table th { border-right: 1px solid @gray; } } .buttons-wrapper { display: flex; gap: 1rem; margin-bottom: 1.5rem; .button, .atcb-link { padding: 0 10px; border: 0; font-size: 16px; height: 30px; line-height: 30px; text-align: center; } > div { &.fb-share a { background: @facebook-blue; color: @white; } &.tw-share a { background: @twitter-blue; color: @white; } } } } } /* =============================================== SECTION COVER SC-01 =============================================== */ body.sc-01 { #middle { padding-block: 0; > .sizer { max-width: none; padding-inline: 0; } .story-content > div h2 { font-size: var(--fluid-8-12); text-transform: uppercase; } } } //// ABOUT body.sc-01 .about { padding: 4rem 0; .card .card-media img { border-radius: var(--border-radius); } } //// EVENTS body.sc-01 .events { padding: 4rem 0; .sizer { max-width: 992px; } .header { margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem 2rem; } h2 { margin-bottom: 0; } .readmore { font-weight: bold; text-transform: uppercase; .fa-arrow-right { color: @gold; } } .leadin-card { img { border-radius: var(--border-radius); } h3.title { font-weight: 500; } } } //// REPORTS body.sc-01 .reports { padding: 4rem 0; background-image: url(/images/sc-01-reports-bg.png); background-position: top right; background-repeat: no-repeat; background-size: cover; .header { margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem 3rem; > div { max-width: 600px; } } h2 { margin-bottom: .75rem; } .readmore { font-weight: bold; text-transform: uppercase; color: @text-color; .fa-arrow-right { color: @text-color; } } .leadin-card { img { border-radius: var(--border-radius); } h3.title { font-weight: 500; } } } @media @sm-only { body.sc-01 .reports { .header { flex-direction: column; align-items: flex-start; } } } //// CTA body.sc-01 .cta { padding: 4rem 0; background: @purple url(/images/bwr-sc-cta-bg.jpg) top center no-repeat; background-size: cover; color: @white; .container { display: flex; place-content: center; } .box-content { max-width: 880px; text-align: center; } h2 { color: @white; font-weight: normal; max-width: 768px; margin-inline: auto; span { font-weight: bold; font-size: 1.33em; display: inline-block; } } .button-group { margin-bottom: 4rem; } .sponsor { display: flex; gap: 1.5rem; text-align: left; * { margin-bottom: 0; } .media { flex-shrink: 0; } } } @media @sm-only { body.sc-01 .cta { .sponsor { flex-direction: column; } } } //// SOCIAL body.sc-01 .social { padding: 4rem 0; } //// PROGRAM VARIANTS body.sc-01.programs-unity { .story-content .resources { .card a.button { --button-primary-color: @white; --button-primary-bg-color: @unity-orange; --button-primary-border-color: @unity-orange; } } } /* =============================================== MAIN DONATE FORM =============================================== */ #story-50 { #fw-intro .card { .card-content { padding-block: 2rem; display: flex; justify-content: flex-end; align-items: center; } .card-content-inner { max-width: calc(590px - .75rem); padding-inline: 1rem; } } } @media @sm-md { #story-50 { #fw-intro .card { .card-content { padding: 0 2rem 2rem; } .card-content-inner { max-width: none; padding: 0; } } } } @media @xxxl-up { #story-50 { #fw-intro .card { .card-media img { -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); } } } } /* =============================================== PRESS RELEASES =============================================== */ body#story-802 #middle { .card .card-media { max-width: 200px; } }