238 lines
3.9 KiB
CSS
238 lines
3.9 KiB
CSS
:root {
|
|
/* 橙色主题 */
|
|
--primary-bg: linear-gradient(135deg, #332211, #cc5500);
|
|
--card-bg: rgba(0, 0, 0, 0.35);
|
|
--primary-text: #fff5e6;
|
|
--accent-color: #ff8c42;
|
|
--secondary-accent: #ffd700;
|
|
--header-color: #ffd700;
|
|
--stats-color: #ff8c42;
|
|
--item-bg: rgba(255, 255, 255, 0.07);
|
|
--sponsor-border: #ff8c42;
|
|
--seat-border: #ffd700;
|
|
--shadow-color: rgba(0, 0, 0, 0.55);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s ease;
|
|
}
|
|
|
|
body {
|
|
background: var(--primary-bg);
|
|
color: var(--primary-text);
|
|
font-family: "Microsoft YaHei", sans-serif;
|
|
padding: 20px;
|
|
overflow-x: hidden;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1800px;
|
|
margin: auto;
|
|
position: relative;
|
|
}
|
|
|
|
.header,
|
|
.footer {
|
|
text-align: center;
|
|
padding: 30px;
|
|
background: var(--card-bg);
|
|
border-radius: 20px;
|
|
box-shadow: 0 10px 30px var(--shadow-color);
|
|
backdrop-filter: blur(10px);
|
|
margin-bottom: 30px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.footer {
|
|
margin-top: 30px;
|
|
padding: 20px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
color: var(--header-color);
|
|
margin-bottom: 15px;
|
|
text-shadow: 0 2px 10px var(--shadow-color);
|
|
letter-spacing: 1.5px;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent-color);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.5rem;
|
|
color: var(--primary-text);
|
|
opacity: 0.9;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.stats {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 50px;
|
|
margin: 25px 0;
|
|
}
|
|
|
|
.stats div {
|
|
font-size: 3rem;
|
|
color: var(--stats-color);
|
|
font-weight: bold;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 20px;
|
|
background: var(--item-bg);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.stats i {
|
|
font-size: 2.2rem;
|
|
}
|
|
|
|
.main-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 30px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.section {
|
|
background: var(--card-bg);
|
|
border-radius: 20px;
|
|
padding: 30px;
|
|
height: 650px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 10px 30px var(--shadow-color);
|
|
backdrop-filter: blur(5px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.section h2 {
|
|
text-align: center;
|
|
color: var(--accent-color);
|
|
margin-bottom: 25px;
|
|
font-size: 2.4rem;
|
|
text-shadow: 0 1px 5px var(--shadow-color);
|
|
position: relative;
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.section h2:after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 100px;
|
|
height: 4px;
|
|
background: var(--secondary-accent);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.scroll-container {
|
|
height: 540px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
border-radius: 15px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.scroll-content {
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
.sponsor-item,
|
|
.seat-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 18px 25px;
|
|
margin: 15px 0;
|
|
background: var(--item-bg);
|
|
border-radius: 12px;
|
|
font-size: 1.7rem;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.sponsor-item:hover,
|
|
.seat-item:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 20px var(--shadow-color);
|
|
}
|
|
|
|
.sponsor-item {
|
|
border-left: 6px solid var(--sponsor-border);
|
|
}
|
|
|
|
.seat-item {
|
|
border-left: 6px solid var(--seat-border);
|
|
}
|
|
|
|
.amount {
|
|
color: var(--secondary-accent);
|
|
font-weight: bold;
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.scroll-content {
|
|
animation: scroll 40s linear infinite;
|
|
}
|
|
|
|
.scroll-content:hover {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
@keyframes scroll {
|
|
0% {
|
|
transform: translateY(0);
|
|
}
|
|
100% {
|
|
transform: translateY(-50%);
|
|
}
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 1200px) {
|
|
.main-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.stats {
|
|
gap: 20px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.stats {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.header,
|
|
.footer {
|
|
padding: 20px;
|
|
}
|
|
|
|
.section {
|
|
padding: 20px;
|
|
height: 500px;
|
|
}
|
|
|
|
.scroll-container {
|
|
height: 400px;
|
|
}
|
|
}
|