refactor(article): improve category tag style (#94)

This commit is contained in:
Jimmy Cai 2020-12-25 09:59:02 +01:00 committed by GitHub
parent a5820c6f52
commit f2955aac27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,24 +56,6 @@
padding: var(--card-padding);
}
.article-category {
margin-bottom: 10px;
a {
display: inline-block;
text-decoration: none;
padding: 8px 16px;
font-size: 1.4rem;
background: nth($defaultTagBackgrounds, 1);
color: nth($defaultTagColors, 1);
border-radius: var(--tag-border-radius);
@media (max-width: $on-phone) {
font-size: 1.25rem;
padding: 8px 14px;
}
}
}
.article-title {
font-weight: 600;
margin: 10px 0;
@ -128,11 +110,12 @@
}
}
.article-category,
.article-tags {
a {
color: var(--accent-color-text);
background-color: var(--accent-color);
padding: 8px 18px;
padding: 8px 16px;
border-radius: var(--tag-border-radius);
display: inline-block;
font-size: 1.4rem;