/
tracie
/
Fullstack_website_2
Обзор
Документация
Войти
/
tracie
/
Fullstack_website_2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
static/css/about.css
247 строк
4 KB
tracie
done
13 окт 2025, 07:24
13 окт 2025, 07:24
0663d06
Код
Авторство
О чём код?
/* About Page Specific Styles */ .about-hero { position: relative; height: 60vh; display: flex; align-items: center; text-align: center; color: white; padding: 0 20px; overflow: hidden; } .about-hero img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; } .about-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)); z-index: 2; } .about-hero .container { position: relative; z-index: 3; } .about-hero h1 { font-family: 'Montserrat', sans-serif; font-size: 3rem; margin-bottom: 20px; } .about-hero p { font-size: 1.3rem; max-width: 700px; margin: 0 auto; } .about-story { padding: 80px 0; background-color: white; } .timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; } .timeline::before { content: ''; position: absolute; width: 4px; background-color: var(--primary); top: 0; bottom: 0; left: 50%; margin-left: -2px; border-radius: 2px; } .timeline-item { padding: 20px 40px; position: relative; width: 50%; box-sizing: border-box; } .timeline-item:nth-child(odd) { left: 0; } .timeline-item:nth-child(even) { left: 50%; } .timeline-year { background-color: var(--primary); color: white; border-radius: 50%; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; position: absolute; top: 20px; z-index: 1; } .timeline-item:nth-child(odd) .timeline-year { right: -40px; } .timeline-item:nth-child(even) .timeline-year { left: -40px; } .timeline-content { padding: 30px; background-color: #f8f9fa; border-radius: var(--border-radius); box-shadow: var(--box-shadow); position: relative; } .timeline-content h3 { color: var(--primary); margin-bottom: 10px; } .timeline-content p { color: var(--dark); } .team { padding: 80px 0; background-color: #f5f7fa; } .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; } .team-member { background-color: white; border-radius: var(--border-radius); padding: 30px; text-align: center; box-shadow: var(--box-shadow); transition: var(--transition); } .team-member:hover { transform: translateY(-10px); } .member-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 20px; background-size: cover; background-position: center; border: 5px solid var(--primary); } .team-member h3 { font-family: 'Montserrat', sans-serif; margin-bottom: 5px; } .position { color: var(--primary); font-weight: 500; margin-bottom: 10px; } .experience { color: var(--gray); font-size: 0.9rem; } .achievements { padding: 80px 0; background-color: white; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 40px; } .stat-card { background-color: var(--primary); color: white; padding: 30px 20px; border-radius: var(--border-radius); text-align: center; transition: var(--transition); } .stat-card:hover { transform: scale(1.05); } .stat-number { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; } /* Responsive adjustments */ @media (max-width: 768px) { .timeline::before { left: 40px; } .timeline-item { width: 100%; padding-left: 80px; padding-right: 20px; } .timeline-item:nth-child(even) { left: 0; } .timeline-year { left: 0 !important; right: auto; width: 60px; height: 60px; font-size: 1.2rem; } .about-hero h1 { font-size: 2.2rem; } .about-hero p { font-size: 1.1rem; } }