1224 lines
18 KiB
CSS
Raw Permalink Normal View History

2025-09-24 17:35:06 +08:00
@font-face {
2026-07-10 17:09:43 +08:00
font-family: 'Pacifico';
src: url('../font/Pacifico.ttf') format('truetype');
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background-color: #ffffff;
color: #1d1d1f;
line-height: 1.6;
overflow-x: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}
.navbar.scrolled {
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
}
.nav-logo {
font-size: 24px;
font-weight: 700;
color: #1d1d1f;
letter-spacing: -1px;
display: flex;
align-items: center;
gap: 4px;
}
.nav-logo > span:first-child {
background: linear-gradient(135deg, #0071e3 0%, #5ac8fa 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.nav-logo-separator {
color: #86868b;
font-size: 18px;
}
.nav-logo-dreamlife {
font-family: 'Pacifico', cursive;
font-size: 20px;
font-weight: 400;
letter-spacing: normal;
background: linear-gradient(135deg, #0071e3 0%, #5ac8fa 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.nav-menu {
display: flex;
list-style: none;
gap: 30px;
}
.nav-menu li a {
text-decoration: none;
color: #6e6e73;
font-size: 14px;
font-weight: 500;
transition: color 0.3s ease;
}
.nav-menu li a:hover {
color: #0071e3;
}
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
}
.nav-toggle span {
width: 25px;
height: 2px;
background: #1d1d1f;
transition: all 0.3s ease;
}
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 100px 20px 50px;
background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 800px;
height: 800px;
background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
border-radius: 50%;
}
.hero::after {
content: '';
position: absolute;
bottom: -30%;
left: -10%;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(90, 200, 250, 0.1) 0%, transparent 70%);
border-radius: 50%;
}
.hero-content {
max-width: 1000px;
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
position: relative;
z-index: 1;
}
.hero-text {
text-align: left;
}
.hero-subtitle {
font-size: 14px;
font-weight: 600;
color: #0071e3;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 20px;
}
.hero-text h1 {
font-size: 56px;
font-weight: 700;
color: #1d1d1f;
line-height: 1.1;
margin-bottom: 24px;
}
.hero-description {
font-size: 18px;
color: #6e6e73;
line-height: 1.8;
margin-bottom: 40px;
}
.hero-buttons {
display: flex;
gap: 16px;
}
.btn {
padding: 14px 32px;
border-radius: 25px;
font-size: 15px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
justify-content: center;
}
.btn-primary {
background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%);
color: white;
box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}
.btn-secondary {
background: rgba(0, 0, 0, 0.05);
color: #1d1d1f;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.btn-secondary:hover {
background: rgba(0, 0, 0, 0.08);
transform: translateY(-2px);
}
.hero-image {
position: relative;
display: flex;
justify-content: center;
}
.hero-image img {
width: 350px;
height: 350px;
object-fit: cover;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
transition: transform 0.5s ease;
}
.hero-image:hover img {
transform: scale(1.05);
}
.section-header {
text-align: center;
margin-bottom: 60px;
}
.section-header h2 {
font-size: 40px;
font-weight: 700;
color: #1d1d1f;
margin-bottom: 16px;
}
.section-header p {
font-size: 16px;
color: #6e6e73;
}
.about {
padding: 100px 20px;
background: #ffffff;
}
.about-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.about-card {
background: #f5f5f7;
border-radius: 20px;
padding: 40px 30px;
text-align: center;
transition: all 0.3s ease;
}
.about-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.about-icon {
font-size: 48px;
margin-bottom: 20px;
}
.about-card h3 {
font-size: 20px;
font-weight: 600;
color: #1d1d1f;
margin-bottom: 12px;
}
.about-card p {
font-size: 14px;
color: #6e6e73;
line-height: 1.7;
}
.education {
padding: 100px 20px;
background: #f5f5f7;
}
.education-card {
background: #ffffff;
border-radius: 24px;
padding: 50px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
max-width: 900px;
margin: 0 auto;
}
.education-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 30px;
padding-bottom: 30px;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.education-logo {
width: 100px;
height: 100px;
}
.education-logo img {
width: 100%;
height: 100%;
object-fit: contain;
}
.education-info h3 {
font-size: 24px;
font-weight: 700;
color: #1d1d1f;
margin-bottom: 4px;
}
.education-info p {
font-size: 16px;
color: #6e6e73;
}
.education-time {
margin-left: auto;
font-size: 14px;
color: #0071e3;
font-weight: 600;
background: rgba(0, 113, 227, 0.1);
padding: 8px 16px;
border-radius: 20px;
}
.education-course h4 {
font-size: 16px;
font-weight: 600;
color: #1d1d1f;
margin-bottom: 16px;
}
.course-tags {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.course-tags span {
padding: 8px 16px;
background: #f5f5f7;
border-radius: 20px;
font-size: 14px;
color: #6e6e73;
transition: all 0.3s ease;
}
.course-tags span:hover {
background: rgba(0, 113, 227, 0.1);
color: #0071e3;
}
.experience {
padding: 100px 20px;
background: #ffffff;
}
.experience-card {
background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
border-radius: 24px;
padding: 50px;
border: 1px solid rgba(0, 0, 0, 0.05);
max-width: 900px;
margin: 0 auto;
}
.experience-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 30px;
}
.experience-icon {
width: 120px;
height: 120px;
}
.experience-icon img {
width: 100%;
height: 100%;
object-fit: contain;
}
.experience-info h3 {
font-size: 24px;
font-weight: 700;
color: #1d1d1f;
margin-bottom: 4px;
}
.experience-info p {
font-size: 16px;
color: #0071e3;
font-weight: 500;
}
.experience-time {
margin-left: auto;
font-size: 14px;
color: #6e6e73;
}
.experience-list {
list-style: none;
}
.experience-list li {
padding: 12px 0;
padding-left: 30px;
position: relative;
font-size: 15px;
color: #6e6e73;
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.experience-list li:last-child {
border-bottom: none;
}
.experience-list li::before {
content: '•';
position: absolute;
left: 0;
color: #0071e3;
font-weight: bold;
}
.campus {
padding: 100px 20px;
background: #f5f5f7;
}
.campus-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 30px;
}
.campus-card {
background: #ffffff;
border-radius: 20px;
padding: 40px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}
.campus-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.campus-icon {
font-size: 40px;
margin-bottom: 20px;
}
.campus-card h3 {
font-size: 20px;
font-weight: 600;
color: #1d1d1f;
margin-bottom: 8px;
}
.campus-time {
font-size: 13px;
color: #0071e3;
font-weight: 500;
margin-bottom: 20px;
}
.campus-card ul {
list-style: none;
}
.campus-card ul li {
padding: 8px 0;
padding-left: 24px;
position: relative;
font-size: 14px;
color: #6e6e73;
}
.campus-card ul li::before {
content: '✓';
position: absolute;
left: 0;
color: #34c759;
font-weight: bold;
}
.volunteer {
padding: 100px 20px;
background: #ffffff;
}
.volunteer-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
}
.volunteer-card {
background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%);
border-radius: 24px;
padding: 50px;
color: white;
position: relative;
overflow: hidden;
}
.volunteer-card::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}
.volunteer-badge {
width: 100px;
height: 100px;
margin-bottom: 20px;
position: relative;
z-index: 1;
}
.volunteer-badge img {
width: 100%;
height: 100%;
object-fit: contain;
}
.volunteer-card h3 {
font-size: 28px;
font-weight: 700;
margin-bottom: 10px;
position: relative;
z-index: 1;
}
.volunteer-time {
font-size: 14px;
opacity: 0.8;
margin-bottom: 8px;
position: relative;
z-index: 1;
}
.volunteer-title {
font-size: 16px;
font-weight: 600;
margin-bottom: 24px;
position: relative;
z-index: 1;
}
.volunteer-card ul {
list-style: none;
position: relative;
z-index: 1;
}
.volunteer-card ul li {
padding: 10px 0;
padding-left: 28px;
position: relative;
font-size: 15px;
opacity: 0.9;
}
.volunteer-card ul li::before {
content: '•';
position: absolute;
left: 0;
color: rgba(255, 255, 255, 0.6);
}
.volunteer-stats {
display: flex;
flex-direction: column;
gap: 20px;
justify-content: center;
}
.stat-item {
background: #f5f5f7;
border-radius: 16px;
padding: 35px 30px;
text-align: center;
transition: all 0.3s ease;
min-height: 120px;
display: flex;
flex-direction: column;
justify-content: center;
}
.stat-item:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.stat-number {
display: block;
font-size: 48px;
font-weight: 700;
color: #0071e3;
margin-bottom: 8px;
}
.stat-label {
font-size: 14px;
color: #6e6e73;
}
.skills {
padding: 100px 20px;
background: #f5f5f7;
}
.skills-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
.skills-category {
background: #ffffff;
border-radius: 20px;
padding: 40px 35px;
border: 1px solid rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}
.skills-category:hover {
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
transform: translateY(-3px);
}
.skills-category h3 {
font-size: 16px;
font-weight: 600;
color: #1d1d1f;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.skill-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.skill-tags span {
padding: 8px 14px;
background: rgba(0, 113, 227, 0.08);
color: #0071e3;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.3s ease;
}
.skill-tags span:hover {
background: rgba(0, 113, 227, 0.15);
transform: translateY(-2px);
}
.skill-tags span img {
width: 16px;
height: 16px;
object-fit: contain;
}
.projects {
padding: 100px 20px;
background: #ffffff;
}
.project-card {
background: #f5f5f7;
border-radius: 24px;
padding: 50px;
max-width: 900px;
margin: 0 auto;
border: 1px solid rgba(0, 0, 0, 0.05);
}
.project-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 30px;
}
.project-icon {
width: 60px;
height: 60px;
}
.project-icon img {
width: 100%;
height: 100%;
object-fit: contain;
}
.project-info h3 {
font-size: 24px;
font-weight: 700;
color: #1d1d1f;
margin-bottom: 4px;
}
.project-info p {
font-size: 16px;
color: #6e6e73;
}
.project-list {
list-style: none;
margin-bottom: 30px;
}
.project-list li {
padding: 12px 0;
padding-left: 30px;
position: relative;
font-size: 15px;
color: #6e6e73;
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.project-list li:last-child {
border-bottom: none;
}
.project-list li::before {
content: '•';
position: absolute;
left: 0;
color: #0071e3;
}
.project-stats {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 16px;
padding-top: 20px;
border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.project-stats span {
font-size: 14px;
color: #6e6e73;
}
.project-stats span:nth-child(2) {
color: #0071e3;
font-weight: 600;
}
.project-metrics {
display: flex;
gap: 20px;
margin-left: auto;
}
.project-metrics span {
padding: 6px 12px;
background: rgba(0, 113, 227, 0.1);
color: #0071e3;
border-radius: 12px;
font-size: 13px;
}
.awards {
padding: 100px 20px;
background: #f5f5f7;
}
.awards-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 24px;
}
.award-item {
display: flex;
align-items: center;
gap: 14px;
background: #ffffff;
padding: 20px 30px;
border-radius: 20px;
font-size: 16px;
color: #1d1d1f;
font-weight: 500;
transition: all 0.3s ease;
border: 1px solid rgba(0, 0, 0, 0.05);
}
.award-item:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.award-badge {
font-size: 24px;
}
.contact {
padding: 100px 20px;
background: #ffffff;
}
.contact-content {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 40px;
max-width: 1200px;
margin: 0 auto;
}
.contact-card {
background: #f5f5f7;
border-radius: 20px;
padding: 40px;
}
.contact-item {
display: flex;
align-items: center;
gap: 16px;
padding: 16px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.contact-item:last-child {
border-bottom: none;
}
.contact-item img {
width: 24px;
height: 24px;
object-fit: contain;
}
.contact-item div {
display: flex;
flex-direction: column;
}
.contact-label {
font-size: 12px;
color: #86868b;
margin-bottom: 2px;
}
.contact-value {
font-size: 16px;
color: #1d1d1f;
font-weight: 500;
}
.contact-qr {
text-align: center;
background: #f5f5f7;
border-radius: 20px;
padding: 40px;
}
.contact-qr img {
width: 180px;
height: 180px;
object-fit: contain;
margin-bottom: 16px;
}
.contact-qr p {
font-size: 14px;
color: #6e6e73;
}
.footer {
padding: 40px 20px;
background: #1d1d1f;
color: #f5f5f7;
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.footer-logo {
font-family: 'Pacifico', cursive;
font-size: 28px;
}
.footer-content p {
font-size: 14px;
color: #86868b;
}
@media (max-width: 768px) {
.nav-menu {
display: none;
position: absolute;
top: 70px;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
flex-direction: column;
padding: 20px;
gap: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.nav-menu.active {
display: flex;
}
.nav-toggle {
display: flex;
}
.nav-logo {
font-size: 20px;
}
.nav-logo-dreamlife {
font-size: 16px;
}
.nav-logo-separator {
font-size: 14px;
}
.hero {
min-height: auto;
padding: 100px 20px 60px;
}
.hero-content {
grid-template-columns: 1fr;
text-align: center;
gap: 30px;
}
.hero-text h1 {
font-size: 36px;
}
.hero-description {
font-size: 16px;
}
.hero-buttons {
justify-content: center;
flex-wrap: wrap;
}
.hero-image img {
width: 250px;
height: 250px;
}
.section-header h2 {
font-size: 28px;
}
.section-header p {
font-size: 14px;
}
.about {
padding: 60px 20px;
}
.about-card {
padding: 30px 20px;
}
.about-card h3 {
font-size: 18px;
}
.about-card p {
font-size: 13px;
}
.education {
padding: 60px 20px;
}
.education-card {
padding: 30px 20px;
}
.education-info h3 {
font-size: 20px;
}
.course-tags span {
font-size: 12px;
padding: 6px 12px;
}
.experience {
padding: 60px 20px;
}
.experience-card {
padding: 30px 20px;
}
.experience-info h3 {
font-size: 20px;
}
.campus {
padding: 60px 20px;
}
.campus-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.campus-card {
padding: 30px 20px;
}
.volunteer {
padding: 60px 20px;
}
.volunteer-content {
grid-template-columns: 1fr;
}
.volunteer-card {
padding: 35px 25px;
}
.volunteer-card h3 {
font-size: 22px;
}
.skills {
padding: 60px 20px;
}
.skills-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.skills-category {
padding: 25px;
}
.projects {
padding: 60px 20px;
}
.project-card {
padding: 30px 20px;
}
.project-info h3 {
font-size: 20px;
}
.awards {
padding: 60px 20px;
}
.award-item {
padding: 16px 20px;
font-size: 14px;
}
.contact {
padding: 60px 20px;
}
.contact-content {
grid-template-columns: 1fr;
}
.contact-card {
padding: 30px 20px;
}
.contact-qr {
padding: 30px;
}
.contact-qr img {
width: 150px;
height: 150px;
}
.footer {
padding: 30px 20px;
}
.footer-content {
flex-direction: column;
gap: 16px;
text-align: center;
}
.footer-logo {
font-size: 22px;
}
}
@media (max-width: 480px) {
.hero-text h1 {
font-size: 28px;
}
.hero-description {
font-size: 15px;
}
.hero-image img {
width: 200px;
height: 200px;
}
.nav-logo {
font-size: 18px;
}
.nav-logo-dreamlife {
font-size: 14px;
}
.section-header h2 {
font-size: 24px;
}
.btn {
padding: 12px 24px;
font-size: 14px;
}
.education-header {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.education-time {
margin-left: 0;
}
.volunteer-badge {
width: 60px;
height: 60px;
}
.stat-number {
font-size: 36px;
}
}