Template:Item Info: Difference between revisions
Jump to navigation
Jump to search
m Fixed CSS v3 |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#css: | {{#css | ||
.item_info a { | |||
color: {{{color}}}; | |||
} | |||
.item_info a:visited { | |||
color: {{{color}}}; | |||
} | |||
.item_box { | |||
background: {{{color}}}; | |||
padding: 5px; | |||
font-size: 16pt; | |||
border: 1px solid; | |||
float: right; | |||
text-align: center; | |||
margin-left: 30px; | |||
font-weight: bold; | |||
font-family: Roboto, sans-serif; | |||
border-radius: 15px; | |||
} | |||
.item_box a { | |||
color: #888888; | |||
} | |||
.item_info { | |||
background: rgba(0, 0, 0, 1); | |||
padding: 5px; | |||
font-size: 16pt; | |||
width: 275px; | |||
text-align: center; | |||
color: {{{color}}}; | |||
line-height: 24px; | |||
border-radius: 15px; | |||
margin-bottom: 5px; | |||
} | |||
.item_image { | |||
padding: 5px; | |||
font-size: 16pt; | |||
width: 275px; | |||
height: 275px; | |||
text-align: center; | |||
background: rgba(255, 255, 255, 0.8); | |||
color: {{{color}}}; | |||
border-radius: 15px; | |||
margin-bottom: 5px; | |||
} | |||
.item_image img { | |||
width: 225px; | |||
height: 225px; | |||
image-rendering: pixelated; | |||
margin: auto; | |||
display: inline-block; | |||
position: relative; | |||
top: 25px; | |||
} | |||
.item_quality { | |||
background: rgba(0, 0, 0, 1); | |||
padding: 5px; | |||
font-size: 13pt; | |||
text-align: center; | |||
color: #ffffff; | |||
border-radius: 7.5px; | |||
margin-bottom: 5px; | |||
padding-left: 7.5px; | |||
padding-right: 7.5px; | |||
margin-left: auto; | |||
margin-right: auto; | |||
line-height: 24px; | |||
} | |||
.item_quality a { | |||
color: inherit; | |||
} | |||
.item_desc { | |||
background: rgba(0, 0, 0, 1); | |||
padding: 5px; | |||
font-size: 13pt; | |||
width: 275px; | |||
text-align: center; | |||
color: #ffffff; | |||
border-radius: 7.5px; | |||
margin-bottom: 5px; | |||
} | |||
.item_usage { | |||
background: rgba(0, 0, 0, 1); | |||
padding: 5px; | |||
font-size: 13pt; | |||
width: 275px; | |||
text-align: left; | |||
color: #ffffff; | |||
border-radius: 7.5px; | |||
margin-bottom: 5px; | |||
} | |||
.item_type, | |||
.item_available, | |||
.item_origin { | |||
background: rgba(0, 0, 0, 1); | |||
font-size: 13pt; | |||
width: 275px; | |||
padding: 5px; | |||
text-align: center; | |||
color: #ffffff; | |||
border-radius: 7.5px; | |||
margin-bottom: 5px; | |||
} | |||
.item_origin { | |||
margin-top: -1.2px; | |||
} | |||
}} | |||
<div class="item_box"> | <div class="item_box"> |
Revision as of 20:25, 30 June 2025
{{#css .item_info a {
color: {{{color}}};
}
.item_info a:visited {
color: {{{color}}};
}
.item_box {
background: {{{color}}}; padding: 5px; font-size: 16pt; border: 1px solid; float: right; text-align: center; margin-left: 30px; font-weight: bold; font-family: Roboto, sans-serif; border-radius: 15px;
}
.item_box a {
color: #888888;
}
.item_info {
background: rgba(0, 0, 0, 1); padding: 5px; font-size: 16pt; width: 275px; text-align: center; color: {{{color}}}; line-height: 24px; border-radius: 15px; margin-bottom: 5px;
}
.item_image {
padding: 5px; font-size: 16pt; width: 275px; height: 275px; text-align: center; background: rgba(255, 255, 255, 0.8); color: {{{color}}}; border-radius: 15px; margin-bottom: 5px;
}
.item_image img {
width: 225px; height: 225px; image-rendering: pixelated; margin: auto; display: inline-block; position: relative; top: 25px;
}
.item_quality {
background: rgba(0, 0, 0, 1); padding: 5px; font-size: 13pt; text-align: center; color: #ffffff; border-radius: 7.5px; margin-bottom: 5px; padding-left: 7.5px; padding-right: 7.5px; margin-left: auto; margin-right: auto; line-height: 24px;
}
.item_quality a {
color: inherit;
}
.item_desc {
background: rgba(0, 0, 0, 1); padding: 5px; font-size: 13pt; width: 275px; text-align: center; color: #ffffff; border-radius: 7.5px; margin-bottom: 5px;
}
.item_usage {
background: rgba(0, 0, 0, 1); padding: 5px; font-size: 13pt; width: 275px; text-align: left; color: #ffffff; border-radius: 7.5px; margin-bottom: 5px;
}
.item_type, .item_available, .item_origin {
background: rgba(0, 0, 0, 1); font-size: 13pt; width: 275px; padding: 5px; text-align: center; color: #ffffff; border-radius: 7.5px; margin-bottom: 5px;
}
.item_origin {
margin-top: -1.2px;
} }}
{{{name}}}
ID: {{{id}}}
ID: {{{id}}}
[[File:{{{image}}}]]
{{{quality}}}
{{{desc}}}
[[Items#{{{type}}}|{{{type}}}]]
[[Gamemodes#{{{available}}}|{{{available}}}]]
{{{origin}}}