Template:Markup/styles.css: Difference between revisions
Jump to navigation
Jump to search
:wikipedia>Jonesey95 fix text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value |
m 1 revision imported: Content from Template:Legend on Wikipedia |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 36: | Line 36: | ||
overflow-wrap: break-word; | overflow-wrap: break-word; | ||
white-space: pre-wrap; | white-space: pre-wrap; | ||
} | |||
.markup-markup .mw-highlight { | |||
margin: 0; | |||
} | |||
.markup-markup .mw-highlight pre { | |||
border: none; | |||
} | } | ||
Latest revision as of 01:50, 8 June 2026
/* {{pp-template|small=yes}} */
.markup {
margin: 0;
margin-bottom: 0.5em;
border-width: medium;
padding: 0;
}
.markup > caption {
font-weight: bold;
}
.markup > tbody > tr > th[scope=col] {
width: 50%;
}
.markup > tbody > tr > td {
background: var(--background-color-interactive-subtle, #f8f9fa);
color:inherit;
border: 1px solid #eaecf0;
padding: 5px;
vertical-align: top;
}
.markup-wrapper > :first-child {
margin-top: 0;
}
.markup-wrapper > :last-child {
margin-bottom: 0;
}
.markup-markup {
margin: 0;
border: none;
overflow-wrap: break-word;
white-space: pre-wrap;
}
.markup-markup .mw-highlight {
margin: 0;
}
.markup-markup .mw-highlight pre {
border: none;
}
code.markup-markup {
padding: 0;
}
pre.markup-markup {
padding: 2px 0 0;
}