Jump to content

MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 30: Line 30:


/*==Word changers==*/
/*==Word changers==*/
.altOuter {color:#2F2; cursor:pointer; display:none}
.altOuter {color:#8F8; cursor:pointer; display:none}
.altInner {color:#080; border:1px solid #EEE}
.altInner {color:#080; border:1px solid #EEE}


Line 37: Line 37:


.fullWidth img { width:100%; height:auto } /* fitting an image to full page width on desktop mode (i dont know why tf this isn't already a built-in option in mediawiki tbh): */
.fullWidth img { width:100%; height:auto } /* fitting an image to full page width on desktop mode (i dont know why tf this isn't already a built-in option in mediawiki tbh): */
li { line-height:1.2em; margin:0.8em 0 } /* spacing for bullet points */
.wikitable ul { margin:0 0 0 0.7em }
.wikitable li { margin:0 }


.no-bold-th th { font-weight:normal } /* sometimes you don't want table headers to be bolded, because some other cells need the emphasis instead */
.no-bold-th th { font-weight:normal } /* sometimes you don't want table headers to be bolded, because some other cells need the emphasis instead */


li { line-height:1.2em; margin:0.8em 0 } /* spacing for bullet points */
a.new{color:#B55} /* draw less attention to red links, visually */
 
 
/*==Talk pages==*/
 
/* add separation between comments (relies on DiscussionTools extension) */
.ext-discussiontools-init-replylink-buttons { font-weight:bold; }
.ext-discussiontools-init-replylink-buttons:after {
content:'-';
color:#FFF0;
display:block;
margin-right:75%;
border-top:1px dashed #0FF;
border-image:linear-gradient(to right, #0FF, #FFF0) 1;
}
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section {
border-top:2px solid #000;
}
.ext-discussiontools-init-section h2:not(
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section h2) {
  background:#CCC; border:none;
}