.theme-picker { display: flex; padding-top: 12px; padding-bottom: 12px; padding-right: 15px; margin-top: 4px; justify-content: flex-end; } .all-post-wrapper { max-width: 1200px; margin-left: auto; margin-right: auto; } .post-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; grid-auto-flow: row; grid-auto-rows: minmax(200px, auto); margin-left: 0; list-style: none; } .post-card { position: relative; grid-column: auto / span 2; box-sizing: border-box; display: flex; flex-direction: column; border-radius: 14px; padding: 20px; border: 1px solid var(--md-sys-color-outline); & p { display: -webkit-box; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } @media screen and (max-width: 1200px) { grid-column: auto/span 3; } @media screen and (max-width: 800px) { grid-column: auto/span 6; } } .pinned-post-card { position: relative; box-sizing: border-box; display: flex; flex-direction: column; border-radius: 14px; padding: 12px; width: 30%; transform-origin: top right; animation: pin 2s cubic-bezier(0.175, 0.885, 0.32, 1.275); background-color: var(--md-sys-color-primary-container); & p, span, a { color: var(--md-sys-color-on-primary-container); } & img { background-color: var(--md-sys-color-surface-container-high); border-radius: 24px; } @media screen and (max-width: 1300px) { width: 46%; } @media screen and (max-width: 850px) { width: 100%; & p { display: -webkit-box; line-clamp: 5; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; } } } .pinned-post-list { display: flex; margin-left: 0; flex-wrap: wrap; justify-content: space-around; padding-top: 12px; list-style: none; background-color: var(--md-sys-color-surface-container); border-radius: 24px; padding: $spacing-unit; min-height: 390px; @media screen and (max-width: 850px) { padding: $spacing-unit/2; min-height: 200px; } > li:not(:last-child) { margin-bottom: $spacing-unit; } } .pinned-post-card::before { content: ""; position: absolute; top: -10px; left: -12px; right: -10px; bottom: -10px; background-image: url("/assets/theme-assets/theme-images/border-thick.svg"); background-size: 100% 100%; filter: var(--outline-filter); pointer-events: none; /* Allows interaction with content inside the border */ } .navrail { font-family: "Comic Shanns", $base-font-family; position: fixed; display: flex; flex-direction: column; height: 100vh; justify-content: flex-start; align-items: center; z-index: 99; padding: 30px 8px 30px 16px; box-sizing: border-box; width: 100px; // background-color: var(--md-sys-color-surface); @media screen and (min-width: 1360px) { width: 130px; } @include media-query($on-palm) { flex-direction: row; bottom: 0; width: 100vw; height: fit-content; background-color: var(--md-sys-color-surface-container-high); padding: 0px; box-shadow: 0px -4px 16px 0px var(--md-sys-color-shadow); .navrail-icon { max-height: 34px; max-width: max-content; object-fit: cover; } .navrail-button { padding: 8px 0 8px 0; } } } .navrail-button { padding: 12px 0 12px 0; position: relative; display: flex; flex-direction: column; width: 100%; justify-content: center; align-items: center; color: var(--md-sys-color-on-surface); } .navrail-icon { max-width: 40px; } .theme-selector { position: relative; display: flex; justify-content: flex-end; margin-left: auto; padding: 6px; margin-top: 8px; margin-right: 8px; border-radius: 99px; background-color: rgba(70, 70, 70, 0.233); backdrop-filter: blur(8px); width: fit-content; @media screen and (min-width: 601px) { position: fixed; z-index: 103; bottom: 10px; left: 30px; } } .current-theme { height: 26px; width: 26px; border-radius: 50%; background-color: var(--current-color); /* Initial theme color */ margin-left: 12px; cursor: pointer; transition: transform 0.3s; } .theme-options { display: flex; gap: 10px; max-width: 0px; transition: all 0.3s; } .theme-option { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; } .home { padding-right: $spacing-unit; padding-left: $spacing-unit + 100; @extend %clearfix; @include media-query($on-laptop) { padding-right: $spacing-unit / 2; padding-left: ($spacing-unit / 2)+100; } @include media-query($on-palm) { padding-left: $spacing-unit/2; } } .pin-svg { position: absolute; height: 80px; width: auto; top: -34px; right: 15px; z-index: 11; } .pin-path { stroke: var(--md-sys-color-tertiary); stroke-width: 2.5; } h1 { font-family: "Comic Shanns", $base-font-family; // text-align: start; } .tagline { font-family: "Comic Shanns", $base-font-family; text-align: center; font-size: 1.2rem; } .home { max-width: 1200px; margin-left: auto; margin-right: auto; } .divider-path { stroke: var(--md-sys-color-outline); stroke-width: 2; } .divider-svg { width: 100%; height: auto; margin-left: auto; margin-right: auto; @include media-query($on-palm) { } } @keyframes pin { 0% { transform: rotate(-35deg); } 20% { transform: rotate(10deg); } 40% { transform: rotate(-3deg); } 60% { transform: rotate(2deg); } 80% { transform: rotate(-1deg); } 100% { transform: rotate(0deg); } } @keyframes mainreveal { from { transform: translateY(20%); opacity: 0; } to { transform: translate(0); opacity: 1; } } main { overflow: hidden; animation: mainreveal 0.25s; } .card-title{ font-family: "Comic Shanns", $base-font-family; }