NOTE: We are working on migrating this site away from MediaWiki, so editing pages will be disabled for now.
Difference between revisions of "MediaWiki:Common.css"
From GMOD
m |
m |
||
Line 173: | Line 173: | ||
text-align: center; | text-align: center; | ||
} | } | ||
− | div.componentBox li a { display: block; } | + | div.componentBox li a { /* display: block; */ } |
div.componentBox ul, div.componentBox ol { list-style-type: none; list-style-image: none; margin: 0 } !important | div.componentBox ul, div.componentBox ol { list-style-type: none; list-style-image: none; margin: 0 } !important |
Revision as of 22:20, 23 July 2012
/** CSS placed here will be applied to all skins */ /* Don't display Main Page on main page. Code from the MediaWiki Manual FAQ. */ body.page-Main_Page h1.firstHeading { display:none; } /* Used in Site Guidelines page to highlight guidelines */ .guideline { background: #eeffee; /* light green */ font-weight: bold; border: 1px solid #9999ff; padding: 0.5em; } /* Adding wikitable and prettytable from wikipedia. */ /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em 0.4em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } table.prettytable code, table.wikitable code { background-color: transparent; } /* ======================================================= */ /* Special settings for Chado table descriptions, themselves * shown in mediawiki tables. */ table.chadotable { background: #ffddbb; } table.chadotable th { background: #ffccaa; } /* ======================================================= */ /* Highlight parts of shell script interactions */ /* Highlight text that needs to be typed by the user. */ .enter { font-weight: bold; color: #004444; } /* Highlight commands that users should not do. */ .dont { background-color: #ffff77; } /* ========================================================= */ /* Tutorial Headers */ table.tutorialheader { font-size: 160%; margin: 0px auto; /* center it */ background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; vertical-align: middle; } table.tutorialheader td { padding: 1em; } /* ========================================================= */ /* Styles for the WikiCategoryTagCloud extension. */ .tagcloud { width: 98%; text-align: center; background-color: #FDFDFD; border: 1px solid #EEEEEE; padding: 15px 10px 15px 10px; } .tagcloud a { color: #0052CB; margin-left: 10px; margin-right: 10px; /* font-weight: bold; */ } /* ========================================================== */ /* Indent a whole section, without any other emphasis. */ .indent { margin-left: 2em; } /* ========================================================== */ /* Emphasize a whole section * Details of this may change over time as other types of boxes are added. * For example, font size may be increased, or the border color changed. */ div.emphasisbox { margin: 2em 10%; padding: 1em; border: 2px #004040 solid; background-color: #ffffdd; } /* ========================================================== */ /* Quote box * Less emphasis than, well, an emphasis box! */ div.quotebox { margin: 1em; padding: 0.5em; border: 1px #cccccc solid; background-color: #dddddd; } /* ========================================================== */ /* Image cloud at bottom of home page (and maybe elsewhere?) */ div.imagecloud img { padding-bottom: 0.5em; padding-right: 0.5em; } /* ========================================================== */ /* Get rid of the default MediaWiki book. We are not an encyclopedia. To restore it, comment out the body statement below. */ body { background: #9BAA9D url("/mediawiki/images/9/97/GreenFade.png") 0px 0px repeat-x; } /* ========================================================== */ /* Floating links box on the component pages */ div.componentBox { float: right; margin-left: 1em; margin-bottom: 1em; padding-left: 0.5em; padding-right: 0.5em; border: 1px solid #888888; background-color: #fafafa; line-height: 100%; text-align: center; } div.componentBox li a { /* display: block; */ } div.componentBox ul, div.componentBox ol { list-style-type: none; list-style-image: none; margin: 0 } !important