Add style for article subtitle

This commit is contained in:
Hippo 2019-09-19 18:35:56 +05:30
parent 94229ca110
commit f8408cbcc3

View file

@ -577,12 +577,11 @@ h6 {
} }
.content-title { .content-title {
margin: 0 0 0.8em; margin: 0;
font-size: 5rem; font-size: 5rem;
} }
@media (max-width: 500px) { @media (max-width: 500px) {
.content-title { .content-title {
margin: 0.8em 0;
font-size: 3.4rem; font-size: 3.4rem;
} }
.content { .content {
@ -595,6 +594,13 @@ h6 {
font-size: 3.2rem; font-size: 3.2rem;
font-weight: 700; font-weight: 700;
} }
.content-body h2:first-child { /* subtitle */
margin-top: 0;
font-weight: unset;
color: #A9A9A9;
}
@media (max-width: 500px) { @media (max-width: 500px) {
.content-body h2 { .content-body h2 {
font-size: 2.6rem; font-size: 2.6rem;