MediaWiki:Common.css: Difference between revisions
(Add style used by other languages) |
(Support for Coord) |
||
Line 8: | Line 8: | ||
width: auto; | width: auto; | ||
} | } | ||
/* [[Template:Other languages]] */ | |||
#otherlangs { | #otherlangs { | ||
margin:0.5em; | margin:0.5em; | ||
padding:2px; | padding:2px; | ||
Line 17: | Line 19: | ||
background:#FAFAFA; | background:#FAFAFA; | ||
font-size:0.9em; | font-size:0.9em; | ||
} | |||
} | |||
#otherlangs span { | #otherlangs span { | ||
margin:0 2px; | margin:0 2px; | ||
padding-left:2px; | padding-left:2px; | ||
border-left:1px solid gray; | border-left:1px solid gray; | ||
} | |||
} | |||
#otherlangs span.firstlang { | #otherlangs span.firstlang { | ||
border:none; | border:none; | ||
} | } | ||
/* Geographical coordinates defaults. See [[Template:Coord/link]] | |||
for how these are used. The classes "geo", "longitude", and | |||
"latitude" are used by the [[Geo microformat]]. | |||
*/ | |||
.geo-default, .geo-dms, .geo-dec { display: inline; } | |||
.geo-nondefault, .geo-multi-punct { display: none; } | |||
.longitude, .latitude { white-space: nowrap; } |
Revision as of 13:44, 30 June 2010
/* CSS placed here will be applied to all skins */
.collapseButton { /* 'show'/'hide' buttons created dynamically */
float: right; /* by the CollapsibleTables javascript in */
font-weight: normal; /* [[MediaWiki:Common.js]] styled here */
text-align: right; /* so they can be customised. */
width: auto;
}
/* [[Template:Other languages]] */
#otherlangs {
margin:0.5em;
padding:2px;
border:1px solid #CCC;
background:#FAFAFA;
font-size:0.9em;
}
#otherlangs span {
margin:0 2px;
padding-left:2px;
border-left:1px solid gray;
}
#otherlangs span.firstlang {
border:none;
}
/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
"latitude" are used by the [[Geo microformat]].
*/
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }