mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 09:43:10 +00:00
45 lines
1.1 KiB
CSS
45 lines
1.1 KiB
CSS
/**
|
|
* Copyright (c) 2017-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
:root {
|
|
--ifm-color-primary: #25c2a0;
|
|
--ifm-color-primary-dark: rgb(33, 175, 144);
|
|
--ifm-color-primary-darker: rgb(31, 165, 136);
|
|
--ifm-color-primary-darkest: rgb(26, 136, 112);
|
|
--ifm-color-primary-light: rgb(70, 203, 174);
|
|
--ifm-color-primary-lighter: rgb(102, 212, 189);
|
|
--ifm-color-primary-lightest: rgb(146, 224, 208);
|
|
--ifm-color-feedback-background: #fff;
|
|
}
|
|
|
|
html[data-theme='dark'] {
|
|
--ifm-color-feedback-background: #f0f8ff;
|
|
}
|
|
|
|
@media screen and (max-width: 996px) {
|
|
:root {
|
|
--ifm-font-size-base: 15px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 997px) {
|
|
:root {
|
|
--ifm-font-size-base: 17px;
|
|
}
|
|
}
|
|
|
|
.docusaurus-highlight-code-line {
|
|
background-color: rgb(0, 0, 0, 0.1);
|
|
display: block;
|
|
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
|
padding: 0 var(--ifm-pre-padding);
|
|
}
|
|
|
|
html[data-theme='dark'] .docusaurus-highlight-code-line {
|
|
background-color: rgb(0, 0, 0, 0.3);
|
|
}
|