blockquote and code styling
This commit is contained in:
@@ -81,6 +81,15 @@ a {
|
|||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p,
|
||||||
|
blockquote {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
@@ -109,4 +118,11 @@ strong {
|
|||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: var(--code-font-family);
|
font-family: var(--code-font-family);
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
padding: 2rem;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
background-color: #574b90;
|
||||||
}
|
}
|
||||||
@@ -41,7 +41,7 @@ withDefaults(defineProps<Props>(), {
|
|||||||
background-color: #561b00;
|
background-color: #561b00;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
border-radius: 15px;
|
border-radius: 0.3em;
|
||||||
font-family: var(--code-font-family);
|
font-family: var(--code-font-family);
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
|||||||
@@ -40,10 +40,6 @@ h7 {
|
|||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 40vh;
|
max-height: 40vh;
|
||||||
|
|||||||
Reference in New Issue
Block a user