Files
litlyx/docs/src/css/custom.css
2024-06-09 17:01:20 +02:00

45 lines
1.3 KiB
CSS

/**
* 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: #2a66c8;
--ifm-color-primary-dark: #2458a7;
--ifm-color-primary-darker: #204a93;
--ifm-color-primary-darkest: #1a3c70;
--ifm-color-primary-light: #4a7cd0;
--ifm-color-primary-lighter: #6290d4;
--ifm-color-primary-lightest: #7ca3db;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #409cff;
--ifm-color-primary-dark: #368bdf;
--ifm-color-primary-darker: #3179c8;
--ifm-color-primary-darkest: #2862a2;
--ifm-color-primary-light: #53a9ff;
--ifm-color-primary-lighter: #6cb4ff;
--ifm-color-primary-lightest: #84c0ff;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
/* Targeting the GitHub link button */
.navbar__link--github {
background-color: #333;
color: #fff;
padding: 10px;
border-radius: 5px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.navbar__link--github:hover {
background-color: #555;
color: #ddd;
}