1
0
Fork 0

Theme: Style alert blocks in bthree-dark theme

Fixes #92
This commit is contained in:
Pablo Vazquez 2024-07-22 12:43:11 +02:00
commit a690061baf
2 changed files with 49 additions and 1 deletions

View file

@ -120,6 +120,49 @@
.restructuredtext section dl dt {
font-style: normal;
}
/* Alert blocks. */
blockquote.attention-note {
background-color: var(--color-info-bg);
border-left-color: var(--color-blue-dark-1);
}
strong.attention-note, span.attention-note {
color: var(--color-blue-dark-1);
}
blockquote.attention-tip {
background-color: var(--color-success-bg);
border-left-color: var(--color-success-text);
}
strong.attention-tip, span.attention-tip {
color: var(--color-success-text);
}
blockquote.attention-important {
background-color: var(--color-violet-dark-bg);
border-left-color: var(--color-violet-dark-1);
}
strong.attention-important, span.attention-important {
color: var(--color-violet-dark-1);
}
blockquote.attention-warning {
background-color: var(--color-warning-bg);
border-left-color: var(--color-warning-text);
}
strong.attention-warning, span.attention-warning {
color: var(--color-warning-text);
}
blockquote.attention-caution {
background-color: var(--color-error-bg);
border-left-color: var(--color-red-dark-1);
}
strong.attention-caution, span.attention-caution {
color: var(--color-red-dark-1);
}
</style>
<script defer data-domain="projects.blender.org" src="https://analytics.blender.org/js/script.js"></script>