blockquote and code styling

This commit is contained in:
Julien Calixte
2022-12-06 23:37:53 +01:00
parent be4afc722a
commit f58ba90467
3 changed files with 17 additions and 5 deletions

View File

@@ -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;
} }

View File

@@ -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 {

View File

@@ -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;