User:Blackwolfe/common.css: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
(Blanked the page)
Line 1: Line 1:
.mainpage-items ul {
 
flex: 1 1 auto;
    columns: 3;
    margin: 0;
}
.mainpage-items li {
    display: flex;
    margin-bottom: 0.3em;
}
.mainpage-items li:hover img {
    transform: scale(1.2);
    transition: 0.2s ease-out;
}
.mainpage-items li a:first-child {
    border-radius: 3px;
    width: 48px;
    height: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mainpage-items li a:last-child {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    color: #444e5a;
    font-size: 1.1em;
    font-weight: bold;
    padding-left: 0.7em;
    text-decoration: none;
}
.mainpage-items li:hover a:first-child {
border-radius: 3px 0 0 3px;
}
.mainpage-items li:hover a:last-child {
    color: rgba(255, 255, 255, 0.9);
    border-radius: 0 3px 3px 0;
}

Revision as of 19:03, 22 March 2021