geforkt von nick-slowinski.de/docs
Prettify announcement bar - fixes #41
Dieser Commit ist enthalten in:
Ursprung
8c331f8af8
Commit
2b95eae10a
1 geänderte Dateien mit 18 neuen und 0 gelöschten Zeilen
|
@ -15,6 +15,7 @@
|
||||||
--ifm-color-primary-lightest: #3cad6e;
|
--ifm-color-primary-lightest: #3cad6e;
|
||||||
--ifm-code-font-size: 95%;
|
--ifm-code-font-size: 95%;
|
||||||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
|
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
|
||||||
|
--site-primary-hue-saturation: 170 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
||||||
|
@ -28,3 +29,20 @@
|
||||||
--ifm-color-primary-lightest: #4fddbf;
|
--ifm-color-primary-lightest: #4fddbf;
|
||||||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div[class^='announcementBar_'] {
|
||||||
|
--site-announcement-bar-stripe-color1: hsl(
|
||||||
|
var(--site-primary-hue-saturation) 85%
|
||||||
|
);
|
||||||
|
--site-announcement-bar-stripe-color2: hsl(
|
||||||
|
var(--site-primary-hue-saturation) 60%
|
||||||
|
);
|
||||||
|
background: repeating-linear-gradient(
|
||||||
|
50deg,
|
||||||
|
var(--site-announcement-bar-stripe-color1),
|
||||||
|
var(--site-announcement-bar-stripe-color1) 20px,
|
||||||
|
var(--site-announcement-bar-stripe-color2) 10px,
|
||||||
|
var(--site-announcement-bar-stripe-color2) 40px
|
||||||
|
);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
Laden …
In neuem Issue referenzieren