This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
caldwell-59/assets/css/text/card.css
2024-09-12 13:38:41 +03:00

72 lines
1.0 KiB
CSS

.gh-card+.gh-card {
margin-top: 8rem;
}
.gh-card-link {
display: block;
}
.gh-card-link:hover {
opacity: 1;
}
.gh-card-title {
font-size: 3.4rem;
font-weight: 600;
word-break: break-word;
}
.gh-card-link:hover .gh-card-title {
opacity: 0.8;
}
.gh-card-excerpt {
margin-top: 1.2rem;
font-size: 1.8rem;
line-height: 1.5;
letter-spacing: -0.01em;
word-break: break-word;
}
.gh-card-meta {
display: inline-flex;
gap: 6px;
align-items: center;
margin-top: 2rem;
font-size: 1.2rem;
font-weight: 500;
line-height: 1;
color: var(--color-secondary-text);
text-transform: uppercase;
}
.gh-card-date {
color: var(--ghost-accent-color);
}
.gh-card-meta svg {
position: relative;
top: -1px;
margin-left: 0.6rem;
}
.gh-card-meta>* {
display: flex;
gap: 6px;
align-items: center;
}
.gh-card-meta>*+*:not(script)::before {
width: 2px;
height: 2px;
content: "";
background-color: var(--color-secondary-text);
border-radius: 50%;
}
@media (max-width: 767px) {
.gh-card+.gh-card {
margin-top: 6.4rem;
}
}