Difference between revisions of "MediaWiki:Common.css"

From CrowdSociety
Jump to: navigation, search
Line 14: Line 14:
 
/* Erase borders */
 
/* Erase borders */
 
#content    { border-width: 0px; }
 
#content    { border-width: 0px; }
#content {border-right: solid 1px #FFFFFF !important;} /* last change */
 
 
.portlet .pBody { border-width: 0px; }
 
.portlet .pBody { border-width: 0px; }
 
#footer { border-top: 1px dotted #000000; border-bottom-width: 0px; }
 
#footer { border-top: 1px dotted #000000; border-bottom-width: 0px; }

Revision as of 02:30, 10 December 2014

/* 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 dotted #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: 80%; 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:0px;  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; }

/* user's personal TOP menue */

#p-personal .pBody
            { background: #FFFFFF no-repeat top right;}

#p-personal li a,
#p-personal li a.new
            { color: #AAFF77; text-decoration: none; }
#p-personal li a:hover
            { color: #AAFF77; background-color: transparent; text-decoration: line-through; }

/* Additional things */

#footer     { color: #b7b7b7; font-size: 85% }  /* reduce footer */
#bodyContent a[href ^="http://"]
            { background:inherit !important; padding-right:inherit !important}  /* Remove the annoying arrow that occurs after external links */
li#pt-userpage
            { background: none; }  /* no login logo at the user-login button */