Template:Change History/styles.css: Difference between revisions
Appearance
m Stevium moved page MediaWiki:Change History.css to Template:Change History/styles.css without leaving a redirect: Changing how the Change History stylesheet is loaded: now uses TemplateStyles instead of @import |
Adjusted padding |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.change-history-header { | .change-history-header { | ||
display: inline-flex; | |||
flex-wrap: wrap; | |||
font-size: 88%; | |||
margin: 0.5em 0; | |||
} | } | ||
.change-history-content { | .change-history-content { | ||
overflow: auto; | |||
max-height: 330px; | |||
padding: 0.75em 1em; | |||
box-sizing: border-box; | |||
background: var(--background-color-0b); | |||
border-radius: 10px; | |||
} | |||
.change-history-content hr + p { | |||
margin-block: 0.7em; | |||
} | } | ||
.change-history-header a.external { | .change-history-header a.external { | ||
background-image: none !important; | background-image: none !important; | ||
padding: 2px | padding: 2px 8px; | ||
border-radius: 20px; | border-radius: 20px; | ||
background-color: var(--background-color-2); | |||
color: var(--color-base); | |||
} | |||
.change-history-header a.external:hover { | |||
background-color: var(--background-color-3); | background-color: var(--background-color-3); | ||
text-decoration: none; | |||
} | |||
.change-history-header > div:first-child { | |||
margin-right: 0.75em; | |||
} | } | ||
Latest revision as of 06:43, 21 April 2026
.change-history-header {
display: inline-flex;
flex-wrap: wrap;
font-size: 88%;
margin: 0.5em 0;
}
.change-history-content {
overflow: auto;
max-height: 330px;
padding: 0.75em 1em;
box-sizing: border-box;
background: var(--background-color-0b);
border-radius: 10px;
}
.change-history-content hr + p {
margin-block: 0.7em;
}
.change-history-header a.external {
background-image: none !important;
padding: 2px 8px;
border-radius: 20px;
background-color: var(--background-color-2);
color: var(--color-base);
}
.change-history-header a.external:hover {
background-color: var(--background-color-3);
text-decoration: none;
}
.change-history-header > div:first-child {
margin-right: 0.75em;
}