2 Commits

Author SHA1 Message Date
b1804ae060 [BugFix] 修复章节列表暗色显示问题
All checks were successful
Build / build-and-test (push) Successful in 37s
[Base]
增加 robots.txt
2025-06-03 17:45:33 +08:00
78fe779c93 小优化和 A11Y 调整 2025-05-31 23:50:23 +08:00
5 changed files with 8 additions and 9 deletions

3
public/robots.txt Normal file
View File

@ -0,0 +1,3 @@
Sitemap: https://ao3.unknownmp.top/sitemap.xml
User-agent: *
Disallow: /assets/

View File

@ -25,10 +25,10 @@ import '@mdui/icons/light-mode.js'
import '@mdui/icons/menu.js' import '@mdui/icons/menu.js'
const clientOnlyStore = useClientOnlyStore() const clientOnlyStore = useClientOnlyStore()
const api = useApiStore()
let themeScheme = null
const mobileScreen = useMobileScreen()
const routeStore = useRouteStore() const routeStore = useRouteStore()
const api = useApiStore()
const mobileScreen = useMobileScreen()
let themeScheme = null
const drawerOpen = ref(false) const drawerOpen = ref(false)
const drawer = ref(null) const drawer = ref(null)

View File

@ -5,8 +5,6 @@ $font-family: Roboto, Noto Sans SC, PingFang SC, Lantinghei SC,
$bg-color: rgb(var(--mdui-color-background)); $bg-color: rgb(var(--mdui-color-background));
$error-color: rgb(var(--mdui-color-error)); $error-color: rgb(var(--mdui-color-error));
$on-error-color: rgb(var(--mdui-color-on-error)); $on-error-color: rgb(var(--mdui-color-on-error));
$transition-duration: var(--mdui-motion-duration-short2);
$transition-easing: var(--mdui-motion-easing-linear);
html { html {
scroll-padding-top: 64px; scroll-padding-top: 64px;
@ -15,7 +13,6 @@ html {
body { body {
font-family: $font-family; font-family: $font-family;
background-color: $bg-color; background-color: $bg-color;
transition: opacity $transition-duration $transition-easing;
} }
pre { pre {
@ -48,4 +45,3 @@ mdui-text-field {
.no-select { .no-select {
user-select: none; user-select: none;
} }

View File

@ -46,7 +46,7 @@ function onConvert(data) {
</script> </script>
<template> <template>
<img style="display: block; margin: 0px auto 10px;" height="200px" alt="logo" src="/favicon.svg" /> <img style="display: block; margin: 0px auto 10px;" height="200px" width="200px" alt="logo" src="/favicon.svg" />
<h1>欢迎来到 AO3 Mirror! 👋👋</h1> <h1>欢迎来到 AO3 Mirror! 👋👋</h1>
<p>一个基于重构渲染的 AO3 镜像站</p><Hr /> <p>一个基于重构渲染的 AO3 镜像站</p><Hr />
<section id="converter"> <section id="converter">

View File

@ -250,7 +250,7 @@ async function switchWorkWithIndex(target) {
<style scoped> <style scoped>
.active-item { .active-item {
background-color: rgb(var(--mdui-color-secondary-container-light)); background-color: rgb(var(--mdui-color-secondary-container));
} }
.mdui-fab { .mdui-fab {
position: fixed; position: fixed;