|
|
(3 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| | /* CSS placed here will be applied to all skins */ |
| | /* Douglas attempts to add more space between paragraphs */ |
| | p {line-height: 1.5em} |
| | ul li { line-height: 1.5em } |
|
| |
|
| /***** CSS placed here will be applied to all skins on the entire site. *****/ | | /* Site width */ |
| @font-face {
| | body { |
| font-family: "SonicTitle";
| | position: relative; |
| src: url("https://vignette.wikia.nocookie.net/sonicfanon/images/1/18/NiseSonic.jpeg");
| | margin-left: auto !important; |
| }
| | margin-right: auto !important; |
| /* Mark redirects in Special:Allpages and Special:Watchlist */
| | max-width: 90%; |
| .allpagesredirect {
| | background-size: 100% 5em; |
| font-style: italic;
| | } |
| }
| |
| .allpagesredirect:after {
| |
| color: #808080; content: " (redirect)"
| |
| }
| |
| .watchlistredir {
| |
| font-style: italic;
| |
| }
| |
| | |
| /* Giving headers and TOC a little extra space */
| |
| h2 {
| |
| margin-top: 20px;
| |
| }
| |
| .toc {
| |
| margin-top: 20px;
| |
| }
| |
| | |
| /* Tagline */
| |
| #siteSub {
| |
| display: inline;
| |
| font-size: 90%;
| |
| font-style: italic;
| |
| }
| |
| /* 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;
| |
| }
| |
| .infobox td,
| |
| .infobox th {
| |
| vertical-align: top;
| |
| }
| |
| .infobox caption {
| |
| font-size: larger;
| |
| margin-left: inherit;
| |
| }
| |
| .infobox.bordered {
| |
| border-collapse: collapse;
| |
| }
| |
| .infobox.bordered td,
| |
| .infobox.bordered th {
| |
| border: 1px solid #aaaaaa;
| |
| }
| |
| .infobox.bordered .borderless td,
| |
| .infobox.bordered .borderless th {
| |
| border: 0;
| |
| }
| |
| | |
| /* Forum formatting (by -Algorithm & -Splaka) */
| |
| .forumheader {
| |
| border: 1px solid #aaa;
| |
| 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;
| |
| }
| |
| | |
| /* Recent changes byte indicators */
| |
| .mw-plusminus-pos {
| |
| color: #006500;
| |
| }
| |
| .mw-plusminus-neg {
| |
| color: #8B0000;
| |
| }
| |
| | |
| /* Image frame fix */
| |
| div.tright, div.tleft {
| |
| border: 1px solid silver;
| |
| }
| |
| | |
| div.thumbinner {
| |
| background: inherit;
| |
| border: none;
| |
| color: inherit;
| |
| }
| |
| #article div.thumb {
| |
| color:inherit;
| |
| }
| |
| | |
| /* === Babel === */
| |
| | |
| div.babelbox {
| |
| float: right;
| |
| margin-left: 1em;
| |
| 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;
| |
| }
| |
| | |
| /* Default skin for navigation boxes */
| |
| table.navbox { /* Navbox container style */
| |
| border: 1px solid #aaa;
| |
| width: 100%;
| |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| }
| |
| table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
| |
| margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
| |
| }
| |
| .navbox-title,
| |
| .navbox-abovebelow,
| |
| table.navbox th {
| |
| text-align: center; /* Title and above/below styles */
| |
| padding-left: 1em;
| |
| padding-right: 1em;
| |
| }
| |
| .navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| text-align: right;
| |
| font-weight: bold;
| |
| padding-left: 1em;
| |
| padding-right: 1em;
| |
| }
| |
| .navbox, .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| }
| |
| .navbox-list {
| |
| border-color: #fdfdfd; /* Must match background color */
| |
| }
| |
| .navbox-title,
| |
| table.navbox th {
| |
| background: #ccccff; /* Level 1 color */
| |
| }
| |
| .navbox-abovebelow,
| |
| .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 */
| |
| }
| |
|
| |
| .collapseButton { /* 'show'/'hide' buttons created dynamically */
| |
| float: right; /* by the CollapsibleTables javascript in */
| |
| font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */
| |
| text-align: right; /* so they can be customised. */
| |
| width: auto;
| |
| cursor: pointer;
| |
| font-weight: bold;
| |
| }
| |
| .navbox .collapseButton { /* In navboxes, the show/hide button balances */
| |
| width: 6em; /* the vde links from [[Template:Tnavbar]], */
| |
| } /* so they need to be the same width. */
| |
| | |
| /*Code for wikitable class*/
| |
| table.wikitable,
| |
| table.prettytable {
| |
| margin: 1em 1em 1em 0;
| |
| background: #f9f9f9;
| |
| border: 1px #aaa solid;
| |
| border-collapse: collapse;
| |
| }
| |
| .wikitable th, .wikitable td,
| |
| .prettytable th, .prettytable td {
| |
| border: 1px #aaa solid;
| |
| padding: 0.2em;
| |
| }
| |
| .wikitable th,
| |
| .prettytable th {
| |
| background: #f2f2f2;
| |
| text-align: center;
| |
| }
| |
| .wikitable caption,
| |
| .prettytable caption {
| |
| margin-left: inherit;
| |
| margin-right: inherit;
| |
| font-weight: bold;
| |
| }
| |
| | |
| /* TabView extension */
| |
| | |
| /*set the base backcolor of the 'off' tabs */
| |
| .yui-navset .yui-nav li
| |
| {
| |
| background-color: #707070;
| |
| padding-left: 10px;
| |
| padding-right: 10px;
| |
| -moz-border-radius-topleft: 0.6em;
| |
| color:#FFFFFF;
| |
| border-bottom:3px;
| |
| }
| |
| | |
| /*set the background color of the content and the 'on' tab the same*/
| |
| .yui-content, .yui-navset .yui-nav li.selected
| |
| {
| |
| background-color: #E7F2FF;
| |
| -moz-border-radius-topleft: 0.6em;
| |
| border-bottom:3px;
| |
| }
| |
| | |
| | |
| /** style the 'on' tab **/
| |
| .yui-navset .yui-nav .selected {
| |
| border-style: solid;
| |
| border-width: 2px 0 0 0;
| |
| border-top-color: #2F5DBA;
| |
| border-bottom:3px;
| |
| -moz-border-radius-topleft: 0.6em;
| |
| }
| |
| | |
| | |
| /* keep the side padding, but enforce no gap between content area and tabs */
| |
| .yui-content {
| |
| margin-top: 0;
| |
| padding-top: 0.25em;
| |
| padding-left: 0.5em;
| |
| padding-right: 0.5em;
| |
| }
| |
| .collapseButton {
| |
| font-weight: bold;
| |
| }
| |
| .hidden {
| |
| display: none;
| |
| }
| |
| | |
| /*Functional stuff*/
| |
| .documentation {
| |
| border: solid 1px #CCC;
| |
| padding: 15px;
| |
| background: white;
| |
| }
| |
| .managementtemplate {
| |
| border: solid 1px #CCC;
| |
| padding: 15px;
| |
| background: white;
| |
| }
| |
| .metadata {
| |
| display: none;
| |
| }
| |
| | |
| /*Patroller stuff*/
| |
| a[href*="rcid="] {
| |
| color:red !important;
| |
| }
| |
| [class*="ns2001"] .unpatrolled {
| |
| display:none;
| |
| }
| |
| | |
| /*Bot stuff*/
| |
| .page-Message_Wall_Christobor #Wall {
| |
| display: none !important;
| |
| }
| |
| .badge svg {
| |
| display: none !important;
| |
| }
| |
| .badge {
| |
| background:url('https://images.wikia.nocookie.net/sonicfanon/images/f/f8/Cyan_Chaos_Emerald.png');
| |
| background-size:18px;
| |
| }
| |
| | |
| /********************************************************************************
| |
| Disable Bot Related Editing
| |
| ********************************************************************************/
| |
| .page-Message_Wall_SFWBOT .Wall.Board {
| |
| display: none;
| |
| }
| |
| .page-Message_Wall_Emerl_exe .Wall.Board {
| |
| display: none;
| |
| }
| |
| .page-Message_Wall_Maid-chan_sh .Wall.Board {
| |
| display: none;
| |
| }
| |
| .page-User_SFWBOT_WebLog .ca-edit {
| |
| display: none; | |
| }
| |
| .page-Message_Wall_AuroratheCat .Wall.Board {
| |
| display: none;
| |
| }
| |
| .page-Message_Wall_Mia_the_Hedgie .Wall.Board {
| |
| display: none;
| |
| }
| |
| | |
| .wds-community-header {
| |
| border: 1px solid #bcc2c4;
| |
| } | |