MediaWiki:Common.css: Difference between revisions

Content deleted Content added
imported>FrozenPlum
m add a style
imported>FrozenPlum
Move vector style to vector css
 
(32 intermediate revisions by the same user not shown)
Line 43:
/* parameters */
.dplparameter {
width: -webkit-fill-availableauto;
}
table.wikitable.dplparameter > * > tr > td:first-child {
Line 65:
 
/* Demo for a special DPL table which is used by dplmatrix */
 
table.dplmatrix {
margin: 1em 1em 1em 0;
Line 84 ⟶ 83:
}
 
/* "view result" and "test in sandbox" demo link formatting */
/* fit available style can be used elsewhere */
.demo-viewpage .plainlinks a.external {
.messagebox {
background-image: unset;
width: -moz-available; /* WebKit-based browsers will ignore this. */
background-image: none!important;
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
}
width: fill-available;
.demo-inputbox-wrapper {
display: block;
text-align: right;
font-size: small;
padding-bottom: 0.2em;
}
.demo-viewpage {
float: right;
margin-left: 0.5em;
}
.demo-viewpage p {
margin-top: 1px;
margin-bottom: 0;
font-size:smaller;
}
.demo-viewpage a,
.demo-viewpage a.external {
color: white!important;
background-color: #3366cc;
border-radius: 2px;
font-weight: bold;
padding: 0.6em 1em!important; /* required to override external link*/
border-color: #3366cc;
background-image: none!important; /* required to unset external link icon */
}
.demo-viewpage a:hover,
.demo-viewpage a.external:hover {
text-decoration:none;
background-color:#4d81e8;
}
.demo-viewpage a:visited,
.demo-viewpage a:focus,
.demo-viewpage a.external:visited,
.demo-viewpage a.external:focus {
text-decoration:none;
}
 
/* Used in examples */
.dpl-orange-background {
background: #fdebdb;
border:1px solid orange;
padding:3px!important;
}
.dpl-blue-background {
background: #d2e4fb;
border:1px solid blue;
padding:3px!important;
}
.dpl-dark-background {
background: navy;
}
.list-item-heading,
.list-item-heading-attrubite {
background-color:pink;
border:1px solid red;
padding:3px;
}
.li-example {
background:white;
font-style: italic;
border:1px solid gray;
padding:3px;
}