Difference between pages "MediaWiki:Common.css" and "File:Cgs wire cgs79v11 ring.jpg"

(Difference between pages)
Jump to navigation Jump to search
(Undo revision 4813 by Rob Kam (talk))
 
(Maintenance script uploaded File:Cgs wire cgs79v11 ring.jpg)
 
Line 1: Line 1:
  +
With permission of Ken Stone, the author.
/* CSS placed here will be applied to all skins */
 
  +
[[Category:CGS image]]
 
/* *************************** */
 
 
/* Make the list of references smaller */
 
ol.references,
 
div.reflist,
 
div.refbegin {
 
font-size: 90%; /* Default font-size */
 
margin-bottom: 0.5em;
 
}
 
div.refbegin-100 {
 
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
 
}
 
div.reflist ol.references {
 
font-size: 100%; /* Reset font-size when nested in div.reflist */
 
list-style-type: inherit; /* Enable custom list style types */
 
}
 
 
/* Highlight clicked reference in blue to help navigation */
 
ol.references li:target,
 
sup.reference:target,
 
span.citation:target {
 
background-color: #DEF;
 
}
 
 
/* Ensure refs in table headers and the like aren't bold or italic */
 
sup.reference {
 
font-weight: normal;
 
font-style: normal;
 
}
 
 
/* Allow hidden ref errors to be shown by user CSS */
 
span.brokenref {
 
display: none;
 
}
 
 
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
 
.citation {
 
word-wrap: break-word;
 
}
 
 
/* Default styling for titles of works, styling for the title of an article
 
within a periodical, or a contribution within a compilation. */
 
cite,
 
.citation cite.article,
 
.citation cite.contribution {
 
font-style: inherit;
 
}
 
 
/* Styling for the title of any work within a citation,
 
or specifically the title of a periodical. */
 
.citation cite,
 
.citation cite.periodical {
 
font-style: italic;
 
}
 
 
/* For linked citation numbers and document IDs, where
 
the number need not be shown on a screen or a handheld,
 
but should be included in the printed version */
 
@media screen, handheld {
 
.citation *.printonly {
 
display: none;
 
}
 
}
 
 
/* *************************** */
 
 
/**
 
* Styling for links generated by [[MediaWiki:Edittools]]
 
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
 
* @updated 2012-02-29
 
*/
 
.mw-charinsert-buttons {
 
margin-top: 10px;
 
border: 1px solid #aaaaaa;
 
padding: 1px;
 
text-align: center;
 
font-size: 110%;
 
}
 
.mw-charinsert-buttons a {
 
color: black;
 
background-color: #cde !important;
 
font-weight: bold;
 
font-size: .9em;
 
text-decoration: none;
 
border: thin #069 outset;
 
padding: 0 .1em .1em;
 
}
 
.mw-charinsert-buttons a:hover,
 
.mw-charinsert-buttons a:active {
 
background-color: #bcd;
 
border-style: inset;
 
}
 
.client-js .mw-edittools-section {
 
display: inline;
 
}
 
.client-js .mw-edittools-section input[type="button"] {
 
font-size: 0.9em;
 
padding-left: 1px;
 
padding-right: 1px;
 
margin-left: 1px;
 
}
 
 
/* *************************** */
 
 
/* Normal font styling for table row headers with scope="row" tag */
 
.wikitable.plainrowheaders th[scope=row] {
 
font-weight: normal;
 
/* @noflip */
 
text-align: left;
 
}
 
 
/* Lists in data cells are always left-aligned */
 
.wikitable td ul,
 
.wikitable td ol,
 
.wikitable td dl {
 
/* @noflip */
 
text-align: left;
 
}
 
/* ...unless they also use the hlist class */
 
.wikitable.hlist td ul,
 
.wikitable.hlist td ol,
 
.wikitable.hlist td dl {
 
text-align: inherit;
 
}
 
 
/* *************************** */
 
 
/* 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;
 
/* @noflip */
 
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;
 
/* @noflip */
 
padding-right: 18px;
 
}
 
 
/* *************************** */
 
 
/* Default style for navigation boxes */
 
.navbox { /* Navbox container style */
 
border: 1px solid #aaa;
 
width: 100%;
 
margin: auto;
 
clear: both;
 
font-size: 88%;
 
text-align: center;
 
padding: 1px;
 
}
 
.navbox-inner,
 
.navbox-subgroup {
 
width: 100%;
 
}
 
.navbox-group,
 
.navbox-title,
 
.navbox-abovebelow {
 
padding: 0.25em 1em; /* Title, group and above/below styles */
 
line-height: 1.5em;
 
text-align: center;
 
}
 
th.navbox-group { /* Group style */
 
white-space: nowrap;
 
/* @noflip */
 
text-align: right;
 
}
 
.navbox,
 
.navbox-subgroup {
 
background: #fdfdfd; /* Background color */
 
}
 
.navbox-list {
 
line-height: 1.8em;
 
border-color: #fdfdfd; /* Must match background color */
 
}
 
.navbox th,
 
.navbox-title {
 
background: #ccccff; /* Level 1 color */
 
}
 
.navbox-abovebelow,
 
th.navbox-group,
 
.navbox-subgroup .navbox-title {
 
background: #ddddff; /* Level 2 color */
 
}
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-abovebelow {
 
background: #e6e6ff; /* Level 3 color */
 
}
 
.navbox-even {
 
background: #f7f7f7; /* Even row striping */
 
}
 
.navbox-odd {
 
background: transparent; /* Odd row striping */
 
}
 
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
 
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
 
}
 
.navbox .hlist td dl,
 
.navbox .hlist td ol,
 
.navbox .hlist td ul,
 
.navbox td.hlist dl,
 
.navbox td.hlist ol,
 
.navbox td.hlist ul {
 
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
 
}
 
ol + table.navbox,
 
ul + table.navbox {
 
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
 
}
 
 
/* Default styling for Navbar template */
 
.navbar {
 
display: inline;
 
font-size: 88%;
 
font-weight: normal;
 
}
 
.navbar ul {
 
display: inline;
 
white-space: nowrap;
 
}
 
.navbar li {
 
word-spacing: -0.125em;
 
}
 
.navbar.mini li span {
 
font-variant: small-caps;
 
}
 
/* Navbar styling when nested in infobox and navbox */
 
.infobox .navbar {
 
font-size: 100%;
 
}
 
.navbox .navbar {
 
display: block;
 
font-size: 100%;
 
}
 
.navbox-title .navbar {
 
/* @noflip */
 
float: left;
 
/* @noflip */
 
text-align: left;
 
/* @noflip */
 
margin-right: 0.5em;
 
width: 6em;
 
}
 
 
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
 
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
 
.collapseButton {
 
/* @noflip */
 
float: right;
 
font-weight: normal;
 
/* @noflip */
 
margin-left: 0.5em;
 
/* @noflip */
 
text-align: right;
 
width: auto;
 
}
 
/* In navboxes, the show/hide button balances the v·d·e links
 
from [[Template:Navbar]], so they need to be the same width. */
 
.navbox .collapseButton {
 
width: 6em;
 
}
 
 
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
 
.mw-collapsible-toggle {
 
font-weight: normal;
 
/* @noflip */
 
text-align: right;
 
}
 
.navbox .mw-collapsible-toggle {
 
width: 6em;
 
}
 
 
/* Style for horizontal lists (separator following item).
 
Note: hlist formatting will break if the resulting HTML lacks a breakable character
 
between list items. This happens when the following conditions are true:
 
1) The list is made using wiki markup (where HTML is built by parser.php)
 
2) HTMLTidy is disabled or unavailable (such as on Special: pages)
 
In such cases, building lists with .hlist using HTML instead of wiki markup
 
will work around this problem. See also [[Bugzilla:39617]].
 
IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
 
Last updated: January 24, 2013
 
@source mediawiki.org/wiki/Snippets/Horizontal_lists
 
@maintainer: [[User:Edokter]]
 
@revision: 3.1
 
*/
 
.skin-monobook .hlist dl,
 
.skin-modern .hlist dl,
 
.skin-vector .hlist dl {
 
line-height: 1.5em;
 
}
 
.hlist dl,
 
.hlist ol,
 
.hlist ul {
 
margin: 0;
 
padding: 0;
 
}
 
/* Display list items inline and make them nowrap */
 
.hlist dd,
 
.hlist dt,
 
.hlist li {
 
margin: 0;
 
display: inline;
 
white-space: nowrap;
 
}
 
/* Allow wrapping for list items (in tight spaces) */
 
.hlist.hwrap dd,
 
.hlist.hwrap dt,
 
.hlist.hwrap li {
 
white-space: normal;
 
}
 
/* Display nested lists inline and allow them to wrap */
 
.hlist dl dl, .hlist dl ol, .hlist dl ul,
 
.hlist ol dl, .hlist ol ol, .hlist ol ul,
 
.hlist ul dl, .hlist ul ol, .hlist ul ul {
 
display: inline;
 
white-space: normal;
 
}
 
/* Generate interpuncts */
 
.hlist dt:after {
 
content: ":";
 
}
 
.hlist dd:after,
 
.hlist li:after {
 
content: " ·";
 
font-weight: bold;
 
}
 
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
 
.hlist li:last-child:after {
 
content: none;
 
}
 
/* For IE8 */
 
.hlist dd.hlist-last-child:after,
 
.hlist dt.hlist-last-child:after,
 
.hlist li.hlist-last-child:after {
 
content: none;
 
}
 
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
 
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
 
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
 
content: "(";
 
font-weight: normal;
 
}
 
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
 
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
 
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
 
content: ")";
 
font-weight: normal;
 
}
 
/* For IE8 */
 
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
 
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
 
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
 
content: ")";
 
font-weight: normal;
 
}
 
/* Put numbers in front of ordered list items */
 
.hlist.hnum ol {
 
counter-reset: list-item;
 
}
 
.hlist.hnum ol > li {
 
counter-increment: list-item;
 
}
 
.hlist.hnum ol > li:before {
 
content: counter(list-item) " ";
 
}
 
.hlist.hnum dd ol > li:first-child:before,
 
.hlist.hnum dt ol > li:first-child:before,
 
.hlist.hnum li ol > li:first-child:before {
 
content: "(" counter(list-item) " ";
 
}
 
 
/* *************************** */
 
 
/* Infobox template style */
 
.infobox {
 
border: 1px solid #aaa;
 
background-color: #f9f9f9;
 
color: black;
 
/* @noflip */
 
margin: 0.5em 0 0.5em 1em;
 
padding: 0.2em;
 
/* @noflip */
 
float: right;
 
/* @noflip */
 
clear: right;
 
/* @noflip */
 
text-align: left;
 
font-size: 88%;
 
line-height: 1.5em;
 
}
 
.infobox caption {
 
font-size: 125%;
 
font-weight: bold;
 
}
 
.infobox td,
 
.infobox th {
 
vertical-align: top;
 
}
 
.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;
 
}
 
 
.infobox.sisterproject {
 
width: 20em;
 
font-size: 90%;
 
}
 
 
.infobox.standard-talk {
 
border: 1px solid #c0c090;
 
background-color: #f8eaba;
 
}
 
.infobox.standard-talk.bordered td,
 
.infobox.standard-talk.bordered th {
 
border: 1px solid #c0c090;
 
}
 
 
/* styles for bordered infobox with merged rows */
 
.infobox.bordered .mergedtoprow td,
 
.infobox.bordered .mergedtoprow th {
 
border: 0;
 
border-top: 1px solid #aaa;
 
/* @noflip */
 
border-right: 1px solid #aaa;
 
}
 
 
.infobox.bordered .mergedrow td,
 
.infobox.bordered .mergedrow th {
 
border: 0;
 
/* @noflip */
 
border-right: 1px solid #aaa;
 
}
 
 
/* **************************
 
 
/* Turn off https:// padlock icon */
 
 
div#content a.external[href ^="https://"] {
 
background: url(https://upload.wikimedia.org/wikipedia/commons/4/44/Icon_External_Link.svg) center right no-repeat;
 
}
 
 
/* *************************** */
 

Latest revision as of 19:45, 17 April 2021

With permission of Ken Stone, the author.