Difference between revisions of "MediaWiki:Common.css"

From CrowdSociety
Jump to: navigation, search
 
(290 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
/* To change the BACKGROUND COLOR of the globalWrapper */
 
/* To change the BACKGROUND COLOR of the globalWrapper */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
 +
  
 
#globalWrapper {
 
#globalWrapper {
Line 8: Line 9:
 
width: 100%;
 
width: 100%;
 
margin: 0; padding: 0;
 
margin: 0; padding: 0;
 +
overflow: auto;
 
}
 
}
  
div#content, #p-cactions li.selected a {
+
div#content {
 
background-color: #F5F5F5;
 
background-color: #F5F5F5;
width:60%;
+
width:55%;
float: left;
+
top: 25px;
 +
overflow: auto;
 
}
 
}
 +
 +
  
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
/* Table of Content */
+
/* user's personal TOP menue */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
  
#toc {  
+
 
font: 1 em Times, "Times New Roman", "Palatino", "Georgia", serif;
+
div#p-personal {
 +
}
 +
 
 +
#p-personal .pBody {
 +
background: #F5F5F5;
 
float: right;
 
float: right;
margin: 0 0 1em 1em;
 
position: fixed;
 
top: 86px;
 
right: 100px;
 
border: solid 2px #00000;
 
text-color: #282828;
 
color: #F5F5F5;
 
background-color:#F5F5F5;
 
 
}
 
}
  
 +
#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;
 +
}
  
/*#toc td    { padding: 0.7em; }
 
/*#toc .tocindent
 
            { margin-left: 10em; }
 
/*#toc .tocline
 
            { margin-bottom: 0px; }
 
/*#toc p      { margin: 0; }
 
/*#toc .editsection
 
            { margin-top: 2em;}
 
  
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
Line 47: Line 50:
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
  
/* this is the bar behind the top menue */
 
#p-cactions {
 
padding-right: 0px;
 
margin-right: 0px;
 
background-color: #F5F5F5;
 
width: 100%;
 
top: 19px;
 
}
 
  
#p-cactions ul {  
+
div#p-cactions {
margin: 0;
+
background-color: #F5F5F5;
padding: 0;
+
}
list-style: none; 
+
font-size: 85%;
+
margin-left: 10px;
+
}
+
  
#p-cactions li {  
+
#p-cactions li {  
float:left;
+
text-indent: 20;    /*spacing between words in the top bar */
margin:18;
+
border-width: 0px;
padding:18 ; /*left spacing of top bar */
+
background-color: #F5F5F5;
text-indent:30  ;    /*spacing between words in the top bar */
+
float:left; 
border-width: 0px ; /*vertical seperation in the top menue*/
+
margin: 8px;
 
}
 
}
  
Line 76: Line 67:
 
color:#000000;   
 
color:#000000;   
 
font-weight: regular;
 
font-weight: regular;
background-color: #F5F5F5; 
+
text-decoration:none;  
border:none;
+
background-color: #F5F5F5;
border-width: 0px; 
+
border-left-width:0px;
+
text-decoration:none;  
+
white-space:nowrap;
+
 
}
 
}
  
 
#p-cactions li a:hover {  
 
#p-cactions li a:hover {  
background-color: #F5F5F5;
 
 
color: #000000;  
 
color: #000000;  
 
text-decoration: line-through;
 
text-decoration: line-through;
 +
background-color: #F5F5F5;
 
}
 
}
  
 
#p-cactions li.selected a {  
 
#p-cactions li.selected a {  
background: #F5F5F5; 
 
 
border:none;
 
border:none;
 +
background-color: #F5F5F5;
 
}
 
}
  
 
#p-cactions li.selected  a:hover {  
 
#p-cactions li.selected  a:hover {  
 
color: #000000;  
 
color: #000000;  
text-decoration: line-through;  
+
text-decoration: line-through;
 +
background-color: #F5F5F5;
 
}
 
}
 
#p-cactions {
 
left: 0px;
 
}
 
 
 
/*distance from left border of the whole page */
 
#p-cactions ul {
 
margin-left: 195px;
 
}
 
  
  
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
/* user's personal TOP menue */
+
/* Table of Content TOC */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
  
  
#p-personal .pBody {
 
background: #F5F5F5 no-repeat top right;
 
}
 
  
#p-personal li a,
+
#toc {
#p-personal li a.new {
+
font-size: 1.1em;
color: #5b5b5b;  
+
margin: 0 0 1em 1em;
text-decoration: none;  
+
float: right;
 +
border: solid 1px #00000;  
 +
text-color: #282828;
 +
background-color: #F5F5F5;
 
}
 
}
  
#p-personal li a:hover {
+
 
color: #000000;  
+
 
background-color: transparent;
+
 
text-decoration: line-through;  
+
 
 +
 
 +
 
 +
/* 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;
 
}
 
}
 +
 +
  
  
Line 137: Line 132:
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
  
#p-logo, #p-logo a, #p-logo a:hover {
 
  
position:fixed;
+
#p-logo, #p-logo a, #p-logo a:hover {
 
width:192px;  
 
width:192px;  
 
height: 150px;  
 
height: 150px;  
Line 145: Line 139:
 
margin-top: 10px;  
 
margin-top: 10px;  
 
margin-bottom: 30px;
 
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 */ }
  
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
Line 153: Line 154:
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
  
div#mw-panel {
 
position: fixed;
 
overflow: auto;
 
top: 0px;
 
bottom: 0px;
 
height: 100%;
 
}
 
  
 
.portlet .pBody {
 
.portlet .pBody {
 
background-color:#F5F5F5;
 
background-color:#F5F5F5;
 +
z-index: 99;
 
}
 
}
 
  
 
/* increase sidebar width */
 
/* increase sidebar width */
 +
 
#column-content {  
 
#column-content {  
margin-left: -15em;  
+
margin-left: -16em;  
 
}
 
}
  
 
#column-content #content {  
 
#column-content #content {  
margin-left: 15em;  
+
margin-left: 16em;  
 
}
 
}
  
 
#p-logo a, #p-logo a:hover {  
 
#p-logo a, #p-logo a:hover {  
width: 15em;  
+
width: 16em;  
 
}
 
}
  
Line 185: Line 180:
 
.portlet {  
 
.portlet {  
 
width: 14em;  
 
width: 14em;  
 +
 
}
 
}
  
Line 194: Line 190:
 
margin-left: 14em;  
 
margin-left: 14em;  
 
}
 
}
 
  
 
/*-----------------------------------------------------------------------------*/
 
/* To change the BACKGROUND COLORS of only the text areas of all the pages */
 
/*-----------------------------------------------------------------------------*/
 
 
/*body {background-image:none; color: #F5F5F5}
 
/*.portlet    { background-color: #F5F5F5}
 
/*.same-bg { background: none }
 
  
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
Line 209: Line 196:
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
  
/*pre { background-color: #F5F5F5}
+
pre { background-color: #F5F5F5}
  
  
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
/* To change the BACKGROUND COLORS of articles */
+
/* Tabellenhintergründe transparent machen */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
  
/*#article {background-color:#F5F5F5}
 
/*#articleFooter {background-color:#F5F5F5}
 
 
/*-----------------------------------------------------------------------------*/
 
/* Tabellenhintergründe transparent machen */
 
/*-----------------------------------------------------------------------------*/
 
  
 
table.diff {
 
table.diff {
 
background-color: transparent;
 
background-color: transparent;
 
}
 
}
 
  
  
Line 232: Line 212:
 
/* To change the size of the whitespace abouve an article's title (between top menue and the article's title */
 
/* To change the size of the whitespace abouve an article's title (between top menue and the article's title */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
 +
  
 
#siteNotice {
 
#siteNotice {
     margin-top: 86px;
+
     margin-top: 100px;
 
     margin-bottom: 0em;
 
     margin-bottom: 0em;
 
}
 
}
Line 242: Line 223:
 
/* Erase borders */
 
/* Erase borders */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
 +
  
 
#content    { border-width: 0px; }
 
#content    { border-width: 0px; }
Line 251: Line 233:
 
/* CHANGES OF LINKS COLORS */
 
/* CHANGES OF LINKS COLORS */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
 +
  
 
a:link  {  
 
a:link  {  
color: #77aaff;  
+
color: #2e7cff;  
 
text-decoration: none;  
 
text-decoration: none;  
 
}
 
}
  
 
a:hover  {  
 
a:hover  {  
color: #6ABCFA;  
+
color: #97d2ff;  
 
text-decoration: line-through;  
 
text-decoration: line-through;  
 
}
 
}
  
 
a:visited  {  
 
a:visited  {  
color: #6ABCFA;  
+
color: #26baaf;  
 
text-decoration: line-through;  
 
text-decoration: line-through;  
 
}
 
}
Line 283: Line 266:
  
  
a.external { color: #77aaff !important; } /* external link */
+
a.external { color: #2e7cff !important; } /* external link */
a.external:hover    { color: #6ABCFA; text-decoration: line-through; }
+
a.external:hover    { color: #97d2ff; text-decoration: line-through; }
a.external:visited { color: #6ABCFA; text-decoration: line-through; }
+
a.external:visited { color: #26baaf; text-decoration: line-through; }
 
+
  
  
Line 292: Line 274:
 
/* Headlines and Body - Styling */
 
/* Headlines and Body - Styling */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
 +
  
 
html,body,p,td,a,li {  
 
html,body,p,td,a,li {  
font: 0.87em Times, "Times New Roman", "Palatino", "Georgia", serif;
+
font: 0.9em Times, "Times New Roman", "Palatino", "Georgia", serif;
 
background-color: #F5F5F5;
 
background-color: #F5F5F5;
 
  }
 
  }
Line 303: Line 286:
 
h1  {  
 
h1  {  
  
font: bold 1.55em Helvetica, Arial, Roboto, "DejaVu Sans", sans-serif;  
+
font: bold 1.8em Helvetica, Arial, Roboto, "DejaVu Sans", sans-serif;  
 
color: #000000;  
 
color: #000000;  
letter-spacing: 0.25em;  
+
letter-spacing: 0.12em;  
 
text-transform: uppercase;
 
text-transform: uppercase;
 
border-bottom: none;  
 
border-bottom: none;  
Line 316: Line 299:
 
h2  {  
 
h2  {  
  
font: 1.13em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;   
+
font: 1.3em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;   
color: #000000; letter-spacing: 0.13em;  
+
color: #000000; letter-spacing: 0.1em;  
 
text-transform: uppercase;  
 
text-transform: uppercase;  
 
text-decoration: underline;
 
text-decoration: underline;
Line 328: Line 311:
 
h3  {  
 
h3  {  
  
font: 1em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;  
+
font: 1.1em Helvetica, Arial, Roboto, "DejaVu Sans",sans-serif;  
 
color: #000000; letter-spacing: 0.06em;  
 
color: #000000; letter-spacing: 0.06em;  
 
text-transform: uppercase;  
 
text-transform: uppercase;  
Line 367: Line 350:
 
padding-bottom: 0.05em;
 
padding-bottom: 0.05em;
 
}
 
}
 
  
  
Line 373: Line 355:
 
/* FOOTER */
 
/* FOOTER */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
 +
  
 
#f-poweredbyico { display: none; } /* Erases the mediawiki logo */
 
#f-poweredbyico { display: none; } /* Erases the mediawiki logo */
Line 378: Line 361:
  
  
/*-----------------------------------------------------------------------------*/
+
/* reduce footer */
/* Additional things */
+
/*-----------------------------------------------------------------------------*/
+
  
 
/* reduce footer */
 
 
#footer    {  
 
#footer    {  
color: #b7b7b7; font-size: 85%  
+
color: #000000;  
 +
font-size: 85%;
 
}   
 
}   
 +
 +
 +
 +
/*-----------------------------------------------------------------------------*/
 +
/* Additional things */
 +
/*-----------------------------------------------------------------------------*/
  
  
Line 398: Line 384:
 
li#pt-userpage
 
li#pt-userpage
 
             { background: none; }  /* no login logo at the user-login button */
 
             { background: none; }  /* no login logo at the user-login button */
 +
  
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
 
/*Change the color of the user message notice box */
 
/*Change the color of the user message notice box */
 
/*-----------------------------------------------------------------------------*/
 
/*-----------------------------------------------------------------------------*/
 +
 +
 
.usermessage {
 
.usermessage {
 
   background-color: none;
 
   background-color: none;

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;
}