适配小屏

This commit is contained in:
gyq
2024-03-07 09:47:25 +08:00
parent b550cf3fd8
commit 396d237710
8 changed files with 73 additions and 87 deletions

View File

@@ -52,7 +52,7 @@ router.beforeEach((to, from) => {
}
:root {
--r:24;
--r: 24;
--g: 124;
--b: 170;
--r-lighter: calc(var(--r) + (255 - var(--r)) * 0.2);
@@ -74,13 +74,12 @@ router.beforeEach((to, from) => {
--el-color-primary-dark-2: rgb(var(--r-darker), var(--g-darker), var(--b-darker)) !important;
--el-color-primary-light-5: rgb(var(--r-lighter2), var(--g-lighter2), var(--b-lighter2)) !important;
--el-font-size-base: 20px !important;
--el-message-close-size: 20px !important;
--el-font-size-base: 16px !important;
--el-message-close-size: var(--el-font-size-base) !important;
--el-component-size-large: 50px !important;
--el-mask-color: rgba(255, 255, 255, 0.6) !important;
}
@font-face {
font-family: 'num';
src: url('@/assets/font/Ignotum-Regular.ttf');