MediaWiki:Common.less/updatelist.less

From RuneScape Classic Wiki
Jump to: navigation, search
// <pre>
/* ================================
       [[Template:Update list]]
   ================================ */

.update-list {

    // 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;

        &:visited {
        	color: white;
        }

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

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

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

}

.update-history {
	max-height: 50vh;
	overflow-y: auto;
	background: @white;
	border: 1px solid @mystic;

	> ul {
		margin: .75em 2em;

		> li {
			margin-bottom: .5em;

			> ul {
				margin-bottom: 0;
			}

		}

	}

}