User:Vergir/teststyles: Difference between revisions

Vergir (talk | contribs)
Add conversation table test styles: paragraph spacing between speaker lines (with help from vergir-bot LLM)
Vergir (talk | contribs)
Sanitizer probe: var(), custom property declarations, host-context selector rewriting (with help from vergir-bot LLM)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Conversation table test: spacing between speaker lines.
.pi-value {
  Each dialogue line is its own paragraph (blank-line separated in wikitext). */
color: #aaa;
.conversation-table td p {
color: var(--dl-scaling-boon-value, #aaa);
    margin: 0 0 0.5em;
}
}


.conversation-table td p:last-child {
.ss-value {
    margin-bottom: 0;
--dl-local-test: #123456;
color: var(--dl-local-test);
}
 
html[data-mode="light"] .pi-value {
color: #4a4a4a;
}
 
:root[data-theme="brown"][data-mode="light"] .ss-value {
color: #6035b0;
}
}