• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "MediaWiki:Common.css"

From Kancolle Wiki
Jump to navigation Jump to search
(Maximum organization of CSS, whoever did the syntax for this should remember to DOUBLE CHECK THEIR CODE. Everything should now function correctly according to the stylesheet and not break randomly)
Line 2: Line 2:
 
/*Vertical Alignment for MainPage and more*/
 
/*Vertical Alignment for MainPage and more*/
 
#mainpage {
 
#mainpage {
    width: 100%;
+
width: 100%;
    padding: 1px 3px 1px 3px;
+
padding: 1px 3px 1px 3px;
    box-sizing: border-box;
+
box-sizing: border-box;
    -webkit-box-sizing: border-box;
+
-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
+
-moz-box-sizing: border-box;
 
}
 
}
  
 
#mainpage * {
 
#mainpage * {
    box-sizing: border-box;
+
box-sizing: border-box;
    -webkit-box-sizing: border-box;
+
-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
+
-moz-box-sizing: border-box;
 
}
 
}
 
#mp-leftcolumn {
 
#mp-leftcolumn {
    float:left;
+
float:left;
    width:450px;
+
width:450px;
    margin-right:0.4%;
+
margin-right:0.4%;
   
+
 
}
 
}
  
 
#mp-rightcolumn {
 
#mp-rightcolumn {
    width:auto;
+
width:auto;
    overflow:hidden;
+
overflow:hidden;
    margin-left:0.1%;
+
margin-left:0.1%;
 
}
 
}
 
#coretitle {
 
#coretitle {
Line 55: Line 55:
 
/* Language specific CSS */
 
/* Language specific CSS */
 
:lang(zh) {
 
:lang(zh) {
    font-family: Microsoft Yahei, 微软雅黑, Serif;
+
font-family: Microsoft Yahei, 微软雅黑, Serif;
 
}
 
}
 
   
 
   
 
:lang(zh-cn) {
 
:lang(zh-cn) {
    font-family: Microsoft Yahei, 微软雅黑, Serif;
+
font-family: Microsoft Yahei, 微软雅黑, Serif;
 
}
 
}
 
   
 
   
 
:lang(zh-tw) {
 
:lang(zh-tw) {
    font-family: Microsoft Jhenghei, 微軟正黑體, Serif;
+
font-family: Microsoft Jhenghei, 微軟正黑體, Serif;
 
}
 
}
 
   
 
   
 
:lang(ja) {
 
:lang(ja) {
    font-family: Yu Gothic, 遊ゴシック, Meiryo, メイリオ, Serif;
+
font-family: Yu Gothic, 遊ゴシック, Meiryo, メイリオ, Serif;
 
}
 
}
/*Drop Button Quickfix*/
+
/*Global Button Settings*/
/*Fuck this, new CSS inbound, because wikia*/
 
 
.globalbutton {
 
.globalbutton {
  -webkit-border-radius: 13;
+
-webkit-border-radius: 13;
  -moz-border-radius: 13;
+
-moz-border-radius: 13;
  border-radius: 13px;
+
border-radius: 13px;
  font-family: Arial;
+
font-family: Arial;
  color: #ffffff;
+
color: #ffffff;
  font-size: 15px;
+
font-size: 15px;
  background: #3baef5;
+
background: #3baef5;
  padding: 4px 5px 4px 5px;
+
padding: 4px 5px 4px 5px;
  text-decoration: none;
+
text-decoration: none;
  max-width:300px;
+
max-width:300px;
  text-align:center;
+
text-align:center;
 
}
 
}
  
 
.globalbutton:hover {
 
.globalbutton:hover {
  background: #2b9ce3;
+
background: #2b9ce3;
  text-decoration: none;
+
text-decoration: none;
 +
}
 +
.globalbutton:focus {
 +
outline:0 !important;
 
}
 
}
.globalbutton:focus {outline:0 !important;}
 
  
 +
/*Remove this after all instances of Globalbutton are added*/
 
.wikia-menu-button {
 
.wikia-menu-button {
 
     button:focus {outline:0;}
 
     button:focus {outline:0;}
Line 118: Line 120:
 
/* For template documentation */
 
/* For template documentation */
 
.template-documentation {
 
.template-documentation {
    clear: both;
+
clear: both;
    margin: 1em 0 0 0;
+
margin: 1em 0 0 0;
    border: 1px solid #aaa;
+
border: 1px solid #aaa;
    background-color: #ecfcf4;
+
background-color: #ecfcf4;
    padding: 1em;
+
padding: 1em;
 
}
 
}
  
 
/* Default skin for navigation boxes */
 
/* Default skin for navigation boxes */
table.navbox {           /* Navbox container style */
+
table.navbox { /* Navbox container style */
border: 1px solid #7384B5;
+
border: 1px solid #7384B5;
width: 100%;
+
width: 100%;
margin: auto;
+
margin: auto;
clear: both;
+
clear: both;
font-size: 88%;
+
font-size: 88%;
text-align: center;
+
text-align: center;
padding: 1px;
+
padding: 1px;
 
}
 
}
 
   
 
   
 
/* Navbox Layout */
 
/* Navbox Layout */
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
+
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
+
margin-top: -1px; /* (doesn't work for IE6, but that's okay)      */
 
}
 
}
 
.navbox-title,
 
.navbox-title,
 
.navbox-abovebelow,
 
.navbox-abovebelow,
 
table.navbox th {
 
table.navbox th {
text-align: center;     /* Title and above/below styles */
+
text-align: center; /* Title and above/below styles */
padding-left: 1em;
+
padding-left: 1em;
padding-right: 1em;
+
padding-right: 1em;
 
}
 
}
.navbox-group {             /* Group style */
+
.navbox-group { /* Group style */
white-space: nowrap;
+
white-space: nowrap;
text-align: right;
+
text-align: right;
font-weight: bold;
+
font-weight: bold;
padding-left: 1em;
+
padding-left: 1em;
padding-right: 1em;
+
padding-right: 1em;
 
}
 
}
 
.navbox-list {
 
.navbox-list {
text-align: left;
+
text-align: left;
 
}
 
}
.collapseButton {         /* 'show'/'hide' buttons created dynamically */
+
.collapseButton {         /* 'show'/'hide' buttons created dynamically */
float: right;         /* by the CollapsibleTables javascript in    */
+
float: right; /* by the CollapsibleTables javascript in    */
font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
+
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here    */
text-align: right;     /* so they can be customised.                */
+
text-align: right; /* so they can be customised.                */
width: auto;
+
width: auto;
 
}
 
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances */
+
.navbox .collapseButton { /* In navboxes, the show/hide button balances */
width: 6em;           /* the vde links from [[Template:Tnavbar]],  */
+
width: 6em; /* the vde links from [[Template:Tnavbar]],  */
}                         /* so they need to be the same width.        */
+
} /* so they need to be the same width.        */
 
.navbox-title, .navbox-above, .navbox-below {
 
.navbox-title, .navbox-above, .navbox-below {
padding-left:1em;
+
padding-left:1em;
padding-right:1em;
+
padding-right:1em;
text-align:center;
+
text-align:center;
 
}
 
}
 
   
 
   
 
/* Navbox Colors */
 
/* Navbox Colors */
 
.navbox, .navbox-subgroup {
 
.navbox, .navbox-subgroup {
background: #fdfdfd;    /* Background color */
+
background: #fdfdfd;    /* Background color */
 
}
 
}
 
.navbox-list {
 
.navbox-list {
border-color: #fdfdfd;  /* Must match background color */
+
border-color: #fdfdfd;  /* Must match background color */
 
}
 
}
 
.navbox-title,
 
.navbox-title,
 
table.navbox th {
 
table.navbox th {
background:#CEDAFF;    /* Level 1 color */
+
background:#CEDAFF;    /* Level 1 color */
 
}
 
}
 
.navbox-abovebelow,
 
.navbox-abovebelow,
 
.navbox-group,
 
.navbox-group,
 
.navbox-subgroup .navbox-title {
 
.navbox-subgroup .navbox-title {
background: #DDE6FF;    /* Level 2 color */
+
background: #DDE6FF;    /* Level 2 color */
 
}
 
}
 
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
 
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #DDE6FF;    /* Level 3 color */
+
background: #DDE6FF;    /* Level 3 color */
 
}
 
}
 
.navbox-even {
 
.navbox-even {
background: #f7f7f7;    /* Even row striping */
+
background: #f7f7f7;    /* Even row striping */
 
}
 
}
 
.navbox-odd {
 
.navbox-odd {
background: transparent; /* Odd row striping */
+
background: transparent; /* Odd row striping */
 
}
 
}
  
Line 202: Line 204:
 
-------------------------------*/
 
-------------------------------*/
 
.allpagesredirect {
 
.allpagesredirect {
  font-style: italic;
+
font-style: italic;
 
}
 
}
 
.allpagesredirect:after {
 
.allpagesredirect:after {
  color: #808080; content: " (redirect)"
+
color: #808080; content: " (redirect)"
 
}
 
}
 
.watchlistredir {
 
.watchlistredir {
  font-style: italic;
+
font-style: italic;
 
}
 
}
  
 
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
 
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
 
th.mbox-text, td.mbox-text {  /* The message body cell(s) */
 
th.mbox-text, td.mbox-text {  /* The message body cell(s) */
border: none;
+
border: none;
padding: 0.25em 0.9em;    /* 0.9em left/right */
+
padding: 0.25em 0.9em;    /* 0.9em left/right */
width: 100%;              /* Make all mboxes the same width regardless of text length */
+
width: 100%;              /* Make all mboxes the same width regardless of text length */
 
}
 
}
 
td.mbox-image {                /* The left image cell */
 
td.mbox-image {                /* The left image cell */
border: none;
+
border: none;
padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
+
padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
text-align: center;
+
text-align: center;
 
}
 
}
 
td.mbox-imageright {          /* The right image cell */
 
td.mbox-imageright {          /* The right image cell */
border: none;
+
border: none;
padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
+
padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
text-align: center;
+
text-align: center;
 
}
 
}
 
td.mbox-empty-cell {          /* An empty narrow cell */
 
td.mbox-empty-cell {          /* An empty narrow cell */
border: none;
+
border: none;
padding: 0px;
+
padding: 0px;
width: 1px;
+
width: 1px;
 
}
 
}
 
   
 
   
 
/* Article message box styles */
 
/* Article message box styles */
table.ambox {
+
table.ambox {
margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
+
margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
border: 1px solid #aaa;
+
border: 1px solid #aaa;
border-left: 10px solid #1e90ff;  /* Default "notice" blue */
+
border-left: 10px solid #1e90ff;  /* Default "notice" blue */
background: #fbfbfb;
+
background: #fbfbfb;
 
}
 
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
+
table.ambox + table.ambox {      /* Single border between stacked boxes. */
margin-top: -1px;
+
margin-top: -1px;
 
}
 
}
 
.ambox th.mbox-text,
 
.ambox th.mbox-text,
 
.ambox td.mbox-text {            /* The message body cell(s) */
 
.ambox td.mbox-text {            /* The message body cell(s) */
padding: 0.25em 0.5em;      /* 0.5em left/right */
+
padding: 0.25em 0.5em;      /* 0.5em left/right */
 
}
 
}
 
.ambox td.mbox-image {          /* The left image cell */
 
.ambox td.mbox-image {          /* The left image cell */
padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
+
padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
 
}
 
}
 
.ambox td.mbox-imageright {      /* The right image cell */
 
.ambox td.mbox-imageright {      /* The right image cell */
padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
+
padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
 
}
 
}
 
   
 
   
 
table.ambox-notice {
 
table.ambox-notice {
border-left: 10px solid #1e90ff;    /* Blue */
+
border-left: 10px solid #1e90ff;    /* Blue */
 
}
 
}
 
table.ambox-speedy {
 
table.ambox-speedy {
border-left: 10px solid #b22222;    /* Red */
+
border-left: 10px solid #b22222;    /* Red */
background: #fee;                  /* Pink */
+
background: #fee;                  /* Pink */
 
}
 
}
 
table.ambox-delete {
 
table.ambox-delete {
border-left: 10px solid #b22222;    /* Red */
+
border-left: 10px solid #b22222;    /* Red */
 
}
 
}
 
table.ambox-content {
 
table.ambox-content {
border-left: 10px solid #f28500;    /* Orange */
+
border-left: 10px solid #f28500;    /* Orange */
 
}
 
}
 
table.ambox-style {
 
table.ambox-style {
border-left: 10px solid #f4c430;    /* Yellow */
+
border-left: 10px solid #f4c430;    /* Yellow */
 
}
 
}
 
table.ambox-move {
 
table.ambox-move {
border-left: 10px solid #9932cc;    /* Purple */
+
border-left: 10px solid #9932cc;    /* Purple */
 
}
 
}
 
table.ambox-protection {
 
table.ambox-protection {
border-left: 10px solid #bba;      /* Gray-gold */
+
border-left: 10px solid #bba;      /* Gray-gold */
 
}
 
}
 
   
 
   
 
/* Image message box styles */
 
/* Image message box styles */
 
table.imbox {
 
table.imbox {
margin: 4px 10%;
+
margin: 4px 10%;
border-collapse: collapse;
+
border-collapse: collapse;
border: 3px solid #1e90ff;    /* Default "notice" blue */
+
border: 3px solid #1e90ff;    /* Default "notice" blue */
background: #fbfbfb;
+
background: #fbfbfb;
 
}
 
}
 
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
 
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
+
margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
display: block;        /* Fix for webkit to force 100% width.  */
+
display: block;        /* Fix for webkit to force 100% width.  */
 
}
 
}
 
.mbox-inside .imbox {      /* For imboxes inside other templates.  */
 
.mbox-inside .imbox {      /* For imboxes inside other templates.  */
margin: 4px;
+
margin: 4px;
 
}
 
}
 
   
 
   
 
table.imbox-notice {
 
table.imbox-notice {
border: 3px solid #1e90ff;    /* Blue */
+
border: 3px solid #1e90ff;    /* Blue */
 
}
 
}
 
table.imbox-speedy {
 
table.imbox-speedy {
border: 3px solid #b22222;    /* Red */
+
border: 3px solid #b22222;    /* Red */
background: #fee;            /* Pink */
+
background: #fee;            /* Pink */
 
}
 
}
 
table.imbox-delete {
 
table.imbox-delete {
border: 3px solid #b22222;    /* Red */
+
border: 3px solid #b22222;    /* Red */
 
}
 
}
 
table.imbox-content {
 
table.imbox-content {
border: 3px solid #f28500;    /* Orange */
+
border: 3px solid #f28500;    /* Orange */
 
}
 
}
 
table.imbox-style {
 
table.imbox-style {
border: 3px solid #f4c430;    /* Yellow */
+
border: 3px solid #f4c430;    /* Yellow */
 
}
 
}
 
table.imbox-move {
 
table.imbox-move {
border: 3px solid #9932cc;    /* Purple */
+
border: 3px solid #9932cc;    /* Purple */
 
}
 
}
 
table.imbox-protection {
 
table.imbox-protection {
border: 3px solid #bba;      /* Gray-gold */
+
border: 3px solid #bba;      /* Gray-gold */
 
}
 
}
 
table.imbox-license {
 
table.imbox-license {
border: 3px solid #88a;      /* Dark gray */
+
border: 3px solid #88a;      /* Dark gray */
background: #f7f8ff;          /* Light gray */
+
background: #f7f8ff;          /* Light gray */
 
}
 
}
 
table.imbox-featured {
 
table.imbox-featured {
border: 3px solid #cba135;    /* Brown-gold */
+
border: 3px solid #cba135;    /* Brown-gold */
 
}
 
}
 
   
 
   
 
/* Category message box styles */
 
/* Category message box styles */
 
table.cmbox {
 
table.cmbox {
margin: 3px 10%;
+
margin: 3px 10%;
border-collapse: collapse;
+
border-collapse: collapse;
border: 1px solid #aaa;
+
border: 1px solid #aaa;
background: #DFE8FF;    /* Default "notice" blue */
+
background: #DFE8FF;    /* Default "notice" blue */
 
}
 
}
 
   
 
   
 
table.cmbox-notice {
 
table.cmbox-notice {
background: #D8E8FF;    /* Blue */
+
background: #D8E8FF;    /* Blue */
 
}
 
}
 
table.cmbox-speedy {
 
table.cmbox-speedy {
margin-top: 4px;
+
margin-top: 4px;
margin-bottom: 4px;
+
margin-bottom: 4px;
border: 4px solid #b22222;    /* Red */
+
border: 4px solid #b22222;    /* Red */
background: #FFDBDB;          /* Pink */
+
background: #FFDBDB;          /* Pink */
 
}
 
}
 
table.cmbox-delete {
 
table.cmbox-delete {
background: #FFDBDB;    /* Red */
+
background: #FFDBDB;    /* Red */
 
}
 
}
 
table.cmbox-content {
 
table.cmbox-content {
background: #FFE7CE;    /* Orange */
+
background: #FFE7CE;    /* Orange */
 
}
 
}
 
table.cmbox-style {
 
table.cmbox-style {
background: #FFF9DB;    /* Yellow */
+
background: #FFF9DB;    /* Yellow */
 
}
 
}
 
table.cmbox-move {
 
table.cmbox-move {
background: #E4D8FF;    /* Purple */
+
background: #E4D8FF;    /* Purple */
 
}
 
}
 
table.cmbox-protection {
 
table.cmbox-protection {
background: #EFEFE1;    /* Gray-gold */
+
background: #EFEFE1;    /* Gray-gold */
 
}
 
}
 
   
 
   
 
/* Other pages message box styles */
 
/* Other pages message box styles */
 
table.ombox {
 
table.ombox {
margin: 4px 10%;
+
margin: 4px 10%;
border-collapse: collapse;
+
border-collapse: collapse;
border: 1px solid #aaa;      /* Default "notice" gray */
+
border: 1px solid #aaa;      /* Default "notice" gray */
background: #f9f9f9;
+
background: #f9f9f9;
 
}
 
}
 
   
 
   
 
table.ombox-notice {
 
table.ombox-notice {
border: 1px solid #aaa;      /* Gray */
+
border: 1px solid #aaa;      /* Gray */
 
}
 
}
 
table.ombox-speedy {
 
table.ombox-speedy {
border: 2px solid #b22222;    /* Red */
+
border: 2px solid #b22222;    /* Red */
background: #fee;            /* Pink */
+
background: #fee;            /* Pink */
 
}
 
}
 
table.ombox-delete {
 
table.ombox-delete {
border: 2px solid #b22222;    /* Red */
+
border: 2px solid #b22222;    /* Red */
 
}
 
}
 
table.ombox-content {
 
table.ombox-content {
border: 1px solid #f28500;    /* Orange */
+
border: 1px solid #f28500;    /* Orange */
 
}
 
}
 
table.ombox-style {
 
table.ombox-style {
border: 1px solid #f4c430;    /* Yellow */
+
border: 1px solid #f4c430;    /* Yellow */
 
}
 
}
 
table.ombox-move {
 
table.ombox-move {
border: 1px solid #9932cc;    /* Purple */
+
border: 1px solid #9932cc;    /* Purple */
 
}
 
}
 
table.ombox-protection {
 
table.ombox-protection {
border: 2px solid #bba;      /* Gray-gold */
+
border: 2px solid #bba;      /* Gray-gold */
 
+
}
 
/* For template documentation */
 
/* For template documentation */
 
.template-documentation {
 
.template-documentation {
clear: both;
+
clear: both;
margin: 1em 0 0 0;
+
margin: 1em 0 0 0;
border: 1px solid #aaa;
+
border: 1px solid #aaa;
background-color: #ecfcf4;
+
background-color: #ecfcf4;
padding: 1em;
+
padding: 1em;
 
}
 
}
  
Line 397: Line 399:
 
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
 
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
 
.collapseButton {
 
.collapseButton {
    /* @noflip */
+
/* @noflip */
    float: right;
+
float: right;
    font-weight: normal;
+
font-weight: normal;
    /* @noflip */
+
/* @noflip */
    margin-left: 0.5em;
+
margin-left: 0.5em;
    /* @noflip */
+
/* @noflip */
    text-align: right;
+
text-align: right;
    width: auto;
+
width: auto;
 
}
 
}
 
/* In navboxes, the show/hide button balances the v·d·e links
 
/* In navboxes, the show/hide button balances the v·d·e links
 
   from [[Template:Navbar]], so they need to be the same width. */
 
   from [[Template:Navbar]], so they need to be the same width. */
 
.navbox .collapseButton {
 
.navbox .collapseButton {
    width: 6em;
+
width: 6em;
 
}
 
}
 
   
 
   
 
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
 
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
 
.mw-collapsible-toggle {
 
.mw-collapsible-toggle {
    font-weight: normal;
+
font-weight: normal;
    /* @noflip */
+
/* @noflip */
    text-align: right;
+
text-align: right;
 
}
 
}
 
.navbox .mw-collapsible-toggle {
 
.navbox .mw-collapsible-toggle {
    width: 6em;
+
width: 6em;
 
}
 
}
  
 
/* Standard Navigationsleisten, aka box hiding thingy
 
/* Standard Navigationsleisten, aka box hiding thingy
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
+
from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.NavFrame {
 
div.NavFrame {
    margin: 0;
+
margin: 0;
    padding: 4px;
+
padding: 4px;
    border: 1px solid #aaa;
+
border: 1px solid #aaa;
    text-align: center;
+
text-align: center;
    border-collapse: collapse;
+
border-collapse: collapse;
    font-size: 95%;
+
font-size: 95%;
 
}
 
}
div.NavFrame + div.NavFrame {
+
div.NavFrame + div.NavFrame {
    border-top-style: none;
+
border-top-style: none;
    border-top-style: hidden;
+
border-top-style: hidden;
 
}
 
}
 
div.NavPic {
 
div.NavPic {
    background-color: #fff;
+
background-color: #fff;
    margin: 0;
+
margin: 0;
    padding: 2px;
+
padding: 2px;
    /* @noflip */
+
/* @noflip */
    float: left;
+
float: left;
 
}
 
}
 
div.NavFrame div.NavHead {
 
div.NavFrame div.NavHead {
    line-height: 1.6em;
+
line-height: 1.6em;
    font-weight: bold;
+
font-weight: bold;
    background-color: #ccf;
+
background-color: #ccf;
    position: relative;
+
position: relative;
 
}
 
}
 
div.NavFrame p,
 
div.NavFrame p,
 
div.NavFrame div.NavContent,
 
div.NavFrame div.NavContent,
 
div.NavFrame div.NavContent p {
 
div.NavFrame div.NavContent p {
    font-size: 100%;
+
font-size: 100%;
 
}
 
}
 
div.NavEnd {
 
div.NavEnd {
    margin: 0;
+
margin: 0;
    padding: 0;
+
padding: 0;
    line-height: 1px;
+
line-height: 1px;
    clear: both;
+
clear: both;
 
}
 
}
 
a.NavToggle {
 
a.NavToggle {
    position: absolute;
+
position: absolute;
    top: 0;
+
top: 0;
    /* @noflip */
+
/* @noflip */
    right: 3px;
+
right: 3px;
    font-weight: normal;
+
font-weight: normal;
    font-size: 90%;
+
font-size: 90%;
 
+
}
 
  /* Fix table style*/
 
  /* Fix table style*/
 
tr.fix {
 
tr.fix {

Revision as of 16:02, 1 October 2015

/***** CSS placed here will be applied to all skins on the entire site. *****/
/*Vertical Alignment for MainPage and more*/
#mainpage {
	width: 100%;
	padding: 1px 3px 1px 3px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#mainpage * {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#mp-leftcolumn {
	float:left;
	width:450px;
	margin-right:0.4%;
	
}

#mp-rightcolumn {
	width:auto;
	overflow:hidden;
	margin-left:0.1%;
}
#coretitle {
	text-align:center;
	border:1px solid lightgrey;
	border-radius:8px;
	background-color:#E9F3FE;
}
#tophead {
	border:double white;
	border-radius:14px;
	border-width:4px;
	padding: 6px 6px 6px 6px;
	background-color:#E9F3FE;
	margin-bottom:0.3%;
	min-height:150px;
	min-width:160px;
}
#logo {
	float:left;
	width:150px;
}
#kcheader {
	width:auto;
	overflow: scroll;
	height:150px;
	overflow-x:hidden;
	scrollbar-base-color:#E9F3FE;
}
/* Language specific CSS */
:lang(zh) {
	font-family: Microsoft Yahei, 微软雅黑, Serif;
}
 
:lang(zh-cn) {
	font-family: Microsoft Yahei, 微软雅黑, Serif;
}
 
:lang(zh-tw) {
	font-family: Microsoft Jhenghei, 微軟正黑體, Serif;
}
 
:lang(ja) {
	font-family: Yu Gothic, 遊ゴシック, Meiryo, メイリオ, Serif;
}
/*Global Button Settings*/
.globalbutton {
	-webkit-border-radius: 13;
	-moz-border-radius: 13;
	border-radius: 13px;
	font-family: Arial;
	color: #ffffff;
	font-size: 15px;
	background: #3baef5;
	padding: 4px 5px 4px 5px;
	text-decoration: none;
	max-width:300px;
	text-align:center;
}

.globalbutton:hover {
	background: #2b9ce3;
	text-decoration: none;
}
.globalbutton:focus {
	outline:0 !important;
}

/*Remove this after all instances of Globalbutton are added*/
.wikia-menu-button {
    button:focus {outline:0;}
    border-style: double;
    border-radius:9px;
    border-width: 4px;
    border-color: white;
    background-color:#E9F3FE;
    max-width:300px;
    text-align:center;
    font-weight:bold;
}

/* Sitenotice AutoScroll CSS */
#scrollDiv{
	width: 100%;
	height: 25px;
	line-height: 25px;
	overflow: hidden;
}
#scrollDiv li{
	height: 25px;
	padding-left: 10px;
	list-style: none;
}

/* For template documentation */
.template-documentation {
	clear: both;
	margin: 1em 0 0 0;
	border: 1px solid #aaa;
	background-color: #ecfcf4;
	padding: 1em;
}

/* Default skin for navigation boxes */
table.navbox {								/* Navbox container style */
	border: 1px solid #7384B5;
	width: 100%;
	margin: auto;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
}
 
/* Navbox Layout */
	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-list {
	text-align: left;
}
.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;
}
.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.         */
.navbox-title, .navbox-above, .navbox-below {
	padding-left:1em;
	padding-right:1em;
	text-align:center;
}
 
/* Navbox Colors */
.navbox, .navbox-subgroup {
	background: #fdfdfd;     /* Background color */
}
.navbox-list {
	border-color: #fdfdfd;   /* Must match background color */
}
.navbox-title,
table.navbox th {
	background:#CEDAFF;     /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
	background: #DDE6FF;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
	background: #DDE6FF;     /* Level 3 color */
}
.navbox-even {
	background: #f7f7f7;     /* Even row striping */
}
.navbox-odd {
	background: transparent; /* Odd row striping */
}


/* Mark redirects in Special:Allpages and Special:Watchlist
-------------------------------*/
.allpagesredirect {
	font-style: italic;
}
.allpagesredirect:after {
	color: #808080; content: " (redirect)"
}
.watchlistredir {
	font-style: italic;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
	border: none;
	padding: 0.25em 0.9em;     /* 0.9em left/right */
	width: 100%;               /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                /* The left image cell */
	border: none;
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}
td.mbox-imageright {           /* The right image cell */
	border: none;
	padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
	text-align: center;
}
td.mbox-empty-cell {           /* An empty narrow cell */
	border: none;
	padding: 0px;
	width: 1px;
}
 
/* Article message box styles */
	table.ambox {
	margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
	border: 1px solid #aaa;
	border-left: 10px solid #1e90ff;  /* Default "notice" blue */
	background: #fbfbfb;
}
	table.ambox + table.ambox {      /* Single border between stacked boxes. */
	margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
	padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
	padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
	padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}
 
table.ambox-notice {
	border-left: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
	border-left: 10px solid #b22222;    /* Red */
	background: #fee;                   /* Pink */
}
table.ambox-delete {
	border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
	border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
	border-left: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
	border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
	border-left: 10px solid #bba;       /* Gray-gold */
}
 
/* Image message box styles */
table.imbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 3px solid #1e90ff;    /* Default "notice" blue */
	background: #fbfbfb;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
	margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
	display: block;         /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
	margin: 4px;
}
 
table.imbox-notice {
	border: 3px solid #1e90ff;    /* Blue */
}
table.imbox-speedy {
	border: 3px solid #b22222;    /* Red */
	background: #fee;             /* Pink */
}
table.imbox-delete {
	border: 3px solid #b22222;    /* Red */
}
table.imbox-content {
	border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
	border: 3px solid #f4c430;    /* Yellow */
}
table.imbox-move {
	border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
	border: 3px solid #bba;       /* Gray-gold */
}
table.imbox-license {
	border: 3px solid #88a;       /* Dark gray */
	background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
	border: 3px solid #cba135;    /* Brown-gold */
}
 
/* Category message box styles */
table.cmbox {
	margin: 3px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa;
	background: #DFE8FF;    /* Default "notice" blue */
}
 
table.cmbox-notice {
	background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
	margin-top: 4px;
	margin-bottom: 4px;
	border: 4px solid #b22222;    /* Red */
	background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
	background: #FFDBDB;    /* Red */
}
table.cmbox-content {
	background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
	background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
	background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
	background: #EFEFE1;    /* Gray-gold */
}
 
/* Other pages message box styles */
table.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa;       /* Default "notice" gray */
	background: #f9f9f9;
}
 
table.ombox-notice {
	border: 1px solid #aaa;       /* Gray */
}
table.ombox-speedy {
	border: 2px solid #b22222;    /* Red */
	background: #fee;             /* Pink */
}
table.ombox-delete {
	border: 2px solid #b22222;    /* Red */
}
table.ombox-content {
	border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
	border: 1px solid #f4c430;    /* Yellow */
}
table.ombox-move {
	border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
	border: 2px solid #bba;       /* Gray-gold */
}
/* For template documentation */
.template-documentation {
	clear: both;
	margin: 1em 0 0 0;
	border: 1px solid #aaa;
	background-color: #ecfcf4;
	padding: 1em;
}

/* '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;
}
 
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
	font-weight: normal;
	/* @noflip */
	text-align: right;
}
.navbox .mw-collapsible-toggle {
	width: 6em;
}

/* Standard Navigationsleisten, aka box hiding thingy
from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #aaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
	div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	/* @noflip */
	float: left;
}
div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	/* @noflip */
	right: 3px;
	font-weight: normal;
	font-size: 90%;
}
 /* Fix table style*/
tr.fix {
        position: fixed;
        top: 0;
        margin-left: 0;
}
 
table.fix {
        margin-top: 0px;
}