143 lines
2.2 KiB
CSS
143 lines
2.2 KiB
CSS
.stat-block-wrapper {
|
|
margin: 0;
|
|
padding: 16px;
|
|
background-color: #f0f2f5;
|
|
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
color: #222;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.stat-block {
|
|
width: 100%;
|
|
max-width: 650px;
|
|
background: #ffffff;
|
|
padding: 24px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
border-radius: 4px;
|
|
border-top: 6px solid #922610;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sb-header {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.sb-name {
|
|
font-family: "Libre Baskerville", "Georgia", serif;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
color: #922610;
|
|
margin: 0 0 4px 0;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.sb-type {
|
|
font-style: italic;
|
|
font-size: 14px;
|
|
color: #555;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.red-bar {
|
|
height: 3px;
|
|
background-color: #922610;
|
|
margin: 10px 0;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.sb-vitals, .sb-meta, .sb-traits {
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
color: #333;
|
|
}
|
|
|
|
.vital-row, .meta-row {
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.sb-abilities {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: 4px;
|
|
text-align: center;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
.sb-ability {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ab-label {
|
|
font-weight: bold;
|
|
font-size: 12px;
|
|
color: #922610;
|
|
}
|
|
|
|
.ab-val {
|
|
font-size: 13.5px;
|
|
margin-top: 2px;
|
|
color: #222;
|
|
}
|
|
|
|
.sb-traits {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.trait-block, .action-block {
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
margin: 8px 0;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid #eee;
|
|
text-align: justify;
|
|
}
|
|
|
|
.trait-block:last-child, .action-block:last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.sb-section {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.section-title {
|
|
font-family: "Libre Baskerville", "Georgia", serif;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
color: #922610;
|
|
margin: 0 0 4px 0;
|
|
}
|
|
|
|
.section-divider {
|
|
height: 1.5px;
|
|
background-color: #922610;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.legendary-preamble {
|
|
font-size: 13.5px;
|
|
font-style: italic;
|
|
line-height: 1.4;
|
|
margin: 6px 0 10px 0;
|
|
}
|
|
|
|
/* Responsive adjustments for phones */
|
|
@media (max-width: 480px) {
|
|
.stat-block-wrapper {
|
|
padding: 8px;
|
|
}
|
|
.stat-block {
|
|
padding: 14px;
|
|
}
|
|
.sb-name {
|
|
font-size: 24px;
|
|
}
|
|
.ab-val {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|