Ok
This commit is contained in:
35
static/css/style.css
Normal file
35
static/css/style.css
Normal file
@@ -0,0 +1,35 @@
|
||||
body {
|
||||
background-color: #f0f2f5; /* 一個柔和的淺灰色作為備用 */
|
||||
background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: none;
|
||||
border-radius: 0.75rem;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* 頁面切換的淡入效果 */
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
main.container {
|
||||
animation: fadeIn 0.5s ease-in-out;
|
||||
}
|
Reference in New Issue
Block a user