@import '_variables'; @import '_header'; @import 'core.scss'; @import '_footer'; @import 'sidebar.scss'; // Apply globally * { margin: 0; padding: 0; box-sizing: border-box; @include primary-font; scroll-behavior: smooth; } .container.post-head { padding-top: 2rem; } body{ a{ color:$primary-text; } a:visited { color: $primary-text; } } // Entry Meta Styling .entry-meta { margin-bottom: 0.5rem; } .container #masthead { margin: 0px -7px 32px -7px; } // Primary Content Area #primary{ .classic { background: #ffffff; border-bottom: solid 1px #eee; padding-bottom: 1.5rem; margin: 0 0 1rem; } .entry-content{ p{ font-size: 14px; color: #4a4a4a; opacity: .8; } } .entry-meta{ font-size: 14px; color: #4a4a4a; opacity: .8; } // Responsive Adjustments for Primary Area @media (max-width: 600px) { padding: 20px; margin-left: 0; } @media (max-width: 1024px) { display: block; margin: 0; padding: 0; } // Entry Title Link Styles .entry-title a { color: #333333; text-decoration: none; font-size: 24px; } } // Primary Content Area .grid{ .row{ article{ border: none; margin: 0; } .post-content { text-align: center; background: #ffffff; border-bottom: solid 1px #eee; padding: 20px; margin: 0 0 1rem; } } } @media (max-width: 480px) { .grid { article{ padding: 0px 6px; } } } img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image { border-radius: 0px; padding: 0; } .col-md-4.post-thumbnail { padding: 0; margin: 0; } img { height: auto; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .grid-container { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 10px; max-height: 500px; overflow: hidden; } .grid-item { display: flex; flex-direction: column; position: relative; overflow: hidden; figure { height: 100%; margin-top: 5px; display: flex; flex-direction: column; position: relative; } } /* Thumbnail Styling */ .thumbnail { position: relative; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-in-out; } } /* Box Shadow Effect */ .box-shadow { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); opacity: 0.7; } /* Post Info Section */ .info { position: absolute; bottom: 25px; left: 15px; right: 15px; color: #fff; z-index: 2; } /* Post Title Styling */ .post-title { margin: 0; line-height: 1.2; a { color: #fff !important; text-decoration: none; &:hover { color: #e1e1e1 !important; } } } /* Individual Post Styles */ .post-1 { grid-column: span 2; grid-row: span 2; max-height: 500px; .post-title { font-size: 2.4rem; } } .post-2, .post-3 { grid-column: 3; margin-bottom: -5px; max-height: 250px; .post-title { font-size: 1.3rem; } } /* Responsive Styles */ @media (max-width: 1024px) { .grid-container { max-height: none; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; } .post-1 { grid-column: span 2; grid-row: auto; } .post-2, .post-3 { grid-column: span 1; } } @media (max-width: 768px) { .grid-container { grid-template-columns: 1fr; } .post-1, .post-2, .post-3 { grid-column: span 1; max-height: none; } } @media (max-width: 480px) { .info { bottom: 15px; left: 10px; right: 10px; } .post-title { font-size: 16px; } }