|
|
Line 213: |
Line 213: |
| border: 0; | | border: 0; |
| border-right: 1px solid #aaa; | | border-right: 1px solid #aaa; |
| }
| |
|
| |
| /* Styles for geography infoboxes, eg countries,
| |
| country subdivisions, cities, etc. */
| |
| .infobox.geography {
| |
| text-align: left;
| |
| border-collapse: collapse;
| |
| line-height: 1.2em;
| |
| font-size: 90%;
| |
| }
| |
|
| |
| .infobox.geography td,
| |
| .infobox.geography th {
| |
| border-top: 1px solid #aaa;
| |
| padding: 0.4em 0.6em 0.4em 0.6em;
| |
| }
| |
| .infobox.geography .mergedtoprow td,
| |
| .infobox.geography .mergedtoprow th {
| |
| border-top: 1px solid #aaa;
| |
| padding: 0.4em 0.6em 0.2em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedrow td,
| |
| .infobox.geography .mergedrow th {
| |
| border: 0;
| |
| padding: 0 0.6em 0.2em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .mergedbottomrow td,
| |
| .infobox.geography .mergedbottomrow th {
| |
| border-top: 0;
| |
| border-bottom: 1px solid #aaa;
| |
| padding: 0 0.6em 0.4em 0.6em;
| |
| }
| |
|
| |
| .infobox.geography .maptable td,
| |
| .infobox.geography .maptable th {
| |
| border: 0;
| |
| padding: 0;
| |
| } | | } |
|
| |
|
Line 265: |
Line 226: |
| .wikitable td dl { | | .wikitable td dl { |
| text-align: left; | | text-align: left; |
| }
| |
|
| |
| /* Icons for medialist templates [[Template:Listen]],
| |
| [[Template:Multi-listen_start]], [[Template:Video]],
| |
| [[Template:Multi-video_start]]
| |
| */
| |
| div.listenlist {
| |
| background: url("http://upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
| |
| padding-left: 40px;
| |
| }
| |
|
| |
| /* Style rules for media list templates */
| |
| div.medialist {
| |
| min-height: 50px;
| |
| margin: 1em;
| |
| background-position: top left;
| |
| background-repeat: no-repeat;
| |
| }
| |
| div.medialist ul {
| |
| list-style-type: none;
| |
| list-style-image: none;
| |
| margin: 0;
| |
| }
| |
| div.medialist ul li {
| |
| padding-bottom: 0.5em;
| |
| }
| |
| div.medialist ul li li {
| |
| font-size: 91%;
| |
| padding-bottom: 0;
| |
| }
| |
|
| |
| /* Change the external link icon to an Adobe icon for all PDF files
| |
| in browsers that support these CSS selectors, like Mozilla and Opera */
| |
| div#content a[href$=".pdf"].external,
| |
| div#content a[href*=".pdf?"].external,
| |
| div#content a[href*=".pdf#"].external,
| |
| div#content a[href$=".PDF"].external,
| |
| div#content a[href*=".PDF?"].external,
| |
| div#content a[href*=".PDF#"].external,
| |
| div#mw_content a[href$=".pdf"].external,
| |
| div#mw_content a[href*=".pdf?"].external,
| |
| div#mw_content a[href*=".pdf#"].external,
| |
| div#mw_content a[href$=".PDF"].external,
| |
| div#mw_content a[href*=".PDF?"].external,
| |
| div#mw_content a[href*=".PDF#"].external {
| |
| background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
| |
| padding-right: 18px;
| |
| }
| |
|
| |
| /* Change the external link icon to an Adobe icon anywhere the PDFlink class
| |
| is used (notably Template:PDFlink). This works in IE, unlike the above. */
| |
| div#content span.PDFlink a,
| |
| div#mw_content span.PDFlink a {
| |
| background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
| |
| padding-right: 18px;
| |
| } | | } |
|
| |
|
Line 672: |
Line 578: |
| font-size: 88%; | | font-size: 88%; |
| line-height: 1.25em; | | line-height: 1.25em; |
| }
| |
|
| |
|
| |
| /* Remove default styles for [[MediaWiki:Noarticletext]]. */
| |
| div.noarticletext {
| |
| border: none;
| |
| background: transparent;
| |
| padding: 0;
| |
| }
| |
|
| |
| #wpSave {
| |
| font-weight: bold;
| |
| }
| |
|
| |
| /* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
| |
| .hiddenStructure {
| |
| display: inline ! important;
| |
| color: #f00;
| |
| background-color: #0f0;
| |
| } | | } |
|
| |
|
Line 785: |
Line 672: |
| .listify tr { display: block; } | | .listify tr { display: block; } |
| .listify table { display: block; } | | .listify table { display: block; } |
|
| |
| /* 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; }
| |
|
| |
|
| /* When <div class="nonumtoc"> is used on the table of contents, | | /* When <div class="nonumtoc"> is used on the table of contents, |
Line 822: |
Line 701: |
| .toclimit-7 .toclevel-6 ul { | | .toclimit-7 .toclevel-6 ul { |
| display: none; | | display: none; |
| }
| |
|
| |
| /* Styling for Template:Quote */
| |
| blockquote.templatequote {
| |
| margin-top: 0;
| |
| }
| |
| blockquote.templatequote div.templatequotecite {
| |
| line-height: 1em;
| |
| text-align: left;
| |
| padding-left: 2em;
| |
| margin-top: 0;
| |
| }
| |
| blockquote.templatequote div.templatequotecite cite {
| |
| font-size: 85%;
| |
| } | | } |
|
| |
|
Line 917: |
Line 782: |
| #filehistory, #wikiPreview, #wikiDiff { | | #filehistory, #wikiPreview, #wikiDiff { |
| clear: both; | | clear: both; |
| }
| |
|
| |
| /* Selectively hide headers in WikiProject banners */
| |
| .wpb .wpb-header { display: none; }
| |
| .wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
| |
| .wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
| |
| .wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
| |
|
| |
| /* Styling for Abuse Filter tags */
| |
| .mw-tag-markers {
| |
| font-family:sans-serif;
| |
| font-style:italic;
| |
| font-size:90%;
| |
| } | | } |
|
| |
|
Line 937: |
Line 789: |
| .wikiEditor-ui-toolbar .section-help .page-table td.syntax { | | .wikiEditor-ui-toolbar .section-help .page-table td.syntax { |
| font-family: monospace, "Courier New"; | | font-family: monospace, "Courier New"; |
| }
| |
|
| |
| /* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
| |
| [[Bugzilla:26204]] */
| |
| div.mw-geshi div,
| |
| div.mw-geshi div pre,
| |
| span.mw-geshi,
| |
| tt,
| |
| code,
| |
| pre {
| |
| font-family: monospace, "Courier New" !important;
| |
| font-size:100%;
| |
| } | | } |
|
| |
|