More actions
Add more styles |
Add corners background |
||
| Line 4: | Line 4: | ||
padding: 6px; | padding: 6px; | ||
width: 252px; | width: 252px; | ||
background: | |||
url('/images/infobox-top-left.png') top left no-repeat, | |||
url('/images/infobox-top-right.png') top right no-repeat, | |||
url('/images/infobox-bottom-left.png') bottom left no-repeat, | |||
url('/images/infobox-bottom-right.png') bottom right no-repeat, | |||
url('/images/infobox-top.png') top repeat-x, | |||
url('/images/infobox-bottom.png') bottom repeat-x, | |||
url('/images/infobox-left.png') left repeat-y, | |||
url('/images/infobox-right.png') right repeat-y; | |||
} | } | ||
.infobox.npc .image { | .infobox.npc .image { | ||
Revision as of 20:00, 5 March 2025
.infobox.npc {
float: right;
margin: 0.5em 0 0.5em 1em;
padding: 6px;
width: 252px;
background:
url('/images/infobox-top-left.png') top left no-repeat,
url('/images/infobox-top-right.png') top right no-repeat,
url('/images/infobox-bottom-left.png') bottom left no-repeat,
url('/images/infobox-bottom-right.png') bottom right no-repeat,
url('/images/infobox-top.png') top repeat-x,
url('/images/infobox-bottom.png') bottom repeat-x,
url('/images/infobox-left.png') left repeat-y,
url('/images/infobox-right.png') right repeat-y;
}
.infobox.npc .image {
max-width: 100%;
}
.infobox.npc img {
width: 100%;
height: auto;
}
.infobox.npc .image pre {
background: transparent;
border: none;
}