/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/docusaurus-theme-classic/src/theme/DocCard/Layout/styles.module.css
26 строк
711 B
Sébastien Lorber
feat(theme): Split `<DocCard>`, improve extensibility, better handling of emoji icons, stable classNames (#11734)
13 фев 2026, 19:02
Не верифицирован
13 фев 2026, 19:02
eac406c
Код
Авторство
О чём код?
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ .cardContainer { --ifm-link-color: var(--ifm-color-emphasis-800); --ifm-link-hover-color: var(--ifm-color-emphasis-700); --ifm-link-hover-decoration: none; box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 15%); border: 1px solid var(--ifm-color-emphasis-200); transition: all var(--ifm-transition-fast) ease; transition-property: border, box-shadow; } .cardContainer:hover { border-color: var(--ifm-color-primary); box-shadow: 0 3px 6px 0 rgb(0 0 0 / 20%); } .cardContainer *:last-child { margin-bottom: 0; }