Skip to content

Commit cdd8af5

Browse files
authored
Merge pull request recodehive#1724 from Adez017/testimonial
author card fixes on blog pages
2 parents 4d6345f + 4d8fed4 commit cdd8af5

1 file changed

Lines changed: 24 additions & 20 deletions

File tree

src/css/custom.css

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2676,26 +2676,30 @@ html[data-theme="dark"] .blog-post-page .markdown h4 {
26762676
}
26772677
}
26782678

2679-
@media screen and (max-width: 768px) {
2680-
.footer,
2681-
footer.footer {
2682-
display: flex !important;
2683-
flex-direction: column !important;
2684-
align-items: center !important;
2685-
text-align: center !important;
2686-
}
2679+
/* author card fixes */
2680+
[class*="authorName_"] {
2681+
font-size: 1.2rem !important;
2682+
font-weight: 700 !important;
2683+
line-height: 1.3 !important;
2684+
margin: 0 !important;
2685+
}
26872686

2688-
.footer__links,
2689-
.footer__links.row {
2690-
display: flex !important;
2691-
flex-direction: column !important;
2692-
width: 100% !important;
2693-
}
2687+
[class*="authorBadge_"] {
2688+
font-size: 0.70rem !important;
2689+
padding: 2px 7px !important;
2690+
}
26942691

2695-
.footer__col,
2696-
.footer__col.col {
2697-
max-width: 100% !important;
2698-
flex-basis: 100% !important;
2699-
margin-bottom: 1.5rem !important;
2700-
}
2692+
[class*="authorMeta_"] {
2693+
font-size: 1.0rem !important;
2694+
margin: 2px 0 !important;
2695+
}
2696+
2697+
[class*="authorSummary_"] {
2698+
font-size: 1.0rem !important;
2699+
line-height: 1.5 !important;
2700+
}
2701+
2702+
[class*="authorAvatarWrapper_"] img {
2703+
width: 52px !important;
2704+
height: 52px !important;
27012705
}

0 commit comments

Comments
 (0)