/
nikitaremyga
/
FreakTeam
Обзор
Документация
Войти
/
nikitaremyga
/
FreakTeam
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
main_css.css
388 строк
5 KB
Nikita
1 commit
06 июн 2025, 21:47
06 июн 2025, 21:47
34fe135
Код
Авторство
О чём код?
html { height: 200%; } body { margin: 0; padding: 0; overflow-x: hidden; } #image_wallp { width: 100vw; height: 40vw; background-image: url("menu_wallp.png"); background-size: 100vw; background-repeat: no-repeat; padding-top: 15vw; position: absolute; z-index: 1; } #menu { width: 1536px; height: 73px; background-color: rgba(0, 0, 0, 63%); display: flex; position: fixed; top: 0; z-index: 2; } #icon_pic { width: 207px; height: 73px; margin-left: 147px; } #menu_content { display: flex; width: 413px; height: 48px; margin-top: 13px; position: fixed; top: 0; right: 0; margin-right: 100px; } .menu_link { text-decoration: none; font-family: Montserrat; font-size: 18px; color: #FCFCFC; margin-right: 25px; padding-top: 10px; } #btn_link { width: 209px; height: 38px; background-color: #3ACA22; border-radius: 7px; font-size: 20px; color: #FCFCFC; text-decoration: none; font-family: Montserrat; font-weight: 700; padding-top: 10px; text-align: center; } #satera_ { width: 100vw; height: 17vw; text-align: center; } #name_of { font-family: Montserrat; font-size: 4vw; font-weight: 700; color: white; } #check_link { color: white; font-family: Montserrat; font-size: 1.5vw; text-decoration: none; font-weight: 700; line-height: 3.5vw; } #check_btn { width: 20vw; height: 3.6vw; border-radius: 7px; background-color: #3ACA22; margin-top: 3.8vw; margin-left: auto; margin-right: auto; } #underimage_ { width: 100vw; height: 40vw; text-align: center; background-color: red; } #about_ { width: 100vw; height: 40vw; background-color: #FAFAFA; text-align: center; position: absolute; } #str_ { font-family: Montserrat; font-size: 2.5vw; font-weight: 700; margin-top: 10vw; } #about_content { display: flex; width: 100vw; height: 349px; margin-top: 70px; } #txt_about { font-family: Montserrat; width: 37vw; font-size: 20px; font-weight: 500; text-align: left; margin-top: 2vw; margin-left: auto; margin-right: 1vw; } #about_pic { width: 35vw; height: 42vw; margin-right: auto; background-image: url("about_pic.jpg"); background-size: 100%; background-repeat: no-repeat; } #gallery { width: 100vw; height: 684px; background-color: #FDFDFD; text-align: center; } #str_gall { font-family: Montserrat; font-size: 40px; font-weight: 700; margin-top: 180px; } #scroll_gall { width: 90vw; height: 253px; display: flex; margin-top: 130px; margin-left: auto; margin-right: auto; } #pic_1 { width: 31%; height: 100%; background-image: url("gallery_1.jpg"); background-size: 100%; margin: auto; background-repeat: no-repeat; } #pic_2 { width: 31%; height: 100%; background-image: url("gallery_2.jpg"); background-size: 100%; margin: auto; background-repeat: no-repeat; } #pic_3 { width: 31%; height: 100%; background-image: url("gallery_3.jpg"); background-size: 100%; margin: auto; background-repeat: no-repeat; } #rnd { width: 66px; height: 15px; margin-left: auto; margin-right: auto; margin-top: 90px; display: flex; } #round1 { background-color: #1E6EB7; border-radius: 57px; width: 15px; height: 100%; margin: auto; } #round2 { background-color: #0C2E4D; border-radius: 57px; width: 15px; height: 100%; margin: auto; } #round3 { background-color: #1E6EB7; border-radius: 57px; width: 15px; height: 100%; margin: auto; } @media (max-width: 1300px) { #menu_content { margin-right: 50px; } #icon_pic { margin-left: 100px; margin-top: 3.5px; width: 187px; height: 66px; } #txt_about { font-size: 1.4vw; } } @media (max-width: 1000px) { #menu_content { margin-right: 25px; } #icon_pic { margin-left: 50px; margin-top: 7px; width: 167px; height: 59px; } #satera_ { margin-top: 10vw; } #check_link { line-height: 4vw; } } @media (max-width: 700px) { .menu_link { visibility: hidden; } } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; background-color: #f5f5f5; display: flex; justify-content: center; align-items: center; min-height: 100vh; } .carousel-container { width: 80%; max-width: 800px; position: relative; overflow: hidden; border-radius: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .carousel { display: flex; transition: transform 0.5s ease-in-out; height: 400px; } .carousel-item { min-width: 100%; height: 100%; position: relative; } .carousel-item img { width: 100%; height: 100%; object-fit: cover; } .carousel-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.5); color: white; padding: 15px; text-align: center; } .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.5); color: #333; border: none; padding: 10px 15px; cursor: pointer; font-size: 18px; border-radius: 50%; z-index: 10; transition: all 0.3s; } .carousel-btn:hover { background: rgba(255, 255, 255, 0.8); } .prev-btn { left: 10px; } .next-btn { right: 10px; } .carousel-indicators { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; } .indicator { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.3s; } .indicator.active { background-color: white; } @media (max-width: 768px) { .carousel-container { width: 95%; } .carousel { height: 300px; } }