MediaWiki:Common.css

From CrowdSociety
Revision as of 00:56, 10 December 2014 by Tmarian (Talk)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* To change the background colors of only the text areas of all the pages */
body{background-image:none; color: #ffffff}
.portlet    { background-color: #FFFFFF}

#article {background-color:#ffffff}
 
#articleFooter {background-color:#ffffff}

/* To change the size of the whitespace abouve an article's title */
#siteNotice {
    margin-top: 95px;
    margin-bottom: 1em;}

/* Erase borders */
#content    { border-width: 0px; }
.portlet .pBody { border-width: 0px; }
#footer { border-top: 1px solid #000000; border-bottom-width: 0px; }

/* CHANGES OF LINKS COLORS */
a:link      { color: #000000; text-decoration: underline; }
a:hover     { color: #000000; text-decoration: line-through; }
a:visited   { color: #282828; text-decoration: line-through; }

a.new:link  { color: #AAFF77; text-decoration: underline; }
a.new:hover { color: #000000; text-decoration: line-through; }

/* Headlines and Body - Styling */

html,body,p,td,a,li
            { font: 13px Times, "Times New Roman", "Palatino", "Georgia", serif; }

h1          { font: 24px Helvetica, Arial, "DejaVu Sans", sans-serif; color: #000000; letter-spacing: 0.5px;
              margin: 1.5em 0 0.25em 0;
              border-bottom: 0px #000000; line-height: 1.1em; padding-bottom: 0.6em; }  /* edit 0px and instert "line" before colour code to see a line */

h2          { font: 18px Helvetica, Arial, "DejaVu Sans",sans-serif;  color: #000000; letter-spacing: 0.3px;
              margin: 2em 0 0 0;
              border-bottom: 0px  #000000; line-height: 1.1em; padding-bottom: 0.6em; }  /* edit 0px and instert "line" before colour code to see a line */

h3          { font-size: 14px; color: #000000; }

h4          { font-size: 14px; color: #000000; }


/* Table of Content */

#toc        { float: right; margin: 0 0 1em 1em; border: solid 1px #000000; text-color: #000000; color: #FFFFFF; background-color:#ffffff;}
#toc td     { padding: 0.7em; }
#toc .tocindent
            { margin-left: 2em; }
#toc .tocline
            { margin-bottom: 0px; }
#toc p      { margin: 0; }
#toc .editsection
            { margin-top: 2em;}

/* Menue edits */

#p-cactions { padding-right: 0px; margin-right: 0px; background-color: #FFFFFF; width: 100%; top: 25px; } /* this is the bar behind the top menue */
#p-cactions ul
            { margin: 0; padding: 0; list-style: none;  font-size: 85%; margin-left: 20px; }
#p-cactions li
            { float:left; margin:0; padding:10; text-indent:3; border-width: 0px; }
#p-cactions li a
            { display:block;  color:#000000;  font-weight: regular;
              background-color: #FFFFFF;  border:solid 0px #FFFFFF;
              border-width: 0px;  border-left-width:1px;  text-decoration:none; white-space:nowrap;}
#p-cactions li a:hover
            { background-color: #FFFFFF; color: #000000; text-decoration: line-through;}
#p-cactions li.selected a
            { background: #FFFFFF;  border:none;}
#p-cactions li.selected  a:hover
            { color: #000000; text-decoration: line-through; }

/* TOP menue again */

#p-personal .pBody
            { background: #FFFFFF url(http://forge.mysql.com/img/bggradient.jpg) no-repeat top right; }

#p-personal li a,
#p-personal li a.new
            { color: #FFFFFF; text-decoration: none; font-weight: bold; }
#p-personal li a:hover
            { color: #E97B00; background-color: transparent; text-decoration: underline; }