114 lines
2.1 KiB
SCSS
Executable File
Vendored
114 lines
2.1 KiB
SCSS
Executable File
Vendored
@use "../abstracts/mixin" as *;
|
|
@use "../abstracts/variables" as *;
|
|
|
|
.blog_grid {
|
|
@media (max-width: 768px) {
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
&::-webkit-scrollbar {
|
|
height: 8px;
|
|
}
|
|
|
|
/* Track */
|
|
&::-webkit-scrollbar-track {
|
|
border-radius: 100vw;
|
|
background: #eee;
|
|
}
|
|
|
|
/* Handle */
|
|
&::-webkit-scrollbar-thumb {
|
|
border-radius: 4px;
|
|
background: linear-gradient(to right, #10229c, #64a9f2);
|
|
}
|
|
.grid_view {
|
|
width: 300%;
|
|
}
|
|
}
|
|
.row, .row > * {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.row {
|
|
height: 100%;
|
|
}
|
|
.post {
|
|
position: relative;
|
|
height: CALC(100% - 10px);
|
|
padding: 5px;
|
|
@media (max-width: 768px) {
|
|
height: CALC(50% - 10px);
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
filter: brightness(70%);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
&.small {
|
|
height: 50%;
|
|
}
|
|
|
|
.slider_content_box {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
|
|
padding: 15px;
|
|
|
|
.post_details {
|
|
@include reset-list;
|
|
display: flex;
|
|
gap: 3px;
|
|
.category a {
|
|
padding: 6px 11px 7px;
|
|
border-radius: 3px;
|
|
background-image: linear-gradient(to right, #0d1ca3, #45aaf8);
|
|
font-family: Nunito, serif;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
color: $text-inverted-color;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
h2, h5 {
|
|
margin: 15px 0 0 0;
|
|
}
|
|
h2 a, h5 a {
|
|
font-family: Montserrat, serif;
|
|
font-size: 30px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
color: $text-inverted-color;
|
|
text-decoration: none;
|
|
}
|
|
h5 a {
|
|
font-size: 16px;
|
|
line-height: 1.17;
|
|
}
|
|
@media (max-width: 768px) {
|
|
h2 a, h5 a {
|
|
display: block;
|
|
font-size: 16px;
|
|
line-height: 1.17;
|
|
}
|
|
}
|
|
.post_date {
|
|
@include post_date;
|
|
color: $text-inverted-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.article-iframe {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
}
|