MediaWiki:Gadget-microformat.css
Merk: Etter publisering vil det kanskje være nødvendig å slette mellomlageret i nettleseren din for å se endringene.
- Firefox / Safari: Hold Shift mens du klikker på Oppdater, eller trykk enten Ctrl+F5 eller Ctrl+R (⌘+R på Mac)
- Google Chrome: Trykk Ctrl+Shift+R (⌘+Shift+R på Mac)
- Internet Explorer / Edge: Hold Ctrl mens du trykker på Oppdater eller trykk Ctrl+F5
- Opera: Ttrykk Ctrl+F5.
/*
* Experimental use and styling of templates based upon centralized styling, microformats
* and internationalition/localization. This shoul ideally only use the class names for
* visual appearance, not any microformat-specific class names.
* Maintainer: [[User:Jeblad]
*/
.hbox {
border: none;
float:right;
background-color: white;
padding: 0 0 1em 1em;
}
.hbox .context {
border: 1px solid #aaa;
padding: 1em;
position: relative;
}
.hbox .item {
clear: both;
}
.hbox > .context > .header {
font-weight:bold;
}
.hbox > .context > .subheader {
display: none;
font-weight:normal;
font-size: 80%;
}
.hbox .container > div {
margin-left: 1em;
}
.hbox .title {
font-weight: bold;
display: block;
float: left;
text-align: right;
width: 40%;
margin-right: 0.5em;
}
.hbox .title:after {
content: ": ";
}
.hbox .container > .title:after {
content: none;
}
.hbox .container > div > .title {
font-weight: normal !important;
}
.hbox .container > div > .title:before {
content: " – ";
}
.hbox .header,
.hbox .subheader {
text-align: center;
}
.hbox .image {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.hbox .symbol {
position: absolute;
right: 0.5em;
top: -0.5em;
}
/* note that the initial selector is necessary to overload other default selectors */
/*div#content .hbox:hover .context:first-child a[href^="http://"] {
display:block;
}*/
div#content .hbox .context:first-child a[href^="http://"] {
display:none;
position: absolute;
left: 15px;
top: 1px;
width:8.5em;
height:11px;
border: 1px solid #5a5a5a;
color: #fff !important;
margin:0;
padding: 2px 0 0 0.5em;
font: 7px Geneva, Verdana, sans-serif;
letter-spacing: 1px;
text-decoration: none;
text-decoration: none;
text-transform: uppercase;
}
div#content .hbox .context:first-child a[href^="http://"] img {
display: block;
border: 1px solid #5a5a5a;
height: 13px;
left: -15px;
position: absolute;
top: -1px;
width: 13px;
}