Fix third-party lib css

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-09-12 13:57:52 +03:00
parent 13337dbb66
commit 8524b5af13
2 changed files with 20 additions and 16 deletions

View File

@@ -1,33 +1,37 @@
.commento-main-area :not(a) {
color: var(--primary-foreground-color);
color: var(--primary-foreground-color) !important;
}
.commento-root .commento-highlighted-card,
.commento-main-area textarea,
.commento-main-area input {
background: var(--secondary-subtle-color);
background: var(--secondary-subtle-color) !important;
}
.commento-main-area input[type="text"]::placeholder,
.commento-main-area textarea::placeholder {
color: #868e96;
color: #868e96 !important;
}
.commento-root .commento-submit-button {
background: var(--ghost-accent-color);
color: var(--color-white);
background: var(--ghost-accent-color) !important;
color: var(--color-white) !important;
}
.commento-root .commento-name,
.commento-mod-tools::before,
.commento-sort-policy-button-selected {
color: var(--ghost-accent-color);
color: var(--ghost-accent-color) !important;
}
.commento-root .commento-card {
border-top: none;
border-top: none !important;
}
.commento-markdown-help {
border: none;
border: none !important;
}
.commento-markdown-help pre {
padding: 0 !important;
}

View File

@@ -1,19 +1,19 @@
.toc ol {
counter-reset: item;
list-style: decimal;
line-height: 1.25;
counter-reset: item !important;
list-style: decimal !important;
line-height: 1.25 !important;
}
.toc li:before {
content: counters(item, ".") " ";
counter-increment: item;
content: counters(item, ".") " " !important;
counter-increment: item !important;
}
a.toc-link {
text-decoration: none;
font-weight: normal;
text-decoration: none !important;
font-weight: normal !important;
}
.toc>.toc-list li {
list-style: none
list-style: none !important;
}