Merge "Replace reset with SkinModule normalize"

This commit is contained in:
jenkins-bot 2024-02-07 14:38:30 +00:00 committed by Gerrit Code Review
commit ec453ac037
3 changed files with 15 additions and 47 deletions

View file

@ -1,51 +1,12 @@
/* Fork of http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
@import '../../minerva.less/minerva.mixins.less';
div, span,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, ins, em, img,
small, strike, strong, sub, sup, tt,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
input, button, select,
audio, video,
figure, picture {
div, p,
h1, h2, h3, h4, h5, h6,
/* needed for navigation elements and content */
ul, li, ol,
/* needed for code snippets */
pre,
/* Needed for search input */
.minerva-header input {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
background: none;
}
table, caption, tbody, tfoot, thead, tr, th, td {
font-size: 100%;
}
caption {
font-weight: bold;
}
button {
border: 0;
background-color: transparent;
cursor: pointer;
}
input {
line-height: normal;
}
ul {
list-style: none;
}
table {
border-collapse: collapse;
}

View file

@ -270,6 +270,7 @@
"skins.minerva.base.styles": {
"class": "MediaWiki\\Minerva\\ResourceLoaderSkinModule",
"features": [
"normalize",
"accessibility",
"i18n-ordered-lists",
"content-body",

View file

@ -2,6 +2,12 @@
@import '../../minerva.less/minerva.mixins.less';
.overlay {
// Needed for MultimediaViewer.
button {
background: none;
border: 0;
}
textarea {
.editor-textarea();
}