MediaWiki:Item.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/******************** Item.css *******************
Description:
This is a stylesheet for item pages
*************************************************/
/* ========== Item InfoBox ========== */
.iteminfobox {
font-family: Century Gothic;
font-weight: bold;
color: #FFF;
background: #1F92B4;
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
border-radius: 8px;
}
.iteminfobox .header {
position: relative;
padding: 5px 15px;
background: rgba(0,0,0,0.1);
border-radius: 8px 8px 0 0;
}
.iteminfobox .header h3 .mw-headline {
display: flex;
align-items: center;
}
.iteminfobox .header h3 .growsprite img {
width: 48px;
margin: 2px 0px 5px;
}
.iteminfobox .header h3 b {
font-size: 34px;
text-shadow: -3px 3px rgba(0,0,0,0.5);
line-height: 28px;
margin-left: 5px;
}
.iteminfobox .header h3 small {
display: block;
font-size: 14px;
text-shadow: -2px 2px rgba(0,0,0,0.5);
font-weight: normal;
}
.iteminfobox .sect_title {
font-size: 20px;
background: rgba(0,0,0,0.2);
display: block;
padding: 7px 15px;
}
.iteminfobox .sect_text {
padding: 12px 25px;
font-size: 16px;
text-shadow: -1.5px 1.5px rgba(0,0,0,0.5);
font-weight: normal;
}
.iteminfobox .sect_text .warning {
font-size: 16px;
color: #F60;
}
.iteminfobox table.sect_text {
width: 100%;
box-sizing: border-box;
}
.iteminfobox table.sect_text tbody {
display: flex;
flex-wrap: wrap;
}
.iteminfobox table.sect_text tr {
display: block;
width: 50%;
}
.iteminfobox table.sect_text th {
display: block;
color: #9CF;
font-size: 20px;
text-align: left;
}
.iteminfobox table.sect_text td {
display: block;
padding: 5px 15px;
}
.iteminfobox table.sect_text .seedColor div {
display: inline-block;
vertical-align: middle;
}
.iteminfobox table.sect_text .seedColor img {
width: 20px;
margin: 6px;
}
.iteminfobox table.sect_text .seedColor div span {
display: inline-block;
width: 24px;
height: 24px;
border-radius: 12px;
box-shadow: 1.5px 1.5px 2px rgba(0,0,0,0.5);
vertical-align: middle;
margin: 4px;
}
.iteminfobox table.sect_text td small {
color: #CCC;
}
.iteminfobox table.sect_text td .desc {
display: inline-block;
line-height: 16px;
margin-top: 7px;
margin-left: 7px;
color: #999;
font-size: 12px;
}
.iteminfobox table.sect_text td small b {
color: #F93;
}
/* ========== Sprite ========= */
@keyframes shiftyEffect {
from {filter: brightness(0.5) sepia() saturate(4) hue-rotate(0deg);}
to {filter: brightness(0.5) sepia() saturate(4) hue-rotate(360deg);}
}
.growsprite {
display: inline-block;
}
.growsprite.shifty {
animation: shiftyEffect 10s linear infinite;
}
.growsprite img {
image-rendering: pixelated;
}