Jump to content

MediaWiki:Formatting.css: Difference between revisions

From The Petit Planet Wiki
Created page with "code, .custom-formatting-code:not(.custom-formatting-plain) { background-color: var(--theme-color-3); border-radius: 5px; padding: 0px 4px; margin-right: 5px; font-family: monospace; } For [[Module:Formatting]]: .custom-formatting-code { display: inline-block; line-height: 21px; } .custom-formatting-code.code-block-table { display: table; } span.variable { opacity: 0.65; } span.variable::after { opacity: 0.65; content: ">"; } span.variable::b..."
 
No edit summary
 
Line 1: Line 1:
code, .custom-formatting-code:not(.custom-formatting-plain) {
code, .custom-formatting-code:not(.custom-formatting-plain) {
     background-color: var(--theme-color-3);
     background-color: var(--background-color-3);
     border-radius: 5px;
     border-radius: 5px;
     padding: 0px 4px;
     padding: 0px 4px;

Latest revision as of 10:40, 16 November 2025

code, .custom-formatting-code:not(.custom-formatting-plain) {
    background-color: var(--background-color-3);
    border-radius: 5px;
    padding: 0px 4px;
    margin-right: 5px;
    font-family: monospace;
}
/* For [[Module:Formatting]] */
.custom-formatting-code {
	display: inline-block;
	line-height: 21px;
}
.custom-formatting-code.code-block-table { display: table; }
span.variable { opacity: 0.65; }
span.variable::after {
	opacity: 0.65;
	content: ">";
}
span.variable::before {
	opacity: 0.65;
	content: "<";
}
.custom-formatting-nested { display: none; }
.custom-formatting-resulting { display: inline; }
.custom-formatting-code .custom-formatting-nested { display: inline-block; }
.custom-formatting-code .custom-formatting-resulting { display: none; }