MediaWiki:Custom-common.less/mainpage.less

/**************************** * General ****************************/ /* Effects widgets on the front page / templates that use this class. */ .widget_title { padding:2px; margin:10px 0; border:1px solid #BBB; border-radius:3px; color:#DDD; font-size:150%; font-weight:bold; text-align:center; text-transform:capitalize; * { font-family: inherit !important; } } .color1 { background: @theme-buttons; color: #fff; }

/**************************** * Project:Poll ****************************/ /* Changes the color of the bars on polls to fit wiki colors. */ .pollAnswerVotes { color:#DDD; background:darken(@theme-page, 15%); } .pollAnswerVotes div { #gradient.horizontal(@theme-buttons, lighten(@theme-buttons, 15%)) !important; }

/**************************** * Project:News/article ****************************/ .newsarticle-heading { border-bottom:1px solid #b2af9c; } .newsarticle-new { color:white; background:red; padding:1px 3px; border-radius:5px; border:2px dotted darkred; } .newsarticle-date { float:right; } .newsarticle-content { padding:0 5px 0 25px; margin:3px 0 8px 0; background:darken(@theme-page, 2%); border:1px solid darken(@theme-page, 15%); &:after { content: ""; display:block; clear:both; } } .newsarticle-links { float:right; border: 1px solid darken(@theme-page, 15%); line-height: 1; padding: 2px 2px 1px 2px; border-radius: 2px; background: rgba(0,0,0,0.01); } .newsarticle-links:empty { display: none; }