MediaWiki:Documentation.css: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) (Created page with "→Requires u:dev:MediaWiki:Module:Documentation.css loaded first: .doctable { border: none; } .doctable th.doc-header { padding: 15px; background-color: var(--theme-page-background-color--secondary); } .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: 5...") |
Salty Nori (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
.doctable th.doc-header { | .doctable th.doc-header { | ||
padding: 15px; | padding: 15px; | ||
background-color: var(-- | background-color: var(--brown-300); | ||
} | } | ||
Line 21: | Line 21: | ||
transition: 0.1s; | transition: 0.1s; | ||
font-weight: 500; | font-weight: 500; | ||
background-color: var(--gray-100); | |||
border-radius: 6px; | |||
} | } | ||
.doctable tr.links td .mw-selflink { | .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; | |||
} | } | ||
.doctable | .template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header { | ||
border-color: var(--border); | |||
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; | |||
} | } |
Revision as of 18:01, 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);
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;
}