Change color of content warning stripes

This commit is contained in:
Helen Chong 2024-05-28 08:04:31 +08:00
parent fa1f1ea4b6
commit 5368f5163e
3 changed files with 4 additions and 2 deletions

View File

@ -14,6 +14,7 @@
--clr-link-hover: #270e48;
--clr-quote-bg: #f3f2f2;
--clr-quote-border: #414141;
--clr-cw-hover: rgb(250, 229, 229);
--clr-code-bg: #f3f2f2;
--clr-code-border: #414141;

View File

@ -97,7 +97,7 @@
.contnet-warning__warning {
padding: 0.8em;
--stripe-color: rgb(0 0 0 / 0.1);
--stripe-color: var(--clr-quote-bg);
background-image: repeating-linear-gradient(
45deg,
transparent,
@ -109,7 +109,7 @@
.contnet-warning__warning:hover,
.contnet-warning__warning:focus {
--stripe-color: rgb(150 0 0 / 0.1);
--stripe-color: var(--clr-cw-hover);
}
.contnet-warning__content {

View File

@ -17,6 +17,7 @@
--clr-link-hover: #c355c9;
--clr-quote-bg: #13092D;
--clr-quote-border: #999999;
--clr-cw-hover: rgb(58, 0, 0);
--clr-code-bg: #241445;
--clr-code-border: #82668f;