Team:Freiburg/css/styles.css

From 2014.igem.org

(Difference between revisions)
 
(76 intermediate revisions not shown)
Line 55: Line 55:
}
}
-
html, body, .wrapper { /*-- changes default wiki settings --*/
+
html, .wrapper { /*-- changes default wiki settings --*/
width: 100%;  
width: 100%;  
Line 81: Line 81:
}
}
-
#container
+
blockquote {
-
{
+
  width: 30%;
-
    height:400px;
+
  background: #f9f9f9;
-
    width:400px;
+
  border-left: 10px solid #ccc;
-
    position:relative;
+
  margin: 1.5em 10px;
 +
  padding: 0.5em 10px;
 +
  quotes: "\201C""\201D""\2018""\2019";
 +
}
 +
blockquote:before {
 +
  color: #ccc;
 +
  content: open-quote;
 +
  font-size: 4em;
 +
  line-height: 0.1em;
 +
  margin-right: 0.25em;
 +
  vertical-align: -0.4em;
}
}
-
#smallbox1 {
+
blockquote:after {
-
position: absolute;
+
  color: #ccc;
-
left: 50px;
+
  content: close-quote;
-
top: 250px;
+
  font-size: 4em;
 +
  line-height: 0.1em;
 +
  margin-left: 0.25em;
 +
  vertical-align: -0.4em;
}
}
-
#box1text {
+
blockquote p {
-
z-index: 2;
+
  display: inline;
-
position: relative;
+
  font-family: "Bodoni MT", Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", serif;
-
left: 10px;
+
  font-size: 26px;
-
bottom: 15px;
+
  line-height: 160%;
-
margin-bottom: none;
+
  font-style: italic;
 +
}
 +
 
 +
.abstractl{
 +
  position: relative;  
 +
  width: 100%; /* for IE 6 */
 +
}
 +
 
 +
.box1text{
 +
  position: absolute;
 +
  top: 60px;
 +
  left: 25px;  
 +
  width: 100%;  
 +
  z-index: 2;
 +
}
 +
 
 +
.box1text span {
 +
  color: white;
 +
  font: bold 24px/45px Helvetica, Sans-Serif;
 +
  letter-spacing: -1px; 
 +
  background: rgb(0, 0, 0); /* fallback color */
 +
  background: rgba(0, 0, 0, 0.7);
 +
  padding: 10px;  
}
}
Line 243: Line 278:
background-color: white;
background-color: white;
border: 1px #E68A00 solid;
border: 1px #E68A00 solid;
-
         margin-left: 600px;
+
         margin-left: 40%;
         margin-right: auto;
         margin-right: auto;
         margin-top: 115px;
         margin-top: 115px;
Line 264: Line 299:
         column-count: 2;
         column-count: 2;
         column-gap: 50px}
         column-gap: 50px}
 +
 +
.image {
 +
  position: relative;
 +
  left: 80px;
 +
  width: 100%; /* for IE 6 */
 +
  top: 50px;
 +
  margin-top: 25px;
 +
 +
}
 +
 +
.image a:hover{
 +
text-decoration: none;
 +
}
 +
 +
#boxtext{
 +
  position: absolute;
 +
  top: 105px;
 +
  left: 10px;
 +
  z-index: 2;
 +
 +
}
 +
 +
#sponsorscale{
 +
width: 80%;
 +
height: 80%;}
 +
 +
.sponsorbox {
 +
        width: 49%;
 +
background-color: white;
 +
border: 1px #E68A00 solid;
 +
padding: 0;
 +
position: relative;
 +
float: left;
 +
        left: 210px;
 +
   
 +
      }
 +
 
 +
 +
 
 +
.sponsorbox p {
 +
margin: 0;
 +
padding: auto;
 +
padding: 7px;
 +
background: gray;
 +
position: absolute;
 +
left: 300px;
 +
bottom: 0px;
 +
top: 0;
 +
text-align: justify;
 +
}
 +
 +
.memberbox{   
 +
background-color: white;
 +
border: 1px #E68A00 solid;
 +
padding: 0;
 +
      }
 +
 +
.memberbox_odd{
 +
 +
 +
position: relative;
 +
margin-top: 5px;
 +
margin-bottom: 5px;
 +
 +
}  
 +
 +
.memberbox_even{
 +
 +
 +
position: relative;
 +
margin-top: 5px;
 +
margin-bottom: 5px;
 +
 +
}
 +
 
 +
.memberbox_even img {
 +
display: block;
 +
margin-left: 50%;
 +
margin-right: auto;
 +
 +
}
 +
.memberbox_odd img {
 +
display: block;
 +
margin-left: 50%;
 +
margin-right: auto;
 +
 +
}
 +
 +
.memberbox_odd p {
 +
top: 0;
 +
margin-top: 0;
 +
position: absolute;
 +
margin-left: 22%;
 +
margin-right: 50%;
 +
padding: 5px;
 +
background-color: #F9F9F6;
 +
height: 290px;
 +
}
 +
 +
.memberbox_even p {
 +
top: 0;
 +
margin-top:0;
 +
position: absolute;
 +
margin-left: 80.9%;
 +
margin-right: -9%;
 +
padding: 5px;
 +
background-color: #F9F9F6;
 +
height: 290px;
 +
}
 +
 +
#boxtext span {
 +
  color: white;
 +
  font: bold 24px/45px Helvetica, Sans-Serif;
 +
  letter-spacing: -1px; 
 +
  background: rgb(0, 0, 0); /* fallback color */
 +
  background: rgba(0, 0, 0, 0.7);
 +
  padding: 10px;
 +
  text-decoration: none;
 +
}
#abstracth1{
#abstracth1{
Line 310: Line 464:
-
p:first-letter{
+
.text p:first-letter{
               text-transform: uppercase;
               text-transform: uppercase;
           }
           }
-
        p {
+
.text p {
         color: #424242;
         color: #424242;
         font-family: Times, "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, serif;
         font-family: Times, "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, serif;
Line 329: Line 483:
.heading{font-weigth: bold; text-align: center; color: white;}
.heading{font-weigth: bold; text-align: center; color: white;}
 +
 +
#testquote {
 +
position: absolute;
 +
width: 50%;
 +
top: 170px;
 +
left: 77%;
 +
}
/* changes main body attributes */
/* changes main body attributes */
Line 337: Line 498:
color: #414141;
color: #414141;
width: 90%;  
width: 90%;  
-
margin: auto;
+
        height: 100%;
 +
margin-left: auto;
 +
        margin-right: auto;
padding: 25px;  
padding: 25px;  
         padding-top: 5px;
         padding-top: 5px;
         height: 100%;
         height: 100%;
-
background-image: url("https://static.igem.org/mediawiki/2014/b/be/2014_Freiburg_bgPattern-9nkk.png");  
+
background-image: url("https://static.igem.org/mediawiki/2014/9/9c/2014_Freiburg_Bg_placeholder.png");
 +
        background-size: cover;
            
            
Line 374: Line 538:
#nav ul li:hover{
#nav ul li:hover{
-
background-color: #864F75;
+
background-color: #F9F9F6;
         padding-bottom: 0;
         padding-bottom: 0;
 +
}
}
Line 394: Line 559:
color: #E68A00;
color: #E68A00;
text-decoration: none;
text-decoration: none;
 +
text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
 +
                0px -5px 35px rgba(255,255,255,0.3);
}
}
Line 402: Line 569:
display: none;
display: none;
position: absolute;
position: absolute;
-
background-color: #864F75;
+
background-color: #F9F9F6;
border: 5px solid #F5F4F4;
border: 5px solid #F5F4F4;
border-top: 0;
border-top: 0;
Line 420: Line 587:
#nav ul ul li a:hover {
#nav ul ul li a:hover {
color: #E68A00;
color: #E68A00;
 +
text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
 +
                0px -5px 35px rgba(255,255,255,0.3);
}
}

Latest revision as of 12:44, 5 September 2014