Website/src/css/custom.css

40 lines
1.2 KiB
CSS
Raw Normal View History

2022-02-01 05:49:02 +00:00
/**
* 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.
*/
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2E86C1;
--ifm-color-primary-dark: #2874A6;
--ifm-color-primary-darker: #21618C;
--ifm-color-primary-darkest: #1B4F72;
--ifm-color-primary-light: #3498DB;
--ifm-color-primary-lighter: #5DADE2;
--ifm-color-primary-lightest: #85C1E9;
2022-02-01 05:49:02 +00:00
--ifm-code-font-size: 95%;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
html[data-theme='dark'] {
--ifm-color-primary: #2471A3;
--ifm-color-primary-dark: #1F618D;
--ifm-color-primary-darker: #1A5276;
--ifm-color-primary-darkest: #154360;
--ifm-color-primary-light: #2980B9;
--ifm-color-primary-lighter: #5499C7;
--ifm-color-primary-lightest: #7FB3D5;
2022-02-01 05:49:02 +00:00
}
.docusaurus-highlight-code-line {
background-color: rgba(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: rgba(0, 0, 0, 0.3);
}