// // text settings // $font-family: 'Roboto', sans-serif !default; $code-font-family: "Noto Sans", sans-serif !default; $font-size: 17px !default; $small-font-size: $font-size * 0.875 !default; $font-weight: 300 !default; $font-spacing: 30px !default; $line-height: 2.5 !default; // // Table // $table-text-align: left !default; // // Site banner // $site-banner-title-fnt-sze: 50px; $site-banner-description-fnt-sze: 18px; $site-banner-picture-sze_wdth: 60%; // // Transitions // $transition-btn: all 0.2s ease-in-out; $transition-links: all 0.3s ease-in-out; $tansitions-page-bar: all 0.3s ease-in-out; // // Animations // $animation-site-pic: 2s; //animations for banner-pic $animation-main: 1s; //animations for banner description and the body of the site. $animation-left: 250ms; // // Content // $content-width: 800px !default; $mobile-width: 710px !default; $pc-width: 800px !default; $medium-width: 442px !default; // // // ---------- site queries ---------- // // // @mixin media-query($device) { @media screen and (max-width: $device) { @content; } } @mixin animation-fade-in($speed) { opacity: 0; animation: fade-in 1s linear forwards; animation-delay: #{$speed}s; -webkit-animation-delay: #{$speed}s; } @mixin relative-font-size($ratio) { font-size: #{$ratio}rem; } // // //---------- scss mixin --------- // // // @mixin text-muted { color: $text-mute-color; } @mixin text-unmuted { color: $text-color; } @mixin footer-wrapper { margin-bottom: $font-spacing / 2; width: calc(18% - (#{$font-spacing} / 2)); padding: 0 ($font-spacing / 2); &:first-child { padding-right: $font-spacing / 2; padding-left: 0; } &:last-child { padding-right: 0; padding-left: $font-spacing / 2; } } @mixin prompt($gf-icon, $gf-color, $bg-color, $fnt-fam) { border-radius: 5px; padding: 0.8rem 1.2rem; font-style: normal; color: $text-color; font-weight: 400; border-left: 6px solid $gf-color; background-color: $bg-color; font-size: 0.975rem; &::before { content: $gf-icon; font-family: $fnt-fam; color: $gf-color; font-size: 34px; line-height: 1; padding-right: 10px; padding-bottom: 13px; } } @mixin horizontal-scroll { &::-webkit-scrollbar { height: 16px; } &::-webkit-scrollbar-track { background-color: transparent; } &::-webkit-scrollbar-thumb { background: rgba(128, 134, 139, 0.2); background-clip: padding-box; border: 4px solid transparent; border-radius: 10px; box-sizing: border-box; &:hover { background: rgba(128, 134, 139, 0.4); box-sizing: border-box; background-clip: padding-box; } } } // // //---------- Animations --------- // // // @keyframes left-animation { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } @keyframes BTT-Entrance { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } @keyframes BTT-Exit { from { opacity: 1; } to { opacity: 0; transform: translate3d(0, 100%, 0); } } @keyframes slide { 100% { transform: translateX(0); } } @keyframes slide-up { 100% { opacity: 1; transform: translateY(0); } } @keyframes fade-in { 100% { opacity: 1; } }