More actions
Content deleted Content added
Created page with "→* * EXTREMELY HACKY * Super hacky way to get transclusion and hover works *: #home-card-latestpatch .citizen-overflow-content, #home-card-latestpatch .wikitable { overflow: visible; } #home-card-latestpatch .wikitable, #home-card-latestpatch .wikitable tbody { display: block; } #home-card-latestpatch .wikitable th { display: none; } #home-card-latestpatch .wikitable tr { position: relative; display: flex; } #home-card-latestpatch .wikitable tr > td:first-ch..." |
No edit summary |
||
Line 38: | Line 38: | ||
padding: 0; |
padding: 0; |
||
background: var( --color-surface-1 ); |
background: var( --color-surface-1 ); |
||
border-radius: |
border-radius: 8px; |
||
box-shadow: |
box-shadow: 2.2px 5.3px 10px 10px rgba(46, 49, 56, .05); |
||
user-select: none; |
user-select: none; |
||
opacity: 0; |
opacity: 0; |
||
visibility: hidden; |
visibility: hidden; |
||
transition: |
transition: 250ms cubic-bezier( 0.4, 0, 0.2, 1 ); |
||
transition-property: opacity, transform; |
transition-property: opacity, transform; |
||
} |
} |
||
Line 66: | Line 66: | ||
#home-card-latestpatch .wikitable tr > td:last-child i { |
#home-card-latestpatch .wikitable tr > td:last-child i { |
||
padding: |
padding: 1rem; |
||
display: block; |
display: block; |
||
} |
} |
Latest revision as of 14:01, 29 September 2024
/**
* EXTREMELY HACKY
* Super hacky way to get transclusion and hover works
**/
#home-card-latestpatch .citizen-overflow-content,
#home-card-latestpatch .wikitable {
overflow: visible;
}
#home-card-latestpatch .wikitable,
#home-card-latestpatch .wikitable tbody {
display: block;
}
#home-card-latestpatch .wikitable th {
display: none;
}
#home-card-latestpatch .wikitable tr {
position: relative;
display: flex;
}
#home-card-latestpatch .wikitable tr > td:first-child {
width: 100%;
}
#home-card-latestpatch .wikitable tr > td:first-child:hover ~ td {
opacity: 1;
visibility: visible;
transform: translateY( -16px );
}
#home-card-latestpatch .wikitable tr > td:last-child {
position: absolute;
z-index: 2;
bottom: 100%;
padding: 0;
background: var( --color-surface-1 );
border-radius: 8px;
box-shadow: 2.2px 5.3px 10px 10px rgba(46, 49, 56, .05);
user-select: none;
opacity: 0;
visibility: hidden;
transition: 250ms cubic-bezier( 0.4, 0, 0.2, 1 );
transition-property: opacity, transform;
}
#home-card-latestpatch .wikitable tr > td:last-child figure {
float: none;
margin: 0;
width: 100%;
}
#home-card-latestpatch .wikitable tr > td:last-child figure > a {
display: block;
}
#home-card-latestpatch .wikitable tr > td:last-child figure img {
width: 100%;
}
#home-card-latestpatch .wikitable tr > td:last-child figure figcaption {
display: none;
}
#home-card-latestpatch .wikitable tr > td:last-child i {
padding: 1rem;
display: block;
}