Adapt to mobile devices

This commit is contained in:
zyronon
2023-12-11 02:14:19 +08:00
parent 9f3d0b8273
commit c34ba02248
12 changed files with 251 additions and 201 deletions

View File

@@ -4,7 +4,6 @@
@import "anim";
@import 'element-plus/theme-chalk/dark/css-vars';
:root {
--color-background: #E6E8EB;
--color-main-bg: #E6E8EB;
@@ -138,7 +137,6 @@ html.dark {
transition: background var(--anim-time), color var(--anim-time), border var(--anim-time);
}
html, body {
font-size: 1px;
padding: 0;
@@ -152,6 +150,14 @@ html, body {
-moz-osx-font-smoothing: grayscale;
}
.page{
position: relative;
z-index: 1;
height: 100%;
width: 100%;
font-size: 14rem;
}
#app {
width: 100%;
height: 100%;