Add a pagination partial

This commit is contained in:
kbe
2025-08-18 17:15:47 +02:00
parent 7432ac7d4d
commit c5c947c5d7
4811 changed files with 410066 additions and 38 deletions

View File

@@ -0,0 +1,107 @@
//
// Blog Styles //
//
.blog-card-wrapper {
position: relative;
background-position: center center;
background-attachment: scroll;
@include background-size(cover);
background-repeat: no-repeat;
width: 100%;
* {
@include transition(ease-out 0.12s);
}
.blog-card {
background: white;
border: 1px solid get-color("dark", 0.1);
}
&:hover {
color: get-color("white", 0.7);
h1,h2,h3,h4,h5,h6 { color: white; }
a {
&:not([class^='button']) {
color: get-color("white", 0.8);
&:hover, &:focus { color: white; }
}
}
.blog-card {
background: get-color("dark", 0.6);
}
.button-text-1,
.button-text-2,
.button-text-3 {
color: get-color("white", 0.8);
&:hover {
color: white;
}
}
.button-text-1 {
&:before { background: get-color("white", 0.3); }
&:after { background: white; }
}
.button-text-2 {
&:before { background: get-color("white", 0.4); }
&:after { background: white; }
}
.button-text-3 {
&:before { background: get-color("white", 0.8); }
&:hover {
&:before { background: white; }
}
}
}
@include breakpoint-above(lg) {
.blog-card {
padding: 36px 36px 36px 140px;
.blog-card-date {
position: absolute;
top: 50%;
left: 36px;
@include transform(translateY(-50%));
text-align: center;
}
}
}
@include breakpoint-less(md) {
.blog-card {
padding: 24px;
}
}
}
//
// Comment box //
//
.comment-box {
position: relative;
margin-bottom: 30px;
padding-left: 80px;
.comment-user-avatar {
position: absolute;
top: 0;
left: 0;
background: $bg-gray;
width: 60px;
height: 60px;
border-radius: 50%;
text-align: center;
line-height: 60px;
img {
width: 60px;
height: 60px;
}
}
.comment-content {
position: relative;
.comment-time {
position: absolute;
top: 0;
right: 0;
text-align: right;
color: $color-primary-lighter;
font-style: italic;
font-size: 14px;
}
}
}