MediaWiki:Common.less/popular.less

From RuneScape Classic Wiki
Jump to: navigation, search
.popular-pages {

    ul {
        columns: 3;
        margin: 1em 0 .7em 0;
    }

    // skill row
    li {
        display: flex;
        margin-bottom: .4em;
        a {

            &:first-child {
                border-radius: 0px;
                padding: 4px;
                width: 25px;
                height: 30px;
            }
            
            // text
            &:last-child {
                flex: 1;
                display: flex;
                align-items: center;
                color: #FFF;
                font-weight: bold;
                padding-left: .7em;
                padding-top: .5em;
                padding-bottom: .5em;
                text-decoration: none;
                line-height:1.1em;
                overflow: hidden;
                justify-content: center;
                text-align:center;
            }

        }

        &:hover a {
            &:first-child {
                background-color: #444444;
                filter: brightness(130%);
                transition: 0.2s;
            }

            &:last-child {
                color: #FFF;
            }
        }
    }
}

.mp-popular-page-light {
    background-color: #444444;
}