63 lines
1.1 KiB
CSS
63 lines
1.1 KiB
CSS
/* 频道基础样式 */
|
|
.channel-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
font-family: system-ui, -apple-system, sans-serif;
|
|
}
|
|
|
|
.channel-nav {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
border-bottom: 2px solid #e5e7eb;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.channel-btn {
|
|
padding: 10px 20px;
|
|
border: none;
|
|
background: #f3f4f6;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.channel-btn:hover {
|
|
background: #e5e7eb;
|
|
}
|
|
|
|
.channel-btn.active {
|
|
background: #3b82f6;
|
|
color: white;
|
|
}
|
|
|
|
.channel-btn.visited {
|
|
position: relative;
|
|
}
|
|
|
|
.channel-btn.visited::after {
|
|
content: "✓";
|
|
position: absolute;
|
|
top: -5px;
|
|
right: -5px;
|
|
background: #10b981;
|
|
color: white;
|
|
border-radius: 50%;
|
|
width: 20px;
|
|
height: 20px;
|
|
font-size: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.channel-content {
|
|
min-height: 400px;
|
|
padding: 20px;
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
|
|
}
|