Khác biệt giữa bản sửa đổi của “MediaWiki:Common.css”
Trang mới: “→Mã CSS đặt ở đây sẽ áp dụng cho mọi giao diện: →Ẩn tiêu đề chữ "Trang Chính" mặc định ở trang chủ cho gọn: .page-Trang_Chính .firstHeading, .page-Trang_Chính #section_0 { display: none !important; } →Khung lời chào (Hero Banner): .wiki-hero { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); color: #ffffff; padding: 28px 24px; border-radius: 12px; margin-bottom: 20px; } .wiki-hero…” |
Không có tóm lược sửa đổi |
||
| Dòng 120: | Dòng 120: | ||
padding: 2px 8px; | padding: 2px 8px; | ||
border-radius: 999px; | border-radius: 999px; | ||
} | |||
/* Danh sách bài viết mới cập nhật */ | |||
.new-page-item { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
gap: 10px; | |||
padding: 9px 0; | |||
border-bottom: 1px solid #f1f5f9; | |||
} | |||
.new-page-item:last-child { | |||
border-bottom: none; | |||
padding-bottom: 0; | |||
} | |||
.new-page-title { | |||
font-weight: 600; | |||
font-size: 15px; | |||
color: #2563eb; | |||
} | |||
.new-page-date { | |||
font-size: 12px; | |||
color: #64748b; | |||
white-space: nowrap; | |||
} | } | ||
Bản mới nhất lúc 07:44, ngày 20 tháng 11 năm 2026
/* Mã CSS đặt ở đây sẽ áp dụng cho mọi giao diện */
/* Ẩn tiêu đề chữ "Trang Chính" mặc định ở trang chủ cho gọn */
.page-Trang_Chính .firstHeading,
.page-Trang_Chính #section_0 {
display: none !important;
}
/* Khung lời chào (Hero Banner) */
.wiki-hero {
background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
color: #ffffff;
padding: 28px 24px;
border-radius: 12px;
margin-bottom: 20px;
}
.wiki-hero-title {
font-size: 24px;
font-weight: 700;
margin-bottom: 10px;
}
.wiki-hero-desc {
font-size: 15px;
line-height: 1.6;
color: #e2e8f0;
margin-bottom: 18px;
}
.wiki-hero-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.wiki-btn {
display: inline-block;
padding: 8px 16px;
border-radius: 8px;
font-weight: 600;
font-size: 14px;
}
.wiki-btn-primary {
background: #3b82f6;
color: #ffffff !important;
}
.wiki-btn-secondary {
background: rgba(255, 255, 255, 0.15);
color: #ffffff !important;
}
/* Bố cục chia 2 cột tự động co giãn trên điện thoại */
.wiki-portal-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.wiki-card {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 18px;
margin-bottom: 20px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.wiki-card-header {
font-size: 18px;
font-weight: 700;
color: #0f172a;
padding-bottom: 10px;
margin-bottom: 14px;
border-bottom: 2px solid #f1f5f9;
}
/* Mục bài viết nổi bật */
.wiki-featured-item {
padding-bottom: 12px;
margin-bottom: 12px;
border-bottom: 1px dashed #e2e8f0;
}
.wiki-featured-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.wiki-featured-title a {
font-size: 16px;
font-weight: 700;
color: #2563eb;
}
.wiki-featured-excerpt {
font-size: 14px;
color: #475569;
margin: 4px 0 0 0;
}
/* Thẻ hiển thị Meme Hot */
.meme-hot-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 0;
border-bottom: 1px solid #f1f5f9;
}
.meme-hot-item:last-child {
border-bottom: none;
}
.meme-hot-thumb {
width: 68px;
height: 68px;
object-fit: cover;
border-radius: 8px;
border: 1px solid #cbd5e1;
}
.meme-hot-info {
flex: 1;
}
.meme-hot-votes {
display: inline-block;
background: #fef3c7;
color: #b45309;
font-weight: 700;
font-size: 12px;
padding: 2px 8px;
border-radius: 999px;
}
/* Danh sách bài viết mới cập nhật */
.new-page-item {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
padding: 9px 0;
border-bottom: 1px solid #f1f5f9;
}
.new-page-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.new-page-title {
font-weight: 600;
font-size: 15px;
color: #2563eb;
}
.new-page-date {
font-size: 12px;
color: #64748b;
white-space: nowrap;
}