/
nikitaremyga
/
FreakTeam
Обзор
Документация
Войти
/
nikitaremyga
/
FreakTeam
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
test.css
449 строк
7 KB
Nikita
2 commit
11 июн 2025, 23:35
11 июн 2025, 23:35
4d11b51
Код
Авторство
О чём код?
body { margin: 0; padding: 0; overflow-x: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; } #check_btn { display: flex; flex-direction: row; align-items: center; justify-content: center; } #menu { width: 100vw; background-color: rgba(0, 0, 0, 0.63); display: flex; align-items: center; justify-content: space-between; position: fixed; top: 0; z-index: 2; height: 4.9vw; padding: 0 20px; } #icon_pic { width: 11.5vw; height: 5vw; } #burger_icon { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; cursor: pointer; z-index: 3; } #burger_icon span { height: 4px; width: 100%; background: white; border-radius: 2px; } #menu_content { display: flex; align-items: center; gap: 25px; margin: 0px; } .menu_link { text-decoration: none; font-family: Montserrat; font-size: 1.17vw; color: #FCFCFC; padding-top: 10px; } #btn_link { width: 13.6vw; height: 2.8vw; background-color: #3ACA22; border-radius: 7px; font-size: 1.3vw; color: #FCFCFC; text-decoration: none; font-family: Montserrat; font-weight: 700; padding-top: 10px; text-align: center; } #image_wallp { width: 100%; background-image: url("menu_wallp.png"); background-size: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; padding-top: 15vw; z-index: 1; order: 1; } #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; display: flex; flex-direction: column; align-items: center; padding-top: 100px; padding-bottom: 100px; background-color: #FAFAFA; text-align: center; gap: 69px; order: 2; } #str_ { font-family: Montserrat; font-size: 2.5vw; font-weight: 700; margin: 0; } #about_content { display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100vw; gap: 40px; } #txt_about { font-family: Montserrat; width: 37vw; font-size: 20px; font-weight: 500; text-align: left; margin: 0; } #about_pic { width: 558px; height: 349px; background-image: url("about_pic.jpg"); background-size: 100%; background-repeat: round; } #gallery { width: 100vw; padding-top: 100px; padding-bottom: 100px; display: flex; flex-direction: column; align-items: center; gap: 69px; background-color: #FDFDFD; text-align: center; order: 3; } #str_gall { font-family: Montserrat; font-size: 2.5vw; font-weight: 700; margin: 0; } .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%; -o-object-fit: cover; object-fit: cover; } .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: #1E6EB7; cursor: pointer; transition: all 0.3s; } .indicator.active { background-color: #0C2E4D; } #burger_icon { display: none; flex-direction: column; justify-content: space-around; width: 36px; height: 28px; cursor: pointer; z-index: 3; transition: transform 0.3s ease; } #burger_icon span { height: 4px; width: 100%; background: white; border-radius: 3px; transition: all 0.3s ease; transform-origin: 4px 2px; } #burger_icon:hover span { background: #3ACA22; } #burger_icon.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); } #burger_icon.active span:nth-child(2) { opacity: 0; } #burger_icon.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } @media (max-width: 1300px) { #menu_content { margin-right: 50px; } #txt_about { font-size: 1.4vw; } } @media (max-width: 1024px) { #about_ { padding-top: 50px; padding-bottom: 50px; } #about_content { flex-direction: column; gap: 30px; } #txt_about, #about_pic { width: 90%; text-align: center; } #menu { flex-direction: row; justify-content: space-between; height: auto; } #burger_icon { display: flex; } #menu_content { display: none; flex-direction: column; align-items: flex-end; background: rgba(0, 0, 0, 0.9); position: absolute; top: 60px; right: 0; width: 100%; padding: 15px 40px; } #menu_content.mobile-shown { display: flex; margin: 0px; } #menu_content a, #menu_content #btn_link { font-size: 18px; padding: 10px 0; width: 200px; text-align: right; } .menu_link { font-size: 4vw; } #btn_link { font-size: 4.5vw; width: 50px; display: flex; flex-direction: row; align-items: center; justify-content: center; } } @media (max-width: 768px) { .carousel { height: 300px; } #str_, #str_gall { font-size: 5vw; } } @media (max-width: 1023px) { #about_pic { height: 410px; } #about_ { padding-top: 50px; padding-bottom: 50px; } #gallery { padding-top: 50px; padding-bottom: 50px; } #name_of { font-size: 35px; } #image_wallp { height: 250px; } #txt_about { font-size: 20px; } #check_btn { width: 400px; height: 60px; margin-top: 40px; } #check_link { font-size: 24px; line-height: 60px; } } @media (max-width: 1023px) { #txt_about { font-size: 15px; } #str_ { font-size: 25px; } } @media (max-width: 768px) { .carousel { height: 300px; } #str_, #str_gall { font-size: 5vw; } } @media (max-width: 480px) { #about_pic { background-image: none; height: 0px; } #icon_pic { width: 90px; height: auto; } #btn_link { font-size: 5vw; width: 50px; } .carousel { height: 200px; } #check_btn { width: 300px; height: 40px; margin-top: 40px; } #check_link { font-size: 14px; line-height: 60px; } }/*# sourceMappingURL=test.css.map */