/
Extrap
/
Games_site
Обзор
Документация
Войти
/
Extrap
/
Games_site
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
css/index.css
529 строк
9 KB
Extrap
result
27 янв 2026, 13:42
27 янв 2026, 13:42
1f4c493
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Montserrat", sans-serif; font-optical-sizing: auto; font-style: normal; font-size: 15px; color: #C6CDE5; } html { scroll-behavior: smooth; } body { background-color: #14002E; } a { text-decoration: none; } /* ------------------------------ Навигационная панель ---------------------------------*/ header { padding: 12px; background-color: #1B003D; position: fixed; top: 0; width: 100%; z-index: 1000; } .container { display: flex; justify-content: space-between; align-items: center; } .navbar { display: flex; justify-content: space-between; align-items: center; margin: 0 10px; } .navbar ul li { display: inline; margin-right: 20px; } .navbar-item { padding: 10px 25px; transition: background-color 0.5s; border-radius: 5px; } .navbar-item a { width: 130px; } .navbar-item:hover { color: #fFF; background-color: #6100FF; box-shadow: 0px 0px 10px 2px #390080; } .logo { padding: 15px 30px 15px 15px; font-family: "Oxanium", sans-serif; font-weight: 800; font-size: 23px; background: linear-gradient(90deg, #F6208A 0%, #6100FF 100%); background-clip: text; -webkit-text-fill-color: transparent; } .login-button { background: none; border: none; padding: 10px 15px; text-align: center; display: inline-block; border-radius: 5px; cursor: pointer; transition: background-color 0.5s; } .login-button:hover { background-color: #6f00ff; color: #fff; box-shadow: 0px 0px 10px 2px #390080; } /* ------------------------------ Регистрация ---------------------------------*/ .modal { display: none; justify-content: center; width: 100%; height: 100%; position: fixed; left: 0; top: 0; z-index: 1000; transition: opacity 0.3s ease; background-color: #0000008e; } .form-modal_dialog { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; } .modal_content { display: flex; flex-direction: column; align-items: center; margin-top: 60px; height: fit-content; width: 400px; background-color: #fff; border-radius: 10px; background-color: #121212; box-shadow: 0px 0px 12px 2px #36185bad; } .modal_header { display: flex; justify-content: space-between; flex-direction: row; align-items: center; } .form-title { font-size: 44px; font-weight: bolder; color: #252EFF; padding: 36px; color: #fff; } .form-modal_input { display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 20px; } .form-modal_input>input { padding: 18px 24px; width: 100%; padding: 10px; border-radius: 20px; border: 2px solid #6066FF; font-size: 15px; border: 2px solid #BB86FC; background-color: #121212; } .form-modal_input>input::placeholder { opacity: 0.7; font-weight: 600; color: #fff; opacity: 0.87; } .form-login_button { margin: 0 38px; padding: 10px 53px; border-radius: 20px; background-color: #252EFF; border: none; color: #fff; font-size: 15px; background-color: #BB86FC; color: #000; cursor: pointer; } .form-modal--register { height: 600px; margin-bottom: 50px; } .form-modal_input--register>input { border-radius: 10px; } .form-modal_input--register { gap: 10px } .form_buttons { display: flex; flex-direction: column; gap: 15px; padding: 10px 26px 30px 26px; width: 100%; } .form-register_button, .form-account_button { padding: 10px; border-radius: 20px; border: none; color: #fff; font-size: 15px; cursor: pointer; } .form-account_button>a { text-decoration: none; color: #fff; } .form-register_button { background-color: #6200EE; } .form-account_button { background-color: #3700B3; } .close { color: #fffffff8; background: none; border: none; cursor: pointer; padding-left: 10px; } .error { color: #ff6b6b; } /* ------------------------------ Главная ---------------------------------*/ .main-container { margin-top: 45px; } .main-text { position: absolute; text-align: center; top: 46%; left: 50%; transform: translate(-50%, -50%); } .text { color: #fff; font-size: 48px; font-weight: 700; } .text-less { margin-top: 10px; font-size: 16px; color: #fff; } .image-container-background img { width: 100%; height: auto; object-fit: cover; } .section-brand { padding: 50px 0 45px 0; } .container { padding: 0 70px; } .src-line { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 30px; list-style-type: none; overflow-x: auto; scroll-snap-type: inline mandatory; } .src-line::-webkit-scrollbar { height: 10px; } .src-line::-webkit-scrollbar-track { outline: 3px solid var(--marigold); } .src-line::-webkit-scrollbar-thumb { background-color: var(--marigold); } .src-line::-webkit-scrollbar-button { width: calc(25% - 40px); } .src-line li { padding: 0 20px; } /* ------------------------------ Игры ---------------------------------*/ .auth-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 1; justify-content: center; align-items: center; } .auth-popup-content { background-color: #e9cfff; padding: 20px; border-radius: 8px; text-align: center; max-width: 400px; margin: auto; } .auth-popup-content > p { font-size: 20px; color: #390080; font-weight: 500; } .game-cards { padding: 60px; width: 100%; height: 100%; background-image: url(../assets/back-games.png); position: relative; display: flex; justify-content: center; flex-wrap: wrap; background-position: center; background-repeat: no-repeat; background-size: cover; gap: 50px; } .card-line { display: flex; flex-direction: row; gap: 50px; } .card { display: flex; flex-direction: column; justify-content: end; align-items: center; border-radius: 10px; width: 350px; height: 350px; box-shadow: 0 0 5px 1px #5a0075d2; text-align: center; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #1500258e; overflow: hidden; clip-path: inset(0 round 10px); } .card img { height: 100%; object-fit: cover; position: relative; } .card-info { position: absolute; width: 350px; overflow: hidden; } .card-container-info { background-color: #150026aa; padding: 15px 0; } .card button { background-color: #6200ea; color: white; border: none; border-radius: 5px; padding: 10px 15px; cursor: pointer; transition: background-color 0.3s; } .card h2 { margin: 0 0 10px 0; } .card p { margin: 10px 0; } .button-hover:hover { background-color: #3700b3; box-shadow: 0px 0px 8px 1.5px #390080; } /* ------------------------------ Контакты ---------------------------------*/ .contact-container { padding: 30px 60px; } .contact-info { display: flex; flex-direction: column; gap: 20px; } .contact-container h1 { padding: 35px; text-align: center; font-size: 34px; letter-spacing: 2.5px; color: #ffffffe6; } .contact-container-info { display: flex; flex-direction: row; justify-content: space-between; padding: 40px 150px; } .contact-info h2 { font-size: 24px; } .contact-icons a { padding: 5px; } .contact-icons a i:hover { color: #fff; } .contact-send { display: flex; flex-direction: column; gap: 25px; width: 330px; } .contact-send-info { display: flex; flex-direction: column; gap: 25px; } .contact-send-info input { background-color: #14002E; border: none; border-bottom: 2px solid #390080; outline: none; padding-bottom: 5px; width: 100%; } .contact-send-info input:focus { border-bottom: 2px solid #47009d; } .button-container { display: flex; justify-content: flex-end; } .contact-send-button { padding: 8px 11px; border: none; border-radius: 17px; width: 130px; background-color: #14002E; cursor: pointer; background-color: #6100FF; transition: background-color 0.3s; } /* ------------------------------ Футер ---------------------------------*/ footer { text-align: center; padding: 20px; background-color: #1B003D; color: #fff; } .footer p span { background: linear-gradient(90deg, #F6208A 0%, #6100FF 100%); background-clip: text; -webkit-text-fill-color: transparent; }