/
sprrws
/
second_project
Обзор
Документация
Войти
/
sprrws
/
second_project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
css/style.css
187 строк
3 KB
sprrws
fist_commit
09 фев 2026, 10:11
09 фев 2026, 10:11
34f5b21
Код
Авторство
О чём код?
body{ font-family: Arial, sans-serif; } nav{ width: 100%; height: 60px; background: #344051; position: fixed; } .logo{ color: #fff; font-size: 28px; line-height: 60px; padding-left: 388px; float: left; -webkit-animation: comming 2s ease; -o-animation: comming 2s ease; animation: comming 2s ease; } main{ width: 100%; height: 100%; } .menu{ float: left; padding-left: 432px; } .menu li { float: left; line-height: 60px; color: #fff; margin-right: 30px; font-size: 16px; text-transform: uppercase; -webkit-animation: topshift 0.4s ease forwards; -o-animation: topshift 0.4s ease forwards; animation: topshift 0.4s ease forwards; opacity: 0; } .main{ width: 100%; height: 100%; background: url(../img/boy.png) 98% 100%/auto 85% no-repeat, url(../img/bg.jpg) center/cover no-repeat; } .tittle__container{ float: left; margin: 420px 0px 0px 404px; color: #2c384a; text-align: center; -webkit-animation: tittlemove 0.4s ease; -o-animation: tittlemove 0.4s ease; animation: tittlemove 0.4s ease; } .tittle__container h1{ font-size: 40px; font-weight: bold; } .tittle__container h4{ margin-top: 20px; font-size: 22px; } .tittle__container input{ height: 40px; text-align: center; border: 2px solid #6d7682; background: none; border-radius: 5px; color: #6d7682; font-size: 13px; padding: 0px 16px; margin: 45px 0px 0px 14px; font-weight: 600; } .about_me_container h2{ text-align: center; margin: 0px auto; margin-top: 100px; margin-bottom: 32px; width: 120px; font-weight: bold; font-size: 23px; color: #2c384a; } .about_me_container hr{ height: 4px; border: none; background: #d17700; width: 60px; margin: 20px auto; margin-bottom: 60px; } .about_me_container{ text-align: left; width: 740px; margin: 0 auto; } .about_me_container img{ display: block; margin: 0px auto; } .about_me_container p{ margin-top: 30px; } .about_me_container .second_text{ margin-top: 15px; margin-bottom: 30px; } .about_me_container input{ height: 40px; text-align: center; border: 2px solid #6d7682; background: none; border-radius: 5px; color: #6d7682; font-size: 13px; margin: 0px 0px 0px 315px; } .menu li{ transition: all 0,1s; color: white; display: inline-block; } .menu li:visited{ color: white; } .menu li:hover{ color: #d17706; } .menu li:active{ transform: scale(1.1); } .tittle__container input{ transition: all 0.2s; transform: scale(1); } .tittle__container input:hover{ background: #344051; color: white; } .tittle__container input:active{ transform: scale(1.1) } @keyframes comming{ from{ opacity: 0; } to{ opacity: 1; } } @keyframes topshift{ from{ opacity: 0; margin-top: -80px; } to{ opacity: 1; margin-top: 0px; } } .menu li:nth-child(2){ animation-delay: 0.4s; } .menu li:nth-child(3){ animation-delay: 0.8s; } .menu li:nth-child(4){ animation-delay: 1.2s; } .menu li:nth-child(5){ animation-delay: 1.6s; } .menu li:nth-child(6){ animation-delay: 2s; } @keyframes tittlemove{ from{ opacity: 0; margin-left: -500px; } to{ opacity: 1; margin-left: 404px; } }