Template:Icon/styles.css: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
(Created page with ".item-img-icon { height: 100px; width: 100px; background: #eee; display: flex; justify-content: center; align-items: center; border: 1px solid white; box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.2); } .item-img-decoration { height: 100px; width: 100px; position: absolute; pointer-events: none; }")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
.item-img-icon {
.icon-img {
height: 100px;
width: 100px;
background: #eee;
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
border: 1px solid white;
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.2);
}
}


.item-img-decoration {
.icon-decoration {
height: 100px;
width: 100px;
position: absolute;
position: absolute;
pointer-events: none;
pointer-events: none;

Latest revision as of 03:00, 10 February 2024

.icon-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-decoration {
    position: absolute;
    pointer-events: none;
}