Template:Monster/styles.css
Template page
More actions
.d2-mon {
float: right;
clear: right;
margin: 0 0 1em 1.5em;
padding: 12px 14px;
width: 440px;
max-width: 100%;
box-sizing: border-box;
background: #0a0a0c;
border: 1px solid #4a4032;
border-radius: 4px;
box-shadow: 0 0 0 1px #000, 0 4px 18px rgba(0, 0, 0, 0.6);
color: #ffffff;
font-size: 13px;
line-height: 1.4;
}
/* variants side by side: Template:Monster with inline=yes inside a div.d2-mon-row */
.d2-mon-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: flex-start;
margin: 1em 0;
}
.d2-mon.d2-mon-inline {
float: none;
clear: none;
margin: 0;
flex: 0 1 440px;
}
.d2-mon-image {
margin-bottom: 8px;
text-align: center;
}
.d2-mon-name {
font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
font-size: 18px;
letter-spacing: 0.04em;
text-align: center;
color: #ffffff;
}
/* the name colours the game uses: elite yellow, heroic green, veteran dark green, bosses gold */
.d2-mon-elite .d2-mon-name { color: #ffff64; }
.d2-mon-heroic .d2-mon-name { color: #2bd92b; }
.d2-mon-veteran .d2-mon-name { color: #1a8a1a; }
.d2-mon-boss .d2-mon-name,
.d2-mon-superunique .d2-mon-name { color: #c7b377; }
.d2-mon-special .d2-mon-name { color: #ffa800; }
.d2-mon-kind {
text-align: center;
color: #8a8a8a;
font-size: 12px;
}
.d2-mon-class {
text-align: center;
color: #5c5c5c;
font-size: 11px;
font-family: monospace;
}
.d2-mon-table {
width: 100%;
margin-top: 8px;
border-collapse: collapse;
}
.d2-mon-table th,
.d2-mon-table td {
padding: 4px 5px;
border-top: 1px solid #2a2620;
vertical-align: top;
text-align: left;
}
.d2-mon-table tr:first-child th {
border-top: none;
color: #c7b377;
text-align: center;
font-weight: normal;
letter-spacing: 0.04em;
}
.d2-mon-table th {
color: #8a8a8a;
font-weight: normal;
white-space: nowrap;
}
.d2-mon-table td {
color: #dcdcdc;
}
.d2-mon-section {
margin-top: 8px;
padding-top: 6px;
border-top: 1px solid #2a2620;
color: #dcdcdc;
}
.d2-mon-label {
color: #8a8a8a;
font-size: 12px;
}
.d2-mon-note {
margin-top: 8px;
color: #8a8a8a;
font-size: 12px;
font-style: italic;
}
@media (max-width: 720px) {
.d2-mon {
float: none;
width: auto;
margin: 0 0 1em;
}
}