Re-add missing card backgrounds

This commit is contained in:
lolabird 2025-03-25 21:10:47 -06:00
commit 779a9e5350
No known key found for this signature in database
GPG key ID: CCB68A8A3FA20AAA

View file

@ -423,13 +423,16 @@ tr:nth-child(odd) {
/*****TEXT DECORATION*****/ /*****TEXT DECORATION*****/
/*bold*/
body strong, body b { body strong, body b {
color:var(--sand); color:var(--sand);
font-weight: 700; font-weight: 700;
}
body em, body i {
color:var(--sand);
} }
/***lists***/
/*****LISTS*****/
li label { li label {
display: inline; display: inline;
line-height: 2rem; line-height: 2rem;
@ -446,17 +449,9 @@ li label {
background: var(--background-gray); background: var(--background-gray);
} }
/***decorated links***/
a > i, a > em, a > b, a > strong {
color: var(--link-color);
}
/*****CARDS*****/
/*****CONTENT BOXES*****/ /***blockquotes***/
/***italics and quotes***/
body em, body i {
color:var(--sand);
}
.ck-content blockquote { .ck-content blockquote {
color: var(--sand); color: var(--sand);
font-weight: 300; font-weight: 300;
@ -491,21 +486,27 @@ body em, body i {
/***asides***/ /***asides***/
.ck-content .admonition.note { .ck-content .admonition.note {
--accent-color: var(--code-attribute) !important; --accent-color: var(--code-attribute) !important;
--rgb: 203, 224, 234;
} }
.ck-content .admonition.tip { .ck-content .admonition.tip {
--accent-color: var(--code-builtin) !important; --accent-color: var(--code-builtin) !important;
--rgb: 195, 154, 208;
} }
.ck-content .admonition.important { .ck-content .admonition.important {
--accent-color: var(--code-def) !important; --accent-color: var(--code-def) !important;
--rgb: 92, 156, 228;
} }
.ck-content .admonition.caution { .ck-content .admonition.caution {
--accent-color: var(--cherry-red) !important; --accent-color: var(--cherry-red) !important;
--rgb: 255, 48, 48;
} }
.ck-content .admonition.warning { .ck-content .admonition.warning {
--accent-color: var(--code-var) !important; --accent-color: var(--code-var) !important;
--rgb: 210, 158, 88;
} }
.ck-content aside.admonition { .ck-content aside.admonition {
/*--accent-color: var(--card-border-color);*/ /*--accent-color: var(--card-border-color);*/
--card-background-color: rgba(var(--rgb), .12);
border: none; border: none;
border-left: 3px solid var(--accent-color); border-left: 3px solid var(--accent-color);
box-shadow: var(--card-box-shadow); box-shadow: var(--card-box-shadow);
@ -559,6 +560,12 @@ div.footnote-section.ck-widget {
} }
/*****LINKS*****/
body a * {
color: var(--link-color);
}
/*****ICONS*****/ /*****ICONS*****/
/*main note icon*/ /*main note icon*/
.note-icon::before { .note-icon::before {