Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TheSilverSword/Talents/Style.css: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
mNo edit summary
Tag: Reverted
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/*
.talents-grid {
.talents-grid {
display: grid;
display: grid;
grid-template-columns: repeat(6, 160px);
grid-template-columns: repeat(6, 140px);
grid-gap: 16px;
grid-gap: 16px;
margin-top: 1em;
padding-top: 1em;
margin-bottom: 1em;
padding-bottom: 1em;
overflow: auto;
overflow: auto;
}

.card-button, .talents-card {
width: 140px;
height: 80px;
background: var(--color-surface-1);
border: 1px solid #ffffff1a;
border-radius: 8px;
}

.modal-window {
position: fixed;
background-color: var(--color-surface-1);
top: 0;
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;
}

.modal-window > div {
width: 400px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 2em;
background: var(--color-surface-2);
}

.modal-close {
color: #aaa;
line-height: 50px;
font-size: 80%;
position: absolute;
right: 0;
text-align: center;
top: 0;
width: 70px;
text-decoration: none;
}

.modal-close:hover {
color: black;
}
}


Line 13: Line 68:
font-size: 0.9em;
font-size: 0.9em;
}
}
*/

Revision as of 11:00, 28 June 2024

/*
.talents-grid {
display: grid;
grid-template-columns: repeat(6, 140px); 
grid-gap: 16px; 
padding-top: 1em;
padding-bottom: 1em;
overflow: auto;
}

.card-button, .talents-card {
width: 140px;
height: 80px;
background: var(--color-surface-1);
border: 1px solid #ffffff1a;
border-radius: 8px;
}

.modal-window {
position: fixed;
background-color: var(--color-surface-1);
top: 0;
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;
}

.modal-window > div {
width: 400px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 2em;
background: var(--color-surface-2);
}

.modal-close {
color: #aaa;
line-height: 50px;
font-size: 80%;
position: absolute;
right: 0;
text-align: center;
top: 0;
width: 70px;
text-decoration: none;
}

.modal-close:hover {
color: black;
}

.talent-category {
color: #cff;
font-weight: 600;
font-size: 0.9em;
}
*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.