feat: add zine-direction shared components
This commit is contained in:
parent
dbb3fbbc1b
commit
8b3daadadd
10 changed files with 594 additions and 176 deletions
35
app/components/ParchmentInset.vue
Normal file
35
app/components/ParchmentInset.vue
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<template>
|
||||
<div class="parchment-inset">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.parchment-inset {
|
||||
background: var(--parch);
|
||||
color: var(--parch-text);
|
||||
padding: 32px;
|
||||
margin: 0;
|
||||
border-bottom: 1px dashed var(--border);
|
||||
}
|
||||
|
||||
.parchment-inset :deep(h2) {
|
||||
font-family: 'Brygada 1918', serif;
|
||||
font-size: 22px;
|
||||
font-weight: 500;
|
||||
color: var(--parch-text);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.parchment-inset :deep(p) {
|
||||
font-size: 13px;
|
||||
color: #b8ae98;
|
||||
line-height: 1.75;
|
||||
max-width: 560px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.parchment-inset :deep(a) {
|
||||
color: var(--candle-faint);
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue