diff --git a/frontend/src/App.vue b/frontend/src/App.vue index a893b2a..01646d3 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,19 +1,26 @@ diff --git a/frontend/src/components/HelloWorld.vue b/frontend/src/components/HelloWorld.vue deleted file mode 100644 index 546ebbc..0000000 --- a/frontend/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/frontend/src/components/LotteryResults.vue b/frontend/src/components/LotteryResults.vue deleted file mode 100644 index 182de31..0000000 --- a/frontend/src/components/LotteryResults.vue +++ /dev/null @@ -1,458 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/src/components/UserForm.vue b/frontend/src/components/UserForm.vue deleted file mode 100644 index a45a254..0000000 --- a/frontend/src/components/UserForm.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/src/components/UserManagement.vue b/frontend/src/components/UserManagement.vue deleted file mode 100644 index f4831b4..0000000 --- a/frontend/src/components/UserManagement.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/src/style.css b/frontend/src/style.css index f691315..baff01c 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -24,10 +24,9 @@ a:hover { body { margin: 0; - display: flex; - place-items: center; min-width: 320px; min-height: 100vh; + background-color: #f5f5f5; } h1 { @@ -58,11 +57,18 @@ button:focus-visible { padding: 2em; } -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; + +/* 响应式app容器 */ +@media (max-width: 768px) { + #app { + padding: 1rem; + } +} + +@media (max-width: 480px) { + #app { + padding: 0.5rem; + } } @media (prefers-color-scheme: light) {