Difference between revisions of "MediaWiki:Monobook.css"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 33: Line 33:
  
 
/* pre & wikitable elements */
 
/* pre & wikitable elements */
#content pre, #content table.wikitable { background: #101010; color: #626262; border-color: #AE5700; overflow: scroll !important; }
+
#content pre, #content table.wikitable { background: #101010; color: #626262; border-color: #AE5700; max-width:100% !important; overflow: auto !important; }
 
#content table.wikitable th { background: #000; color: #626262; }
 
#content table.wikitable th { background: #000; color: #626262; }
  

Revision as of 02:25, 28 March 2013

/*******************************************************************************************
 *                                                                                         *
 *   reference CSS: http://underrail.com/templates/siteground-j15-68/css/template.css      *
 *                & http://underrail.com/forums/Themes/Underrail/css/index.css             *
 *                                                                                         *
 *   This is a pretty dirty hack by someone with no CSS experience no all, sorry!          *
 *   If you want to test/modify this, just copy it to User:YourUsername/monobook.css       *
 *                                                                                         *
 *******************************************************************************************/


/* the editbox and other inputs */
textarea, input, button, select { color: #ccc; padding: 2px; border: 1px solid #333; background: #222; }
textarea:hover, input:hover, button:hover, select:hover { border-color: #AE5700; }


/* anything outside content areas */
body{ background: #000; color: #626262; }


/* main content area border */
#column-content div { background: #101010; border-color: #AE5700; }

/* page contents menu */
table#toc { background: #000; border-color: #AE5700; border-radius: 0.5em 0.5em 0.5em 0.5em; }
div#toctitle { background: #000; }
table#toc * a { text-decoration: none; }
table#toc * a:hover { text-decoration: underline; }

/* text color for content area elements */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6  { color: #AE5700; }
#content div { color: #626262; }

/* pre & wikitable elements */
#content pre, #content table.wikitable { background: #101010; color: #626262; border-color: #AE5700; max-width:100% !important; overflow: auto !important; }
#content table.wikitable th { background: #000; color: #626262; }

/* category links */
div#catlinks, div#catlinks * { background: #000; }
div#catlinks a:link, div#catlinks a:visited { text-decoration: none; }
div#catlinks a:hover { text-decoration: underline; }


/* content area and sidebar links */
a:link, a:visited { text-decoration: underline; color: #AE5700; }
a:hover { text-decoration: none; }
#content a.new { color: #890000; }
#content a.external { background: center right no-repeat; padding-right: 0px; }


/* sidebar */
div.pBody { background: #101010; border-color: #AE5700; border-radius: 0em 1em 1em 0em; }
div.portlet h5 { color: #626262; }


/* user menu */
li#pt-userpage { background: none }
#p-personal li a { color: #AE5700; text-decoration: underline; }
#p-personal li a:hover { background: #000; text-decoration: none; }


/* tabs */
#p-cactions li { border-color: #AE5700; border-radius: 0.5em 0.5em 0em 0em; }
#p-cactions li a { background: #000; color: #AE5700; border-radius: 0.5em 0.5em 0em 0em; }
#p-cactions li.selected a { background: #101010; color: #AE5700; font-weight: bold; border-radius: 0.5em 0.5em 0em 0em; }
#p-cactions li a:hover { background: #101010; }


/* footer */
div#footer { background: #000; color: #626262; }


/* Special page fixes */
fieldset { border-color: #AE5700; }
ul#pagehistory li { background: #101010; border:1px solid #333; }
ul#pagehistory li.selected { background: #000; border:1px dotted #AE5700; }
table.diff { background: #101010; }
td.diff-addedline, td.diff-deletedline, td.diff-context, td.diff-empty { background: #101010; }
code { background: #000; }
ul#filetoc { background: #000; border-color: #AE5700; }
table.listfiles th { background: #101010; }
table.listfiles td, table.listfiles tr { background: #000; }