Add text variant
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
51
assets/css/main/article.css
Normal file
51
assets/css/main/article.css
Normal file
@@ -0,0 +1,51 @@
|
||||
.gh-article:not(.no-image) .gh-article-header>* {
|
||||
grid-column: wide-start / wide-end;
|
||||
}
|
||||
|
||||
.gh-article-meta {
|
||||
margin-top: 2rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
color: var(--color-secondary-text);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.gh-article-meta a {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.gh-article-title {
|
||||
font-size: 7.4rem;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.gh-article-excerpt {
|
||||
max-width: 920px;
|
||||
margin-top: 1.6rem;
|
||||
font-size: 2.8rem;
|
||||
line-height: 1.35;
|
||||
color: var(--color-darker-gray);
|
||||
}
|
||||
|
||||
.gh-article-footer {
|
||||
padding-top: 3.2rem;
|
||||
margin-top: 8rem;
|
||||
border-top: 1px solid var(--color-light-gray);
|
||||
}
|
||||
|
||||
.gh-article-footer.no-border {
|
||||
margin-top: 24px;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.gh-article-title {
|
||||
font-size: 4.2rem;
|
||||
}
|
||||
|
||||
.gh-article-excerpt {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user