1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

docs: add purple squares to the top level categories.

This commit is contained in:
Thomas Heartman 2022-01-24 16:10:14 +01:00
parent f944a40d78
commit fe17c4f062

View File

@ -7,6 +7,7 @@
/* You can override the default Infima variables here. */ /* You can override the default Infima variables here. */
:root { :root {
--color-unleash-purple: #635DC5;
--ifm-color-primary: #39535b; --ifm-color-primary: #39535b;
--ifm-color-primary-dark: #334b52; --ifm-color-primary-dark: #334b52;
--ifm-color-primary-darker: #30474d; --ifm-color-primary-darker: #30474d;
@ -16,7 +17,7 @@
--ifm-color-primary-lightest: #4a6c76; --ifm-color-primary-lightest: #4a6c76;
--ifm-code-font-size: 90%; --ifm-code-font-size: 90%;
--ifm-font-size-base: 15px; --ifm-font-size-base: 15px;
--ifm-link-color: #635DC5; --ifm-link-color: var(--color-unleash-purple);
--navbar-link-color: #122d33; --navbar-link-color: #122d33;
} }
@ -28,6 +29,17 @@ footer {
font-size: 2.5rem !important; font-size: 2.5rem !important;
} }
li.theme-doc-sidebar-item-category-level-1 > div::before {
width: .8em;
height: .8em;
content: " ";
position: absolute;
background-color: var(--color-unleash-purple);
left: -.1em;
top: calc(50% - .4em);
border-radius: 2px;
}
.docusaurus-highlight-code-line { .docusaurus-highlight-code-line {
background-color: rgb(72, 77, 91); background-color: rgb(72, 77, 91);
display: block; display: block;