Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Item.css: Difference between revisions

MediaWiki interface page
NekoPillow (talk | contribs)
No edit summary
NekoPillow (talk | contribs)
No edit summary
Line 110: Line 110:
.iteminfobox table.sect_text td .desc {
.iteminfobox table.sect_text td .desc {
     color: #999;
     color: #999;
    font-size: 12px;
}
}
.iteminfobox table.sect_text td small b {
.iteminfobox table.sect_text td small b {

Revision as of 09:24, 22 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 {
    position: relative;
    padding: 5px 15px;
    border-bottom: 2px solid #035;
    box-shadow: 0 5px 10px rgba(0,0,0);
}
.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: linear-gradient(#146,#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: -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: #6AF;
    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 {
    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;
}