MediaWiki:Documentation.css: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) No edit summary |
Salty Nori (talk | contribs) No edit summary |
||
Line 39: | Line 39: | ||
.template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header { | .template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header { | ||
border-color: var(--border); | border-color: var(--border-color); | ||
background-color: var(--gray-100); | background-color: var(--gray-100); | ||
} | } |
Latest revision as of 18:03, 30 December 2023
/* Requires u:dev:MediaWiki:Module:Documentation.css loaded first */
.doctable {
border: none;
}
.doctable th.doc-header {
padding: 15px;
background-color: var(--brown-300);
}
.doctable tr.links td {
padding: 0;
}
.doctable tr.links td a, .doctable tr.links td .mw-selflink {
padding: 5px;
display: block;
font-size: 1rem;
text-align: center;
text-decoration: none;
transition: 0.1s;
font-weight: 500;
background-color: var(--gray-100);
border-radius: 6px;
}
.doctable tr.links td .mw-selflink {
background-color: var(--brown-300);
}
.doctable tr.links td a:hover {
background-color: var(--brown-200);
transition: 0.3s;
}
.template-documentation {
border-radius: 6px;
}
.template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header {
border-color: var(--border-color);
background-color: var(--gray-100);
}
.template-documentation .template-documentation-header {
border-radius: 6px 6px 0 0;
}
.template-documentation .template-documentation-footer {
border-radius: 0 0 6px 6px;
}