// // Site Header // .site-nav { display: flex; align-items: center; background: $site-header-bg; height: 80px; width: 100%; z-index: 100; padding-top: 5px; padding-bottom: 5px; .site-nav-link-container { margin-right: 25px; margin-left: 0; a { &:first-child { color: rgba(0, 0, 0, 0.54); background-color: $link-color; transition: $transition-links; padding: 11px 19px 13px; border-radius: 40px; @include animation-fade-in(0.3); &:hover { background-color: $btn-color-hover; } } } } a { margin: 0 5px; color: $text-color; font-size: 17px; padding: 7px 13px; border-radius: 3px; transition: $transition-links; @include animation-fade-in(0.6); @include title-small; text-transform: uppercase; &:hover { color: $text-mute-color; } } .site-nav-logo { display: flex; text-transform: none; color: $text-color; font-size: 32px; line-height: 80px; padding: 0 13px; font-weight: bold; margin-right: auto; @include animation-fade-in(0.1); &:hover { color: $text-mute-color; background-color: transparent; img { opacity: 0.5; transition: $transition-links; } } img { width: 32px; height: 32px; transition: all 0.7s ease-in-out; } p { margin-bottom: 0px; line-height: 32px; } @media screen and (min-width: $pc-width) { padding: 0 30px; } @media screen and (max-width: $Site-Nav-Logo-text-autohide) { p { display: none; } } } .checkbtn { font-size: 40px; color: $text-color; top: 20px; cursor: pointer; display: none; margin: 1% 20px 1% 0; padding: 10px; border-radius: 43px; transition: $transition-btn; &:hover { background: rgba(232, 234, 237, 0.04); } } #site-nav-check { display: none; } @media (max-width: 885px) { .checkbtn { display: block; } .site-nav-link-container { position: fixed; width: 100%; height: 100vh; background: $primary_color; top: 80px; left: 100%; text-align: center; transition: all 0.5s; a { display: block; margin: 0; font-size: 20px; &:first-child { background-color: transparent; border-radius: 3px; color: $link-color; } &:hover { background: $btn-bg-color; color: rgba(0, 0, 0, 0.54); } &.active { background: $btn-bg-color; } } } #site-nav-check { &:checked { ~ { .site-nav-link-container { left: 0; } } } } a { line-height: 80px; } } } // .sticky { // position: fixed; // top: 0; // width: 100%; // } // // Header Banner // .header-home-mod { position: static; background-color: $home-header-title-color; } .site-banner { padding: 40px 15px 40px 15px; color: $text-color; background-color: $home-header-title-color; text-align: center; justify-content: space-around; line-height: 1.5; .site-banner-img-container { padding-top: 61px; width: 100%; > img { @include animation-fade-in(2.1); box-shadow: 0px 0px 20px 0px #00000052; transition: all 300ms ease 0ms; border-radius: 15px; &:hover { box-shadow: 0px 0px 0px 0px #00000052; border-radius: 0px; } } } .banner-content { display: flex; justify-content: center; align-items: center; flex-direction: column; > a { display: block; margin-top: 30px; padding: 21px 81px; border: none; border-radius: 15px; cursor: pointer; color: $BTT-svg-color; background-color: $link-color; transition: $transition-btn; @include title-medium; @include animation-fade-in(1.65); &, &:visited { color: $BTT-svg-color; } &:hover { color: $btn-text-hover-color; text-decoration: none; background-color: $btn-color-hover; border-color: $btn-color-hover; } } .page-header-title { @include display-medium; border-top: 8px; margin-bottom: 0%; color: $header-bg-color; text-align: center; padding-bottom: 7px; @include animation-fade-in(0.1); } .site-banner-description { border-top: 8px; margin-bottom: 0%; @include title-medium; padding-bottom: 7px; @include animation-fade-in(1); } } // For Large Screens @media screen and (min-width: $mobile-width) { border-bottom: 100px solid $home-header-title-color; .banner-content { > a { display: none; } } } @media screen and (min-width: 993px) { display: flex; padding: 40px 10px 40px 10px; .site-banner-img-container { width: $site-banner-picture-sze_wdth; > img { @include animation-fade-in(2.65); } } .banner-content { transform: translateX(30vw); animation: slide 1250ms cubic-bezier(0.75, 0, 0.33, 1) forwards; animation-delay: 2s; > a { display: block; } } } } .text-muted { @include text-muted; } .text-unmuted { @include text-unmuted; } // // Posts // .post { // Animation opacity: 0; transform: translateY(3rem); animation: 208.898ms linear 0s 1 normal forwards running slide-up; animation-delay: 252.00568990042672ms; .post-header { margin-bottom: $font-spacing; } .post-title { @include display-large; line-height: 1.15; margin-bottom: 5px; } .post-info { display: flex; justify-content: space-between; padding-bottom: 15px; cursor: default; user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; align-items: baseline; .post-info-date { color: $text-mute-color; font-size: $small-font-size; word-spacing: 1px; &::before { content: "calendar_today"; font-family: "Material Icons Round"; font-size: 12px; line-height: 1; padding-right: 5px; } } .post-info-pin { background-color: $table-header-bg-color; color: $text-mute-color; border-radius: 5px; padding: 2px 5px 2px 5px; cursor: default; user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; display: flex; align-items: center; gap: 4px; > span { transform: rotate(45deg); font-size: 15px; line-height: 1.4rem; height: 1.3rem; } > p { margin-bottom: 0; display: none; text-transform: capitalize; } @media screen and (min-width: $mobile-width) { > p { display: inline-block; } } } } } .post-list { display: flex; flex-direction: column; gap: 12px; padding: 9px; margin-left: 0; list-style: none; .post-container { border: 2px solid $border-color; padding-bottom: 10px; padding: 10px; cursor: pointer; border-radius: 12px; a { color: $text-color; } &:hover { background: linear-gradient(0deg,rgba(68,71,70,.15),rgba(68,71,70,.15)); } } .post { .post-meta { font-size: $small-font-size; color: $text-color; word-spacing: 1px; } .post-header { @include headline-large; margin: 12px 0px 0px 0px; } .post-info { display: flex; justify-content: space-between; padding-bottom: 15px; cursor: default; user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; align-items: baseline; line-height: 1.5; .post-info-date { color: $text-mute-color; font-size: $small-font-size; word-spacing: 1px; &::before { content: "calendar_today"; font-family: "Material Icons Round"; font-size: 12px; line-height: 1; padding-right: 5px; } } .post-info-pin { background-color: $table-header-bg-color; color: $text-mute-color; border-radius: 5px; padding: 2px 5px 2px 5px; cursor: default; user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; display: flex; align-items: center; gap: 4px; > span { transform: rotate(45deg); font-size: 15px; line-height: 1.4rem; height: 1.3rem; } > p { margin-bottom: 0; display: none; text-transform: capitalize; } @media screen and (min-width: $mobile-width) { > p { display: inline-block; } } } } } .post-descriptions { p { // Make the description shorter margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; // line height -webkit-box-orient: vertical; } > h1, h2, h3, h4, h5, h6, a { @include body-medium; a[href^="#"] { display: none } } } } .site-post-list-title { @include display-large; } // // Site footer // .site-footer { background-color: $footer-bg-color; padding-top: $font-spacing; .site-footer-wrapper { display: flex; flex-direction: column-reverse; } .footer-col { list-style: none; font-size: 20px; margin-bottom: 10px; p { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; } a { display: block; width: calc(100% - (#{$font-spacing} / 2)); transition: $transition-links; word-break: break-all; color: rgba(128, 134, 139, 0.57); font-weight: 500; line-height: 3.3; &:not(:first-child) { padding: 2px 0; } &:visited { color: rgba(128, 134, 139, 0.57); } &:hover { color: $footer-links-hover-color; } } .footer-product { list-style: none; color: $text-color; width: calc(100% - (#{$font-spacing} / 2)); padding: 0 ($font-spacing / 2); &:first-child { padding: 1px 0px 0px; font-size: 2rem; font-weight: 900; font-family: $md-ref-typeface-plain; } &:hover { color: $text-color; text-decoration: none; } } } @media screen and (min-width: 1000px) { .site-footer-wrapper { flex-direction: row; } .footer-col { &:not(:first-child) { @include footer-wrapper; } &:first-child { @include footer-wrapper; width: calc(42% - (#{$font-spacing} / 2)); } } } } .footer-info { @include label-small; border-top: 1px solid $border-color; justify-content: space-between; display: flex; flex-direction: column; padding: 20px 10px 20px; margin-left: 0px; margin-right: 0px; > span { margin-bottom: 3px; > a { color: #9e9e9e; &:visited { color: #9e9e9e; } &:hover { color: $text-color; } } } @media screen and (min-width: 692px) { flex-direction: row; margin-left: 100px; margin-right: 100px; } } // // Post Nav // .post-nav { padding-top: 5px; display: inline; list-style: none; display: flex; justify-content: space-evenly; gap: 80px; -ms-flex-align: center; align-items: center; margin: 0px; @media screen and (min-width: $mobile-width) { gap: 100px; } } .post-nav-svg { color: $footer-links-color; transition: $tansitions-page-bar; padding: 8px; border-radius: 50px; &:hover { background-color: rgba(255, 255, 255, 0.1); color: inherit; } } .disable-svg { cursor: not-allowed; color: $text-mute-color; } .post-nav-num { user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; cursor: default; display: inline; @include text-muted; } // // Post footer // .post-footer { padding-top: 13px; border-top: 3px solid $border-color; margin: 0px; }