MediaWiki:Common.css

From Species File Help
(Difference between revisions)
Jump to: navigation, search
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
 +
a {
 +
  color:rgb(55,96,146);
 +
}
  
#foo {
+
body.page-Main_Page #bodyContent .topics {  
background-image: url(http://help.speciesfile.org/images/c/c0/Diversity_Image.png);
+
  font-size:16pt;
background-repeat: no-repeat;
+
  background-color:white;
 +
  padding:4px;
 +
  width:400px;
 +
  opacity:0.85;
 +
  margin:auto;
 +
  margin-bottom:1em;
 
}
 
}
  
/* even-flow styles
+
body.page-Main_Page h1.firstHeading { display:none;}
 
+
This is the code that floats the divs on the homepage.  
+
See http://stackoverflow.com/questions/6865194/fluid-width-with-equally-spaced-divs.
+
If it's not working try removing whitespace between spans/divs.
+
  
 +
/*
 +
body.page-Main_Page #bodyContent{
 +
  background-image: url(http://help.speciesfile.org/images/3/37/Diversity_Image_640_web.png);
 +
  background-repeat: no-repeat;
 +
  background-position: center center;
 +
  height: 800px;
 +
}
 
*/
 
*/
  
.even_flow_container {
+
body .alert {
padding:1em;
+
font-size: larger;
border:1px solid blue;
+
color:#f00;
height:125px;
+
text-align:justify;
+
-ms-text-justify:distribute-all-lines;
+
text-justify:distribute-all-lines;
+
 
}
 
}
  
.even_flow_box {
+
body .SFblue {
margin-left:100px;
+
color:rgb(55,96,146);
text-align:top;
+
border:1px solid green;
+
height:125px;
+
vertical-align:top;
+
display:inline-block;
+
*display:inline;zoom:1;
+
width:150px;
+
 
}
 
}
  
.even_flow_stretch {
+
body .SFheader {
width:100%;
+
font-size:24pt;
display:inline-block;
+
}
font-size:0;
+
 
line-height:0;
+
 
 +
/* Demo for SF Wiki Editors page */
 +
body .big_and_orange {
 +
  font-size: larger;
 +
  color: #e9060d;
 
}
 
}

Latest revision as of 15:17, 30 October 2012

/* CSS placed here will be applied to all skins */

a {
   color:rgb(55,96,146);
}

body.page-Main_Page #bodyContent .topics { 
   font-size:16pt;
   background-color:white;
   padding:4px;
   width:400px;
   opacity:0.85;
   margin:auto;
   margin-bottom:1em;
}

body.page-Main_Page h1.firstHeading { display:none;}

/*
body.page-Main_Page #bodyContent{ 
  background-image: url(http://help.speciesfile.org/images/3/37/Diversity_Image_640_web.png);
  background-repeat: no-repeat;
  background-position: center center;
  height: 800px;
}
*/

body .alert {
font-size: larger;
color:#f00;
}

body .SFblue {
color:rgb(55,96,146);
}

body .SFheader {
font-size:24pt;
}


/* Demo for SF Wiki Editors page */
body .big_and_orange {
  font-size: larger;
  color: #e9060d;
}
Personal tools
Namespaces

Variants
Actions
Navigation
Species Files
Wiki
Toolbox