MediaWiki:Common.less/questdetails.less

From Old School RuneScape Wiki
Jump to navigation Jump to search
/* [[Template:Quest details]] */

:root {
    --questdetails-header-background: #cfc2aa;
    --questdetails-header-background-alt: #cfbda1;
}

.questdetails {
    width: 100%;
    background-color: @infobox-background;
    border: 1px solid @infobox-border-color;
    border-collapse: separate;

    th {
    	text-align: left;
    }
}

.questdetails-header {
    padding: 0.5em 1em;
    background-color: var(--questdetails-header-background);
    width: 125px;
}

.questdetails tr:nth-child(odd) .questdetails-header {
    background-color: var(--questdetails-header-background-alt);
}

.questdetails-info {
    padding-left: 1em;
    padding-right: 2em;
}