Jump to content

MediaWiki:Common.css: Difference between revisions

add Infobox template style
(add coordinates)
(add Infobox template style)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */  
/* CSS placed here will be applied to all skins */  
#coordinates {
position: absolute;
top: 0em;
right: 0em;
float: right;
margin: 0.0em;
padding: 0.0em;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}


/* [[Template:Other languages]] */  
/* [[Template:Other languages]] */  
Line 50: Line 35:
.longitude, .latitude            { white-space: nowrap; }
.longitude, .latitude            { white-space: nowrap; }


#coordinates {
position: absolute;
top: 0em;
right: 0em;
float: right;
margin: 0.0em;
padding: 0.0em;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox caption {
    font-size: larger;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}


/* Default skin for navigation boxes */
/* Default skin for navigation boxes */
90,866

edits