/
Rics
/
JobReady
Обзор
Документация
Войти
/
Rics
/
JobReady
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Front/src/shared/components/LessonBlocks/lessonBlocks.module.scss
161 строка
2 KB
Rics
add app
16 сен 2025, 16:56
16 сен 2025, 16:56
75981cd
Код
Авторство
О чём код?
.wrap { margin: 20px auto; padding: 0; color: var(--white); } .step { display: grid; gap: 10px; margin-bottom: 20px; } .title { font-family: var(--gotham-light); font-weight: 400; font-size: 17px; line-height: 140%; } .codeBox { display: grid; grid-template-columns: auto 1fr; overflow: hidden; background: rgba(21, 23, 27, 0.5); border-radius: 8px; } .gutter { padding: 20px 12px; user-select: none; } .ln { width: 24px; text-align: right; font-size: 12px; line-height: 22px; font-family: var(--gotham-light); font-weight: 400; color: rgba(255, 255, 255, 0.7); } .pre { margin: 0; padding: 20px 14px; white-space: pre-wrap; word-break: break-word; tab-size: 2; font-size: 14px; line-height: 22px; font-family: var(--gotham-light); font-weight: 400; color: var(--white); } .line { min-height: 22px; } .solution { display: grid; gap: 12px; margin-top: 12px; } .lang { font-family: var(--gotham-light); font-size: 15px; line-height: 140%; font-weight: 400; color: #c4c4c4; } .solBox { border-radius: 8px; background: rgba(21, 23, 27, 0.5); overflow: hidden; min-height: 190px; } .solHead { display: flex; align-items: center; gap: 13px; padding: 20px; border-bottom: 1px solid rgba(254, 254, 254, 0.3); font-family: var(--gotham-medium); font-weight: 600; font-size: 14px; color: #FFFFFF; } .codeIcon { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: transparent; } .solBody { position: relative; } .solCodeBox { border-radius: 6px; font-size: 14px; background: transparent !important; } .blurWrap { transition: filter .25s ease; } .blurred { filter: blur(6px); pointer-events: none; } .revealBtn { position: absolute; left: 50%; top: 90%; transform: translate(-50%, -50%); color: #fff; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); transition: background 0.2s ease, transform 0.1s ease; padding: 10px; background: rgba(254, 254, 254, 0.2); border-radius: 8px; } .container{ display: flex; justify-content: center; gap: 10px; align-items: center; } .text{ font-family: var(--gotham-light); font-weight: 400; font-size: 12px; color: #FEFEFE; line-height: 1; } .revealBtn:hover { background: #34363b; } .revealBtn:active { transform: translate(-50%, -48%); }