/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/docusaurus-theme-classic/src/theme/CodeBlock/Layout/styles.module.css
27 строк
661 B
Sébastien Lorber
refactor(theme): introduce CodeBlockContextProvider + split into smaller components (#11062)
04 апр 2025, 21:11
Не верифицирован
04 апр 2025, 21:11
31b279f
Код
Авторство
О чём код?
/** * 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. */ .codeBlockContent { position: relative; /* rtl:ignore */ direction: ltr; border-radius: inherit; } .codeBlockTitle { border-bottom: 1px solid var(--ifm-color-emphasis-300); font-size: var(--ifm-code-font-size); font-weight: 500; padding: 0.75rem var(--ifm-pre-padding); border-top-left-radius: inherit; border-top-right-radius: inherit; } .codeBlockTitle + .codeBlockContent .codeBlock { border-top-left-radius: 0; border-top-right-radius: 0; }