chore: initialize tuhui repository
This commit is contained in:
164
frontend/src/pages/Protocol.css
Normal file
164
frontend/src/pages/Protocol.css
Normal file
@@ -0,0 +1,164 @@
|
||||
.protocol-page {
|
||||
min-height: 100vh;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.protocol-container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
display: flex;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.protocol-sidebar {
|
||||
width: 200px;
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
padding: 24px;
|
||||
height: fit-content;
|
||||
position: sticky;
|
||||
top: 90px;
|
||||
}
|
||||
|
||||
.protocol-sidebar h3 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.protocol-sidebar ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.protocol-sidebar li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.protocol-sidebar a {
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
transition: color 0.3s;
|
||||
display: block;
|
||||
padding: 8px 12px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.protocol-sidebar a:hover {
|
||||
color: #ff5a5a;
|
||||
background: #fff5f5;
|
||||
}
|
||||
|
||||
.protocol-sidebar a.active {
|
||||
color: #ff5a5a;
|
||||
background: #fff5f5;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.protocol-content {
|
||||
flex: 1;
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
padding: 40px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.protocol-content h1 {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 24px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 2px solid #ff5a5a;
|
||||
}
|
||||
|
||||
.protocol-content h2 {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-top: 32px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.protocol-content p {
|
||||
line-height: 1.8;
|
||||
color: #666;
|
||||
margin-bottom: 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.protocol-content ul {
|
||||
padding-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.protocol-content li {
|
||||
line-height: 1.8;
|
||||
color: #666;
|
||||
margin-bottom: 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.protocol-footer {
|
||||
margin-top: 40px;
|
||||
padding-top: 24px;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
text-align: center;
|
||||
color: #999;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.protocol-content code {
|
||||
background: #f5f5f5;
|
||||
padding: 2px 8px;
|
||||
border-radius: 4px;
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 13px;
|
||||
color: #ff5a5a;
|
||||
}
|
||||
|
||||
.level-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.level-table td {
|
||||
padding: 12px 16px;
|
||||
border: 1px solid #f0f0f0;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.level-table tr:nth-child(even) {
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.level-table td:first-child {
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.protocol-container {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.protocol-sidebar {
|
||||
width: 100%;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.protocol-content {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.protocol-content h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user