Изменения CSS и JavaScript должны соответствовать правилам оформления вики.
Замечание. Возможно, после сохранения вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
- Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
- Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
- Opera: Выберите очистку кэша в меню Инструменты → Настройки
/* CSS placed here will be applied to all skins */
/* This governs the sections on the Community portal */
.cpbox {
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
}
.cpbox #admins {
box-sizing: border-box;
width: calc(33% - 10px);
margin: 5px;
flex-grow: 1;
min-width: 300px;
}
.cpbox #help {
box-sizing: border-box;
width: calc(67% - 10px);
margin: 5px;
flex-grow: 1;
}
/* Template documentation styles */
/* If modifying these styles, be sure to update the mobile skin! */
.doc {
margin: 0em auto 1em;
background-color: rgba(0, 0, 0, 0.1);
border: 2px solid #BDCAC3;
border-radius: 1em;
padding: 1em;
}
.doc-header {
padding-bottom: 3px;
border-bottom: 1px solid #BDCAC3;
margin-bottom: 1ex;
}
.doc-footer {
margin: 0;
background-color: rgba(0, 0, 0, 0.1);
border: 2px solid #BDCAC3;
border-radius: 1em;
padding: 1em;
}
/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */
/* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
.desktopleft {
text-align: left;
}
.desktopcenter {
text-align: center;
}
.desktopright {
text-align: right;
}
/* Background image */
body {
background: url("https://animalroyale.gamepedia.com/media/6/65/BG.jpg") no-repeat fixed center top / cover rgb(0, 0, 0);
}
#mw-page-base {
background: transparent !important;
}
.mw-wiki-logo {
background-image: url( /media/b/bc/Wiki.png ) !important;
background-size: 150px auto;
}
/* Removes Wiki Skin Images from appearing in Special:UnusedFiles */
/* [[File:Wiki.png]] */
/* [[File:Favicon.ico]] */
/* [[File:BG.jpg]] */
div#mw-panel div.portal li a[href="https://discord.gg/animalroyale"] {
display: inline-block;
position:relative;
height: 20px;
width: 119px;
}
div#mw-panel div.portal li a[href="https://discord.gg/animalroyale"]::before {
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
content:"";
background:url(https://discordapp.com/api/guilds/413200888010637313/embed.png) no-repeat;
}