/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
core/templates/components/summary-tile/topic-summary-tile.component.css
128 строк
2 KB
Aditya Lakhotia
Fix part of #25941: Clean up legacy embedded <style> tags from HTML templates removing inconsistency of next 30 files (part-2) (#26855)
24 июл 2026, 19:54
Не верифицирован
24 июл 2026, 19:54
5531df6
Код
Авторство
О чём код?
.topic-card .margin-top-offset { margin-top: -1.5em; } .topic-card .grayscale-effect { backdrop-filter: brightness(0.5); } .topic-card .mask-effect { background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); } .topic-card { border-radius: 0.4em; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2); cursor: pointer; width: 100%; } .topic-card picture { height: 100%; object-fit: cover; width: 100%; } .topic-card .topic-coming-soon { background-color: #00645c; border-radius: 0 0.2em 0 0.6em; color: #fff; display: block; font-size: 1em; margin-left: 4em; position: relative; text-transform: uppercase; z-index: 100; } .topic-card a:hover { text-decoration: none; } .topic-card .topic-name { display: block; font-size: 1.25em; font-weight: 600; } .topic-card .mask-effect .topic-name, .topic-card .mask-effect .topic-story-count { filter: brightness(0.6); } .topic-card .topic-card:focus { outline: 0; } .topic-card .topic-thumbnail { height: 120px; text-align: center; vertical-align: middle; width: 100%; } .topic-card .img-thumbnail { border: none; border-radius: 0.2em 0.2em 0 0; max-width: 100%; } .topic-card .grayscale-effect .img-thumbnail { filter: brightness(0.5); } .topic-card .topic-details { border-radius: 0 0 0.2em 0.2em; color: #fff; font-family: Roboto, Arial, sans-serif; font-size: 0.8em; height: 100px; letter-spacing: 0.5px; padding: 4px 12px; } @media(max-width: 1150px) { .topic-card .topic-name { font-size: 1em; } .topic-card .topic-story-count { font-size: 0.8em; } .topic-card .topic-details { height: 85px; padding-left: 10px; } .topic-card .topic-coming-soon { margin-left: 25px; } } @media(max-width: 680px) { .topic-card .topic-nname { font-size: 0.8em; height: 85px; } .topic-card .mask-effect .topic-name, .topic-card .mask-effect .topic-story-count { filter: brightness(100%); } } @media(max-width: 500px) { .topic-card .topic-title { height: 75px; } .topic-card .topic-thumbnail { height: 100px; } .topic-card .mask-effect .topic-name, .topic-card .mask-effect .topic-story-count { filter: brightness(100%); } }