Main Page
Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "Something") |
(something) |
||
Line 1: | Line 1: | ||
− | + | /* CSS placed here will be applied to all skins */ | |
+ | /* Added & removed bytes coloring in Special:RecentChanges */ | ||
+ | .mw-plusminus-pos { color: #006400; } | ||
+ | .mw-plusminus-neg { color: #FF0000; } | ||
+ | |||
+ | /* Redirects on Special:AllPages and Special:Watchlist */ | ||
+ | .allpagesredirect, .watchlistredir { | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | /* If the link is a link to a ShoutWiki site, hide the external link icon */ | ||
+ | a[href *="shoutwiki.com"].external { | ||
+ | background: none !important; | ||
+ | padding-right: 0 !important; | ||
+ | } | ||
+ | |||
+ | /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]] & [[mw:Manual:NavFrame]]. */ | ||
+ | div.Boxmerge, | ||
+ | div.NavFrame { | ||
+ | margin: 0px; | ||
+ | padding: 4px; | ||
+ | border: 1px solid #aaa; | ||
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | div.Boxmerge div.NavFrame { | ||
+ | border-style: none; | ||
+ | border-style: hidden; | ||
+ | } | ||
+ | div.NavFrame + div.NavFrame { | ||
+ | border-top-style: none; | ||
+ | border-top-style: hidden; | ||
+ | } | ||
+ | div.NavPic { | ||
+ | background-color: #fff; | ||
+ | margin: 0px; | ||
+ | padding: 2px; | ||
+ | float: left; | ||
+ | } | ||
+ | div.NavFrame div.NavHead { | ||
+ | height: 1.6em; | ||
+ | font-weight: bold; | ||
+ | background-color: #ccf; | ||
+ | position: relative; | ||
+ | } | ||
+ | div.NavFrame p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavFrame div.NavContent { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavFrame div.NavContent p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavEnd { | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | line-height: 1px; | ||
+ | clear: both; | ||
+ | } | ||
+ | a.NavToggle { | ||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | right: 3px; | ||
+ | font-weight: normal; | ||
+ | font-size: smaller; | ||
+ | } | ||
+ | |||
+ | /* make list of references smaller */ | ||
+ | .references-small { font-size: 0.85em; } | ||
+ | |||
+ | /* wikitable/prettytable class for skinning normal tables */ | ||
+ | table.wikitable, | ||
+ | table.prettytable { | ||
+ | margin: 1em 1em 1em 0; | ||
+ | background: #f9f9f9; | ||
+ | border: 1px #aaa solid; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, table.wikitable td, | ||
+ | table.prettytable th, table.prettytable td { | ||
+ | border: 1px #aaa solid; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, | ||
+ | table.prettytable th { | ||
+ | background: #f2f2f2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.wikitable caption, | ||
+ | table.prettytable caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | /* Ambox CSS styles - see http://en.wikipedia.org/wiki/Wikipedia:Ambox_CSS_classes */ | ||
+ | /* Article message box styles */ | ||
+ | table.ambox { /* 10% = Will not overlap with other elements */ | ||
+ | margin: -1px 10%; /* -1px = Single border between stacked boxes in all browsers */ | ||
+ | border: 1px solid #AAA; | ||
+ | border-left: 10px solid #1E90FF; /* Default "notice" blue */ | ||
+ | background: #FBFBFB; | ||
+ | } | ||
+ | th.ambox-text, td.ambox-text { /* The message body cell(s) */ | ||
+ | border: none; | ||
+ | padding: 0.25em 0.5em; /* 0.5em left/right */ | ||
+ | width: 100%; /* Make all templates the same width regardless of text length */ | ||
+ | } | ||
+ | td.ambox-image { /* The left image cell */ | ||
+ | border: none; | ||
+ | padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | ||
+ | text-align: center; | ||
+ | } | ||
+ | td.ambox-imageright { /* The right image cell */ | ||
+ | border: none; | ||
+ | padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.ambox-notice { | ||
+ | border-left: 10px solid #1E90FF; /* Blue */ | ||
+ | } | ||
+ | table.ambox-speedy { | ||
+ | border-left: 10px solid #B22222; /* Red */ | ||
+ | background: #FEE; /* Pink */ | ||
+ | } | ||
+ | table.ambox-delete, | ||
+ | table.ambox-serious { | ||
+ | border-left: 10px solid #B22222; /* Red */ | ||
+ | } | ||
+ | table.ambox-content { | ||
+ | border-left: 10px solid #F28500; /* Orange */ | ||
+ | } | ||
+ | table.ambox-style { | ||
+ | border-left: 10px solid #F4C430; /* Yellow */ | ||
+ | } | ||
+ | table.ambox-move, | ||
+ | table.ambox-merge { | ||
+ | border-left: 10px solid #9932CC; /* Purple */ | ||
+ | } | ||
+ | table.ambox-protection { | ||
+ | border-left: 10px solid #BBA; /* Gray-gold */ | ||
+ | } | ||
+ | table.ambox-green { /* Green */ | ||
+ | border-left: 10px solid #228b22; | ||
+ | } | ||
+ | table.ambox.ambox-mini { /* Small floating box variant */ | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | margin: 0 0 0 1em; | ||
+ | width: 25%; | ||
+ | } | ||
+ | @media print { /* Do not print article message boxes */ | ||
+ | .ambox { | ||
+ | display: none; | ||
+ | } | ||
+ | } |
Revision as of 05:27, 14 February 2016
/* CSS placed here will be applied to all skins */ /* Added & removed bytes coloring in Special:RecentChanges */ .mw-plusminus-pos { color: #006400; } .mw-plusminus-neg { color: #FF0000; } /* Redirects on Special:AllPages and Special:Watchlist */ .allpagesredirect, .watchlistredir { font-style: italic; } /* If the link is a link to a ShoutWiki site, hide the external link icon */ a[href *="shoutwiki.com"].external { background: none !important; padding-right: 0 !important; } /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]] & [[mw:Manual:NavFrame]]. */ div.Boxmerge, div.NavFrame { margin: 0px; padding: 4px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0px; right: 3px; font-weight: normal; font-size: smaller; } /* make list of references smaller */ .references-small { font-size: 0.85em; } /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } /* Ambox CSS styles - see http://en.wikipedia.org/wiki/Wikipedia:Ambox_CSS_classes */ /* Article message box styles */ table.ambox { /* 10% = Will not overlap with other elements */ margin: -1px 10%; /* -1px = Single border between stacked boxes in all browsers */ border: 1px solid #AAA; border-left: 10px solid #1E90FF; /* Default "notice" blue */ background: #FBFBFB; } th.ambox-text, td.ambox-text { /* The message body cell(s) */ border: none; padding: 0.25em 0.5em; /* 0.5em left/right */ width: 100%; /* Make all templates the same width regardless of text length */ } td.ambox-image { /* The left image cell */ border: none; padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ text-align: center; } td.ambox-imageright { /* The right image cell */ border: none; padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ text-align: center; } table.ambox-notice { border-left: 10px solid #1E90FF; /* Blue */ } table.ambox-speedy { border-left: 10px solid #B22222; /* Red */ background: #FEE; /* Pink */ } table.ambox-delete, table.ambox-serious { border-left: 10px solid #B22222; /* Red */ } table.ambox-content { border-left: 10px solid #F28500; /* Orange */ } table.ambox-style { border-left: 10px solid #F4C430; /* Yellow */ } table.ambox-move, table.ambox-merge { border-left: 10px solid #9932CC; /* Purple */ } table.ambox-protection { border-left: 10px solid #BBA; /* Gray-gold */ } table.ambox-green { /* Green */ border-left: 10px solid #228b22; } table.ambox.ambox-mini { /* Small floating box variant */ float: right; clear: right; margin: 0 0 0 1em; width: 25%; } @media print { /* Do not print article message boxes */ .ambox { display: none; } }