/
novikoff.front
/
Car-how
Обзор
Документация
Войти
/
novikoff.front
/
Car-how
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
css/style.css
242 строки
4 KB
Alexandr
Add files via upload
11 фев 2024, 22:22
Не верифицирован
11 фев 2024, 22:22
c316146
Код
Авторство
О чём код?
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); :root { --akcent-color: #c62314; --textsize-font-size: 20px; --titlesize-font-size: 50px; --lineh-line-height: 30px; } * { box-sizing: border-box; margin: 0; padding: 0; a, u { text-decoration: none; color: inherit; } } .container { width: 1200px; margin: 0 auto; } header { background-image: url("../img/main.png"); background-position: center; background-size: cover; } .header-nav { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; } .nav li:first-child { padding: 5px 10px; background-color: black; border-radius: 5px 5px; } .nav li { padding: 5px 10px; font-size: 18px; font-family: "Montserrat", sans-serif; color: rgb(255, 255, 255); line-height: var(--lineh-line-height); list-style-type: none; margin: 0 5px; } .nav li:hover { background-color: black; border-radius: 5px 5px; } .nav { display: flex; align-items: center; } .header-main { } h1 { margin: 120px 0px 0; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 90px; line-height: 80px; } .header-main { max-width: 540px; } .h1color { font-family: Montserrat, sans-serif; color: #fff; font-weight: 700; font-size: 90px; line-height: 80px; } .white-text { font-family: "PT Serif"; text-align: left; margin: 50px 0 0 10px; padding-bottom: 150px; font-size: var(--textsize-font-size); line-height: var(--lineh-line-height); color: #fff; } .services { background-color: #efefef; } .service-title { display: flex; padding-top: 45px; } h2 { font-family: Montserrat, sans-serif; font-weight: 700; color: var(--akcent-color); font-size: var(--titlesize-font-size); } h3 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: var(--titlesize-font-size); } .services-items { display: flex; justify-content: space-between; margin-top: 90px; padding-bottom: 50px; } .services-item { align-items: center; text-align: center; width: 180px; } .fa { font-size: 120px; margin-bottom: 40px; } p { font-family: "PT Serif"; font-size: var(--textsize-font-size); line-height: var(--lineh-line-height); } .our { background-color: rgb(19, 14, 39); } .our-info { display: flex; justify-content: space-between; align-items: center; } button { border-radius: 5px; background-color: rgb(198, 35, 20); width: 269px; height: 64px; border: none; color: #fff; font-family: Montserrat, sans-serif; font-size: 22px; } .our-info p { color: #efefef; max-width: 620px; padding: 30px 0; } .pricing { background-color: #efefef; text-align: center; } .pricing-box { display: flex; justify-content: center; padding-bottom: 55px; } .pricing-box-item { width: 312px; height: 380px; text-align: center; background-color: #fff; margin: 0 10px; box-shadow: 0 0 10px 5px rgba(221, 221, 221, 1); } .pricing-box p { margin: 25px 0 30px 0; } .pricing h3 { padding-top: 50px; margin-bottom: 55px; } ul { margin: 10px 0; } li { font-family: "PT Serif"; font-size: var(--textsize-font-size); line-height: var(--lineh-line-height); list-style-type: none; } .pricing-box-item button { background-color: rgb(19, 14, 39); width: 200px; height: 45px; } .pricing-box-item button:hover { background-color: rgb(198, 35, 20); } footer { background-color: rgb(19, 14, 39); } .footer-text { display: flex; } .footer-box { display: flex; justify-content: space-between; align-items: center; height: 182px; } footer p { color: #fff; margin-right: 5px; } footer span { font-family: "PT Serif"; font-size: var(--textsize-font-size); line-height: var(--lineh-line-height); list-style-type: none; color: rgb(198, 35, 20); }