feat: reduces header lvl for mdsvex
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
<script context="module">
|
<script context="module">
|
||||||
import img from './img.svelte';
|
import img from './img.svelte';
|
||||||
export { img };
|
import h1 from './h1.svelte';
|
||||||
|
import h2 from './h2.svelte';
|
||||||
|
import h3 from './h3.svelte';
|
||||||
|
export { img, h1, h2, h3 };
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -55,7 +58,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 700px) {
|
@media only screen and (max-width: 700px) {
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
margin-bottom: -5.3px;
|
margin-bottom: -5.3px;
|
||||||
}
|
}
|
||||||
@@ -73,7 +75,7 @@
|
|||||||
.blog-text {
|
.blog-text {
|
||||||
border-radius: var(--border-round);
|
border-radius: var(--border-round);
|
||||||
background: var(--rp-moon-surface);
|
background: var(--rp-moon-surface);
|
||||||
box-shadow: 0px 0px 1rem 0px hsl(from var(--rp-moon-base) h s calc(l * 0.85));
|
box-shadow: 0px 0px 0.5rem 0px hsl(from var(--rp-moon-pine) h calc(s * 0.5) calc(l * 0.25));
|
||||||
padding: var(--d2) var(--d3) var(--d4);
|
padding: var(--d2) var(--d3) var(--d4);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
1
src/routes/blogs/h1.svelte
Normal file
1
src/routes/blogs/h1.svelte
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<h2><slot /></h2>
|
||||||
1
src/routes/blogs/h2.svelte
Normal file
1
src/routes/blogs/h2.svelte
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<h3><slot /></h3>
|
||||||
1
src/routes/blogs/h3.svelte
Normal file
1
src/routes/blogs/h3.svelte
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<h4><slot /></h4>
|
||||||
Reference in New Issue
Block a user