MediaWiki:Common.css: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 62: | Line 62: | ||
} |
} |
||
/* Content below imported from The Vault - http://www.falloutwiki.com */ |
|||
/* ################################################## */ |
/* ################################################## */ |
||
Line 68: | Line 67: | ||
/* ################################################## */ |
/* ################################################## */ |
||
=== Forum formatting -Algorithm & -Splaka === |
|||
/* Remove "Discussion" tab for forum pages */ |
|||
*/ |
|||
body.ns-110 #ca-talk, |
|||
body.ns-111 #ca-addsection, |
|||
.forumheader { |
|||
body.ns-111 #ca-edit { |
|||
border: 1px solid #aaa; background-color: #f9f9f9; color: #000; margin-top: 1em; padding: 6px; |
|||
display: none; |
|||
} |
} |
||
.forumlist td.forum_edited a { |
|||
color: black; text-decoration: none |
|||
/* Overall style */ |
|||
.va-forum-header, |
|||
.va-forum-index, |
|||
.va-forum-search { |
|||
border: 1px solid #aaa; |
|||
box-shadow: 2px 2px 2px #AAA; |
|||
-moz-box-shadow: 2px 2px 2px #AAA; |
|||
-webkit-box-shadow: 2px 2px 2px #AAA; |
|||
} |
} |
||
.forumlist td.forum_title a { |
|||
padding-left: 20px; |
|||
.va-forum-index th, |
|||
.va-forum-search th { |
|||
/* Shared background; see top of page */ |
|||
border: 1px solid #000; |
|||
color: #FFF; |
|||
} |
} |
||
.forumlist td.forum_title a.forum_new { |
|||
font-weight: bold; background: url('http://images3.wikia.nocookie.net/central/images/4/4e/Forum_new.gif?1') center left no-repeat; padding-left: 20px; |
|||
.va-forum-header div, |
|||
.va-forum-index td, |
|||
.va-forum-search td { |
|||
background-color: #1F1F1F; |
|||
border: 1px solid #AAA; |
|||
vertical-align: top; |
|||
} |
} |
||
.forumlist td.forum_title a.forum_new:visited { |
|||
font-weight: normal; background: none; padding-left: 20px; |
|||
/* Header */ |
|||
.va-forum-header { |
|||
margin: 10px 0; |
|||
padding: 2px; |
|||
} |
} |
||
.forumlist th.forum_title { |
|||
padding-left: 20px; |
|||
.va-forum-header div { |
|||
padding: 5px; |
|||
} |
} |
||
/* Search */ |
|||
.va-forum-search { |
|||
float: right; |
|||
margin: 0 0 8px 5px; |
|||
text-align: center; |
|||
} |
|||
.va-forum-search td { |
|||
font-size: 11px; |
|||
padding: 5px; |
|||
} |
|||
/* Index */ |
|||
.va-forum-index th.forum_title { |
|||
padding-left: 9px; |
|||
text-align: left; |
|||
width: 70%; |
|||
} |
|||
.va-forum-index th.forum_edited { |
|||
width: 30%; |
|||
} |
|||
.va-forum-index th.va-forum-subheader { |
|||
background: #1F1F1F; |
|||
border: 1px solid #AAA; |
|||
color: #000; |
|||
padding-left: 9px; |
|||
text-align: left; |
|||
} |
|||
.va-forum-index td { |
|||
line-height: 16px; |
|||
} |
|||
.va-forum-index td.forum_edited { |
|||
font-size: 11px; |
|||
text-align: center; |
|||
} |
|||
.va-forum-index td.va-forum-footer { |
|||
background: #1F1F1F; |
|||
border: 1px solid #AAA; |
|||
} |
|||
.va-forum-index td.forum_title { |
|||
padding: 1px 2px 1px 3px; |
|||
} |
|||
.va-forum-index td.forum_title a:link, |
|||
.va-forum-index td.forum_title a:visited { |
|||
border-left: 3px solid #1F1F1F; |
|||
display: inline-block; |
|||
padding-left: 3px; |
|||
} |
|||
.va-forum-index td.forum_title a.forum_new:link { |
|||
border-left-color: #006722; |
|||
} |
|||
.va-forum-index td.forum_title a.forum_new:visited { |
|||
border-left-color: #1F1F1F; |
|||
} |
|||
.va-forum-index td.forum_title span.forum_author { |
|||
display: block; |
|||
font-size: 11px; |
|||
padding-left: 17px; |
|||
} |
|||
.va-forum-index td.forum_title span.forum_author a { |
|||
border: none; |
|||
padding: 0; |
|||
} |
|||
.va-forum-index span.forum_editor { |
|||
display: block; |
|||
font-size: 11px; |
|||
} |
|||
/* End content from The Vault */ |
Revision as of 17:42, 11 November 2013
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
#This CSS styling allows the spoiler templates to function properly
.spoiler, .spoiler a, .spoiler a.link, .spoiler a.new, .spoiler a.visited, .spoiler a.external:link, .spoiler a.hover { background: #ffffff; color:#ffffff; border:1px dotted gray; background: #ffffff; .spoiler:hover { background: #ffffff;}
}
/**
* 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;
}
/* Styling for Template:Quote */
blockquote.templatequote {
margin-top: 0;
}
blockquote.templatequote div.templatequotecite {
line-height: 1em;
/* @noflip */
text-align: left;
/* @noflip */
padding-left: 2em;
margin-top: 0;
}
blockquote.templatequote div.templatequotecite cite {
font-size: 85%;
}
/* ################################################## */
/* ### FORUMS ### */
/* ################################################## */
=== Forum formatting -Algorithm & -Splaka ===
*/
.forumheader {
border: 1px solid #aaa; background-color: #f9f9f9; color: #000; margin-top: 1em; padding: 6px;
}
.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('http://images3.wikia.nocookie.net/central/images/4/4e/Forum_new.gif?1') 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;
}