MediaWiki:Common.css: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (Adjust font size as expected for replacement version) |
imported>FrozenPlum m (add a style) |
||
Line 62: | Line 62: | ||
color: #000; |
color: #000; |
||
border: 1px solid #838383; |
border: 1px solid #838383; |
||
⚫ | |||
.dplmanual { |
|||
/* placebolder */ |
|||
} |
} |
||
Line 71: | Line 67: | ||
table.dplmatrix { |
table.dplmatrix { |
||
margin: 1em 1em 1em 0; |
|||
background: #f9f9f9; |
|||
border: 1px #aaaaaa solid; |
|||
border-collapse: collapse; |
|||
} |
} |
||
table.dplmatrix th { |
table.dplmatrix th { |
||
background: #f2f2f2; |
|||
border: 1px #aaaaaa solid; |
|||
padding: 0.5em; |
|||
font-size: 80%; |
|||
} |
} |
||
table.dplmatrix td { |
table.dplmatrix td { |
||
text-align: center; |
|||
border: 1px #aaaaaa solid; |
|||
padding: 0.5em; |
|||
⚫ | |||
/* fit available style can be used elsewhere */ |
|||
.messagebox { |
|||
width: -moz-available; /* WebKit-based browsers will ignore this. */ |
|||
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */ |
|||
width: fill-available; |
|||
} |
} |
Revision as of 01:35, 3 April 2022
/* CSS placed here will be applied to all skins */
/* navbox styles */
.navbox {
border: 1px solid #999;
font-size: 0.9em;
text-align: center;
width: 100%;
margin: auto;
padding: 1px;
clear: both;
}
.navbox-abovebelow {
background:#edefee;
}
.navbox-title,
.navbox-even,
.navbox-list {
background: #dcdcdc;
}
.navbox-odd,
.navbox-group {
background:#f6f6f6;
}
/* Key combinations */
.key kbd,
.k kbd {
padding: 0 0.6em 0 0.6em;
border-radius: 0.2em;
display: inline-block;
white-space: nowrap;
font-size: 0.8em;
}
.keysDark {
color: black;
border: 1px solid rgb(170,170,170);
box-shadow: 0.1em 0.2em 0.2em rgb(221 221 221);
background-image: linear-gradient(to bottom,rgb(238,238,238),rgb(249,249,249),rgb(238,238,238));
background-color: rgb(249,249,249);
}
/* parameters */
.dplparameter {
width: -webkit-fill-available;
}
table.wikitable.dplparameter > * > tr > td:first-child {
background-color: #fff3d2;
padding: 5px;
width: 200px;
font: 130% Courier,monospace;
}
table.wikitable.dplparameter > * > tr > td:nth-child(2) {
padding: 5px;
}
/* wiki styles for readbility in light theme */
pre,
code,
.mw-code {
background-color: #f8f9fa;
color: #000;
border: 1px solid #838383;
}
/* Demo for a special DPL table which is used by dplmatrix */
table.dplmatrix {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.dplmatrix th {
background: #f2f2f2;
border: 1px #aaaaaa solid;
padding: 0.5em;
font-size: 80%;
}
table.dplmatrix td {
text-align: center;
border: 1px #aaaaaa solid;
padding: 0.5em;
}
/* fit available style can be used elsewhere */
.messagebox {
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: fill-available;
}