MediaWiki:Common.less/activediscussions.less

From Old School RuneScape Wiki
Jump to navigation Jump to search
// <pre>
/* ========================================
       [[RuneScape:Active discussions]]
   ======================================== */

:root {
	--discussiontable-link-color: @black;
}

.discussiontable {
    th {
        background-color: @BODY_DARK;

        a {
            color: var(--discussiontable-link-color);
        }
    }

    .topic,
    .edited,
    .edited-by,
    .rg-archive {
        background-color: @BODY_MID;
    }
}

.dpltable {
	// hide the initial row that we can't remove due to quirks of dpl
    margin-top: -30px;

    td {
        padding-left: 5px;
    }
}


.dpltable,
.discussiontable {
    width: 100%;

    .topic {
        width: 40%;
    }

    .edited,
    .edited-by {
        width: 30%;
    }

    .rg-archive {
        width: 20%;
    }
}