Add caption to Liquid highlight tags
This commit is contained in:
@@ -30,16 +30,31 @@ h3 {
|
||||
}
|
||||
|
||||
figure {
|
||||
background-color: black;
|
||||
border: 1px solid lightgray;
|
||||
border-radius: 0.2rem;
|
||||
margin: 0;
|
||||
}
|
||||
figcaption {
|
||||
background-color: #f0f0f0;
|
||||
border: 1px solid lightgray;
|
||||
border-bottom: none;
|
||||
border-top-left-radius: 0.2rem;
|
||||
border-top-right-radius: 0.2rem;
|
||||
}
|
||||
figcaption .lang {
|
||||
color: #606060;
|
||||
font-weight: bold;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.4rem;
|
||||
padding: 0 0.4rem;
|
||||
}
|
||||
pre {
|
||||
background-color: black;
|
||||
border-bottom-left-radius: 0.2rem;
|
||||
border-bottom-right-radius: 0.2rem;
|
||||
font-size: 0.85rem;
|
||||
line-height: 1.3rem;
|
||||
margin: 0;
|
||||
padding: 0.5rem;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
pre > code {
|
||||
background-color: black;
|
||||
@@ -50,6 +65,7 @@ pre > code.language-bash {
|
||||
background-color: black;
|
||||
color: #00d700;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #9f54aa;
|
||||
border-radius: 0.2rem;
|
||||
|
||||
Reference in New Issue
Block a user