Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions app/battles/[slug]/page.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,25 @@
display: block;
width: 100%;
height: auto;
border-radius: 0.25rem;
border: 1px solid var(--edge-strong);
border-radius: var(--bevel);
corner-shape: bevel;
}

.back {
padding-top: 2rem;
padding-bottom: 3rem;
font-family: var(--font-ui);
font-size: 0.9rem;
letter-spacing: 0.06em;
text-align: center;

a {
color: var(--ink-faded);
color: var(--gaslight-faint);
text-decoration: none;

&:hover {
color: var(--gold-leaf);
color: var(--verdigris);
}
}
}
34 changes: 23 additions & 11 deletions app/battles/page.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
.warName {
font-family: var(--font-character-name);
font-size: 1.5rem;
color: var(--ink);
border-bottom: 1px solid var(--gold-leaf);
color: var(--gaslight);
letter-spacing: 0.04em;
border-bottom: 1px solid var(--edge-brass);
padding-bottom: 0.35rem;
}

Expand All @@ -46,45 +47,56 @@
gap: 1rem;
align-items: baseline;
padding: 0.5rem 0.75rem;
border-radius: 0.25rem;
border-radius: var(--bevel-sm);
corner-shape: bevel;
text-decoration: none;
color: var(--ink);
color: var(--gaslight);
transition: background-color 0.15s ease;

&:hover {
background-color: rgba(212, 162, 89, 0.16);
background-color: rgba(176, 129, 58, 0.08);
}

@media (prefers-reduced-motion: reduce) {
transition: none;
}
}

.name {
display: inline-flex;
display: inline-grid;
grid-auto-flow: column;
align-items: center;
justify-content: start;
gap: 0.5rem;
font-family: var(--font-ui);
font-size: 1.05rem;
}

// A charged node marks a battle with a full account behind it.
.indicator {
flex: none;
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background-color: var(--gold-leaf);
background-color: var(--verdigris);
box-shadow:
inset 0 1px 1px rgba(255, 255, 255, 0.28),
0 1px 2px rgba(8, 5, 2, 0.5);
}

.when {
font-family: var(--font-ui);
font-size: 0.9rem;
color: var(--ink-faded);
color: var(--gaslight-faint);
white-space: nowrap;
font-variant-numeric: tabular-nums;
}

.legend {
margin-top: 2rem;
font-family: var(--font-ui);
font-size: 0.85rem;
color: var(--ink-faded);
font-style: italic;
color: var(--gaslight-faint);
letter-spacing: 0.04em;

@media (max-width: bp.$md) {
padding-left: 1.5rem;
Expand Down
107 changes: 60 additions & 47 deletions app/characters/[slug]/page.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,38 @@
}

.heading {
display: flex;
display: grid;
grid-auto-flow: column;
grid-auto-columns: max-content;
align-items: center;
justify-content: center;
gap: 0.85rem;
flex-wrap: wrap;
width: 100%;

h1 {
font-family: var(--font-character-name);
font-variant: normal;
font-weight: 600;
letter-spacing: 1px;
text-transform: none;
font-weight: 400;
letter-spacing: 0.06em;
font-size: 2.6rem;
line-height: 1.1;
}

// Stack on small screens with the name above the sigil.
@media (max-width: bp.$md) {
flex-direction: column-reverse;
grid-auto-flow: row;
grid-auto-columns: auto;
justify-items: center;
gap: 0.5rem;

> h1 {
order: -1;
}
}
}

.sigilLink {
display: inline-flex;
display: inline-grid;
border-radius: 2px;

&:hover,
Expand All @@ -41,12 +49,12 @@

.alias {
font-family: var(--font-body);
font-variant: normal;
text-transform: none;
font-style: italic;
font-weight: 400;
letter-spacing: 0;
font-size: 0.6em;
color: var(--ink-faded);
color: var(--gaslight-dim);
text-align: left;

@media (max-width: bp.$md) {
Expand All @@ -59,14 +67,15 @@
}

.portrait {
display: flex;
justify-content: center;
display: grid;
justify-items: center;
width: 100%;
max-width: 1100px;
border-radius: 30px;
corner-shape: scoop;
border-radius: 24px;
corner-shape: bevel;
overflow: hidden;
border: 1px solid var(--ink-faded);
border: 1px solid var(--edge-strong);
box-shadow: var(--shadow-raised);

@media (max-width: bp.$md) {
width: 100vw;
Expand All @@ -79,7 +88,7 @@
}
}

// Regional border tints for `.portrait` colours live in `globals.scss`
// Regional border tints for `.portrait`; colours live in `globals.scss`
// as `--region-color-*` tokens (shared with `FilteredHouseList`).
.portraitNorth {
border-color: var(--region-color-north);
Expand Down Expand Up @@ -119,24 +128,25 @@
gap: 0.6rem 1.5rem;
width: 100%;
padding: 1rem 1.25rem;
background: rgba(248, 236, 208, 0.5);
border: 1px solid rgba(107, 68, 35, 0.2);
border-radius: 2px;
background: rgba(22, 17, 12, 0.55);
border: 1px solid var(--edge);
border-radius: var(--bevel-sm);
corner-shape: bevel;
font-family: var(--font-ui);
font-size: 0.9rem;
font-size: 0.95rem;
letter-spacing: 0.03em;

dt {
flex: 0 0 auto;
color: var(--ink-faded);
color: var(--brass);
font-family: var(--font-sans);
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1px;
letter-spacing: 0.12em;
font-size: 0.72rem;
font-weight: 500;
}

dd {
color: var(--ink);
color: var(--gaslight);
margin: 0;
padding: 0;
}
Expand Down Expand Up @@ -170,14 +180,14 @@

.unaffiliated {
font-style: italic;
color: var(--ink-faded);
color: var(--gaslight-dim);
}

.titles {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
display: grid;
grid-template-columns: 1fr;
gap: 0.15rem;
}

Expand All @@ -187,31 +197,28 @@

.relations {
padding: 1rem 1.25rem;
background: rgba(248, 236, 208, 0.4);
border: 1px solid rgba(107, 68, 35, 0.15);
border-radius: 2px;
background: rgba(22, 17, 12, 0.45);
border: 1px solid var(--edge);
border-radius: var(--bevel-sm);
corner-shape: bevel;
font-family: var(--font-ui);
font-size: 0.92rem;
display: flex;
flex-direction: column;
font-size: 0.95rem;
letter-spacing: 0.03em;
display: grid;
grid-template-columns: 1fr;
gap: 0.5rem;

dt {
flex: 0 0 5.5rem;
color: var(--ink-faded);
color: var(--brass);
font-family: var(--font-sans);
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1px;
letter-spacing: 0.12em;
font-size: 0.72rem;
font-weight: 500;

@media (max-width: bp.$sm) {
flex-basis: 100%;
}
}

dd {
color: var(--ink);
color: var(--gaslight);
}

@media (max-width: bp.$md) {
Expand All @@ -221,14 +228,19 @@
}

.relationsRow {
display: flex;
display: grid;
grid-template-columns: 5.5rem 1fr;
gap: 0.6rem;
align-items: baseline;
flex-wrap: wrap;

@media (max-width: bp.$sm) {
grid-template-columns: 1fr;
gap: 0.15rem;
}
}

.placeholder {
color: var(--ink-faded);
color: var(--gaslight-dim);
font-style: italic;
}

Expand All @@ -243,14 +255,15 @@
.back {
font-family: var(--font-ui);
font-size: 0.9rem;
letter-spacing: 0.06em;
text-align: center;

a {
color: var(--ink-faded);
color: var(--gaslight-faint);
text-decoration: none;

&:hover {
color: var(--gold-leaf);
color: var(--verdigris);
}
}
}
Loading
Loading