Congratulations /k/! | ||
Winners of the 2024 4chan Autumn Babby Cup |
MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, 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: Press Ctrl-F5.
/* 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;
}
/* 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;
}
/* Brackets */
.bracket {
font-size: 11px;
background: white;
}
.bracket-column {
float: left;
position: relative;
}
.bracket-header {
border-radius: 2px;
border: 1px solid #aaa;
padding: 2px 0 2px 0;
position: relative;
left: 0;
right: 0;
line-height:18px;
margin-bottom: 20px;
text-align: center;
background: #ebebeb;
}
.bracket-cell-r1 {
height: 36px;
}
.bracket-cell-r2 {
height: 72px;
}
.bracket-cell-r3 {
height: 144px;
}
.bracket-cell-r4 {
height: 288px;
}
.bracket-cell-r5 {
height: 576px;
}
.bracket-cell-r6 {
height: 1152px;
}
.bracket-cell-r7 {
height: 2304px;
}
.bracket-cell-r1, .bracket-cell-r2, .bracket-cell-r3, .bracket-cell-r4, .bracket-cell-r5, .bracket-cell-r6, .bracket-cell-r7 {
position: relative;
}
.bracket-team-top, .bracket-team-bottom {
border-radius:0 0 2px 2px;
border:solid #aaa 1px;
position:absolute;
padding: 1px;
min-height:20px;
line-height:18px;
background: #f2f2f2;
left:0;
right:0;
}
.bracket-team-top {
bottom:0;
border-radius:2px 2px 0 0;
}
.bracket-score {
text-align:center;
background:#ebebeb;
border-left:1px solid #aaa;
position:absolute;
line-height:22px;
right:0;
top:0;
bottom:0;
}
.bracket-team-bottom .bracket-score {
border-bottom-right-radius: 2px;
}
.bracket-team-top .bracket-score {
border-top-right-radius: 2px;
}
div.ib-sr { border-bottom:1px solid #aaa; }
div.ib-sr:last-child { border-bottom:0px hidden; }
div.ib-sr div {
display:inline-block;
padding:1px 0px;
border-left:1px solid #aaa;
text-align:center;
}
div.ib-sr div#title{
display:inline-block;
padding:1px 0px 1px 1px;
border:none;
width:83px;
text-align:left;
}
div.ib-sr div#lvl1 { width:66%; }
div.ib-sr div#lvl2 { width:33%; }
div.ib-sr div#lvl3 { width:22%; }
div.ib-sr div#lvl4 { width:16.3%; }
.tournamentbox {
background: #000 url('//implyingrigged.info/backgrounds/fans.jpg') center top;
border: 1px solid #8a8;
background-size:966px 600px;
margin-top: 0.0em;
padding: 0.0em;
}
.rigged-spoiler {
background-color:black;
color:black;
}
.rigged-spoiler:hover {
background-color:black;
color:white;
}
.badgeicon-med-withborder {
display: inline-block;
border: 1px solid #0000;
-webkit-filter: drop-shadow(1px 0px 0px #00000040) drop-shadow(-1px 0px 0px #00000040) drop-shadow(0px 1px 0px #00000040) drop-shadow(0px -1px 0px #00000040);
filter: drop-shadow(1px 0px 0px #00000040) drop-shadow(-1px 0px 0px #00000040) drop-shadow(0px 1px 0px #00000040) drop-shadow(0px -1px 0px #00000040);
}
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }