feat: 完成全站UI优化 - 科技感/未来风设计
- 前台页面全面升级为Tailwind CSS框架 - 引入Google Fonts (Space Grotesk, Noto Sans) - 主色调更新为#25c0f4 (cyan blue) - 实现玻璃态效果和渐变背景 - 优化首页网格卡片布局和悬停动画 - 优化详情页双栏布局和渐变Logo光晕 - 优化管理员登录页,添加科技网格背景 - Flask-Admin后台完整深色主题 - 统一Material Symbols图标系统 - 网站自动抓取功能界面优化 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
313
static/css/admin-theme.css
Normal file
313
static/css/admin-theme.css
Normal file
@@ -0,0 +1,313 @@
|
||||
/* ========== Flask-Admin 后台科技感主题 - ZJPB焦提示词 ========== */
|
||||
|
||||
/* 深色主题覆盖 */
|
||||
body.admin-theme {
|
||||
background: #111618 !important;
|
||||
background-image:
|
||||
radial-gradient(at 20% 20%, rgba(37, 192, 244, 0.08) 0px, transparent 50%),
|
||||
radial-gradient(at 80% 80%, rgba(124, 58, 237, 0.08) 0px, transparent 50%);
|
||||
color: #ffffff !important;
|
||||
font-family: 'Space Grotesk', 'Noto Sans', sans-serif !important;
|
||||
}
|
||||
|
||||
/* 导航栏 */
|
||||
.navbar-admin {
|
||||
background: rgba(27, 36, 39, 0.95) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border-bottom: 1px solid #283539;
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.navbar-admin .navbar-brand {
|
||||
background: linear-gradient(to right, #25c0f4, #c084fc);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
font-weight: 700;
|
||||
font-family: 'Space Grotesk', sans-serif !important;
|
||||
}
|
||||
|
||||
/* 侧边栏 */
|
||||
.nav-sidebar {
|
||||
background: rgba(27, 36, 39, 0.8) !important;
|
||||
}
|
||||
|
||||
.nav-sidebar .nav-link {
|
||||
color: #9cb2ba !important;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.nav-sidebar .nav-link:hover,
|
||||
.nav-sidebar .nav-link.active {
|
||||
color: #ffffff !important;
|
||||
background: rgba(37, 192, 244, 0.15) !important;
|
||||
border-left: 3px solid #25c0f4;
|
||||
}
|
||||
|
||||
/* 卡片和面板 */
|
||||
.card, .panel {
|
||||
background: rgba(27, 36, 39, 0.6) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid #283539 !important;
|
||||
border-radius: 12px !important;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.card-header, .panel-heading {
|
||||
background: rgba(37, 192, 244, 0.08) !important;
|
||||
border-bottom: 1px solid #283539 !important;
|
||||
color: #ffffff !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* 表格 */
|
||||
.table {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.table thead th {
|
||||
background: rgba(30, 39, 44, 0.8) !important;
|
||||
border-color: #283539 !important;
|
||||
color: #9cb2ba !important;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.table tbody tr {
|
||||
background: transparent !important;
|
||||
border-color: #283539 !important;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.table tbody tr:hover {
|
||||
background: rgba(30, 39, 44, 0.5) !important;
|
||||
}
|
||||
|
||||
.table td, .table th {
|
||||
border-color: #283539 !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/* 表单 */
|
||||
.form-control {
|
||||
background: #111618 !important;
|
||||
border: 1px solid #283539 !important;
|
||||
color: #ffffff !important;
|
||||
border-radius: 8px !important;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
background: rgba(27, 36, 39, 0.8) !important;
|
||||
border-color: #25c0f4 !important;
|
||||
box-shadow: 0 0 0 3px rgba(37, 192, 244, 0.1) !important;
|
||||
}
|
||||
|
||||
.form-control::placeholder {
|
||||
color: #9cb2ba !important;
|
||||
}
|
||||
|
||||
.form-label, label {
|
||||
color: #9cb2ba !important;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* 按钮 */
|
||||
.btn-primary {
|
||||
background: #25c0f4 !important;
|
||||
border: none !important;
|
||||
color: #111618 !important;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 0 20px rgba(37, 192, 244, 0.3);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: #1fa8d8 !important;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 0 30px rgba(37, 192, 244, 0.5);
|
||||
}
|
||||
|
||||
.btn-info {
|
||||
background: linear-gradient(135deg, #25c0f4 0%, #00f2fe 100%) !important;
|
||||
border: none !important;
|
||||
color: #111618 !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-secondary, .btn-default {
|
||||
background: rgba(40, 53, 57, 0.6) !important;
|
||||
border: 1px solid #283539 !important;
|
||||
color: #ffffff !important;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-secondary:hover, .btn-default:hover {
|
||||
background: rgba(52, 66, 71, 0.8) !important;
|
||||
border-color: #4a5a60 !important;
|
||||
}
|
||||
|
||||
/* 模态框 */
|
||||
.modal-content {
|
||||
background: rgba(27, 36, 39, 0.95) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid #283539 !important;
|
||||
border-radius: 12px !important;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
border-bottom-color: #283539 !important;
|
||||
background: rgba(37, 192, 244, 0.05);
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
border-top-color: #283539 !important;
|
||||
}
|
||||
|
||||
/* 分页 */
|
||||
.pagination .page-link {
|
||||
background: rgba(27, 36, 39, 0.6) !important;
|
||||
border-color: #283539 !important;
|
||||
color: #9cb2ba !important;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.pagination .page-link:hover {
|
||||
background: rgba(37, 192, 244, 0.1) !important;
|
||||
border-color: #25c0f4 !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.pagination .page-item.active .page-link {
|
||||
background: #25c0f4 !important;
|
||||
border-color: #25c0f4 !important;
|
||||
color: #111618 !important;
|
||||
}
|
||||
|
||||
/* 警告框 */
|
||||
.alert {
|
||||
background: rgba(27, 36, 39, 0.8) !important;
|
||||
border: 1px solid #283539 !important;
|
||||
color: #ffffff !important;
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
background: rgba(34, 197, 94, 0.1) !important;
|
||||
border-color: rgba(34, 197, 94, 0.3) !important;
|
||||
color: #4ade80 !important;
|
||||
}
|
||||
|
||||
.alert-danger {
|
||||
background: rgba(239, 68, 68, 0.1) !important;
|
||||
border-color: rgba(239, 68, 68, 0.3) !important;
|
||||
color: #f87171 !important;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
background: rgba(37, 192, 244, 0.1) !important;
|
||||
border-color: rgba(37, 192, 244, 0.3) !important;
|
||||
color: #25c0f4 !important;
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
background: rgba(251, 191, 36, 0.1) !important;
|
||||
border-color: rgba(251, 191, 36, 0.3) !important;
|
||||
color: #fbbf24 !important;
|
||||
}
|
||||
|
||||
/* 链接 */
|
||||
a {
|
||||
color: #25c0f4 !important;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #1fa8d8 !important;
|
||||
}
|
||||
|
||||
/* 文本颜色 */
|
||||
.text-muted {
|
||||
color: #9cb2ba !important;
|
||||
}
|
||||
|
||||
/* 输入组 */
|
||||
.input-group-text {
|
||||
background: rgba(27, 36, 39, 0.6) !important;
|
||||
border-color: #283539 !important;
|
||||
color: #9cb2ba !important;
|
||||
}
|
||||
|
||||
/* Select2 下拉框 */
|
||||
.select2-container--bootstrap4 .select2-selection {
|
||||
background: #111618 !important;
|
||||
border-color: #283539 !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.select2-dropdown {
|
||||
background: rgba(27, 36, 39, 0.95) !important;
|
||||
border-color: #283539 !important;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.select2-results__option {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.select2-results__option--highlighted {
|
||||
background: rgba(37, 192, 244, 0.2) !important;
|
||||
}
|
||||
|
||||
/* 徽章 */
|
||||
.badge-primary {
|
||||
background: #25c0f4 !important;
|
||||
color: #111618 !important;
|
||||
}
|
||||
|
||||
.badge-secondary {
|
||||
background: #283539 !important;
|
||||
color: #9cb2ba !important;
|
||||
}
|
||||
|
||||
/* 进度条 */
|
||||
.progress {
|
||||
background: rgba(27, 36, 39, 0.6) !important;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background: #25c0f4 !important;
|
||||
}
|
||||
|
||||
/* 额外优化 */
|
||||
.navbar-nav .nav-link {
|
||||
color: #9cb2ba !important;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-link:hover {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/* 自定义滚动条 */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: #111618;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #283539;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #3a4b50;
|
||||
}
|
||||
|
||||
614
static/css/style.css
Normal file
614
static/css/style.css
Normal file
@@ -0,0 +1,614 @@
|
||||
/* ========== 科技感/未来风主题样式 ========== */
|
||||
|
||||
/* 全局变量 */
|
||||
:root {
|
||||
--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
--secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
|
||||
--tech-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
||||
--dark-bg: #0a0e27;
|
||||
--dark-card: rgba(15, 23, 42, 0.8);
|
||||
--glass-bg: rgba(255, 255, 255, 0.05);
|
||||
--glass-border: rgba(255, 255, 255, 0.1);
|
||||
--text-primary: #ffffff;
|
||||
--text-secondary: #a0aec0;
|
||||
--glow-color: #667eea;
|
||||
--success-glow: #00f2fe;
|
||||
}
|
||||
|
||||
/* 全局样式 */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
|
||||
background: var(--dark-bg);
|
||||
background-image:
|
||||
radial-gradient(at 0% 0%, rgba(102, 126, 234, 0.2) 0px, transparent 50%),
|
||||
radial-gradient(at 100% 0%, rgba(118, 75, 162, 0.2) 0px, transparent 50%),
|
||||
radial-gradient(at 100% 100%, rgba(79, 172, 254, 0.2) 0px, transparent 50%),
|
||||
radial-gradient(at 0% 100%, rgba(0, 242, 254, 0.2) 0px, transparent 50%);
|
||||
background-attachment: fixed;
|
||||
color: var(--text-primary);
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* 导航栏样式 */
|
||||
.navbar {
|
||||
background: var(--dark-card) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-weight: 700;
|
||||
font-size: 1.4rem;
|
||||
background: var(--primary-gradient);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.navbar-brand:hover {
|
||||
transform: translateY(-2px);
|
||||
filter: brightness(1.2);
|
||||
}
|
||||
|
||||
.navbar-brand i {
|
||||
background: var(--tech-gradient);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: var(--text-secondary) !important;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.nav-link::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
width: 0;
|
||||
height: 2px;
|
||||
background: var(--tech-gradient);
|
||||
transition: all 0.3s ease;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.nav-link:hover::after {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
/* 页面标题 */
|
||||
.page-header {
|
||||
text-align: center;
|
||||
padding: 4rem 0 2rem;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 800;
|
||||
background: var(--primary-gradient);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
margin-bottom: 1rem;
|
||||
text-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
|
||||
}
|
||||
|
||||
.page-subtitle {
|
||||
color: var(--text-secondary);
|
||||
font-size: 1.2rem;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/* 标签筛选 */
|
||||
.tag-filter, .tags-filter {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
padding: 2rem 0;
|
||||
}
|
||||
|
||||
.tag-item {
|
||||
padding: 0.75rem 1.5rem;
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 50px;
|
||||
color: var(--text-secondary);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tag-item::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: var(--tech-gradient);
|
||||
transition: all 0.4s ease;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.tag-item:hover {
|
||||
color: var(--text-primary);
|
||||
border-color: transparent;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
|
||||
}
|
||||
|
||||
.tag-item:hover::before {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.tag-item.active {
|
||||
background: var(--primary-gradient);
|
||||
color: var(--text-primary);
|
||||
border-color: transparent;
|
||||
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
|
||||
.tag-item i {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
/* 网站卡片 */
|
||||
.site-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||
gap: 2rem;
|
||||
padding: 2rem 0;
|
||||
}
|
||||
|
||||
.site-card {
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 20px;
|
||||
padding: 2rem;
|
||||
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.site-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: var(--primary-gradient);
|
||||
opacity: 0;
|
||||
transition: opacity 0.4s ease;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.site-card:hover {
|
||||
transform: translateY(-10px) scale(1.02);
|
||||
border-color: rgba(102, 126, 234, 0.5);
|
||||
box-shadow:
|
||||
0 20px 60px rgba(102, 126, 234, 0.3),
|
||||
0 0 40px rgba(79, 172, 254, 0.2);
|
||||
}
|
||||
|
||||
.site-card:hover::before {
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
.site-card > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.site-logo {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
object-fit: contain;
|
||||
margin-bottom: 1.5rem;
|
||||
border-radius: 15px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
padding: 10px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.site-card:hover .site-logo {
|
||||
transform: scale(1.1) rotate(5deg);
|
||||
filter: drop-shadow(0 0 20px rgba(79, 172, 254, 0.5));
|
||||
}
|
||||
|
||||
.site-logo-placeholder {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: var(--tech-gradient);
|
||||
border-radius: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-size: 32px;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.site-name, .card-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.site-desc, .card-text {
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1rem;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.site-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.site-tags .badge {
|
||||
padding: 0.4rem 0.8rem;
|
||||
background: rgba(79, 172, 254, 0.1);
|
||||
border: 1px solid rgba(79, 172, 254, 0.3);
|
||||
border-radius: 20px;
|
||||
color: #4facfe;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.site-meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 1.5rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid var(--glass-border);
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.site-meta i {
|
||||
margin-right: 0.3rem;
|
||||
color: #4facfe;
|
||||
}
|
||||
|
||||
/* 详情页样式 */
|
||||
.detail-container {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
padding: 3rem 1rem;
|
||||
}
|
||||
|
||||
.detail-header {
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 20px;
|
||||
padding: 3rem;
|
||||
margin-bottom: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-logo-large {
|
||||
width: 120px !important;
|
||||
height: 120px !important;
|
||||
margin: 0 auto 2rem;
|
||||
padding: 15px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 25px;
|
||||
border: 2px solid var(--glass-border);
|
||||
}
|
||||
|
||||
.detail-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 800;
|
||||
margin-bottom: 1rem;
|
||||
background: var(--primary-gradient);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.detail-url {
|
||||
display: inline-block;
|
||||
padding: 1rem 2rem;
|
||||
background: var(--tech-gradient);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 50px;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
|
||||
}
|
||||
|
||||
.detail-url:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 12px 35px rgba(79, 172, 254, 0.5);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.detail-section, .site-description, .site-features {
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 20px;
|
||||
padding: 2.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.detail-section h3 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 1.5rem;
|
||||
color: var(--text-primary);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.detail-section h3 i {
|
||||
margin-right: 0.75rem;
|
||||
background: var(--tech-gradient);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.detail-section p,
|
||||
.detail-section ul,
|
||||
.site-description p,
|
||||
.site-description ul,
|
||||
.site-features ul {
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.8;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.detail-section ul,
|
||||
.site-description ul,
|
||||
.site-features ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.detail-section li,
|
||||
.site-description li,
|
||||
.site-features li {
|
||||
padding: 0.75rem 0;
|
||||
padding-left: 2rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.detail-section li::before,
|
||||
.site-description li::before,
|
||||
.site-features li::before {
|
||||
content: '▸';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #4facfe;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
/* 页脚 */
|
||||
footer {
|
||||
background: var(--dark-card) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border-top: 1px solid var(--glass-border);
|
||||
margin-top: 5rem;
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
@media (max-width: 768px) {
|
||||
.page-title {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.site-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.tag-filter, .tags-filter {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.tag-item {
|
||||
padding: 0.6rem 1.2rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.site-logo-large {
|
||||
width: 80px !important;
|
||||
height: 80px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 按钮样式 */
|
||||
.btn-primary {
|
||||
background: var(--primary-gradient) !important;
|
||||
border: none !important;
|
||||
padding: 0.75rem 2rem;
|
||||
border-radius: 50px;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: var(--glass-bg) !important;
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--glass-border) !important;
|
||||
color: var(--text-primary) !important;
|
||||
padding: 0.75rem 2rem;
|
||||
border-radius: 50px;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background: rgba(255, 255, 255, 0.1) !important;
|
||||
border-color: rgba(255, 255, 255, 0.3) !important;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border-radius: 50px;
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* 表单样式 */
|
||||
.form-control {
|
||||
background: var(--glass-bg) !important;
|
||||
border: 1px solid var(--glass-border) !important;
|
||||
color: var(--text-primary) !important;
|
||||
border-radius: 15px;
|
||||
padding: 0.75rem 1.25rem;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
background: rgba(255, 255, 255, 0.1) !important;
|
||||
border-color: #4facfe !important;
|
||||
box-shadow: 0 0 20px rgba(79, 172, 254, 0.3) !important;
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.form-control::placeholder {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.form-label {
|
||||
color: var(--text-secondary);
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
/* 卡片样式 */
|
||||
.card {
|
||||
background: var(--glass-bg) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid var(--glass-border) !important;
|
||||
border-radius: 20px !important;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* 警告框样式 */
|
||||
.alert {
|
||||
background: var(--glass-bg) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border: 1px solid var(--glass-border) !important;
|
||||
border-radius: 15px !important;
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.alert-danger {
|
||||
border-color: rgba(245, 87, 108, 0.5) !important;
|
||||
background: rgba(245, 87, 108, 0.1) !important;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
border-color: rgba(0, 242, 254, 0.5) !important;
|
||||
background: rgba(0, 242, 254, 0.1) !important;
|
||||
}
|
||||
|
||||
/* 空状态样式 */
|
||||
.empty-state {
|
||||
padding: 60px 20px;
|
||||
text-align: center;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.empty-state i {
|
||||
font-size: 4rem;
|
||||
background: var(--primary-gradient);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* 滚动条样式 */
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: var(--dark-bg);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--glass-bg);
|
||||
border-radius: 5px;
|
||||
border: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
/* 加载动画 */
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.site-card {
|
||||
animation: fadeIn 0.5s ease-out;
|
||||
}
|
||||
|
||||
@keyframes glow {
|
||||
0%, 100% {
|
||||
box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
|
||||
}
|
||||
50% {
|
||||
box-shadow: 0 0 40px rgba(79, 172, 254, 0.8);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user