Welcome to the SaGa Wiki! We have moved off Fandom very recently, so things are still being set up around here. Please note that some images did not successfully transfer, and will need to be manually reuploaded or replaced.


Note: Keep in mind that once you have an account, you must wait one day and make 5 edits to become autoconfirmed. This allows you to skip questions while editing, to create new articles, and to upload images.

Difference between revisions of "MediaWiki:Common.css"

From SaGa Wiki
Jump to navigationJump to search
gkProtector Wind (talk)
(add)
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/***** CSS placed here will be applied to all skins on the entire site. *****/
/***** CSS placed here will be applied to all skins on the entire site. *****/


/* Mark redirects in Special:Allpages and Special:Watchlist */
div.tright, div.tleft {
.allpagesredirect {
    border: 1px solid saddlebrown;
}
 
.watchlistredir {
   font-style: italic;
   font-style: italic;
}
}
.allpagesredirect:after {
 
  color: #808080; content: " (redirect)"
.mw-plusminus-null, .autocomment, .autocomment a, .autocomment a:visited {
    color: #555;
}
 
.CategoryTreeEmptyBullet {
    color: #638c9c;
}
 
div.thumbinner {
    background:white;
}
}
.watchlistredir {
 
  font-style: italic;
div.tright, div.tleft {
    border: 1px solid saddlebrown !important;
}
 
.results-info {
    color: #222;
}
 
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
    color: #888 !important;
}
}


Line 19: Line 41:
   margin-top: 20px;
   margin-top: 20px;
}
}


/* Infobox template style */
/* Infobox template style */
.infobox {
.infobox {
  border: 1px solid #aaaaaa;
color: #000;
  background-color: #f9f9f9;
border: 1px solid #000;
  color: black;
background-color: #f9f9f9;
  margin-bottom: 0.5em;
margin: 0.5em 0 0.5em 1em;
  margin-left: 1em;
padding: 0.2em;
  padding: 0.2em;
float: right;
  float: right;
clear: right;
  clear: right;
}
}
.infobox td,
.infobox td, .infobox th {
.infobox th {
padding: 2px;
  vertical-align: top;
}
}
.infobox caption {
.infobox caption {
  font-size: larger;
font-size: larger;
  margin-left: inherit;
margin-left: inherit;
}
}
.infobox.bordered {
.infobox.bordered {
  border-collapse: collapse;
border-collapse: collapse;
}
}
.infobox.bordered td,
.infobox.bordered td,
.infobox.bordered th {
.infobox.bordered th {
  border: 1px solid #aaaaaa;
border: 1px solid #000;
}
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
.infobox.bordered .borderless th {
  border: 0;
border: 0;
}
}


/* Forum formatting (by -Algorithm & -Splaka) */
/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
.forumheader {
   border: 1px solid #aaa;
   border: 1px solid #555;
  background:white;
   margin-top: 1em;
   margin-top: 1em;
   padding: 12px;
   padding: 8px;
}
}
.forumlist td.forum_edited a {
.forumlist td.forum_edited a {
Line 77: Line 100:
   padding-left: 20px;
   padding-left: 20px;
}
}
 
/* Recent changes byte indicators */
/* Recent changes byte indicators */
.mw-plusminus-pos {
.mw-plusminus-pos {
Line 85: Line 108:
   color: #8B0000;
   color: #8B0000;
}
}
 
/* Image frame fix */
/* Image frame fix */
div.tright, div.tleft {
div.tright, div.tleft {
   border: 1px solid silver;
   border: 1px solid silver;
}
}
 
div.thumbinner {
div.thumbinner {
   background: inherit;
   background: inherit;
Line 99: Line 122:
   color:inherit;
   color:inherit;
}
}
 
/* === Babel === */
/* === Babel === */
 
div.babelbox {
div.babelbox {
   float: right;
   float: right;
Line 127: Line 150:
   line-height:1.25em;
   line-height:1.25em;
}
}
 
.lang-block0 {
.lang-block0 {
   border:1px solid #FFB3B3;
   border:1px solid #FFB3B3;
Line 139: Line 162:
   color: black;
   color: black;
}
}
 
.lang-block1,  .lang-block2, .lang-block3  {
.lang-block1,  .lang-block2, .lang-block3  {
   border:1px solid #99B3FF;
   border:1px solid #99B3FF;
Line 151: Line 174:
   color: black;
   color: black;
}
}
 
.lang-blockN {
.lang-blockN {
   border:1px solid #6EF7A7;
   border:1px solid #6EF7A7;
Line 163: Line 186:
   color: black;
   color: black;
}
}
table.collapsed tr.collapsible {
table.collapsed tr.collapsible {
         display: none;
         display: none;
}
}
 
.collapseButton {                /* 'show'/'hide' buttons created dynamically by the              */
.collapseButton {                 
         float: right;              /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
         float: right;               
         font-weight: normal;        /* are styled here so they can be customised.              */
         font-weight: normal;         
         text-align: right;
         text-align: right;
         width: auto;
         width: auto;
}
}


/* default skin for navigation boxes */
/* Black border & cell tables */
table.navbox {
table.table, table.table {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black}
    background-color: #f9f9f9;
table.table > * > tr > td, table.table > * > tr > th, table.table > * > tr > td, table.table > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em}
    border: 1px solid #aaa;
 
    clear: both;
/* Template:RS2IL */
    font-size: 90%;
.RS2IL {
    margin: 1em 0em 0em;
border-collapse: collapse;
    padding: 2px;
color: black;
    text-align: left;
}
    width: 100%;
.RS2IL th {
background-color: #D69249;
border: 1px solid black;
text-align: center;
}
.RS2IL td {
background-color: #FCEAA8;
border: 1px solid black;
}
.RS2IL tr td:first-child {
text-align: center;
}
.RS2IL tr td:last-child {
text-align: left;
}
}


table.navbox th {
/* [[Template:RS2Nav]] */
    background-color: #ccf;
.RS2Nav {
    padding-left: 1em;
border: 3px solid;
    padding-right: 1em;
border-collapse: collapse;
border-spacing: 0;
font-family: times;
width: 100%;
}
.RS2Nav table {
width: 100%;
}
.RS2Nav table th {
font-size: smaller;
text-align: center;
}
.RS2Nav table td {
background: black;
text-align: center;
}
}


table.navbox tr:not(:first-child) th {
/* help button removal */
    background-color: #ddf;
}


@media print {
#mw-indicator-mw-helplink {
    .navbox {
display: none;
        display: none;
    }
}
}


/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
/* Links */
a { color: #00f; }
a:active { color: orange; }
a:visited { color: #00c; }
.mw-parser-output a.extiw { color: #06f; }
.mw-parser-output a.extiw:visited { color: #3366BB; }
.mw-parser-output a.external { color: #06f; }
.mw-parser-output a.external:visited { color: #0044CC; }


div.Boxmerge,
.mw-changeslist-legend {
div.NavFrame {
  border: 1px solid #a78154;
        margin: 0px;
        padding: 4px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
}
div.Boxmerge div.NavFrame {
 
        border-style: none;
/* main page */
        border-style: hidden;
body.page-SaGa_Wiki.action-view h1.firstHeading,
body.page-SaGa_Wiki.action-view .mw-revision,
body.page-SaGa_Wiki.action-view #siteSub,
body.page-SaGa_Wiki.action-view #catlinks,
body.page-SaGa_Wiki.action-view #lastmod {
display: none !important;
}
}
div.NavFrame + div.NavFrame {
body.page-SaGa_Wiki.action-view #bodyContent {
        border-top-style: none;
margin-top: 16px;
        border-top-style: hidden;
}
}
div.NavPic {
 
        background-color: #fff;
/* main page heading */
        margin: 0px;
 
        padding: 2px;
#heading {
        float: left;
  border-radius:30px;
  background: #8c2e2e;
  border: 1px solid #8c2e2e;
  width:100%;
  text-align:center;
  color:white;
  font-size:18px;
  padding:2px;
  margin-top:10px;
}
}
div.NavFrame div.NavHead {
 
        height: 1.6em;
/* ooui */
        font-weight: bold;
.oo-ui-panelLayout-framed {
        background-color: #ccccff;
    border: 1px solid saddlebrown;
        position:relative;
}
}
div.NavFrame p {
 
        font-size: 100%;
 
/* wikitable coloring */
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid black;
}
}
div.NavFrame div.NavContent {
 
        font-size: 100%;
/* diff lines */
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context {
    background: white;
}
}
div.NavFrame div.NavContent p {
 
        font-size: 100%;
/* disambig template */
 
#disambig a {
    color:yellow !important;
}
}
div.NavEnd {
 
        margin: 0px;
/* create box */
        padding: 0px;
 
        line-height: 1px;
form.createbox {
        clear: both;
    float:right;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}
}

Latest revision as of 00:41, January 9, 2022

/***** CSS placed here will be applied to all skins on the entire site. *****/

div.tright, div.tleft {
    border: 1px solid saddlebrown;
}

.watchlistredir {
   font-style: italic;
}

.mw-plusminus-null, .autocomment, .autocomment a, .autocomment a:visited {
    color: #555;
}

.CategoryTreeEmptyBullet {
    color: #638c9c;
}

div.thumbinner {
    background:white;
}

div.tright, div.tleft {
    border: 1px solid saddlebrown !important;
}

.results-info {
    color: #222;
}

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
    color: #888 !important;
}

/* Giving headers and TOC a little extra space */
h2 {
   margin-top: 20px;
}
.toc {
   margin-top: 20px;
}
 

/* Infobox template style */
.infobox {
	color: #000;
	border: 1px solid #000;
	background-color: #f9f9f9;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	float: right;
	clear: right;
}
.infobox td, .infobox th {
	padding: 2px;
}

.infobox caption {
	font-size: larger;
	margin-left: inherit;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #000;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
   border: 1px solid #555;
   background:white;
   margin-top: 1em;
   padding: 8px;
}
.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;
}
 
table.collapsed tr.collapsible {
        display: none;
}

.collapseButton {                
        float: right;               
        font-weight: normal;        
        text-align: right;
        width: auto;
}

/* Black border & cell tables */
table.table, table.table {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black}
table.table > * > tr > td, table.table > * > tr > th, table.table > * > tr > td, table.table > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em}

/* Template:RS2IL */
.RS2IL {
	border-collapse: collapse;
	color: black;
}
.RS2IL th {
	background-color: #D69249;
	border: 1px solid black;
	text-align: center;
}
.RS2IL td {
	background-color: #FCEAA8;
	border: 1px solid black;
}
.RS2IL tr td:first-child {
	text-align: center;
}
.RS2IL tr td:last-child {
	text-align: left;
}

/* [[Template:RS2Nav]] */
.RS2Nav {
	border: 3px solid;
	border-collapse: collapse;
	border-spacing: 0;
	font-family: times;
	width: 100%;
}
.RS2Nav table {
	width: 100%;
}
.RS2Nav table th {
	font-size: smaller;
	text-align: center;
}
.RS2Nav table td {
	background: black;
	text-align: center;
}

/* help button removal */

#mw-indicator-mw-helplink {
	display: none;
}

/* Links */
a { color: #00f; }
a:active { color: orange; }
a:visited { color: #00c; }
.mw-parser-output a.extiw { color: #06f; }
.mw-parser-output a.extiw:visited { color: #3366BB; }
.mw-parser-output a.external { color: #06f; }
.mw-parser-output a.external:visited { color: #0044CC; }

.mw-changeslist-legend {
   border: 1px solid #a78154;
}

/* main page */
body.page-SaGa_Wiki.action-view h1.firstHeading,
body.page-SaGa_Wiki.action-view .mw-revision,
body.page-SaGa_Wiki.action-view #siteSub,
body.page-SaGa_Wiki.action-view #catlinks,
body.page-SaGa_Wiki.action-view #lastmod {
	display: none !important;
}
body.page-SaGa_Wiki.action-view #bodyContent {
	margin-top: 16px;
}

/* main page heading */

#heading {
   border-radius:30px;
   background: #8c2e2e;
   border: 1px solid #8c2e2e;
   width:100%;
   text-align:center;
   color:white;
   font-size:18px;
   padding:2px;
   margin-top:10px;
}

/* ooui */
.oo-ui-panelLayout-framed {
    border: 1px solid saddlebrown;
}


/* wikitable coloring */
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid black;
}

/* diff lines */
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context {
    background: white;
}

/* disambig template */

#disambig a {
    color:yellow !important;
}

/* create box */

form.createbox {
    float:right;
}