docs
This commit is contained in:
43
docs/src/css/custom.css
Normal file
43
docs/src/css/custom.css
Normal file
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* Any CSS included here will be global. The classic template
|
||||
* bundles Infima by default. Infima is a CSS framework designed to
|
||||
* work well for content-centric websites.
|
||||
*/
|
||||
|
||||
.color-box {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.color-label {
|
||||
font-size: 0.75rem;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
/* You can override the default Infima variables here. */
|
||||
:root {
|
||||
--ifm-color-primary: #dc2626;
|
||||
--ifm-color-primary-dark: #b91c1c;
|
||||
--ifm-color-primary-darker: #991b1b;
|
||||
--ifm-color-primary-darkest: #7f1d1d;
|
||||
--ifm-color-primary-light: #ef4444;
|
||||
--ifm-color-primary-lighter: #f87171;
|
||||
--ifm-color-primary-lightest: #fca5a5;
|
||||
--ifm-code-font-size: 95%;
|
||||
--docusaurus-highlighted-code-line-bg: rgba(220, 38, 38, 0.1);
|
||||
}
|
||||
|
||||
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
||||
[data-theme='dark'] {
|
||||
--ifm-color-primary: #fbbf24;
|
||||
--ifm-color-primary-dark: #f59e0b;
|
||||
--ifm-color-primary-darker: #d97706;
|
||||
--ifm-color-primary-darkest: #b45309;
|
||||
--ifm-color-primary-light: #fcd34d;
|
||||
--ifm-color-primary-lighter: #fde047;
|
||||
--ifm-color-primary-lightest: #fef08a;
|
||||
--docusaurus-highlighted-code-line-bg: rgba(251, 191, 36, 0.3);
|
||||
}
|
||||
Reference in New Issue
Block a user