Files
membank/使用说明/css/style.css
张威33321 398fcf9aff 0328
2026-03-28 18:08:56 +08:00

293 lines
5.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
color: #333;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 30px 0;
text-align: center;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
margin-bottom: 30px;
}
header h1 {
font-size: 2.5em;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
header p {
font-size: 1.1em;
opacity: 0.9;
}
nav {
background: white;
padding: 15px 20px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
margin-bottom: 30px;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}
nav a {
text-decoration: none;
color: #667eea;
padding: 10px 20px;
border-radius: 25px;
transition: all 0.3s ease;
font-weight: 500;
}
nav a:hover {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
margin-bottom: 30px;
}
.product-card {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.product-card-header {
padding: 25px;
color: white;
text-align: center;
}
.product-card-header h3 {
font-size: 1.5em;
margin-bottom: 10px;
}
.product-card-header p {
opacity: 0.9;
font-size: 0.95em;
}
.product-card-body {
padding: 25px;
}
.product-card-body h4 {
color: #667eea;
margin-bottom: 15px;
font-size: 1.1em;
}
.product-card-body ul {
list-style: none;
margin-bottom: 20px;
}
.product-card-body li {
padding: 8px 0;
border-bottom: 1px solid #f0f0f0;
display: flex;
align-items: center;
}
.product-card-body li:last-child {
border-bottom: none;
}
.product-card-body li::before {
content: "✓";
color: #667eea;
font-weight: bold;
margin-right: 10px;
}
.btn {
display: inline-block;
padding: 12px 30px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
text-decoration: none;
border-radius: 25px;
transition: all 0.3s ease;
font-weight: 500;
text-align: center;
cursor: pointer;
border: none;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}
.btn-secondary {
background: white;
color: #667eea;
border: 2px solid #667eea;
}
.btn-secondary:hover {
background: #667eea;
color: white;
}
.page-content {
background: white;
padding: 40px;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
margin-bottom: 30px;
}
.page-content h2 {
color: #667eea;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 3px solid #667eea;
}
.page-content h3 {
color: #764ba2;
margin: 25px 0 15px 0;
}
.page-content p {
margin-bottom: 15px;
line-height: 1.8;
}
.page-content ul, .page-content ol {
margin-left: 25px;
margin-bottom: 15px;
}
.page-content li {
margin-bottom: 8px;
}
.info-box {
background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
padding: 20px;
border-radius: 10px;
margin: 20px 0;
border-left: 4px solid #667eea;
}
.warning-box {
background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
padding: 20px;
border-radius: 10px;
margin: 20px 0;
border-left: 4px solid #e53e3e;
}
.success-box {
background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
padding: 20px;
border-radius: 10px;
margin: 20px 0;
border-left: 4px solid #38a169;
}
footer {
text-align: center;
padding: 30px 0;
color: #666;
margin-top: 30px;
}
.breadcrumb {
background: white;
padding: 15px 20px;
border-radius: 10px;
margin-bottom: 20px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.breadcrumb a {
color: #667eea;
text-decoration: none;
}
.breadcrumb a:hover {
text-decoration: underline;
}
.breadcrumb span {
margin: 0 10px;
color: #999;
}
.nas-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.win-gradient {
background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
}
.gaming-gradient {
background: linear-gradient(135deg, #00b894 0%, #55efc4 100%);
}
@media (max-width: 768px) {
.container {
padding: 10px;
}
header h1 {
font-size: 2em;
}
nav ul {
flex-direction: column;
align-items: center;
}
.product-grid {
grid-template-columns: 1fr;
}
.page-content {
padding: 20px;
}
}