Chú ý: Sau khi lưu trang, có thể bạn sẽ phải xóa bộ nhớ đệm của trình duyệt để xem các thay đổi.
- Firefox / Safari: Nhấn giữ phím Shift trong khi nhấn Tải lại (Reload), hoặc nhấn tổ hợp Ctrl-F5 hay Ctrl-R (⌘R trên Mac)
- Google Chrome: Nhấn tổ hợp Ctrl-Shift-R (⇧⌘R trên Mac)
- Internet Explorer / Edge: Nhấn giữ phím Ctrl trong khi nhấn Làm tươi (Refresh), hoặc nhấn tổ hợp Ctrl-F5
- Opera: Nhấn tổ hợp Ctrl-F5.
@import "/index.php?title=MediaWiki:Customizing.css&action=raw&ctype=text/css";
/***** CSS tại đây có hiệu lực trong toàn bộ giao diện. *****/
/* Mark redirects in Special:Allpages and Special:Watchlist
-------------------------------*/
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
/* ROUTE TEMPLATE
Added by: dragonjet
Moved to Common.css from Wikia.css by Ckwng
----------------------------------------------*/
.kcRoute {
display: inline-block;
font-weight:bold;
color:#fff;
}
.kcRoute .kcRouteNode {
float:left;
margin:0px 3px 0px 0px;
width:20px;
height:20px;
border:2px solid #ccc;
border-radius:12px;
text-align:center;
line-height:20px;
}
/* GRAYSCALE WORKAROUND FOR LUA
Added by: ckwng
Wikia does not allow filter in in-line CSS generated by Lua #invokes apparently. Use site css to workaround.
----------------------------------------------*/
.grayscale-wrapper {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
/* ADD TOOLTIPS
Added by: Nanamin
Moved to Common.css from Wikia/Monobook.css by Ckwng
----------------------------------------------*/
/* Main CSS class of the tooltip */
.main-tooltip {
border: 1px solid #999;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
border-radius: 4px;
margin-bottom: 5px;
padding: 2px 5px;
background-color: #EEE;
}
/* Adds padding to the wrapper to make space for a shadow */
#tooltip-wrapper {
padding: 3px 7px 2px 3px;
}
/* Hides tooltips with redlinks, not yet loaded ones and elements containing tooltip contents for advanced tooltips */
.has-redlinks, .tooltip-loading, .advanced-tooltip .tooltip-contents {
display: none;
}
.tooltips-init-complete {
cursor: help;
}
/* TABBER: VERTICAL
Added by: dragonjet
----------------------------------------------*/
.kcVerticalTab ul.tabbernav {
width:113px;
float:left;
border-bottom:0px none;
border-right:1px solid #aaa;
}
.kcVerticalTab ul.tabbernav li {
}
.kcVerticalTab ul.tabbernav li a {
width:100px;
display:block;
border-radius:8px 0px 0px 8px;
border-bottom:1px solid #778;
margin:0px 0px 2px 0px;
}
.kcVerticalTab .tabbertab {
float:left;
border:0px none;
}
.kcVerticalTab .tabberlive .tabbertab {
border:0px none;
}
.kcVerticalTab ul.tabbernav li.tabberactive a:hover,
.kcVerticalTab ul.tabbernav li.tabberactive a {
border-bottom:1px solid #778;
}
/* INFOBOX LEFT FLOAT
Added by: ckwng
----------------------------------------------*/
.infobox.infobox-left {
float: left;
margin-left: unset;
margin-right: 1em;
}
/* SHOW OR HIDE ELEMENTS WHEN IN TABVIEW
Added by: ckwng
----------------------------------------------*/
.show-in-tabview {
display: none;
}
.tabBody .show-in-tabview {
display: unset;
}
.tabBody .hide-in-tabview {
display: none;
}
/* TEMPLATE:AUDIO
Added by: ckwng (on request from がか)
----------------------------------------------*/
.audio-button {
background-color: #212121;
}
/* TEMPLATE:AMBOX
Added by: dragonjet
Moved to Common.css from Wikia.css by がか
----------------------------------------------*/
.ambox {
width:80%;
margin:0 auto 2px;
border:1px #AAA solid;
border-left: 10px solid #228b22;
border-collapse: collapse;
background-color: #EEE;
}
.ambox p {
margin:0px !important;
}
.ambox-image {
float:left;
width:40px;
height:40px;
padding:20px;
}
.ambox-content {
margin:0px 0px 0px 75px;
padding:5px 10px;
}
.ambox-title {
font-size:14px;
font-weight:bold;
}
.ambox-description {
font-size:14px;
}
.ambox-promoter {
font-size:12px;
}
.ambox-learn {
font-size:10px;
text-align:right;
line-height: 12px;
}
.ambox-clear {
clear:both;
}
.ambox-type-construction {
border-left: 10px solid #1e90ff !important;
}
.ambox-type-translation {
border-left: 10px solid #1e90ff !important;
}
.ambox-type-delete {
border-left: 10px solid #b22222 !important;
}
.ambox-type-cleanup {
border-left: 10px solid #f4c430 !important;
}
.ambox-type-notice {
border-left: 10px solid #bba !important;
}
.ambox-type-move {
border-left: 10px solid #f28500 !important;
}
.ambox-type-protection {
border-left: 10px solid #9932cc !important;
}
.ambox-type-renovate {
border-left: 10px solid #1e90ff !important;
}
@media print { .ambox { display: none; } }
/* SIDERAIL BOXES STYLING
Added by: dragonjet
Moved to Common.css from Wikia.css by がか
----------------------------------------------*/
.kcRailBox {
width:296px;
border:1px solid #ace;
border-radius:10px;
overflow:hidden;
margin:0px 0px 10px 0px;
}
.kcRailBox .kcRailTitle {
width:296px;
height:28px;
background:#def;
border-bottom:1px solid #ace;
}
.kcRailBox .kcRailTitle p {
margin:0px;
padding:0px;
line-height:28px;
text-align:center;
font-weight:bold;
}
.kcRailBox .kcRailContent {
width:286px;
margin:5px;
}
.kcRailBox .kcRailContent .ChatEntryPoint {
border:0px none;
}
.kcRailBox .kcRailContent .ajax-poll {
border:0px none;
}
.kcRailBox .kcRailUpdate {
height:40px;
margin:5px;
border-radius:10px;
background:#def;
text-align:center;
padding: 5px 0px;
}
.kcRailBox .kcRailUpdateTitle {
font-size:15px;
font-weight:bold;
height: 17px;
line-height: 17px;
margin: 1px 0px 3px 0px;
}
.kcRailBox .kcRailUpdateTime {
font-size:13px;
height: 15px;
line-height: 15px;
}
.kcRailBox .kcRailTimerTitle {
text-align:center;
font-size:12px;
}
.kcRailBox .kcRailTimerBody {
text-align:center;
font-size:18px;
font-weight:bold;
color:#f00;
margin:0px 0px 10px 0px;
}
/* COMMENT WARNINGS
Added by: dragonjet
Moved to Common.css from Wikia.css by がか
----------------------------------------------------------------------*/
.kcCommentWarning {
display: none;
}
.kcCommentWarning ul, .kcCommentWarning ol {
list-style: disc;
padding: 3px 0px 0px 20px;
}
/* INFOBOX "KAI" STYLE
Added by: ckwng
----------------------------------------------------------------------*/
.infobox.infobox-kai {
background-color: #fafafa;
border: 1px solid darkgrey;
}
.infobox.infobox-kai tr {
background-color: whitesmoke;
}
.infobox.infobox-kai tr div.infobox-kai-expandable-cells {
background-color: #fafafa;
}
.infobox.infobox-kai .infobox-kai-header-major {
background-color: lightskyblue;
}
.infobox.infobox-kai .infobox-kai-header-minor {
background-color: lightgrey;
}
/* Red color for FAQ tab title on the main event page
Added by: がか
----------------------------------------------------------------------*/
/* TODO: implement custom styles via JS
#EventTemplate #flytabs_0 ul.tabs li[data-tab="flytabs_02"] a span {
color: red
}
*/
/* LISTS AND FLOATS CLIPPING FIX (EQUIPMENT PAGES ONLY)
Added by: ckwng, がか
----------------------------------------------------------------------*/
.infobox-equipment ~ ol,
.infobox-equipment ~ ol ul,
.infobox-equipment ~ ul,
.infobox-equipment ~ ul ol {
list-style-position: inside;
}
/* Styling for branching tables
Added by: がか
----------------------------------------------------------------------*/
table.wikitable.branching-table > * > tr > td {
border-left: none;
border-right: none;
}
table.wikitable.branching-table {
border: 1px #aaa solid;
}
table.branching-table {
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
overflow: hidden;
}
table.branching-table > tbody > tr:first-child > th {
padding: 10px 25px 10px 25px;
background: #def;
}
/* Template:Event/Route class
Added by: がか
----------------------------------------------------------------------*/
.map-route-node {
display: inline-block;
width: 20px;
line-height: 20px;
text-align: center;
padding: 1px;
border-radius: 100%;
box-shadow: 0 0 4px rgba(0, 0, 0, .8);
}
/* Hiding those on Special:Community, as it doesn't display anything useful
Added by: がか
----------------------------------------------------------------------*/
.community-page-cards-module {
display: none;
}
/* Template:Nowraplinks support
Added by: がか
----------------------------------------------------------------------*/
.nowraplinks a, .nowraplinks .selflink {
white-space: nowrap;
}
/* Template:Toclimit support
Added by: がか
----------------------------------------------------------------------*/
.toclimit-1 .toclevel-2,
.toclimit-2 .toclevel-3,
.toclimit-3 .toclevel-4,
.toclimit-4 .toclevel-5,
.toclimit-5 .toclevel-6 {
display: none;
}
/* Misc. fixes.
Added by: がか
----------------------------------------------*/
.mobileshow {
display: none;
}
/* Copy of https://github.com/Wikia/app/blob/dev/extensions/3rdparty/tabber/tabber.css, for tabview
Added by: がか
----------------------------------------------*/
.tabberlive .tabbertabhide {
display:none;
}
.tabber {
}
.tabberlive {
margin-top:1em;
}
ul.tabbernav
{
margin:0;
padding: 3px 0;
border-bottom: 1px solid #778;
font: bold 12px Verdana, sans-serif;
word-wrap: normal;
}
ul.tabbernav li
{
list-style: none;
margin: 0;
display: inline;
line-height: normal;
}
ul.tabbernav li a
{
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #778;
border-bottom: none;
background: #DDE;
text-decoration: none;
}
ul.tabbernav li a:link { color: #448; }
ul.tabbernav li a:visited { color: #667; }
ul.tabbernav li a:hover
{
color: #000;
background: #AAE;
border-color: #227;
}
ul.tabbernav li.tabberactive a
{
background-color: #fff;
border-bottom: 1px solid #fff;
}
ul.tabbernav li.tabberactive a:hover
{
color: #000;
background: white;
border-bottom: 1px solid white;
}
.tabberlive .tabbertab {
padding:5px;
border:1px solid #aaa;
border-top:0;
}