// // Site Header // .site-nav { background: $site-header-bg; height: 80px; width: 100%; z-index: 100; .nav-links { float: right; margin-right: 25px; margin-left: 0; } a { line-height: 80px; margin: 0 5px; color: $text-color; font-size: 17px; padding: 7px 13px; border-radius: 3px; text-transform: uppercase; transition: $transition-links; &:hover { color: $text-mute-color; } // Download btn &:first-child { color: rgba(0, 0, 0, 0.54); background-color: $link-color; transition: $transition-links; padding: 11px 19px 13px; border-radius: 40px; &:hover { background-color: $btn-color-hover; } } } .logo { text-transform: none; color: $text-color; font-size: 35px; line-height: 80px; padding: 0 13px; font-weight: bold; &:hover { color: $text-mute-color; background-color: transparent; } @media screen and (min-width: $pc-width) { padding: 0 30px; } } .checkbtn { font-size: 40px; color: $text-color; float: right; top: 20px; // line-height: 80px; 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); } } #check { display: none; } @media (max-width: 885px) { .checkbtn { display: block; } .nav-links { 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; } } } #check { &:checked { ~ { .nav-links { left: 0; } } } } } } // // 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; .img { padding-top: 61px; width: 100%; > img { @include animation-fade-in(2.1); box-shadow: 0px 0px 20px 0px #00000052; transition: all 300ms ease 0ms; &:hover { box-shadow: 0px 0px 0px 0px #00000052; } } } .banner-content { display: flex; justify-content: center; align-items: center; flex-direction: column; > a { display: block; margin-top: 30px; padding: 15px 81px; border: none; border-radius: 5px; cursor: pointer; color: $BTT-svg-color; background-color: $link-color; transition: $transition-btn; @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 { border-top: 8px; margin-bottom: 0%; font-size: $site-banner-title-fnt-sze; color: $header-bg-color; text-align: center; font-weight: bold; font-family: $font-family; padding-bottom: 7px; line-height: 1.5; @include animation-fade-in(0.1); } .site-banner-description { border-top: 8px; margin-bottom: 0%; font-size: $site-banner-description-fnt-sze; color: $text-color; text-align: center; font-weight: bold; font-family: $font-family; 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; .img { 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-header { margin-bottom: $font-spacing; } .post-title { @include relative-font-size(2.925); line-height: 1.15; margin-bottom: 5px; @media screen and (min-width: $pc-width) { @include relative-font-size(3.7); } } .post-list { padding: 9px; margin-left: 0; list-style: none; .post { border-bottom: 2px solid $border-color; padding-bottom: 10px; padding-top: 10px; .post-meta { font-size: $small-font-size; color: $text-color; word-spacing: 1px; } .post-link { @include relative-font-size(3); line-height: 1.5; } .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; } } } } > 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 { font-size: $font-size; } } } .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; } } } } // // Site footer // .site-footer { background-color: $footer-bg-color; padding-top: $font-spacing; padding-bottom: 10px; .site-footer-wrapper { display: flex; flex-direction: column-reverse; } .footer-col { list-style: none; font-size: 20px; margin-bottom: 10px; .links-footer { width: calc(100% - (#{$font-spacing} / 2)); transition: $transition-links; word-break: break-all; &:first-child { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; } &:not(:first-child) { padding: 2px 0; } > a { color: rgba(128, 134, 139, 0.57); font-weight: 500; &: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; } &: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 { padding-top: 10px; border-top: 1px solid $border-color; font-size: 0.8rem; justify-content: space-between; display: flex; flex-direction: column; padding: 10px 10px 0; 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); } } .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; }