order tag
This commit is contained in:
@@ -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 {
|
||||
|
||||
21
src/components/core/order-tag.vue
Normal file
21
src/components/core/order-tag.vue
Normal 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>
|
||||
Reference in New Issue
Block a user