mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-14 20:35:07 +01:00
Fix code font-size
This commit is contained in:
parent
25ec8673b2
commit
1cf1b67856
@ -114,7 +114,7 @@ figure {
|
|||||||
}
|
}
|
||||||
|
|
||||||
figcaption {
|
figcaption {
|
||||||
font-size: 14px;
|
font-size: .9rem;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
opacity: .8;
|
opacity: .8;
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ code {
|
|||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-size: 14px;
|
font-size: .9rem;
|
||||||
|
|
||||||
.dark-theme & {
|
.dark-theme & {
|
||||||
background: var(--dark-background-secondary);
|
background: var(--dark-background-secondary);
|
||||||
@ -150,7 +150,7 @@ pre {
|
|||||||
background: #212020;
|
background: #212020;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
font-size: 14px;
|
font-size: .9rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
@media (--phone) {
|
@media (--phone) {
|
||||||
@ -163,7 +163,7 @@ pre {
|
|||||||
color: #ccc;
|
color: #ccc;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 14px;
|
font-size: .9rem;
|
||||||
|
|
||||||
.dark-theme & {
|
.dark-theme & {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user