Skip to content

Commit

Permalink
Merge "Replace reset with SkinModule normalize"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Feb 7, 2024
2 parents ab7e7ec + 7c9304c commit ec453ac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 47 deletions.
55 changes: 8 additions & 47 deletions resources/skins.minerva.base.styles/reset.less
@@ -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;
}
1 change: 1 addition & 0 deletions skin.json
Expand Up @@ -270,6 +270,7 @@
"skins.minerva.base.styles": {
"class": "MediaWiki\\Minerva\\ResourceLoaderSkinModule",
"features": [
"normalize",
"accessibility",
"i18n-ordered-lists",
"content-body",
Expand Down
6 changes: 6 additions & 0 deletions skinStyles/mobile.startup/Overlay.less
Expand Up @@ -2,6 +2,12 @@
@import '../../minerva.less/minerva.mixins.less';

.overlay {
// Needed for MultimediaViewer.
button {
background: none;
border: 0;
}

textarea {
.editor-textarea();
}
Expand Down

0 comments on commit ec453ac

Please sign in to comment.