Difference between revisions of "MediaWiki:Common.css"

From CrowdSociety
Jump to: navigation, search
 
(508 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
/*-----------------------------------------------------------------------------*/
 +
/* To change the BACKGROUND COLOR of the globalWrapper */
 +
/*-----------------------------------------------------------------------------*/
  
/* To change the background colors of only the text areas of all the pages */
 
body{background-image:none}
 
  
/*** Bold 'edit this page' link to encourage newcomers ***/
+
#globalWrapper {
 +
Background-color: #F5F5F5;
 +
Background-image:none;
 +
width: 100%;
 +
margin: 0; padding: 0;
 +
overflow: auto;
 +
}
  
    ca-edit a {  
+
div#content {
 +
background-color: #F5F5F5;
 +
width:55%;
 +
top: 25px;
 +
overflow: auto;
 +
}
  
  font-weight: bold !important;
 
  
 +
 +
/*-----------------------------------------------------------------------------*/
 +
/* user's personal TOP menue */
 +
/*-----------------------------------------------------------------------------*/
 +
 +
 +
div#p-personal {
 
}
 
}
  
/* Infobox template style */ .infobox {
+
#p-personal .pBody {  
 +
background: #F5F5F5;
 +
float: right;
 +
}
  
  border: 1px solid #aaaaaa;
+
#p-personal li a, #p-personal li a.new {
  background-color: #ffffff;
+
color: #5b5b5b;  
  color: white;
+
text-decoration: none;  
  margin-bottom: 1em;
+
}
  margin-left: 1em;
+
  padding: 10em;
+
  float: right;
+
  clear: right;
+
  
} .infobox td, .infobox th {
+
#p-personal li a:hover {  
 +
color: #000000;
 +
background-color: transparent;
 +
text-decoration: line-through;
 +
}
  
  vertical-align: top;
 
  
} .infobox caption {
+
/*-----------------------------------------------------------------------------*/
 +
/* TOP Menue (second line) edits */
 +
/*-----------------------------------------------------------------------------*/
  
  font-size: larger;
 
  margin-left: inherit;
 
  
} .infobox.bordered {
+
div#p-cactions {
 +
background-color: #F5F5F5;
 +
}
  
  border-collapse: collapse;
+
#p-cactions li {
 +
text-indent: 20;    /*spacing between words in the top bar */
 +
border-width: 0px;
 +
background-color: #F5F5F5;
 +
float:left; 
 +
margin: 8px;
 +
}
 +
 
 +
#p-cactions li a  {
 +
display:block; 
 +
color:#000000; 
 +
font-weight: regular;
 +
text-decoration:none;
 +
background-color: #F5F5F5;
 +
}
 +
 
 +
#p-cactions li a:hover {
 +
color: #000000;
 +
text-decoration: line-through;
 +
background-color: #F5F5F5;
 +
}
 +
 
 +
#p-cactions li.selected a {
 +
border:none;
 +
background-color: #F5F5F5;
 +
}
 +
 
 +
#p-cactions li.selected  a:hover {
 +
color: #000000;
 +
text-decoration: line-through;
 +
background-color: #F5F5F5;
 +
}
  
} .infobox.bordered td, .infobox.bordered th {
 
  
  border: 1px solid #aaaaaa;
+
/*-----------------------------------------------------------------------------*/
 +
/* Table of Content TOC */
 +
/*-----------------------------------------------------------------------------*/
  
} .infobox.bordered .borderless td, .infobox.bordered .borderless th {
 
  
  border: 0;
 
  
 +
#toc {
 +
font-size: 1.1em;
 +
margin: 0 0 1em 1em;
 +
float: right;
 +
border: solid 1px #00000;
 +
text-color: #282828;
 +
background-color: #F5F5F5;
 
}
 
}
  
/* Forum formatting (by -Algorithm & -Splaka) */ .forumheader {
 
  
  border: 1px solid #aaaaaa;
 
  margin-top: 1em;
 
  padding: 12px;
 
  
} .forumlist td.forum_edited a {
 
  
  color: black;
 
  text-decoration: none;
 
  
} .forumlist td.forum_title a {
 
  
  padding-left: 20px;
 
  
} .forumlist td.forum_title a.forum_new {
+
/* Allow limiting of which header levels are shown in a TOC;
 +
  <div class="toclimit-3">, for instance, will limit to
 +
  showing ==headings== and ===headings=== but no further
 +
  (as long as there are no =headings= on the page, which
 +
  there shouldn't be according to the MoS). */
  
  font-weight: bold;
+
.toclimit-2 .toclevel-1 ul,
  background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
+
.toclimit-3 .toclevel-2 ul,
  padding-left: 20px;
+
.toclimit-4 .toclevel-3 ul,
 +
.toclimit-5 .toclevel-4 ul,
 +
.toclimit-6 .toclevel-5 ul,
 +
.toclimit-7 .toclevel-6 ul {
 +
    display: none;
 +
}
  
} .forumlist td.forum_title a.forum_new:visited {
 
  
  font-weight: normal;
 
  background: none;
 
  padding-left: 20px;
 
  
} .forumlist th.forum_title {
 
  
  padding-left: 20px;
+
/*-----------------------------------------------------------------------------*/
 +
/* LOGO position */
 +
/*-----------------------------------------------------------------------------*/
 +
 
 +
 
 +
#p-logo, #p-logo a, #p-logo a:hover {
 +
width:192px;
 +
height: 150px;
 +
margin-left: 0px;
 +
margin-top: 10px;
 +
margin-bottom: 30px;
 +
z-index: 999;
  
 
}
 
}
  
/* Recent changes byte indicators */ .mw-plusminus-pos {
 
  
  color: #000000;
+
/*-----------------------------------------------------------------------------*/
 +
/* Dynamik Image resizing (Images have to be in div-tags like that - <div>[[Image:MyImage.png]]</div> -  */
 +
/*-----------------------------------------------------------------------------*/
 +
 
 +
img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }
  
} .mw-plusminus-neg {
+
/*-----------------------------------------------------------------------------*/
 +
/* Sidebar Modifications */
 +
/*-----------------------------------------------------------------------------*/
  
  color: #000000;
 
  
 +
.portlet .pBody {
 +
background-color:#F5F5F5;
 +
z-index: 99;
 
}
 
}
  
/* Image frame fix */ div.tright, div.tleft {
+
/* increase sidebar width */
  
  border: 1px solid silver;
+
#column-content {
 +
margin-left: -16em;  
 +
}
  
 +
#column-content #content {
 +
margin-left: 16em;
 
}
 
}
  
div.thumbinner {
+
#p-logo a, #p-logo a:hover {  
 +
width: 16em;
 +
}
  
  background: inherit;
+
#p-cactions {
  border: none;
+
left: 14.5em;  
  color: inherit;
+
}
 +
 
 +
.portlet {
 +
width: 14em;  
  
 
}
 
}
  
    article div.thumb {  
+
div#column-content {  
 +
margin-left: -14em;
 +
}
  
  color:inherit;
+
div#content {
 +
margin-left: 14em;  
 +
}
  
 +
 +
/*-----------------------------------------------------------------------------*/
 +
/* changes the background of pre areas  */
 +
/*-----------------------------------------------------------------------------*/
 +
 +
pre { background-color: #F5F5F5}
 +
 +
 +
/*-----------------------------------------------------------------------------*/
 +
/* Tabellenhintergründe transparent machen */
 +
/*-----------------------------------------------------------------------------*/
 +
 +
 +
table.diff {
 +
background-color: transparent;
 
}
 
}
  
/* === Babel === */
 
  
div.babelbox {
+
/*-----------------------------------------------------------------------------*/
 +
/* To change the size of the whitespace abouve an article's title (between top menue and the article's title */
 +
/*-----------------------------------------------------------------------------*/
  
  float: right;
 
  margin-left: 1em;
 
  margin-bottom: 0.5em;
 
  width: 246px;
 
  border: 1px solid #aaaaaa;
 
  padding: 2px 0 2px 0;
 
  
} .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
+
#siteNotice {
 +
    margin-top: 100px;
 +
    margin-bottom: 0em;
 +
}
  
  margin: 2px 4px 2px 4px; /* t, l, b, r */
 
  width:238px;
 
  border-collapse: collapse;
 
  
} td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
+
/*-----------------------------------------------------------------------------*/
 +
/* Erase borders */
 +
/*-----------------------------------------------------------------------------*/
  
  text-align:center;
 
  font-size:14pt;
 
  width:45px;
 
  height:45px;
 
  
} td.lang-descriptionN, td.lang-description0, td.lang-description1, td.lang-description2, td.lang-description3 {
+
#content    { border-width: 0px; }
 +
.portlet .pBody { border-width: 0px; }
 +
#footer {width: 100%; border-top: 0px; border-bottom-width: 0px; Background-color: #F5F5F5;}
  
font-size:8pt;
 
padding:4pt;
 
line-height:1.25em;
 
  
 +
/*-----------------------------------------------------------------------------*/
 +
/* CHANGES OF LINKS COLORS */
 +
/*-----------------------------------------------------------------------------*/
 +
 +
 +
a:link  {
 +
color: #2e7cff;
 +
text-decoration: none;
 
}
 
}
  
.lang-block0 {
+
a:hover  {  
 +
color: #97d2ff;
 +
text-decoration: line-through;
 +
}
  
  border:1px solid #aaaaaa;
+
a:visited  {
 +
color: #26baaf;
 +
text-decoration: line-through;  
 +
}
  
} td.lang-code0 {
+
a:active {
 +
color: #000000;
 +
text-decoration: line-through;
 +
}
  
  background-color: #ffffff;
+
a.new:link {
color: white;
+
color: #ff77aa;  
 +
text-decoration: none;  
 +
}
  
} td.lang-description0 {
+
a.new:hover {  
 +
color: #FF6E9E;
 +
text-decoration: line-through;
 +
}
  
background-color: #ffffff;
 
color: white;
 
  
 +
a.external { color: #2e7cff !important; } /* external link */
 +
a.external:hover    { color: #97d2ff; text-decoration: line-through; }
 +
a.external:visited { color: #26baaf; text-decoration: line-through; }
 +
 +
 +
/*-----------------------------------------------------------------------------*/
 +
/* Headlines and Body - Styling */
 +
/*-----------------------------------------------------------------------------*/
 +
 +
 +
html,body,p,td,a,li {
 +
font: 0.9em Times, "Times New Roman", "Palatino", "Georgia", serif;
 +
background-color: #F5F5F5;
 +
}
 +
 +
 +
/*inserst and edit "0px line #000000; line-height: 1.1em" after "border-bottom:" to see a line, and I erased "margin: 3em 0 0.25em 0;" after "uppercase" */
 +
 +
h1  {
 +
 +
font: bold 1.8em Helvetica, Arial, Roboto, "DejaVu Sans", sans-serif;
 +
color: #000000;
 +
letter-spacing: 0.12em;
 +
text-transform: uppercase;
 +
border-bottom: none;
 +
padding-bottom: 2em;
 +
 +
 +
 +
/* inserst and edit "0px line #000000; line-height: 1.1em" after "border-bottom:" to see a line */
 +
 +
h2  {
 +
 +
font: 1.3em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif; 
 +
color: #000000; letter-spacing: 0.1em;
 +
text-transform: uppercase;
 +
text-decoration: underline;
 +
margin: 2em 0 0 0;
 +
border-bottom: none;
 +
padding-bottom: 2em;
 +
 +
 +
 +
h3  {
 +
 +
font: 1.1em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;
 +
color: #000000; letter-spacing: 0.06em;
 +
text-transform: uppercase;
 +
padding-top: 0.7em;
 +
padding-bottom: 0.2em;
 
}
 
}
  
.lang-block1, .lang-block2, .lang-block3 {
 
  
  border:1px solid #aaaaaa;
+
h4  {
  
} td.lang-code1, td.lang-code2, td.lang-code3 {
+
font: 0.92em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;
 +
color: #000000;
 +
letter-spacing: 0.06em;
 +
text-transform: uppercase;
 +
padding-top: 0.5em;
 +
padding-bottom: 0.2em;
 +
}
  
background-color: #ffffff;
 
color: white;
 
  
} td.lang-description1, td.lang-description2, td.lang-description3 {
+
h5  {  
  
background-color: #ffffff;
+
font: 0.91em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;
color: white;
+
color: #000000;  
 +
letter-spacing: 0.06em;  
 +
text-transform: uppercase;
 +
padding-top: 0.3em;
 +
padding-bottom: 0.1em;
 +
}
  
 +
 +
h6  {
 +
 +
font: 0.91em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;
 +
color: #000000;
 +
letter-spacing: 0.06em;
 +
text-transform: uppercase;
 +
padding-top: 0.1em;
 +
padding-bottom: 0.05em;
 
}
 
}
  
.lang-blockN {
 
  
  border:1px solid #aaaaaa;
+
/*-----------------------------------------------------------------------------*/
 +
/* FOOTER */
 +
/*-----------------------------------------------------------------------------*/
 +
 
 +
 
 +
#f-poweredbyico { display: none; } /* Erases the mediawiki logo */
 +
#f-copyrightico { display: none; }
 +
 
 +
 
 +
/* reduce footer */
 +
 
 +
#footer    {
 +
color: #000000;
 +
font-size: 85%;
 +
 +
 
 +
 
 +
 
 +
/*-----------------------------------------------------------------------------*/
 +
/* Additional things */
 +
/*-----------------------------------------------------------------------------*/
 +
 
 +
 
 +
/* Remove the annoying arrow that occurs after external links */
 +
#bodyContent a[href ^="http://"] {
 +
background:inherit !important; padding-right:inherit !important
 +
background-color: #F5F5F5;
 +
 +
 
  
} td.lang-codeN {
+
li#pt-userpage
 +
            { background: none; }  /* no login logo at the user-login button */
  
background-color: #ffffff;
 
color: white;
 
  
} td.lang-descriptionN {
+
/*-----------------------------------------------------------------------------*/
 +
/*Change the color of the user message notice box */
 +
/*-----------------------------------------------------------------------------*/
  
background-color: #ffffff;
 
color: white;
 
  
 +
.usermessage {
 +
  background-color: none;
 +
  border-color: #000000;
 +
  color: black;
 +
  margin: 2em 0em 1em 0em;
 +
  padding: 0.5em 1em;
 +
  vertical-align: middle;
 +
  text-align: center;
 
}
 
}

Latest revision as of 12:42, 21 May 2015

/*-----------------------------------------------------------------------------*/
/* To change the BACKGROUND COLOR of the globalWrapper */
/*-----------------------------------------------------------------------------*/


#globalWrapper {
Background-color: #F5F5F5;
Background-image:none;
width: 100%;
margin: 0; padding: 0;
overflow: auto;
}

div#content {
background-color: #F5F5F5;
width:55%;
top: 25px;
overflow: auto;
}



/*-----------------------------------------------------------------------------*/
/* user's personal TOP menue */
/*-----------------------------------------------------------------------------*/


div#p-personal {
}

#p-personal .pBody { 
background: #F5F5F5;
float: right;
}

#p-personal li a, #p-personal li a.new { 
color: #5b5b5b; 
text-decoration: none; 
}

#p-personal li a:hover { 
color: #000000; 
background-color: transparent; 
text-decoration: line-through; 
}


/*-----------------------------------------------------------------------------*/
/* TOP Menue (second line) edits */
/*-----------------------------------------------------------------------------*/


div#p-cactions {
background-color: #F5F5F5;
}

#p-cactions li { 
text-indent: 20;     /*spacing between words in the top bar */
border-width: 0px;
background-color: #F5F5F5;
float:left;  
margin: 8px;
}

#p-cactions li a  { 
display:block;  
color:#000000;  
font-weight: regular;
text-decoration:none; 
background-color: #F5F5F5;
}

#p-cactions li a:hover { 
color: #000000; 
text-decoration: line-through;
background-color: #F5F5F5; 
}

#p-cactions li.selected a { 
border:none;
background-color: #F5F5F5;
}

#p-cactions li.selected  a:hover { 
color: #000000; 
text-decoration: line-through;
background-color: #F5F5F5;
}


/*-----------------------------------------------------------------------------*/
/* Table of Content TOC */
/*-----------------------------------------------------------------------------*/



#toc {
font-size: 1.1em;
margin: 0 0 1em 1em;
float: right;
border: solid 1px #00000; 
text-color: #282828; 
background-color: #F5F5F5;
}







/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS). */

.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}




/*-----------------------------------------------------------------------------*/
/* LOGO position */
/*-----------------------------------------------------------------------------*/


#p-logo, #p-logo a, #p-logo a:hover { 
width:192px; 
height: 150px; 
margin-left: 0px; 
margin-top: 10px; 
margin-bottom: 30px;
z-index: 999;

}


/*-----------------------------------------------------------------------------*/
/* Dynamik Image resizing (Images have to be in div-tags like that - <div>[[Image:MyImage.png]]</div> -  */
/*-----------------------------------------------------------------------------*/

img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }

/*-----------------------------------------------------------------------------*/
/* Sidebar Modifications */
/*-----------------------------------------------------------------------------*/


.portlet .pBody {
background-color:#F5F5F5;
z-index: 99;
}

/* increase sidebar width */

#column-content { 
margin-left: -16em; 
}

#column-content #content { 
margin-left: 16em; 
}

#p-logo a, #p-logo a:hover { 
width: 16em; 
}

#p-cactions { 
left: 14.5em; 
}

.portlet { 
width: 14em; 

}

div#column-content { 
margin-left: -14em; 
}

div#content { 
margin-left: 14em; 
}


/*-----------------------------------------------------------------------------*/
/* changes the background of pre areas  */
/*-----------------------------------------------------------------------------*/

pre { background-color: #F5F5F5}


/*-----------------------------------------------------------------------------*/
/* Tabellenhintergründe transparent machen */
/*-----------------------------------------------------------------------------*/


table.diff {
	background-color: transparent;
}


/*-----------------------------------------------------------------------------*/
/* To change the size of the whitespace abouve an article's title (between top menue and the article's title */
/*-----------------------------------------------------------------------------*/


#siteNotice {
    margin-top: 100px;
    margin-bottom: 0em;
}


/*-----------------------------------------------------------------------------*/
/* Erase borders */
/*-----------------------------------------------------------------------------*/


#content    { border-width: 0px; }
.portlet .pBody { border-width: 0px; }
#footer {width: 100%; border-top: 0px; border-bottom-width: 0px; Background-color: #F5F5F5;}


/*-----------------------------------------------------------------------------*/
/* CHANGES OF LINKS COLORS */
/*-----------------------------------------------------------------------------*/


a:link  { 
color: #2e7cff; 
text-decoration: none; 
}

a:hover  { 
color: #97d2ff; 
text-decoration: line-through; 
}

a:visited  { 
color: #26baaf; 
text-decoration: line-through; 
}

a:active {
color: #000000; 
text-decoration: line-through; 
} 

a.new:link  { 
color: #ff77aa; 
text-decoration: none; 
}

a.new:hover { 
color: #FF6E9E; 
text-decoration: line-through; 
}


a.external { color: #2e7cff !important; } /* external link */
a.external:hover     { color: #97d2ff; text-decoration: line-through; }
a.external:visited { color: #26baaf; text-decoration: line-through; }


/*-----------------------------------------------------------------------------*/
/* Headlines and Body - Styling */
/*-----------------------------------------------------------------------------*/


html,body,p,td,a,li { 
font: 0.9em Times, "Times New Roman", "Palatino", "Georgia", serif;
background-color: #F5F5F5;
 }


/*inserst and edit "0px line #000000; line-height: 1.1em" after "border-bottom:" to see a line, and I erased "margin: 3em 0 0.25em 0;" after "uppercase" */

h1  { 

font: bold 1.8em Helvetica, Arial, Roboto, "DejaVu Sans", sans-serif; 
color: #000000; 
letter-spacing: 0.12em; 
text-transform: uppercase;
border-bottom: none; 
padding-bottom: 2em; 
}  


/* inserst and edit "0px line #000000; line-height: 1.1em" after "border-bottom:" to see a line */

h2  { 

font: 1.3em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;  
color: #000000; letter-spacing: 0.1em; 
text-transform: uppercase; 
text-decoration: underline;
margin: 2em 0 0 0;
border-bottom: none; 
padding-bottom: 2em; 
}  


h3  { 

font: 1.1em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif; 
color: #000000; letter-spacing: 0.06em; 
text-transform: uppercase; 
padding-top: 0.7em; 
padding-bottom: 0.2em;
}


h4  { 

font: 0.92em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif; 
color: #000000; 
letter-spacing: 0.06em; 
text-transform: uppercase; 
padding-top: 0.5em; 
padding-bottom: 0.2em;
}


h5  { 

font: 0.91em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif; 
color: #000000; 
letter-spacing: 0.06em; 
text-transform: uppercase; 
padding-top: 0.3em; 
padding-bottom: 0.1em;
}


h6  { 

font: 0.91em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif; 
color: #000000; 
letter-spacing: 0.06em; 
text-transform: uppercase; 
padding-top: 0.1em; 
padding-bottom: 0.05em;
}


/*-----------------------------------------------------------------------------*/
/* FOOTER */
/*-----------------------------------------------------------------------------*/


#f-poweredbyico { display: none; } /* Erases the mediawiki logo */
#f-copyrightico { display: none; }


/* reduce footer */

#footer     { 
color: #000000; 
font-size: 85%;
}  



/*-----------------------------------------------------------------------------*/
/* Additional things */
/*-----------------------------------------------------------------------------*/


/* Remove the annoying arrow that occurs after external links */
#bodyContent a[href ^="http://"] { 
background:inherit !important; padding-right:inherit !important
background-color: #F5F5F5;
}  


li#pt-userpage
            { background: none; }  /* no login logo at the user-login button */


/*-----------------------------------------------------------------------------*/
/*Change the color of the user message notice box */
/*-----------------------------------------------------------------------------*/


.usermessage {
   background-color: none;
   border-color: #000000;
   color: black;
   margin: 2em 0em 1em 0em;
   padding: 0.5em 1em;
   vertical-align: middle;
   text-align: center;
}