Files
thinkyu/報到系統/Content/Home.css
T
sryang 577060bc78 chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
2026-09-10 09:42:37 +08:00

183 lines
3.3 KiB
CSS

/* ========================================
首頁管理頁面專屬樣式
======================================== */
/* 頁面容器 */
.home-container {
max-width: 1000px;
margin: 0 auto;
}
/* 內容區塊 */
.content-section {
background: white;
border-radius: 8px;
padding: 30px;
margin: 30px auto auto auto;
border: 1px solid #e8e8e8;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.content-section h3 {
font-size: 24px;
color: #1a1a1a;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid #c41e3a;
}
/* 步驟列表樣式 */
.steps-list {
list-style: none;
padding: 0;
margin: 0;
}
.steps-list li {
padding: 15px 0;
padding-left: 50px;
position: relative;
font-size: 15px;
line-height: 1.6;
color: #2d2d2d;
border-bottom: 1px solid #f0f0f0;
}
.steps-list li:last-child {
border-bottom: none;
}
/* 步驟編號圓圈 */
.steps-list li::before {
content: counter(step-counter);
counter-increment: step-counter;
position: absolute;
left: 0;
top: 12px;
width: 32px;
height: 32px;
background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 14px;
}
.steps-list {
counter-reset: step-counter;
}
/* 鏈接樣式 */
.steps-list a {
color: #FFF;
font-weight: 500;
text-decoration: none;
transition: all 0.3s;
border-bottom: 1px dotted #c41e3a;
}
.steps-list a:hover {
color: #a01828;
text-decoration: none;
border-bottom-color: #a01828;
}
/* 特殊提示框 */
.info-box {
background: #f0f7ff;
border-left: 4px solid #17a2b8;
padding: 15px 20px;
border-radius: 4px;
margin-top: 20px;
font-size: 14px;
color: #0c5460;
line-height: 1.6;
}
.info-box-title {
font-weight: bold;
margin-bottom: 8px;
color: #0c5460;
}
/* 按鈕樣式 */
.home-btn {
display: inline-block;
padding: 12px 24px;
background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
color: white;
text-decoration: none;
border-radius: 4px;
font-weight: 500;
transition: all 0.3s;
border: none;
cursor: pointer;
font-size: 14px;
margin-top: -10px;
}
.home-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
text-decoration: none;
color: white;
}
/* 響應式設計 */
@media (max-width: 768px) {
.welcome-section {
padding: 30px 20px;
}
.welcome-section h1 {
font-size: 28px;
}
.content-section {
padding: 20px;
}
.content-section h3 {
font-size: 20px;
}
.steps-list li {
padding: 12px 0;
padding-left: 45px;
font-size: 14px;
}
.steps-list li::before {
width: 28px;
height: 28px;
font-size: 12px;
top: 10px;
}
}
@media (max-width: 480px) {
.home-container {
padding: 0 10px;
}
.welcome-section {
padding: 20px 15px;
}
.welcome-section h1 {
font-size: 24px;
}
.content-section {
padding: 15px;
}
.steps-list li {
padding: 10px 0;
padding-left: 40px;
}
}