Content added Content deleted
MarbleNiter (talk | contribs) mNo edit summary |
MarbleNiter (talk | contribs) mNo edit summary |
||
(22 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-top: 1em; |
||
Line 8: | Line 8: | ||
} |
} |
||
.talents-card { |
|||
display: flex; |
|||
⚫ | |||
⚫ | |||
justify-content: center; |
|||
⚫ | |||
height: 80px; |
height: 80px; |
||
background: var(--color-surface-1); |
background: var(--color-surface-1); |
||
border: 1px solid #ffffff1a; |
border: 1px solid #ffffff1a; |
||
border-radius: 8px; |
border-radius: 8px; |
||
⚫ | |||
} |
} |
||
. |
.talent-category { |
||
⚫ | |||
position: fixed; |
|||
⚫ | |||
⚫ | |||
font-size: 0.9em; |
|||
text-align: center; |
|||
right: 0; |
|||
bottom: 0; |
|||
left: 0; |
|||
z-index: 999; |
|||
visibility: hidden; |
|||
opacity: 0; |
|||
pointer-events: none; |
|||
transition: all 0.3s; |
|||
} |
} |
||
⚫ | |||
.modal-window:target { |
|||
⚫ | |||
visibility: visible; |
|||
⚫ | |||
opacity: 1; |
|||
⚫ | |||
pointer-events: auto; |
|||
text-align: center; |
|||
} |
} |
||
a { |
|||
.modal-window > div { |
|||
width: 400px; |
|||
position: absolute; |
|||
top: 50%; |
|||
left: 50%; |
|||
transform: translate(-50%, -50%); |
|||
⚫ | |||
background: var(--color-surface-2); |
|||
} |
|||
.modal-close { |
|||
color: #aaa; |
|||
line-height: 50px; |
|||
⚫ | |||
position: absolute; |
|||
right: 0; |
|||
⚫ | |||
top: 0; |
|||
width: 70px; |
|||
text-decoration: none; |
text-decoration: none; |
||
} |
|||
.modal-close:hover { |
|||
color: black; |
|||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
Latest revision as of 14:44, 8 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;
}
.talent-category {
color: #cff;
font-weight: 600;
font-size: 0.9em;
text-align: center;
}
.talent-label > a {
color: var(--color-base--emphasized);
font-size: 0.9em;
font-weight: 600;
text-align: center;
}
a {
text-decoration: none;
}