order tag

This commit is contained in:
Julien Calixte
2022-12-11 22:51:38 +01:00
parent 5c07bad59b
commit ed33e0f127
3 changed files with 31 additions and 2 deletions

View File

@@ -82,7 +82,9 @@ a {
}
p,
blockquote {
blockquote,
ul,
ol {
margin-bottom: 1rem;
&:last-child {
@@ -104,7 +106,12 @@ h1 {
}
h2 {
font-size: 1.2em;
font-size: 1.5em;
}
h3,
h4 {
font-size: 1.3em;
}
.julien-calixte {

View File

@@ -0,0 +1,21 @@
<script setup lang="ts">
interface Props {
order: number
}
defineProps<Props>()
</script>
<template>
<span class="order-tag">{{ order }}</span>
</template>
<style scoped lang="scss">
.order-tag {
padding: 0 0.5rem;
background-color: #fffa65;
color: var(--vt-c-black);
font-family: var(--code-font-family);
border-radius: 0.5rem;
}
</style>