@import 'mediawiki.skin.variables.less'; @import 'mediawiki.mixins.less'; /* Element colours */ @bold-bkg: #f3f3f3; @bold-border: #e0e0e0; @soft-bkg: #f9f9f9; @soft-border: #eee; @text-grey: #666; @link-grey: #444; @fluff-grey: #888; @header-grey: @link-grey; @smaller-text: 90%; @link-normal: #06c; @link-red: #c35; @link-ext: #53c; /* Not exactly variables */ .widths() { max-width: 1050px; *width: 900px; } .hidden() { position: absolute; top: -99999px; left: -99999px; } .generic-dropdown() { position: absolute; background: #fff; top: 100%; left: 0; padding: 0.75em 2em; border: solid 1px @soft-border; box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.05 ); width: 10em; text-align: left; line-height: 1.1em; z-index: @z-index-dropdown; ul { margin: 0.75em 0; padding: 0; list-style: none; } a { display: block; padding-top: 0.65em; padding-bottom: 0.65em; } }