Update about page style

This commit is contained in:
thehrz 2023-06-22 21:50:22 +08:00
parent be9336bc47
commit 0275c93c6d
No known key found for this signature in database
8 changed files with 13 additions and 6 deletions

View File

@ -24,7 +24,7 @@ export default {
<v-app-bar-nav-icon /> <v-app-bar-nav-icon />
<router-link to="/"> <router-link to="/">
<v-toolbar-title c-coolgray-700> <v-toolbar-title c-coolgray-700 font-bold>
合肥市南园学校19预科2班 合肥市南园学校19预科2班
</v-toolbar-title> </v-toolbar-title>
</router-link> </router-link>

View File

@ -11,7 +11,7 @@ export default {
<template> <template>
<v-layout class="text-gray-700 dark:text-gray-200 min-h-screen flex flex-col"> <v-layout class="text-gray-700 dark:text-gray-200 min-h-screen flex flex-col">
<Nav /> <Nav />
<div class="max-w-75ch prose m-auto text-left"> <div class="m-auto mt-0 text-left flex">
<RouterView /> <RouterView />
</div> </div>
<Footer /> <Footer />

View File

@ -1,4 +1,4 @@
<div class="text-center mt"> <div class="text-center">
<div i-carbon-dicom-overlay class="text-4xl -mb-6 m-auto" /> <div i-carbon-dicom-overlay class="text-4xl -mb-6 m-auto" />
<h3>关于本站</h3> <h3>关于本站</h3>
</div> </div>

7
src/pages/events.vue Normal file
View File

@ -0,0 +1,7 @@
<script setup lang="ts"></script>
<template>
<h1>events</h1>
</template>
<style scoped></style>

View File

@ -1 +0,0 @@
<h1 class="text-12 text-center c-coolgray-700 not-prose">属于19预科2班的故事还未完结</h1>

View File

@ -1,5 +1,5 @@
<template> <template>
<h1 class="text-12 text-center c-coolgray-700"> <h1 class="text-12 text-center mt-50% c-coolgray-700">
属于19预科2班的故事还未完结 属于19预科2班的故事还未完结
</h1> </h1>
</template> </template>

View File

@ -29,4 +29,5 @@ export default defineConfig({
presetTypography(), presetTypography(),
], ],
transformers: [transformerDirectives(), transformerVariantGroup()], transformers: [transformerDirectives(), transformerVariantGroup()],
safelist: 'm-auto prose max-w-100ch mt-5'.split(' '),
}) })

View File

@ -84,7 +84,7 @@ export default defineConfig({
// https://github.com/antfu/vite-plugin-vue-markdown // https://github.com/antfu/vite-plugin-vue-markdown
// Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite // Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite
Markdown({ Markdown({
// wrapperClasses: 'prose m-auto text-left', wrapperClasses: 'm-auto prose max-w-100ch mt-5',
headEnabled: true, headEnabled: true,
markdownItSetup(md) { markdownItSetup(md) {
// https://prismjs.com/ // https://prismjs.com/