MediaWiki:Mobile.less/updatelist.less

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
// <pre>
/* ================================
       [[Template:Update list]]
   ================================ */

// bulletpoint on update line
.update-history {
	> ul {
		margin: 0;
		margin-bottom: .75em;

		// line containing {{UL}}
		> li {
			list-style: none;
		}
	}
	
	li {
		margin-bottom: 0 !important;
	}
}

// badge indicating update type on first line
.update-type {

    // remove underline on hover
    &:hover a {
        text-decoration: none;
    }

    // blue
    a {
        color: white !important;
        background: @curious-blue;
        font-size: 80%;
        font-weight: bold;
        text-transform: uppercase;
        border-radius: 3px;
        padding: 2px 5px;
        
        &:not( [href] ) {
        	color: @white;
        }
    }

    // dark grey
    &.hidden a,
    &.ninja a,
    &.nxt a {
        background: @river-bed;
    }

    // green
    &.patch a {
        background: @lima;
    }

    // red
    &.hotfix a,
    &.coldfix a {
        background: @flamingo;
    }

}