MediaWiki:Common.css
From IDWVerse Wiki
Jump to navigationJump to searchNote: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
/* ==================== STYLES FOR << >> BUTTONS ==========================*/
.tti_buttonlink a{
font-size:185%;
border:solid 3px #aaa;
display:block;
background-color:#eee;
border-radius:5pt;
-moz-border-radius:5pt;
-webkit-border-radius:5pt;
padding: .1em .1em .25em .1em;
line-height:.5em;
color:#666;
border-color:#ccc #999 #999 #ccc;
}
.tti_buttonlink a:hover
{
background-color:#f9f9f9;
text-decoration:none;
border:solid 2px #999;
margin:1px;
}
.tti_buttonlink a:active
{
color:#600;
}
.tt1_secondarynav .tti_buttonlink a
{
font-size:150%;
border-width:2px;
}
.tt1_secondarynav .tti_buttonlink a:hover
{
border:solid 1px #999;
margin:1px;
}
/* "Chapter" list */
.tt1_chapters {
background-color:#F9F9F9;
border:1px solid #AAAAAA;
font-size:95%;
padding:5px 5px 2px 5px;
margin-bottom:.5em;
border-radius:.5em;
-moz-border-radius:.5em;
-webkit-border-radius:.5em;
border-spacing: 0;
}
.tt1_chapters tr.tt1_chapters-header {
background-color:#6699CC;
margin-bottom:2em;
}
.tt1_chapters tr.tt1_chapters-header th.tt1_chapters-header-title{
padding:0 .5em;
}
.tt1_chapters tr.tt1_chapters-header th.tt1_chapters-header-title,
.tt1_chapters tr.tt1_chapters-header th.tt1_chapters-header-title a{
color:#ffffff;
}
.tt1_chapters .tti_buttonlink a{
display:table;
padding-left:.2em;
padding-right:.2em;
}
.tt1_chapters .tt1-navigation_franchise-next a {
float: right
}
.tt1_chapters td.tt1_chapters-contents{
text-align:center;
padding:4px;
}
.tt1_chapters td.tt1_chapters-contents ul{
margin:0;
}
.tt1_chapters td.tt1_chapters-contents ul > li{
display:inline;
}
.tt1_chapters td.tt1_chapters-contents div.list-header{
clear:left;
font-weight:400;
display:inline;
padding-left:.5em;
padding-right:.5em;
margin-right:.5em;
background-color:#ddd;
}
.tt1_chapters td.tt1_chapters-contents div.list-header + ul{
display:inline;
}
.tt1_chapters tr td ul > li:before{
content:'|';
display:inline-block;
padding-left:.1em;
padding-right:.35em;
}
.tt1_chapters tr td ul > li:first-child:before {
content:'';
display:none;
}
/* Chapter sub-styles */
.tt1_chapters tr.tt1_chapters-header.style2 {
background-color:#aaa;
}
.tt1_chapters tr.tt1_chapters-header.style3 {
background-color:#e7d492;
}
.tt1_chapters tr.tt1_chapters-header.style3 th.tt1_chapters-header-title,
.tt1_chapters tr.tt1_chapters-header.style3 th.tt1_chapters-header-title a
{
color:#000000;
}
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}