wan2.2 / style.css
liyangbing's picture
feat: update landing page with model links and blue theme
7ac522b
/* Navigation Styles */
.top-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(26, 26, 26, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
z-index: 1000;
padding: 1rem 0;
}
.nav-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-logo {
font-size: 1.5rem;
font-weight: bold;
color: white;
letter-spacing: 2px;
}
.nav-links {
display: flex;
gap: 2rem;
align-items: center;
}
.nav-link {
color: #aaa;
text-decoration: none;
font-size: 0.95rem;
transition: color 0.3s ease;
}
.nav-link:hover {
color: white;
}
.nav-button {
background: #2196F3;
color: white;
padding: 0.5rem 1.2rem;
border-radius: 20px;
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: all 0.3s ease;
}
.nav-button:hover {
background: #1976D2;
transform: translateY(-1px);
}
/* Content Styles */
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
color: white;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container {
text-align: center;
padding: 2rem;
max-width: 800px;
width: 100%;
margin-top: 4rem;
}
.content {
animation: fadeIn 1s ease-in;
}
.logo-section {
margin-bottom: 2rem;
}
h1, h2 {
margin: 0.5rem 0;
font-size: 3.5rem;
font-weight: bold;
background: linear-gradient(45deg, #fff, #e0e0e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 30px rgba(255,255,255,0.1);
}
.announcement-section {
margin: 2rem 0;
}
.announcement {
font-size: 2rem;
color: #2196F3;
margin: 1rem 0;
font-weight: bold;
text-shadow: 0 0 10px rgba(33,150,243,0.3);
}
.divider {
height: 2px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
margin: 2rem auto;
width: 60%;
}
.features-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin: 3rem 0;
}
.feature {
padding: 1.5rem;
background: rgba(255,255,255,0.05);
border-radius: 12px;
transition: transform 0.3s ease;
}
.feature:hover {
transform: translateY(-5px);
background: rgba(255,255,255,0.08);
}
.feature h3 {
font-size: 1.2rem;
margin: 0 0 1rem 0;
color: #fff;
}
.feature p {
color: #aaa;
font-size: 0.95rem;
line-height: 1.5;
margin: 0;
}
.models-section {
margin: 3rem 0;
padding: 2rem;
background: rgba(255,255,255,0.03);
border-radius: 16px;
}
.models-title {
font-size: 1.5rem;
color: #fff;
margin-bottom: 2rem;
text-align: center;
}
.models-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.model-category {
text-align: left;
}
.model-category h4 {
color: #aaa;
font-size: 1.1rem;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.model-links {
display: flex;
flex-direction: column;
gap: 1rem;
}
.model-link {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background: rgba(255,255,255,0.05);
border-radius: 8px;
text-decoration: none;
transition: all 0.3s ease;
}
.model-link:hover {
background: rgba(255,255,255,0.1);
transform: translateY(-2px);
}
.model-name {
color: #fff;
font-weight: 500;
}
.model-tag {
font-size: 0.8rem;
padding: 0.2rem 0.6rem;
background: #2196F3;
color: white;
border-radius: 12px;
font-weight: 500;
}
.model-highlight {
margin-top: 2rem;
padding: 1.5rem;
background: linear-gradient(135deg, rgba(33,150,243,0.1), rgba(33,150,243,0.05));
border-radius: 12px;
border: 1px solid rgba(33,150,243,0.2);
}
.model-highlight h4 {
color: #2196F3;
font-size: 1.2rem;
margin: 0 0 1rem 0;
}
.model-highlight p {
color: #aaa;
font-size: 0.95rem;
line-height: 1.6;
margin: 0;
}
.redirect-section {
margin-top: 3rem;
}
.redirect-text {
color: #888;
font-size: 1rem;
margin: 1rem 0;
animation: pulse 2s infinite;
}
.progress-bar {
width: 200px;
height: 4px;
background: rgba(255,255,255,0.1);
border-radius: 2px;
margin: 1rem auto;
overflow: hidden;
}
.progress {
height: 100%;
background: #2196F3;
animation: progress 10s linear;
}
.cta-button {
display: inline-block;
padding: 0.8rem 1.5rem;
background: #2196F3;
color: white;
text-decoration: none;
border-radius: 25px;
font-weight: bold;
margin-top: 1rem;
transition: all 0.3s ease;
}
.cta-button:hover {
background: #1976D2;
transform: scale(1.05);
}
.huggingface-link {
margin-top: 2rem;
font-size: 0.9rem;
color: #888;
}
.huggingface-link a {
color: #2196F3;
text-decoration: none;
transition: color 0.3s ease;
}
.huggingface-link a:hover {
color: #1976D2;
text-decoration: underline;
}
.highlight-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
justify-content: center;
}
.highlight-link {
display: inline-block;
padding: 0.6rem 1.2rem;
background: rgba(33,150,243,0.1);
border: 1px solid rgba(33,150,243,0.3);
border-radius: 8px;
color: #2196F3;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.3s ease;
}
.highlight-link:hover {
background: rgba(33,150,243,0.2);
transform: translateY(-2px);
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
@keyframes progress {
from { width: 0; }
to { width: 100%; }
}
@media (max-width: 768px) {
.nav-content {
padding: 0 1rem;
}
.nav-links {
gap: 1rem;
}
.nav-link {
display: none;
}
.nav-button {
display: block;
}
}
@media (max-width: 600px) {
h1, h2 {
font-size: 2.5rem;
}
.announcement {
font-size: 1.5rem;
}
.features-section {
grid-template-columns: 1fr;
gap: 1rem;
}
.container {
padding: 1rem;
}
.models-section {
padding: 1rem;
}
.models-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.model-link {
padding: 0.8rem;
}
.model-highlight {
margin-top: 1.5rem;
padding: 1rem;
}
.highlight-links {
flex-direction: column;
gap: 0.8rem;
}
.highlight-link {
text-align: center;
}
}