|
|
Linje 1: |
Linje 1: |
| /** CSS placed here will be applied to all skins */ | | /* |
| | See also: [[MediaWiki:Monobook.css]] |
|
| |
|
| /* | | Tools: [http://www.wikia.com/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=18000 reload cache] | [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.wikia.com%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss%26smaxage%3D18000&usermedium=all check w3c validation] |
|
| |
|
| <pre><nowiki>*/ | | <pre><nowiki>*/ |
|
| |
|
| /* Puts a redirect indicator before redirects in Special:Allpages -Spl */ | | /* === Babel === */ |
| .allpagesredirect { font-style: italic; } | | |
| .allpagesredirect a { background: url(/images/5/5c/Allpagesredirect.gif) center left no-repeat; padding-left: 13px; } | | div.babelbox { |
|
| | float: right; |
| /* Class to force links to be underlined --Paulgb */
| | margin-left: 1em; |
| /* To use: <nowiki><span class="underlinelink">[[link]]</span></nowiki> <!-- Ignore the nowiki --> */ | | margin-bottom: 0.5em; |
| | width: 246px; |
| | border: 1px solid #99B3FF; |
| | padding: 2px 0 2px 0; |
| | } |
| | .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 { |
| | margin: 2px 4px 2px 4px; /* t, l, b, r */ |
| | width:238px; |
| | border-collapse: collapse; |
| | } |
| | td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 { |
| | text-align:center; |
| | font-size:14pt; |
| | width:45px; |
| | height:45px; |
| | } |
| | td.lang-descriptionN, td.lang-description0, td.lang-description1, |
| | td.lang-description2, td.lang-description3 { |
| | font-size:8pt; |
| | padding:4pt; |
| | line-height:1.25em |
| | } |
| | |
| | .lang-block0 { |
| | border:1px solid #FFB3B3; |
| | } |
| | td.lang-code0 { |
| | background-color: #FFB3B3; |
| | color: black; |
| | } |
| | td.lang-description0 { |
| | background-color: #FFE0E8; |
| | color: black; |
| | } |
| | |
| | .lang-block1, .lang-block2, .lang-block3 { |
| | border:1px solid #99B3FF; |
| | } |
| | td.lang-code1, td.lang-code2, td.lang-code3 { |
| | background-color: #99B3FF; |
| | color: black; |
| | } |
| | td.lang-description1, td.lang-description2, td.lang-description3 { |
| | background-color: #E0E8FF; |
| | color: black; |
| | } |
| | |
| | .lang-blockN { |
| | border:1px solid #6EF7A7; |
| | } |
| | td.lang-codeN { |
| | background-color: #6EF7A7; |
| | color: black; |
| | } |
| | td.lang-descriptionN { |
| | background-color: #C5FCDC; |
| | color: black; |
| | } |
| | |
| | /* === Forum formatting -Algorithm & -Splaka === */ |
| | |
| | .forumheader { |
| | border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; |
| | } |
| | .forumlist td.forum_edited a { |
| | color: black; text-decoration: none |
| | } |
| | .forumlist td.forum_title a { |
| | padding-left: 20px; |
| | } |
| | .forumlist td.forum_title a.forum_new { |
| | font-weight: bold; background: url(/images/4/4e/Forum_new.gif) center left no-repeat; padding-left: 20px; |
| | } |
| | .forumlist td.forum_title a.forum_new:visited { |
| | font-weight: normal; background: none; padding-left: 20px; |
| | } |
| | .forumlist th.forum_title { |
| | padding-left: 20px; |
| | } |
| | |
| | /* === underline classes === */ |
| | |
| .underlinelink a{ text-decoration: underline ! important; } | | .underlinelink a{ text-decoration: underline ! important; } |
|
| |
| /* Class to force links to be not underlined - See .underlinelink for use -Paulgb */
| |
| .nounderlinelink a{ text-decoration: none ! important; } | | .nounderlinelink a{ text-decoration: none ! important; } |
|
| | |
| /* For Zork related pages. See [[Template:Zorkheader]]. -Paulgb */ | | /* font class for 'click here' */ |
| table.zorkclass td { padding: 3px; }
| | |
| .zorkclass { background-color: #000000; color: #FFFFFF; }
| | .clickhere a, .clickhere a:visited { |
| .zorkclass a { color: #FFFFCC; } | | color: #3366BB !important |
| .zorkclass a:visited { color: #FFFFCC; } | |
| .zorkclass a:hover { color: #FFFFFF; }
| |
| .zorkclass a.new { color: #FF6666; }
| |
| .zorkclass ul { list-style-type: circle; color:#FFFFCC; list-style-image: url(/images/d/d4/Zorkbullet.gif); }
| |
| .zorkcmd { color: #FFFFCC; }
| |
| .zorkclue tt:hover { color:#FFFFFF; }
| |
| .zorkclass * a.extiw { color: #CCFFCC !important; }
| |
| .zorkclass * a.external { color: #CCFFCC !important; }
| |
|
| |
| /* This makes vfp headers automatically clear the floating image -Paulgb */
| |
| #headclear h1 { clear: both; }
| |
| #headclear h2 { clear: both; }
| |
| #headclear div.editsection { clear: both; position: relative; top: 2em;}
| |
|
| |
| /* wikitable/prettytable class for skinning normal tables -Keitei */
| |
| table.wikitable, table.prettytable {
| |
| margin: 1em 1em 1em 0;
| |
| background: #f9f9f9;
| |
| border: 1px #aaaaaa solid;
| |
| border-collapse: collapse;
| |
| }
| |
| table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td {
| |
| border: 1px #aaaaaa solid;
| |
| padding: 0.2em;
| |
| }
| |
| table.wikitable th, table.prettytable th {
| |
| background: #f2f2f2;
| |
| text-align: center;
| |
| } | | } |
| table.wikitable caption, table.prettytable caption {
| | .clickhere a:hover, .clickhere a:active { |
| margin-left: inherit; | | color: #268CFE !important |
| margin-right: inherit;
| |
| } | | } |
|
| |
| /* stealth external links almost like normal links (remove if abused) -Spl */
| |
| #bodyContent .stealthexternallink a { background: none; padding: 0; color: #002bb8; }
| |
| #bodyContent .stealthexternallink a.new { color: #CC2200 !important; }
| |
| #bodyContent .stealthexternallink a:visited { color: #5a3696; }
| |
| #bodyContent .stealthexternallink a:active { color: #faa700; }
| |
| #bodyContent .stealthexternallink a:hover { text-decoration: underline; }
| |
|
| |
|
|
| | /* === class for task boxes === */ |
| /* stealth new links test per [[Forum:Deliberate_Red_Links]] -Spl */ | | .task { |
| /* note, color should be #ba0000 per /skins3/uncyclopedia/main.css?f=3 but #cc2200 in practice? */
| | border: 1px solid #585490; |
| .new a { color:#cc2200; } | | background: #f8faff; |
| .new a:visited { color:#a55858; }
| | padding:.5em; } |
|
| |
| /* these allow 'hoverable' clickable buttons. All they do is change the ridge from outset to inset -Spl */
| |
| /* Note: hover on non-links doesn't work in IE. Be sure not to define ridge-style in the span */
| |
| /* example: <nowiki><span class="nounderlinelink">[[Main_Page|<span class="buttonlink" style="border-width: 2px; border-color: #999999;background-color:#bbbbbb;padding:1px 5px 1px 5px;color:black;font-size:110%">Main Page</span>]]</span></nowiki> */
| |
| span.buttonlink { border-style: outset; }
| |
| span.buttonlink:active { border-style: inset; }
| |
|
| |
| /* Make sysop nicks bold in recent changes -Spl */
| |
| .special li a[title="Bruger:Lhademmor"],
| |
| .special li a[title="User:Sinspawn"] { font-weight: bold }
| |
|
| |
|
| /* hide manual edit links class="editlink" in certain implementations class=noeditlink" */ | | /* === misc === */ |
| .noeditlink .editlink { display: none } | | li #credits { white-space: normal; } |
| | .headbare h1, .headbare h2 { border-bottom: none; } |
|
| |
|
| /* TOC style to match en.wp */
| |
| #toc h2, .toc h2 { display: inline; border: none; padding: 0; font-size: 100%; font-weight: bold }
| |
| #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center }
| |
| #toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0; padding-left: 0; text-align: left }
| |
| #toc ul ul, .toc ul ul { margin: 0 0 0 2em }
| |
| #toc .toctoggle, .toc .toctoggle { font-size: 94% }
| |
|
| |
|
| /*</nowiki></pre>*/ | | /*</nowiki></pre>*/ |