/
wiflet
/
pompon
Обзор
Документация
Войти
/
wiflet
/
pompon
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Styles/style.css
692 строки
12 KB
wiflet
Испрвление ошибок по 2-5 лабораторным работам
12 ноя 2025, 09:33
12 ноя 2025, 09:33
e06432d
Код
Авторство
О чём код?
/* cyrillic */ @font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/Fonts/Inter-Cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* latin */ @font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/Fonts/Inter-Latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* cyrillic */ @font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300 900; font-stretch: 87% 112%; font-display: swap; src: url(Fonts/Merriweather-Cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* latin */ @font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300 900; font-stretch: 87% 112%; font-display: swap; src: url(Fonts/Merriweather-Latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } body { font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; font-weight: 400; line-height: 1.6; margin: 0; } h2, h3 { font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif; font-weight: 400; line-height: 1.3; } .hider { display: none; } :root { --main-text: #ffffff; --card-back: #f8f8f8; --black-color: #000; --brown-color: #90604C; --accent-color: #EEB256; --text-secondary: #311E19; --lg-text-primary: #F0EFED; --cost-color: #E34F45; --catalog-main: #E1DEDC; --catalog-gradient1: #E2DAD5; --catalog-gradient2: #C2B7AF; --f-copyright: #909090; --f-text:#463b37; --novinka-color: #56779D; --xit-color: #8EC1AC; --nall-color: #727272; font-size: 62.5%; } .wrapper{ padding: 0; margin: 0; max-width: 1920px; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } header{ background-color: var(--lg-text-primary); } .line_head{ display: flex; justify-content: space-between; align-items: center; padding: 1rem; } .head1{ display: flex; align-items: center; gap: 10px; } header ul { display: flex; list-style: none; gap: 10px; padding: 0; margin: 0; line-height: 0; } header button{ background: none; border: none; align-items: center; cursor: pointer; padding: 0; } .but { font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; font-weight: 400; font-size: 1.6rem; padding: 1.5rem 56px; border: none; border-radius: 5px; background-color: var(--accent-color); color: var(--lg-text-primary); text-decoration: none; } /* классы 1й секции*/ .sec1 { color: var(--lg-text-primary); padding-block: 12rem; padding-inline: 3rem; background: url("/images/back_section1.webp"); background-position: center; background-size: cover; background-repeat: no-repeat; position: relative; width: 100%; overflow: hidden; } .sec1::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); } .sec1 > * { position: relative; z-index: 1; } .discount-block { font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif; font-weight: 400; line-height: 1.3; } .discount-block .discount-title { margin-bottom: 2rem; font-size:4.8rem; line-height: 0.5; text-align: left; } .discount-block span { color: var(--accent-color); } .discount-block .discount-description { font-size: 3rem; line-height: 1.2; text-align: left; flex: 1; } .discount-slogan { margin-block: 4rem; font-size: 1.8rem; font-weight: 300; line-height: 1.2; text-align: left; flex: 1; max-width: 80%; } .text-wrapper { position: absolute; top: 15%; left: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } .sec1 .but { margin-top: 10rem; } .sec2-first { background-image: url("/images/back_section2_1.webp"); background-size: 100%; background-position: bottom; } .sec2-second { background-image: url("/images/back_section2_2.webp"); background-size: 100%; background-position: center; } .sec2-third { background-image: url("/images/back_section2_3.webp"); background-size: 100%; background-position: center; } .sec2block { margin-top: 0; background-color: var(--lg-text-primary); } .sec2 li { line-height: 1.3; margin: 10px 0 10px 0; width: auto; min-height: 180px; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: var(--brown-color); border-radius: 5px; text-align: center; } .sec2 p { max-width: 160px; font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif; font-size: 2.4rem; margin-top: 4px; line-height: 1.1; color: var(--lg-text-primary); } .sec2 .but { color: var(--accent-color); text-decoration: none; border: 2px solid; transition: background-color 0.3s; background-color: transparent; } .sec2 { padding: 1.5rem; margin: 0; } .icons{ font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif; font-size: 2.8rem; text-align: center; height: 84px; } .icons img{ width: 50px; height: 50px; margin-left: 30px; } .catalog{ margin-top: 30px; } .catalog details{ background-color: var(--catalog-main); border-radius: 5px; padding-bottom: 1px; margin: 1rem; } .catalog a{ font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; text-decoration: none; color:var(--text-secondary); } .catalog ul{ list-style: none; padding: 15px 0 10px 30px; } .catalog li { font-size: 1.8rem; } .catalog summary{ height: 84px; padding-right: 1.5rem; font-size: 2.8rem; border: none; border-radius: 5px; background: linear-gradient(to bottom, var(--catalog-gradient1), var(--catalog-gradient2)); gap: 2rem; } .icons{ display: flex; align-items: center; color: var(--text-secondary); } .catalog p{ margin: 3px 0 20px 0; font-size: 1.6rem; text-align: center; color: var(--text-secondary); opacity: 0.67; } .catalog .but { display: flex; justify-content: center; color: var(--main-text); font-weight: 500; margin: 0 30px 15px 30px; } .catalog h2 { padding: 0; margin: 0; font-size: 2.8rem; display: flex; justify-content: center; } details > summary { list-style-type: none; color: var(--brown-color); } details > summary::after { content: "^"; rotate: 0deg; transition: 0.2s ease; margin-left: auto; } details[open] > summary::after { content: "^"; rotate: 90deg; transition: 0.2s ease; } .formsel { font-weight: 400; font-size: 1.5rem; padding: 10px 30px 10px 12px; border-radius: 20px; background-color: var(--accent-color); color: var(--black-color); width: 95%; margin-top: 2rem; margin-left: 1.2rem; } .formsel option { white-space: normal; word-wrap: break-word; max-width: 100vw; } .goods{ background-image: url("/images/back_section4.webp"); background-size: 100% 100%; background-repeat: no-repeat; padding-block: 1rem; max-width: 1920px; } .goods ul { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; padding: 0; margin: 1rem; } .goods li{ background-color: var(--main-text); border-radius: 8px; padding: 16px; text-align: center; transition: transform 0.2s; } .goods p { margin: 8px 0; } .code p{ font-size: 1.3rem; font-weight: 600; color: var(--main-text); padding: 4px 8px 4px 8px; border: none; display: block; border-radius:20px; margin:5px; } .new{ background-color: var(--novinka-color); } .xit{ background-color: var(--xit-color); } .mark_sec4{ max-height: 15px; margin-right: 5px; } .vnalich{ display: flex; } .code{ display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 1rem; } .nall{ display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 1rem; } .goods h3 { font-size: 1.8rem; text-align: left; font-weight: 500; padding: 0; margin: 0; } .buuu{ display: grid; justify-content: space-around; justify-items: center; } .goods button { border: none; padding: 5px 20px; cursor: pointer; font-size: 12px; border-radius: 5px; background-color: var(--accent-color); color: var(--lg-text-primary); } .but2{ color: var(--main-text); display: flex; align-items: center; } .cart { max-height: 20px; margin-right: 1rem; } .descr { font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; text-align: left; font-size: 1rem; } .goods li img { max-width: 100%; height: 108px; border-radius: 4px; } .cost{ color: var(--cost-color); font-size: 1.8rem; font-weight: 700; text-align: left; } .nall{ color:var(--nall-color); font-weight: 600; } footer { font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; font-size: 1.6rem; } footer p{ font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; font-weight: 350; padding: 0 10px; } footer a{ font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; font-weight: 350; padding: 0 10px; } .wraps{ margin-left: 5px; } footer h2{ font-size: 2.4rem; margin: 3rem 1rem 1rem 1rem; margin-bottom: 0; } .contact_mail{ font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; text-decoration: none; color: var(--black-color); padding: 0; } .delivery{ color: var(--brown-color); } .contacts{ display: flex; align-items: center; margin: 0; } .contacts img{ margin: -8px 0 -15px -10px; } .mapsec{ margin: 2rem 0 4rem 0; } footer .but{ margin: 0rem 1rem; margin-left: 1rem; } .fotp{ font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif; font-size: 4rem; display: flex; flex-direction: column; line-height: 1; margin: 20px 0; } .fotp span{ margin-top: 1.5rem; color: var(--brown-color); } .maps{ padding: 1rem 0; background-color: var(--catalog-main); } .number{ font-family: 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; text-decoration: none; padding: 0; color: var(--black-color); font-size: 2.2rem; font-weight: 600; } .aa{ color: var(--accent-color); } .pay-card { display: flex; list-style: none; margin: 0 ; padding: 0 1rem; overflow-x: auto; flex-direction: row-reverse; direction: rtl; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; align-items: center; min-height: 100px; gap: 10px; } .pay-card::-webkit-scrollbar { display: none; } .pay-card li { background-color: var(--card-back); border: 1px solid var(--main-text); border-radius: 8px; flex-shrink: 0; user-select: none; display: flex; align-items: center; justify-content: center; min-width: 120px; height: 7rem; } .pay-card:active { cursor: grabbing; } .pay-card li img { direction: ltr; pointer-events: none; max-width: 100%; max-height: 100%; object-fit: contain; } .Map { height: 260px; width: 100%; object-fit: cover; } .Map2 { display: flex; justify-content: center; width: 100%; max-width: 100%; overflow: hidden; } .socialmedia{ list-style: none; padding: 0 1rem; margin: 3rem 0; display: flex; width: 100%; justify-content: space-between; } .socialmedia a{ background-color: var(--lg-text-primary); border-radius: 7px; padding: 0; display: flex; align-items: center; justify-content: center; min-width: 75px; height: 50px; } .fcol { color: var(--f-text); } .Copyright{ display: flex; justify-content: center; color: var(--f-copyright); }