234 lines
3.4 KiB
CSS
234 lines
3.4 KiB
CSS
/* Bilder für die Community-Posts in r/Ninelands: 540 × 675 CSS-Pixel, aufgenommen mit Faktor 2 (1080 × 1350). */
|
||
html,
|
||
body {
|
||
margin: 0;
|
||
width: 540px;
|
||
height: 675px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
#sheet {
|
||
box-sizing: border-box;
|
||
width: 540px;
|
||
height: 675px;
|
||
padding: 14px 22px 12px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
font-family: var(--font-pixel);
|
||
color: var(--px-parchment);
|
||
font-variant-ligatures: none;
|
||
}
|
||
|
||
img {
|
||
image-rendering: pixelated;
|
||
}
|
||
|
||
.title {
|
||
text-align: center;
|
||
}
|
||
|
||
.title h1 {
|
||
margin: 0;
|
||
font-size: 31px;
|
||
color: var(--px-gold);
|
||
text-shadow: 3px 3px 0 var(--px-ink);
|
||
}
|
||
|
||
.title p {
|
||
margin: 2px 0 0;
|
||
font-size: 14px;
|
||
color: var(--px-parchment-dim);
|
||
}
|
||
|
||
.card {
|
||
background: var(--px-wood);
|
||
border: 3px solid var(--px-ink);
|
||
box-shadow: var(--px-shadow);
|
||
padding: 6px 10px;
|
||
}
|
||
|
||
.card h2 {
|
||
margin: 0;
|
||
font-size: 17px;
|
||
color: var(--px-gold);
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: baseline;
|
||
}
|
||
|
||
.card small {
|
||
font-size: 13px;
|
||
color: var(--px-parchment);
|
||
}
|
||
|
||
.card p {
|
||
margin: 2px 0 6px;
|
||
font-family: var(--font-text);
|
||
font-size: 11.5px;
|
||
line-height: 1.3;
|
||
color: var(--px-parchment-dim);
|
||
}
|
||
|
||
/* Regeltafel: 2 × 2 Figuren */
|
||
.units {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 8px;
|
||
}
|
||
|
||
.pattern {
|
||
display: grid;
|
||
width: fit-content;
|
||
margin: 0 auto;
|
||
border: 2px solid var(--px-ink);
|
||
}
|
||
|
||
.pattern .c {
|
||
position: relative;
|
||
background-size: cover;
|
||
image-rendering: pixelated;
|
||
}
|
||
|
||
.pattern .c.claim::after {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
background: rgba(150, 70, 255, 0.55);
|
||
outline: 1px dashed rgba(255, 255, 255, 0.7);
|
||
outline-offset: -2px;
|
||
}
|
||
|
||
.c > img {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
z-index: 1;
|
||
}
|
||
|
||
.row {
|
||
display: flex;
|
||
gap: 10px;
|
||
align-items: center;
|
||
justify-content: space-around;
|
||
}
|
||
|
||
.gold-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.gold-item img {
|
||
width: 30px;
|
||
height: 30px;
|
||
}
|
||
|
||
.gold-item b {
|
||
color: var(--px-gold);
|
||
}
|
||
|
||
.stars {
|
||
color: var(--px-gold);
|
||
}
|
||
|
||
.foot {
|
||
margin: auto 0 0;
|
||
text-align: center;
|
||
font-size: 13px;
|
||
color: var(--px-parchment-dim);
|
||
}
|
||
|
||
/* Realm-Übersicht */
|
||
.peoples {
|
||
display: grid;
|
||
grid-template-columns: auto repeat(4, 1fr);
|
||
align-items: center;
|
||
gap: 2px 6px;
|
||
}
|
||
|
||
.peoples img {
|
||
width: 40px;
|
||
height: 40px;
|
||
justify-self: center;
|
||
}
|
||
|
||
.peoples .name {
|
||
font-size: 15px;
|
||
}
|
||
|
||
.lock {
|
||
display: block;
|
||
font-size: 11px;
|
||
color: var(--px-gold);
|
||
}
|
||
|
||
.tiles {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
gap: 6px;
|
||
}
|
||
|
||
.tile {
|
||
flex: 1;
|
||
text-align: center;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.patch {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
width: 66px;
|
||
height: 66px;
|
||
margin: 0 auto 3px;
|
||
position: relative;
|
||
border: 2px solid var(--px-ink);
|
||
}
|
||
|
||
.patch span {
|
||
background-size: cover;
|
||
image-rendering: pixelated;
|
||
}
|
||
|
||
.patch img {
|
||
position: absolute;
|
||
left: 22px;
|
||
top: 22px;
|
||
width: 22px;
|
||
height: 22px;
|
||
}
|
||
|
||
.banners {
|
||
display: grid;
|
||
grid-template-columns: repeat(5, 1fr);
|
||
gap: 4px;
|
||
text-align: center;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.banners svg {
|
||
display: block;
|
||
width: 38px;
|
||
height: 38px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.stars-card {
|
||
text-align: center;
|
||
font-size: 16px;
|
||
white-space: pre;
|
||
}
|
||
|
||
.c > img.big {
|
||
inset: -100%;
|
||
width: 300%;
|
||
height: 300%;
|
||
z-index: 2;
|
||
}
|
||
|
||
.gold-item small {
|
||
font-size: 12px;
|
||
color: var(--px-parchment-dim);
|
||
}
|