.acv-category-tags {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, auto)); gap: 10px; background-color: #e0e0e0; padding: 15px; border-radius: 10px; justify-content: flex-start; } .acv-category-tag {
background-color: #003366; color: #ffffff; padding: 8px 15px; border-radius: 25px; text-decoration: none; text-align: center; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .acv-category-tag.highlight {
background-color: #ff3333; } @media screen and (max-width: 768px) {
.acv-category-tag {
font-size: 14px; }
} @media screen and (max-width: 480px) {
.acv-category-tag {
font-size: 12px; }
}body, .site, .container {
padding-left: 0;
padding-right: 0;
margin-left: 0;
margin-right: 0;
width: 100%;
}
.chp-posts {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
padding-left: 0; padding-right: 0; }
.chp-post-thumbnail img {
width: 100%;
height: auto;
object-fit: cover;
transition: transform 0.3s ease-in-out;
}
.chp-post-thumbnail:hover img {
transform: scale(1.1);
}
.chp-post-title {
font-size: 1.5rem;
color: #333;
margin-top: 10px;
margin-bottom: 5px;
}
.chp-post {
background: #fff;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease-in-out;
margin-left: 0; margin-right: 0; }
.chp-post:hover {
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.chp-post-label {
position: absolute;
top: 10px;
left: 10px;
background-color: #ff0000; color: #ffffff; padding: 5px 10px;
border-radius: 3px;
font-weight: bold;
z-index: 1;
overflow: hidden;
}
.chp-post-label::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
animation: lightSweep 10s infinite;
}
@keyframes lightSweep {
0% {
left: -100%;
}
50% {
left: 100%;
}
100% {
left: 100%;
}
} @media (max-width: 768px) {
.chp-posts {
grid-template-columns: 1fr;
gap: 10px; padding-left: 0;
padding-right: 0;
}
.chp-post {
margin-left: 0;
margin-right: 0;
}
.chp-post-thumbnail {
margin-left: 0;
margin-right: 0;
}
}.apv-posts {
display: grid;
gap: 10px;
}
.apv-post {
border: 1px solid #ddd;
margin: 0;
box-shadow: none;
}
.apv-post-title {
font-size: 21px;
line-height: 1.2;
background-color: #f8f8f8;
color: #333;
padding: 10px;
margin-bottom: 10px;
}
.apv-post-meta {
font-size: 14px;
line-height: 1.2;
margin-top: 5px;
margin-bottom: 10px;
}
.apv-post-thumbnail {
transition: transform .3s ease-in-out, filter .3s ease-in-out;
position: relative;
width: 100%;
height: auto;
object-fit: cover;
}
.apv-post-thumbnail:hover {
transform: scale(1.03);
}
.apv-post-label {
color: #fff;
font-size: 16px;
font-weight: 700;
padding: 10px;
position: absolute;
top: 10px;
left: 10px;
border-radius: 5px;
box-shadow: none;
z-index: 10;
animation: pulseEffect 3s infinite;
}
.apv-post-date-label {
position: absolute;
top: 10px;
left: 10px;
background-color: #000;
color: #fff;
padding: 5px 10px;
border-radius: 3px;
font-size: 12px;
}
.apv-post-views-label {
position: absolute;
top: 10px;
right: 10px;
background-color: #000;
color: #fff;
padding: 5px 10px;
border-radius: 3px;
font-size: 12px;
}
.apv-pagination {
text-align: center;
margin: 20px auto;
font-size: 18px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.apv-pagination .page-numbers {
display: inline-block;
margin: 0 5px;
padding: 10px 20px;
border-radius: 25px;
border: 1px solid #0073aa;
background-color: #fff;
color: #0073aa;
text-decoration: none;
box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.apv-pagination .page-numbers:hover {
background-color: #0073aa;
color: #fff;
}
.apv-pagination .current {
background-color: #0073aa;
color: #fff;
font-weight: 700;
border: 1px solid #0073aa;
}
@keyframes pulseEffect {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
@keyframes shakeEffect {
0%,
100% {
transform: translateX(0);
}
20%,
60% {
transform: translateX(-5px);
}
40%,
80% {
transform: translateX(5px);
}
}
@keyframes shimmerEffect {
0% {
left: -100%;
}
100% {
left: 100%;
}
}
@media (max-width: 768px) {
.apv-posts {
grid-template-columns: repeat(1, 1fr);
padding-left: 10px;
padding-right: 10px;
}
.apv-pagination .page-numbers {
padding: 8px 15px;
margin: 5px;
}
}