Content added Content deleted
MarbleNiter (talk | contribs) mNo edit summary |
MarbleNiter (talk | contribs) mNo edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.talents-grid { |
.talents-grid { |
||
display: grid; |
display: grid; |
||
grid-template-columns: repeat(6, |
grid-template-columns: repeat(6, 164px); |
||
grid-gap: 16px; |
grid-gap: 16px; |
||
padding-top: 1em; |
|||
padding-bottom: 1em; |
|||
overflow: auto; |
overflow: auto; |
||
} |
|||
.talents-card { |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
width: 164px; |
|||
height: 80px; |
|||
background: var(--color-surface-1); |
|||
border: 1px solid #ffffff1a; |
|||
border-radius: 8px; |
|||
padding: 16px; |
|||
} |
|||
.modal-window { |
|||
position: fixed; |
|||
background-color: #000000cc; |
|||
top: 0; |
|||
right: 0; |
|||
bottom: 0; |
|||
left: 0; |
|||
z-index: 999; |
|||
visibility: hidden; |
|||
opacity: 0; |
|||
pointer-events: none; |
|||
transition: all 0.5s; |
|||
} |
|||
.modal-window:target { |
|||
visibility: visible; |
|||
opacity: 1; |
|||
pointer-events: auto; |
|||
} |
|||
.modal-window > div { |
|||
display: flex; |
|||
flex-flow: column nowrap; |
|||
width: 600px; |
|||
max-width: 100%; |
|||
position: absolute; |
|||
top: 50%; |
|||
left: 50%; |
|||
transform: translate(-50%, -50%); |
|||
padding: 24px; |
|||
background: var(--color-surface-1); |
|||
border: 1px solid #ffffff1a; |
|||
} |
|||
.modal-close { |
|||
font-size: 0.8em; |
|||
position: absolute; |
|||
right: 0; |
|||
top: 0; |
|||
width: 80px; |
|||
text-decoration: none; |
|||
text-align: center; |
|||
padding: 16px; |
|||
letter-spacing: 0.08em; |
|||
} |
} |
||
Line 12: | Line 70: | ||
font-weight: 600; |
font-weight: 600; |
||
font-size: 0.9em; |
font-size: 0.9em; |
||
text-align: center; |
|||
} |
|||
.modal-label { |
|||
color: var(--color-base--emphasized); |
|||
font-weight: 700; |
|||
font-size: 1.25em; |
|||
letter-spacing: 0.04em; |
|||
} |
|||
.modal-sub { |
|||
color: var(--color-base--subtle); |
|||
font-size: 0.9em; |
|||
letter-spacing: 0.04em; |
|||
} |
|||
a { |
|||
text-decoration: none; |
|||
} |
|||
.modal-content { |
|||
font-size: 0.9em; |
|||
} |
|||
.talent-label > a { |
|||
color: var(--color-base--emphasized); |
|||
font-size: 0.9em; |
|||
font-weight: 600; |
|||
text-align: center; |
|||
} |
} |
Latest revision as of 10:36, 4 July 2024
.talents-grid {
display: grid;
grid-template-columns: repeat(6, 164px);
grid-gap: 16px;
padding-top: 1em;
padding-bottom: 1em;
overflow: auto;
}
.talents-card {
display: flex;
align-items: center;
justify-content: center;
width: 164px;
height: 80px;
background: var(--color-surface-1);
border: 1px solid #ffffff1a;
border-radius: 8px;
padding: 16px;
}
.modal-window {
position: fixed;
background-color: #000000cc;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: all 0.5s;
}
.modal-window:target {
visibility: visible;
opacity: 1;
pointer-events: auto;
}
.modal-window > div {
display: flex;
flex-flow: column nowrap;
width: 600px;
max-width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 24px;
background: var(--color-surface-1);
border: 1px solid #ffffff1a;
}
.modal-close {
font-size: 0.8em;
position: absolute;
right: 0;
top: 0;
width: 80px;
text-decoration: none;
text-align: center;
padding: 16px;
letter-spacing: 0.08em;
}
.talent-category {
color: #cff;
font-weight: 600;
font-size: 0.9em;
text-align: center;
}
.modal-label {
color: var(--color-base--emphasized);
font-weight: 700;
font-size: 1.25em;
letter-spacing: 0.04em;
}
.modal-sub {
color: var(--color-base--subtle);
font-size: 0.9em;
letter-spacing: 0.04em;
}
a {
text-decoration: none;
}
.modal-content {
font-size: 0.9em;
}
.talent-label > a {
color: var(--color-base--emphasized);
font-size: 0.9em;
font-weight: 600;
text-align: center;
}