MediaWiki:Item.css: Difference between revisions
MediaWiki interface page
More actions
NekoPillow (talk | contribs) Created page with "→******************* Item.css ******************* Description: This is a stylesheet for item pages *************************************************: /* ==========..." |
NekoPillow (talk | contribs) mNo edit summary |
||
| Line 3: | Line 3: | ||
This is a stylesheet for item pages | This is a stylesheet for item pages | ||
*************************************************/ | |||
/* ========== Item InfoBox ========== */ | /* ========== Item InfoBox ========== */ | ||
Revision as of 05:54, 1 March 2019
/******************** Item.css *******************
Description:
This is a stylesheet for item pages
*************************************************/
/* ========== Item InfoBox ========== */
.iteminfobox {
font-family: Century Gothic;
font-weight: bold;
color: #FFF;
background-image: linear-gradient(to right top, #126699, #1b72a6, #237fb3, #2b8cbf, #3399cc);
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
border-radius: 8px;
}
.iteminfobox .header {
padding: 5px 15px;
}
.iteminfobox .header h3 .mw-headline {
display: flex;
align-items: center;
}
.iteminfobox .header h3 .growsprite img {
width: 48px;
}
.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 .i_banner {
display: block;
width: 100%;
height: 250px;
}
.iteminfobox .i_banner img {
width: 100%;
height: 100%;
object-fit: cover;
}
.iteminfobox .sect_title {
font-size: 20px;
background: #035;
display: block;
padding: 7px 15px;
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
}
.iteminfobox .sect_text {
padding: 12px 25px;
font-size: 16px;
text-shadow: -2px 2px 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: #6AF;
font-size: 20px;
text-align: left;
}
.iteminfobox table.sect_text td {
display: block;
padding: 5px 15px;
}
/* ========== 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;
}