MediaWiki:Common.less/updatehistory.less

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

// container for update lists
.update-history {
	max-height: 50vh;
	overflow-y: auto;
	background: @white;
	padding: 1em 1.5em .25em;
	border: 1px solid @mystic;

	> ul {
		margin: 0;

		// line containing {{UL}}
		> li {
			margin-bottom: .75em;
			list-style: none;

			// update description
			> ul {
				margin-bottom: 0;
			}

		}

	}

}

/* ================================
       [[Template:Update list]]
   ================================ */

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

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

    // blue
    a {
        color: white;
        background: @curious-blue;
        font-size: 80%;
        font-weight: bold;
        text-transform: uppercase;
        border-radius: 3px;
        padding: 2px 5px;
    }

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

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

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

}