manifest/nuxt/pages/index.vue

60 lines
916 B
Vue

<script setup="setup">
const store = useStraniStore()
const stran = computed(() => store.strani['YuFu'])
useHead({meta: [{title: "jugofuturizem"}]})
await store.naloziStrani()
</script>
<template>
<section class="stran" v-html="stran.tekst" />
</template>
<style>
:root {
--siva: #D9D9D9;
--bela: #fff;
}
body {
font-family: Inter;
margin: 0;
background: var(--siva);
}
h1 {
text-align: center;
font-size: 2.5rem;
margin: .2rem 0 1rem 0;
}
.stran {
position: relative;
background: var(--bela);
margin: 2rem;
border-radius: 3rem;
padding: 2rem;
}
form {
display: flex;
flex-direction: column;
}
input[type=submit] { margin-top: 1rem; }
details > summary {
list-style: none;
}
.gumb {
font-family: Trailers;
font-size: 2rem;
cursor: pointer;
}
.etherpad-textarea {
height: 25rem;
}
</style>