/
Luiza
/
web-FIREMODE
Обзор
Документация
Войти
/
Luiza
/
web-FIREMODE
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
CSS/style.css
900 строк
16 KB
Luiza
Добавленa и стилизована страница благодарности для формы (открывается при отправке формы)
16 июн 2026, 15:29
16 июн 2026, 15:29
4aeb63e
Код
Авторство
О чём код?
* { box-sizing: border-box; } ::selection{ background: #F3619C; color: white; } body { font-family: 'Playfair Display', sans-serif; font-size: 1.4rem; font-weight: 400; line-height: 1.5; text-align: left; background-color: #FFEEF3; color: #494949; animation: fadePage 0.5s ease; } @keyframes fadePage { from { opacity: 0; } to { opacity: 1; } } /* ====================== Общие контейнеры ==================*/ .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* ШАПКА */ .site-header { background-color: #B494F8; padding: 0; position: sticky; top:0; z-index: 100; } .header-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; } .logo { display: flex; align-items: center; gap: 10px; } .logo a { font-size: 2.25rem; font-weight: 700; color: #FF2A7A; text-decoration: none; } .main-nav { margin-left: auto; } .main-nav ul { display: flex; list-style: none; gap: 20px; } .main-nav a { text-decoration: none; font-weight: 200; color: white; transition: color 0.3s; } .main-nav a:hover { color: #FF2A7A; } .btn-header, .btn { background-color: #F3619C; color: white; padding: 8px 10px; border: 1px solid white; border-radius: 40px; text-decoration: none; font-style: italic; transition: background 0.3s, transform 0.2s; } .btn-header:hover, .btn:hover { background-color: #C2185B; transform: scale(1.05); } /* ======================= ПОДВАЛ ==================== */ .site-footer { background-color: #B494F8; color: #FFEEF3; padding: 1rem 0; margin-top: 2rem; } .footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; } .footer-col { min-width: 200px; } .footer-col h3 { font-size: 2rem; margin: 10px; } .footer-col a { color: #FFEEF3; text-decoration: none; transition: color 0.3s; } .footer-col a:hover { color: #FF2A7A; } .social-links { display: flex; gap: 15px; padding: 10px 15px; } .contact-list li { display: flex; align-items: center; gap: 10px; } .contact-list img, .social-links img { filter: brightness(0) invert(1); /* белый цвет иконок*/ } .footer-bottom { text-align: center; } .footer-bottom p { color: #606060; } /* ================== ГЕРОЙ ====================*/ .hero { padding: 2rem 0; margin-bottom: 5rem; } .hero-container { display: flex; align-items: center; justify-content:space-between; gap: 3rem; max-width: 1200px; min-height: 60vh; flex-wrap:wrap; margin: 20px auto; padding: 30px; border: 1px solid #FFE7EF; border-radius: 20px; box-shadow: 5px 10px 30px #494949; } .hero-image { flex:1; min-width: 300px; } .hero-image img { width: 100%; border-radius: 20px; display: block; } .hero-content { flex:1; font-weight:500; color: #494949; margin-top:0; margin-bottom: 1.5rem; } .hero-content h1 { font-size: 3rem; font-weight: 600; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px #FF2A7A; } .hero-content p { font-size: 2rem; margin-bottom: 3rem; color: #494949; } .fire-color { color: #FF2A7A; font-size: 2.7rem; font-weight: 600; } .hero-free { font-style: italic; font-weight: 600; font-size: 2.3rem; color: #FF2A7A; } .btn { display:inline-block; background:#FF2A7A; border-radius: 30px; padding: 20px; } /* =================== преимущества =================*/ .advantage { margin-bottom: 5rem; padding-bottom:2rem; background: linear-gradient(to bottom, #FFEEF3, #B494F8); } .container { padding: 10px; } .section-title { text-align:center; font-size: 3rem; font-weight: 600; color: #494949; margin-bottom: 2rem; } .advantage-flex { display: flex; justify-content: center; gap: 30px; margin: 0 auto; } .advantage-card { width: 400px; text-align: center; padding: 1rem; background: #FFC3E6; border-radius: 15px; transition: transform 0.3s; } .advantage-card:hover { transform: translateY(-5px); } .advantage-icon { margin-top: 10px; width: 50px; } .advantage-card h3 { margin: 0; font-size: 1.5rem; } .advantage-card p { font-size: 1.25rem; margin-bottom: 0; } /* ========================= Направления =========================*/ .directions { padding: 1rem; background: #FFC3E6; } .section-title.directions { color: #F3619C; font-style: Italic; } .directions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 32px; } .directions-card { background: #FFEEF3; border-radius: 20px; overflow: hidden; transition: transform 0.5s, box-shadow 0.4s; text-align: center; display: flex; flex-direction: column; } .directions-card:hover { transform: scale(1.03); box-shadow: 0 16px 30px 3px #FF2A7A; } .directions-img { width: 100%; height: 166px; border-radius: 20px; object-fit: cover; display: block; padding: 1rem 1rem 0 1rem ; } .directions-card h3 { font-size: 2rem; margin: 0 0 0 1rem; color: black; } .directions-card p { padding: 0 3.5rem; font-size: 1rem; color: #00416A; margin-bottom: 8px; } .teacher { font-size: 0.9rem; margin-top: auto; } .btn-card { background-color: #FF2A7A; color: white; padding: 4px 20px; border: 1px solid #00416A; border-radius: 30px; text-decoration: none; font-style: italic; margin: auto 2rem; margin-bottom: 1.4rem; transition: background 0.3s; } .btn-card:hover{ background-color: #9a7ad6; } /* ====================== ПРЕПОДАВАТЕЛИ ======================*/ .teachers { padding: 2rem; min-height:100vh; background:linear-gradient(to bottom, #FFEEF3, #FFC3E6); margin-bottom: 4rem; } .teachers-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; } .teacher-card { position:relative; border-radius: 20px; overflow: hidden; transition: transform 0.5s; } .teacher-card:hover { transform: scale(1.03); } .teacher-img { width: 100%; height: 100%; object-fit: cover; display: block; } .teacher-info { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: rgb(255,238,243,0.7); backdrop-filter: blur(3px); /* размытие фона */ color: #606060; padding: 4px; border-radius: 20px; text-align: center; width: 90%; } .teacher-info p { font-size: 0.9rem; opacity: 0.9; margin: 0; } .cta, .thank { text-align: center; margin-bottom: 4rem; padding-left: 2rem; } /* ====================== Расписание =====================*/ .schedule-table { width: 100%; min-height: 50vh; border-collapse: collapse; /* границы*/ background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); } .schedule-table th, .schedule-table td { padding: 1rem 0.8rem; text-align: center; border: 1px solid #FFE7EF; } .schedule-table th { background: #B494F8; color: white; font-weight: 600; font-size: 1.2rem; } .schedule-table td { font-weight: 500; color: #555; } .schedule-table .time { background: #FFC3E6; font-weight: 700; color: #FF2A7A; } .teacher-name { font-size: 0.8rem; color: #F3619C; } .table-note { font-size: 0.8rem; color: #777; text-align: center; margin-top: 0.8rem; font-style: italic; } /*===================== Тарифы ========================*/ .tariffs-flex { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; } .tariff-card { background: white; border-radius: 30px; padding: 2rem; width: 40%; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.3s; } .tariff-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); } .tariff-title { color: #666; font-size: 1.8rem; font-weight: 700; } .tariff-title.pro { color: #FF2A7A; } .tariff-subtitle { color: #888; font-size: 0.9rem; padding-bottom: 1rem; border-bottom: 2px solid #FFE7EF; } .tariffs-options { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; padding-top: 1rem; } .tariff-option { background: #FFEEF3; border-radius: 20px; padding: 1rem; } .tariff-option.popular { background: #FFC3E6; } .period , .lesson-count, .discount { display: block; font-size: 0.9rem; color: #777; } .cost { display: block; font-size: 1.8rem; font-weight: 700; color: #FF2A7A; } .discount { color: #FF2A7A; } .btn-price { display: block; background: #F3619C; color: white; padding: 15px 32px; border-radius: 40px; text-decoration: none; font-weight: 600; transition: all 0.4s; } .btn-price:hover { background: #C2185B; transform: scale(1.05); } /*=============== Форма записи ======================*/ .registration-form { max-width: 700px; margin: 0 auto; background: white; padding: 2.5rem; border-radius: 30px; box-shadow: 0 10px 30px rgba(253,97,156,0.2); } .registration-form fieldset { border: none; margin-bottom: 1.5rem; padding: 1.5rem; } .registration-form legend { font-size: 1.8rem; font-weight: 700; text-align:center; color: #FF2A7A; } .registration-form div { margin-bottom: 1rem; } .registration-form label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: #333; } .required { color: #FF2A7A; } .registration-form input, .registration-form select { width: 100%; padding: 1rem; border: 1px solid #E0E0E0; border-radius: 40px; font-size: 1rem; background: rgba(231, 190, 248, 0.4); transition: border 0.2s, box-shadow 0.3s; } .registration-form input:hover { border-color: gray; box-shadow: 0 0 3px rgba(0,0,0,0.5); } .registration-form input:focus, .registration-form select:focus { outline: none; border-color: #F3619C; box-shadow: 0 0 0 3px rgba(243, 97, 156, 0.2); } .registration-form input[type="checkbox"] { width: auto; accent-color: #FF2A7A; } .checkbox-group label { font-size: 1rem; display: inline; } .btn-group { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; } .btn-submit, .btn-reset { padding: 0.8rem 2rem; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; transition: background 0.3s, transform 0.2s; } .btn-submit { background: #FF2A7A; color: white; } .btn-submit:hover { background: #C2185B; } .btn-reset { background: #E0E0E0; color: #2D2D2D; } .btn-reset:hover { background: #CCCCCC; } /* ================== Страница "Спасибо" =================== */ .thank { max-width: 600px; margin: 80px auto; padding: 40px; background: white; border-radius: 30px; text-align: center; } .thank h1 { color: #FF2A7A; } .thank h2, h3 { font-weight: 400; } /*=================== Адаптивность Планшет ==================*/ @media (max-width: 1024px) { .container { padding: 0 30px; } /* Шапка */ .header-container { flex-direction: row; flex-wrap: wrap; height:auto; justify-content: space-between; gap: 8px; } .logo { order: 1; } .main-nav { order: 3; width: 100%; } .btn-header { order: 2; padding: 12px 20px; margin-top: 1rem; } .hero-container { flex-direction: column; text-align: center; } .hero-content h1 { font-size: 2.5rem; } .hero-content p { font-size: 1.5rem; } .fire-color, .hero-free { font-size: 1.7rem; } .advantage-flex { flex-wrap: wrap; } .advantage-card { width: 45%; } .teachers-grid, .directions-grid { grid-template-columns: repeat(2, 1fr); } .schedule-container { overflow-x: auto; } .schedule-table { min-width: 700px; } .schedule-table th, .schedule-table td { padding: 0.75rem 0.5rem; font-size: 1.2rem; } } /* =================== Адаптивность телефон =====================*/ @media (max-width: 768px) { body { font-size: 1rem; } /* Шапка */ .header-container { flex-direction: row; flex-wrap: wrap; height:auto; justify-content: space-between; gap: 8px; } .logo { order: 1; } .main-nav { order: 3; width: 100%; } .btn-header { order: 2; padding: 6px 10px; font-size: 1rem; } .logo a { font-size: 2rem; } .main-nav ul { padding: 0 8px ; gap: 10px; } /* Герой */ .hero { margin-bottom: 1.8rem; } .hero-container { margin: 20px; padding: 20px; } .hero-image { min-width: auto; width: 100%; } .hero-content h1 { font-size: 2rem; } .hero-content p { font-size: 1.2rem; margin-bottom: 1.5rem; } .fire-color, .hero-free { font-size: 1.4rem; } .btn { padding: 10px 20px; font-size: 1.2rem; } /* Преимущества */ .advantage-flex { flex-direction: column; align-items: center; } .advantage-card { width: 100%; } .section-title { font-size: 2rem; } /* Направления */ .directions-grid { grid-template-columns: 1fr; gap: 20px; } .directions-card p { padding: 0 2.5rem; } /* Преподаватели */ .teachers { min-height: auto; padding: 1rem; margin-bottom: 2rem; } .teachers-grid { grid-template-columns: 1fr; gap: 24px; } .teacher-info { width: 90%; bottom: 12px; } .cta { padding: 0.8rem; margin-bottom: 2rem; } .cta h2 { font-size: 1.5rem; } /* Подвал */ .footer-container { flex-direction: column; } .social-links { justify-content: center; } .footer-col h4 { font-size: 1.5rem; } /* Расписание */ .schedule-container { overflow-x: auto; } .schedule-table th, .schedule-table td { padding: 0.75rem 0.5rem; font-size: 0.8rem; } .teacher-name { font-size: 0.7rem; } .tariffs-flex { flex-direction: column; align-items: center; gap: 20px; } .tariff-card { width: 90%; } .tariff-title { font-size: 1.5rem; } .cost { font-size: 1.5rem; } /* Форма */ .registration-form { padding: 1.5rem; margin: 0 15px; } .registration-form legend { font-size: 1.4rem; } .btn-group { flex-direction: column; gap: 10px; } .btn-submit, .btn-reset { width: 100%; } } /*================== Маленькие телефоны ======================*/ @media (max-width: 480px) { body { font-size: 0.9rem; } .hero-content h1 { font-size: 1.6rem; } .hero-content p { font-size: 1rem; } .fire-color, .hero-free { font-size: 1.2rem; } .btn { padding: 10px 15px; font-size: 1rem; } .section-title { font-size: 1.6rem; } .advantage-card h3 { font-size: 1.2rem; } .advantage-card p { font-size: 0.9rem; } .btn-card { margin: auto 1rem 1rem 1rem; } }