MediaWiki:Common.less/activediscussions.less

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

.discussiontable {
    &.noresults {
    	.topic,
	    .edited,
	    .edited-by,
	    .yg-archive {
	        color: contrast( @default-page );
	        background-color: darken( @default-page, 10% );
	    }

    	th {
	        background-color: darken( @default-page, 20% );
	
	        a {
	            color: contrast( @default-page );
	        }
	    }
    }

    th {
        color: contrast( @theme-buttons );
        background-color: @theme-buttons;

        a {
            color: contrast( @theme-buttons );

            &:hover {
                text-decoration: none;
            }
        }
    }

    .topic,
    .edited,
    .edited-by,
    .yg-archive {
        color: contrast( @default-page );
        background-color: darken( @default-page, 10% );
    }
}

.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%;
    }

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