new tools modules & sass opti
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
This commit is contained in:
parent
821e8e0a36
commit
9e275e0167
24 changed files with 3266 additions and 2372 deletions
444
website/src/styles/_mhwilds.scss
Normal file
444
website/src/styles/_mhwilds.scss
Normal file
|
|
@ -0,0 +1,444 @@
|
|||
.mhwilds-hero {
|
||||
background:
|
||||
linear-gradient(135deg, rgba(139, 92, 246, 0.86), rgba(99, 102, 241, 0.76), rgba(34, 211, 238, 0.58)),
|
||||
var(--color-bg-surface);
|
||||
}
|
||||
|
||||
.mhwilds-home-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(240px, 380px));
|
||||
justify-content: center;
|
||||
gap: var(--space-4);
|
||||
margin-top: var(--space-6);
|
||||
}
|
||||
|
||||
.mhwilds-home-card {
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
min-height: 230px;
|
||||
}
|
||||
|
||||
.mhwilds-home-card img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
object-fit: contain;
|
||||
padding: var(--space-4);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.mhwilds-home-card strong,
|
||||
.mhwilds-home-card span {
|
||||
margin-inline: var(--space-5);
|
||||
}
|
||||
|
||||
.mhwilds-home-card strong {
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
.mhwilds-home-card span {
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.mhwilds-heading p {
|
||||
max-width: 70ch;
|
||||
}
|
||||
|
||||
.mhwilds-title-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.mhwilds-title-row h1 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.results-count {
|
||||
display: inline-flex;
|
||||
min-height: 28px;
|
||||
align-items: center;
|
||||
padding: 4px 10px;
|
||||
border: 1px solid rgba(165, 180, 252, 0.16);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(5, 7, 17, 0.34);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.mhwilds-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
|
||||
gap: var(--space-5);
|
||||
margin-top: var(--space-6);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.mhwilds-filters {
|
||||
position: sticky;
|
||||
top: 92px;
|
||||
}
|
||||
|
||||
.filter-panel {
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-xl);
|
||||
background: rgba(16, 20, 38, 0.72);
|
||||
box-shadow: var(--shadow-sm);
|
||||
backdrop-filter: blur(18px);
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.filter-panel-head,
|
||||
.filter-logic {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.filter-panel-head {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.filter-logic {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.filter-panel-head h2 {
|
||||
margin-bottom: 0;
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.filter-reset-button {
|
||||
color: var(--color-text-secondary);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.filter-reset-button:hover {
|
||||
background: rgba(21, 26, 48, 0.96);
|
||||
}
|
||||
|
||||
.field.compact {
|
||||
padding: var(--space-4) 0;
|
||||
}
|
||||
|
||||
.filter-logic {
|
||||
min-height: 42px;
|
||||
margin-bottom: var(--space-4);
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.36);
|
||||
}
|
||||
|
||||
.filter-logic button {
|
||||
min-height: 30px;
|
||||
padding: 0 12px;
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.filter-options {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
max-height: calc(100vh - 360px);
|
||||
overflow: auto;
|
||||
margin-right: -6px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.filter-chip {
|
||||
display: grid;
|
||||
grid-template-columns: 22px 24px 1fr;
|
||||
min-height: 40px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 7px 9px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(5, 7, 17, 0.32);
|
||||
color: var(--color-text-secondary);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.filter-chip:hover,
|
||||
.filter-chip.active {
|
||||
border-color: var(--color-primary-border);
|
||||
background: var(--color-primary-soft);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.filter-chip input {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
min-height: 18px;
|
||||
accent-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.filter-chip img {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.filter-chip span {
|
||||
overflow: hidden;
|
||||
color: inherit;
|
||||
font-size: var(--font-size-sm);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mhwilds-grid {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.monster-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
||||
}
|
||||
|
||||
.endemic-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
|
||||
}
|
||||
|
||||
.mhwilds-card {
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: rgba(16, 20, 38, 0.88);
|
||||
box-shadow: var(--shadow-sm);
|
||||
transition:
|
||||
transform var(--duration-fast) var(--ease-standard),
|
||||
border-color var(--duration-fast) var(--ease-standard),
|
||||
background-color var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.mhwilds-card:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: var(--color-border-hover);
|
||||
background: rgba(21, 26, 48, 0.96);
|
||||
}
|
||||
|
||||
.monster-card {
|
||||
height: 285px;
|
||||
overflow: visible;
|
||||
cursor: pointer;
|
||||
perspective: 1200px;
|
||||
}
|
||||
|
||||
.monster-card:hover,
|
||||
.monster-card:focus-visible {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.mhwilds-card-inner {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transform-style: preserve-3d;
|
||||
transition: transform 420ms var(--ease-standard);
|
||||
}
|
||||
|
||||
.monster-card.is-flipped .mhwilds-card-inner {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
.mhwilds-card-face {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: rgba(16, 20, 38, 0.92);
|
||||
box-shadow: var(--shadow-sm);
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.mhwilds-flip-indicator {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 2;
|
||||
display: grid;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
place-items: center;
|
||||
border: 1px solid rgba(165, 180, 252, 0.2);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(7, 10, 24, 0.62);
|
||||
color: var(--color-text-primary);
|
||||
pointer-events: none;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.mhwilds-flip-indicator .ui-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.mhwilds-card-front {
|
||||
transform: rotateY(0deg);
|
||||
}
|
||||
|
||||
.mhwilds-card-back {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
.monster-card:hover .mhwilds-card-face {
|
||||
border-color: var(--color-border-hover);
|
||||
background: rgba(21, 26, 48, 0.98);
|
||||
}
|
||||
|
||||
.mhwilds-card-art {
|
||||
display: grid;
|
||||
min-height: 112px;
|
||||
place-items: center;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
background:
|
||||
radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.16), transparent 46%),
|
||||
rgba(5, 7, 17, 0.36);
|
||||
}
|
||||
|
||||
.endemic-card .mhwilds-card-art {
|
||||
min-height: 104px;
|
||||
}
|
||||
|
||||
.mhwilds-card-art img {
|
||||
max-width: min(78%, 230px);
|
||||
max-height: 92px;
|
||||
object-fit: contain;
|
||||
filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.44));
|
||||
}
|
||||
|
||||
.endemic-card .mhwilds-card-art img {
|
||||
max-height: 78px;
|
||||
}
|
||||
|
||||
.mhwilds-card-body {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.mhwilds-card-body h2 {
|
||||
margin-bottom: 8px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.monster-card .eyebrow {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.mhwilds-card-back .mhwilds-card-body {
|
||||
padding: 10px 12px 6px;
|
||||
}
|
||||
|
||||
.mhwilds-card-back .eyebrow {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.mhwilds-icon-row {
|
||||
display: grid;
|
||||
grid-template-columns: 92px 1fr;
|
||||
gap: var(--space-2);
|
||||
align-items: start;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.mhwilds-icon-row > span {
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.82rem;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.mhwilds-icon-row > div {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.mhwilds-icon-row img {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.mhwilds-icon-row em {
|
||||
display: inline-grid;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
place-items: center;
|
||||
color: var(--color-text-muted);
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.damage-table-wrap {
|
||||
min-height: 0;
|
||||
max-height: 218px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
margin: 0 10px 10px;
|
||||
padding: 0;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.damage-table {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
table-layout: fixed;
|
||||
font-size: 0.62rem;
|
||||
}
|
||||
|
||||
.damage-table th,
|
||||
.damage-table td {
|
||||
width: 9%;
|
||||
padding: 2px 1px;
|
||||
border-right: 1px solid var(--color-border);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.damage-table th:first-child,
|
||||
.damage-table td:first-child {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
width: 26%;
|
||||
max-width: 26%;
|
||||
overflow: hidden;
|
||||
border-left: 1px solid var(--color-border);
|
||||
background: var(--color-bg-surface-alt);
|
||||
color: var(--color-text-secondary);
|
||||
text-align: left;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.damage-table th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
background: rgba(21, 26, 48, 0.96);
|
||||
}
|
||||
|
||||
.damage-table th:first-child {
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.damage-table img {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.mobile-nav {
|
||||
display: none;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue