@charset "utf-8"; // Additional fonts @font-face { font-family: 'Transport Medium'; src: url('../fonts/transport-medium.woff2') format('woff2'); } // Hackspace Branding //$family-sans-serif: "Roboto", sans-serif; $primary: #d41246; $accent: #fbf3ee; $link: $primary; $navbar-item-color: white; $navbar-item-hover-color: $primary; $navbar-item-hover-background-color: none; $navbar-background-color: black; $navbar-burger-color: white; $footer-background-color: black; $footer-link-color: #e2e2e2; //$button-padding-vertical: calc(0.5em) !default; $body-font-size: 1.25em; //$body-line-height: 1.636em; //$subtitle-font-size:$body-font-size!important; //$subtitle-line-height:$body-line-height; // Import Bulmas styles @import "bulma.sass"; @import "chroma.scss"; // Add Carousel add-on @import "bulma-carousel.sass"; // ------------------------------------------------------- // Custom SCSS overrides // ------------------------------------------------------- // Preloader .js div#preloader { position: fixed; left: 0; top: 0; z-index: 999; width: 100%; height: 100%; overflow: visible; background: white no-repeat center center; background-size: 20%; } // Modifiers .has-primary-gradient { background-image: linear-gradient(180deg, $primary, #690c0c); } .has-box-shadow { box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.58), inset 0 1px 0 0 rgba(255, 255, 255, 0.51) } .m-0a { margin: 0 auto; } .hover-item { // min-height:10em; transition: all 0.3s; &:hover { box-shadow: 0 0px 30px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1); // border-color: $primary; // box-shadow: 0 10px 1px rgba($black, 0.2); // margin-top: -0.5em; } } .columns:last-child { margin-bottom: 0 !important; } p { line-height: $body-line-height; margin-bottom: 1.5em !important; &:last-child { margin-bottom: 0 !important; } } .navbar-burger { height: 4rem !important; } // ------------------------------------------------------- // Base // ------------------------------------------------------- a { text-decoration: underline; .navbar-item { &:hover { color: $primary; border-bottom: solid 2px $primary; } } } address { font-style: normal; } .button { height: 3em; text-decoration: none; transition: all 0.2s; } // ------------------------------------------------------- //Navigation // ------------------------------------------------------- .navbar { &-item { text-decoration: none; } &--social-links { a { color: white; &:hover { color: $primary; } } } &-burger { &:hover { color: white; } } } .site-logo { max-height: 3rem !important; &-text { font-size: 1.4rem; line-height: 1.1; font-family: 'Transport Medium'; } } // ------------------------------------------------------- // Page Modules // ------------------------------------------------------- .hero { background-size: cover; background-repeat: no-repeat; background-position: center; background-blend-mode: multiply; min-height: 240px; &-img { //margin-bottom: -4.5rem; max-height: 300px; width: 100%; } .subtitle { font-size: 1.375rem; } } .work-img { max-width: 90%; } .cta { &-container { margin-top: 4em; padding: 2em 1em; } &-img { margin-top: -10rem; } } // ------------------------------------------------------- // Facilities // ------------------------------------------------------- .facility { &-hero { padding: 2em 0.5em; } &-container { padding: 2em 1em; } &-gallery { padding-top: 1em; } &--icon { margin: 0 auto; padding: 1px; } &--resource-list { @include from($tablet) { border-left: solid 1px; border-color: hsl(0, 0%, 86%); } } &-description { min-height: 180px; } } .small_cta { background-color: $accent; padding: 0 1em; } // ------------------------------------------------------- // Membership // ------------------------------------------------------- .pricing { &-tiers, &-facilities { padding: 2em 0; } &-price { line-height: 1; } &-description { min-height: 120px; } } // ------------------------------------------------------- // Join the team // ------------------------------------------------------- .team { &-join { background-color: $accent; } &-profile { margin: 0 auto; margin-bottom: 1rem; max-width: 256px; height: auto; } } // ------------------------------------------------------- // Map // ------------------------------------------------------- #map { width: 100%; min-height: 25em; margin-bottom: 2em; } .map { // -webkit-filter: grayscale(100%); // filter: grayscale(100%); &--home, &--about { width: 100%; height: 400px; } &-container { padding: 2em 1em; .is-spaced { margin: 1.5em auto; } } } // ------------------------------------------------------- // Terms, info pages // ------------------------------------------------------- .policy-content { padding: 1.375em 0; } // ------------------------------------------------------- // Footer // ------------------------------------------------------- footer { a { color: $footer-link-color; text-decoration: underline; &:hover { color: $primary; } } } .footer { padding-bottom: 2em; &-weblink { background-color: $primary; } &--sticky { position: absolute; width: 100%; bottom: 0; overflow: hidden; } } // ------------------------------------------------------- // Map layout // ------------------------------------------------------- .map { height: 500px; } // ------------------------------------------------------- // Blog pages // ------------------------------------------------------- .blog-avatar { margin-left: 0 !important; margin-right: 1em !important; } // Fix syntax highlighting to match Bulma pre div.highlight { padding-bottom: 1.25em; } // Hackspace Status div#hackspace-open { display: none; } .events { background-image: linear-gradient(red, orange); a { color: white; } border: 2px solid red; border-radius: 5px;; padding: 2rem 0; margin-bottom: 2rem; .center-image { margin-left: 45%; } } .center-block-90 { width: auto; margin: 0 2.5%; padding: 10px; word-wrap: break-word; } .center-block-80 { margin: 0 10%; padding: 0 5px; } .highlighted { outline: 1px solid red; } // Custom image CSS added by john figure { margin: 0; text-align: center; } figcaption { font-size: 0.9rem; color: #666; margin-top: 5px; } .side-by-side-2-cols { display: flex; gap: 15px; margin-bottom: 20px; } .side-by-side-2-cols figure { flex: 1; } .side-by-side-2-cols img { width: 50%; height: auto; border-radius: 10px; } .side-by-side-3-cols { display: flex; gap: 10px; padding: 10px; } .side-by-side-3-cols img { width: 33%; } .padded-center-image img { display: block; margin: 10px auto; width: 90%; border-radius: 15px; } .image-left, .image-right { display: flex; align-items: center; gap: 10px; } .image-left img, .image-right img { width: 40%; } .image-left .text, .image-right .text { flex: 1; } .image-right { flex-direction: row-reverse; } /* Mobile-specific styles */ @media (max-width: 768px) { .side-by-side, .image-left, .image-right { flex-direction: column; text-align: center; } .side-by-side img, .image-left img, .image-right img { width: 100%; padding: 10px; } }