Difference between revisions of "MediaWiki:Common.css"
From World of Entorais Wiki
Jump to navigationJump to search (colours and rounded corners) |
(colours and rounded corners) |
||
Line 3: | Line 3: | ||
/* Change the background colour behind the content area and the tabs*/ | /* Change the background colour behind the content area and the tabs*/ | ||
#content, #content table | #content, #content table | ||
#p-cactions ul li a { background: # | #p-cactions ul li a { background: #f4eddc; } | ||
/* stop background image from scrolling with content area */ | /* stop background image from scrolling with content area */ | ||
Line 12: | Line 12: | ||
/* changes the background of pre areas */ | /* changes the background of pre areas */ | ||
pre { background: # | pre { background: #c1d6b8; } | ||
/* standard link colors */ | /* standard link colors */ |
Revision as of 16:17, 17 January 2019
/* CSS placed here will be applied to all skins */ /* Change the background colour behind the content area and the tabs*/ #content, #content table #p-cactions ul li a { background: #f4eddc; } /* stop background image from scrolling with content area */ body { background-attachment: fixed; } /* replace the book in the background with something else */ /* body { background: Purple; } */ /* changes the background of pre areas */ pre { background: #c1d6b8; } /* standard link colors */ a:link { color: #0645ad; } a:visited { color: #0b0080; } a.new:link { color: #cc2200; } a.new:visited { color: #a55858; } /* links to other Wikipedias */ a.extiw:link { color: #3366bb; } a.extiw:visited { color: #3366bb; } /* external links */ a.external:link { color: #3366bb; } a.external:visited { color: #3366bb; } /* Prevent the new CSS in "Typography Refresh" (since early 2014) from showing page titles and headings in serif font */ h1, h2 { font-family: inherit !important; } /* make a few corners round */ #p-cactions ul li, #p-cactions ul li a { border-top-left-radius: 1em; border-top-right-radius: 1em; } #content { border-top-left-radius: 1em; border-bottom-left-radius: 1em; } .pBody { border-top-right-radius: 1em; border-bottom-right-radius: 1em; }