Super Animal Royale Wiki
Нет описания правки
Нет описания правки
Строка 94: Строка 94:
 
content:"";
 
content:"";
 
background:url(https://discordapp.com/api/guilds/413200888010637313/embed.png) no-repeat;
 
background:url(https://discordapp.com/api/guilds/413200888010637313/embed.png) no-repeat;
  +
}/* Wiki specific styles for itemboxes in Module:Rarity */
  +
.sar-season-free-box {
  +
display:block;
  +
height:30px;
  +
background:white;
  +
}
  +
.sar-season-notfree-box {
  +
display:block;
  +
height:30px;
  +
}
  +
.sar-season-free-box > .sar-season-free-text {
  +
text-align: center;
  +
top: 1px;
  +
color: black;
  +
font-weight: bold;
  +
position: relative;
  +
margin-top: 0px;
  +
font-size: large;
  +
text-transform: uppercase;
  +
}
  +
.sar-rarity-itembox {
  +
display: inline-block;
  +
margin-left: 5px;
  +
vertical-align:text-top;
  +
line-height: 20px;
  +
}
  +
.sar-rarity-imagebox {
  +
overflow: hidden;
  +
display: block;
  +
width: 152px;
  +
height: 152px;
  +
line-height: 147px;
  +
text-align: center;
  +
position: relative;
  +
}
  +
  +
.sar-rarity-imagebox::after {
  +
content: '';
  +
display: block;
  +
width: 100%;
  +
height: 100%;
  +
transform: rotate(15deg);
  +
position: absolute;
  +
top: 0;
  +
left: 0;
  +
}
  +
.sar-rarity-common {
  +
background: #595959;
  +
}
  +
.sar-rarity-uncommon-framed {
  +
background: #adff52;
  +
}
  +
.sar-rarity-uncommon {
  +
background: #6bbf00;
  +
}
  +
.sar-rarity-uncommon-framed::after {
  +
background: #7be300;
  +
}
  +
.sar-rarity-rare-framed {
  +
background: #63e1ff;
  +
}
  +
.sar-rarity-rare {
  +
background: #00b5f2;
  +
}
  +
.sar-rarity-rare-framed::after {
  +
background: #00b7f7;
  +
}
  +
.sar-rarity-epic-framed {
  +
background: #ce64ff;
  +
}
  +
.sar-rarity-epic {
  +
background: #8733c6;
  +
}
  +
.sar-rarity-epic-framed::after {
  +
background: #911cce;
  +
}
  +
.sar-rarity-legendary-framed {
  +
background: #ffda52;
  +
}
  +
.sar-rarity-legendary {
  +
background: #f7cd0f;
  +
}
  +
.sar-rarity-legendary-framed::after {
  +
background: #e7a300;
  +
}
  +
.sar-rarity-special {
  +
background: #f47f3d;
  +
}
  +
.image img {
  +
position: relative;
  +
z-index: 1;
  +
}
  +
.sar-rarity-itemtext {
  +
display: block;
  +
width: 152px;
  +
text-align: center;
  +
}
  +
.sar-rarity-amount-div > .sar-rarity-amount-p {
  +
margin-top: 0px !important;
  +
color: white;
  +
text-transform: uppercase;
  +
font-weight: bold;
  +
font-size: larger;
  +
line-height: 27px;
  +
}
  +
.sar-rarity-amount-div {
  +
position: absolute;
  +
top: 0;
  +
right: 0;
  +
height: 26px;
  +
width: 70px;
  +
background-color: rgb(40, 40, 40, 0.7);
  +
line-height: 1;
 
}
 
}

Версия от 13:58, 16 января 2022

/* 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://static.wikia.nocookie.net/animalroyale_gamepedia_en/images/0/08/Site-background-dark/revision/latest?cb=20210903145459") no-repeat fixed center top / cover rgb(0, 0, 0);
}

#mw-page-base {
    background: transparent !important;
}

.mw-wiki-logo {
    background-image: url( https://static.wikia.nocookie.net/animalroyale_ru_gamepedia/images/b/bc/Wiki.png/revision/latest ) !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;
}/* Wiki specific styles for itemboxes in Module:Rarity */
.sar-season-free-box {
    display:block;
    height:30px;
    background:white;
}
.sar-season-notfree-box {
    display:block;
    height:30px;
}
.sar-season-free-box > .sar-season-free-text {
    text-align: center;
    top: 1px;
    color: black;
    font-weight: bold;
    position: relative;
    margin-top: 0px;
    font-size: large;
    text-transform: uppercase;
}
.sar-rarity-itembox {
    display: inline-block;
    margin-left: 5px;
    vertical-align:text-top;
    line-height: 20px;
}
.sar-rarity-imagebox {
    overflow: hidden;
    display: block;
    width: 152px;
    height: 152px;
    line-height: 147px;
    text-align: center;
    position: relative;
}

.sar-rarity-imagebox::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(15deg);
    position: absolute;
    top: 0;
    left: 0;
}
.sar-rarity-common {
    background: #595959;
}
.sar-rarity-uncommon-framed {
    background: #adff52;
}
.sar-rarity-uncommon {
    background: #6bbf00;
}
.sar-rarity-uncommon-framed::after {
    background: #7be300;
}
.sar-rarity-rare-framed {
    background: #63e1ff;
}
.sar-rarity-rare {
    background: #00b5f2;
}
.sar-rarity-rare-framed::after {
    background: #00b7f7;
}
.sar-rarity-epic-framed {
    background: #ce64ff;
}
.sar-rarity-epic {
    background: #8733c6;
}
.sar-rarity-epic-framed::after {
    background: #911cce;
}
.sar-rarity-legendary-framed {
    background: #ffda52;
}
.sar-rarity-legendary {
    background: #f7cd0f;
}
.sar-rarity-legendary-framed::after {
    background: #e7a300;
}
.sar-rarity-special {
    background: #f47f3d;
}
.image img {
  position: relative;
  z-index: 1;
}
.sar-rarity-itemtext {
    display: block;
    width: 152px;
    text-align: center;
}
.sar-rarity-amount-div > .sar-rarity-amount-p {
    margin-top: 0px !important;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: larger;
    line-height: 27px;
}
.sar-rarity-amount-div {
    position: absolute;
    top: 0;
    right: 0;
    height: 26px;
    width: 70px;
    background-color: rgb(40, 40, 40, 0.7);
    line-height: 1;
}