Team:Freiburg/css/styles.css

From 2014.igem.org

(Difference between revisions)
 
(214 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%;  
-
height: 100%;  
+
-
background-color: transparent;
+
background-image: url("https://static.igem.org/mediawiki/2014/3/36/2014_Freiburg_cellbg.jpg");
 +
        background-size: 512px 512px;
 +
color: black;
color: black;
 +
        padding: 15px;
}
}
 +
 +
* {
 +
    margin:0;
 +
    padding: 0;}
#contentcontainer { /*-- creates container for all content on page --*/
#contentcontainer { /*-- creates container for all content on page --*/
Line 72: Line 79:
background-color: #transparent;  
background-color: #transparent;  
margin-top: 0px;  
margin-top: 0px;  
 +
}
 +
 +
blockquote {
 +
  width: 30%;
 +
  background: #f9f9f9;
 +
  border-left: 10px solid #ccc;
 +
  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;
 +
}
 +
 +
blockquote:after {
 +
  color: #ccc;
 +
  content: close-quote;
 +
  font-size: 4em;
 +
  line-height: 0.1em;
 +
  margin-left: 0.25em;
 +
  vertical-align: -0.4em;
 +
}
 +
 +
blockquote p {
 +
  display: inline;
 +
  font-family: "Bodoni MT", Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", serif;
 +
  font-size: 26px;
 +
  line-height: 160%;
 +
  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 82: Line 145:
font-size: 14px;
font-size: 14px;
}
}
 +
.sidemenu li {display: block;}
.sidemenu li {display: block;}
Line 130: Line 194:
#annContainer {margin-left: 8px;}
#annContainer {margin-left: 8px;}
#newsContainer {border: 1px solid #ccc;}
#newsContainer {border: 1px solid #ccc;}
-
#footer {
 
-
        border: 2px; border-style: solid; border-color: red; margin-right:45%; margin-left:45%;
 
-
       
 
-
        background-color: orange;
 
-
        text-align: bottom;
 
-
        }
 
-
 
-
a.footer:link {color: white; display: block; text-decoration: none;}
 
-
a.footer:hover {color: red; display: block; text-decoration: none;}
 
.newsTitle {
.newsTitle {
Line 218: Line 273:
.annItem ul, .annItem li {padding: 0px; margin: 0px;}
.annItem ul, .annItem li {padding: 0px; margin: 0px;}
.annItem li {list-style: none; margin: 5px}
.annItem li {list-style: none; margin: 5px}
 +
 +
.contentbox {
 +
        width: 50%;
 +
background-color: white;
 +
border: 1px #E68A00 solid;
 +
        margin-left: 40%;
 +
        margin-right: auto;
 +
        margin-top: 115px;
 +
      -moz-column-count: 2;
 +
      -moz-column-gap: 20px;
 +
      -webkit-column-count: 2;
 +
      -webkit-column-gap: 20px;
 +
        column-count: 2;
 +
        column-gap: 20px;
 +
        background-color: white;
 +
 +
border: 1px #E68A00 solid;
 +
-webkit-border-radius: 15px;
 +
-moz-border-radius: 15px;
 +
border-radius: 15px;
 +
        -moz-column-count: 2;
 +
        -moz-column-gap: 50px;
 +
        -webkit-column-count: 2;
 +
        -webkit-column-gap:50px;
 +
        column-count: 2;
 +
        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{
text-align: center;
text-align: center;
text-decoration: underline;
text-decoration: underline;
-
text-outline: teal;
+
        color: #864F75;
-
         color: #1D728F;
+
        padding: 20px;
-
         border: none;}
+
        width: 17%;
 +
        margin-left: auto;
 +
         margin-right: auto;
 +
         border: none;
 +
}
.abstractp{
.abstractp{
Line 231: Line 435:
margin-right: auto;
margin-right: auto;
padding: 10px;
padding: 10px;
-
width: 30%;
+
        padding-left: 20px;
-
background-color: #F3FFFF;
+
        padding-right: 20px;
-
border: 1px #33CCFF solid;
+
width: 50%;
 +
background-color: white;
 +
border: 1px #E68A00 solid;
-webkit-border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
border-radius: 15px;
-
}
+
 
 +
        -moz-column-count: 2;
 +
        -moz-column-gap: 50px;
 +
        -webkit-column-count: 2;
 +
        -webkit-column-gap:50px;
 +
        column-count: 2;
 +
        column-gap: 50px}
Line 252: Line 464:
 +
.text p:first-letter{
 +
              text-transform: uppercase;
 +
          }
 +
.text p {
 +
        color: #424242;
 +
        font-family: Times, "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, serif;
 +
letter-spacing:0.1em;
 +
text-align:center;
 +
margin-left: auto;
 +
margin-right: auto;
 +
text-transform: lowercase;
 +
line-height: 145%;
 +
font-size: 14pt;
 +
font-variant: small-caps;
 +
 +
        }
.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 262: Line 497:
font-size: 14px;  
font-size: 14px;  
color: #414141;
color: #414141;
-
width: 100%;  
+
width: 90%;
-
margin: 0px;
+
        height: 100%;
-
padding: 0px;  
+
margin-left: auto;
-
    height: 150%;
+
        margin-right: auto;
-
background-image: url("https://wiki.uni-freiburg.de/iGEM2014/lib/exe/fetch.php?media=escheresque_ste.png");  
+
padding: 25px;  
 +
        padding-top: 5px;
 +
        height: 100%;
 +
background-image: url("https://static.igem.org/mediawiki/2014/9/9c/2014_Freiburg_Bg_placeholder.png");  
 +
        background-size: cover;
 +
         
 +
 
 +
 
background-color: pink;
background-color: pink;
-
color: black;
 
-
border: 50px black solid;
 
-
border-bottom: none;
 
         overflow-y: scroll;}   
         overflow-y: scroll;}   
 +
/*horizontal navigation bar*/
#nav {
#nav {
-
background-color: #222;
+
background-color: #F5F4F4;
}
}
#nav_wrapper{
#nav_wrapper{
-
width: 1300px;
+
width: 100%;
 +
        height: 61px;
margin: 0 auto;
margin: 0 auto;
text-align: center;
text-align: center;
Line 289: Line 530:
margin: 0;
margin: 0;
position: relative;
position: relative;
 +
z-index: 2;
}
}
Line 296: Line 538:
#nav ul li:hover{
#nav ul li:hover{
-
background-color: #333;
+
background-color: #F9F9F6;
 +
        padding-bottom: 0;
 +
 
}
}
Line 303: Line 547:
display: block;
display: block;
padding: 15px;
padding: 15px;
 +
        padding-bottom: 6px;
text-decoration: none;
text-decoration: none;
-
font-family: "Helvetica";
+
font-family:georgia, serif;
 +
  color:#ACABAB;
 +
  font-size:20px;
 +
  letter-spacing:0.1em;
 +
  line-height:200%;
}
}
#nav ul li a:hover {
#nav ul li a:hover {
-
color: #ccc;
+
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 318: Line 569:
display: none;
display: none;
position: absolute;
position: absolute;
-
background-color: #333;
+
background-color: #F9F9F6;
-
border: 5px solid #222;
+
border: 5px solid #F5F4F4;
border-top: 0;
border-top: 0;
margin-left: -5px;
margin-left: -5px;
Line 327: Line 578:
display: block;
display: block;
}
}
 +
#nav ul ul li a,visited {
#nav ul ul li a,visited {
-
color: #ccc;
+
color: #ACABAB;
 +
        text-size: 14px;
}
}
#nav ul ul li a:hover {
#nav ul ul li a:hover {
-
color: #099;
+
color: #E68A00;
 +
text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
 +
                0px -5px 35px rgba(255,255,255,0.3);
}
}
 +
/*vertical navigation bar*/
 +
#sidenav {
 +
float: left;
 +
padding: 5px;
 +
        padding-right: 12px;
 +
color: #D6D6C2;
 +
font-size: 18px;
 +
        font-family: Times, "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, serif;
 +
letter-spacing:0.1em;
 +
text-align:center;
 +
margin: 0;
 +
        margin-left: 0px;
 +
text-transform: lowercase;
 +
line-height: 145%;
 +
font-variant: small-caps;
 +
        background-color: #F5F4F4;
 +
        position: fixed;
 +
        top: 90px;
 +
      }
 +
 +
#sidenav h1{
 +
margin-left: 0 atuo;
 +
margin-bottom: 7px;
 +
padding-bottom: 15px;
 +
border-bottom: 2px dotted #007A7A;
 +
        text-shadow: 2px 4px 6px rgba(0,0,0,0.2),
 +
                0px -5px 20px rgba(255,255,255,0.3);
 +
color: #ACABAB;
 +
text-align: left;
 +
}
 +
 +
#sidenav ul {
 +
margin: 0;
 +
padding: 0;
 +
padding-left: 9px;
 +
padding-top: 0px;
 +
list-style: none;
 +
 +
}
 +
 +
#sidenav ul li {
 +
display: block;
 +
padding: 5px;
 +
padding-right: 10px;
 +
margin: 0 px;
 +
border-bottom: 1px solid gray;
 +
border-left: 4px solid #007A7A;
 +
        margin-bottom: 0px;
 +
}
 +
 +
#sidenav ul li:hover {
 +
background-color: #F9F9F6;
 +
}
 +
 +
#sidenav ul li a,visited {
 +
display: block;
 +
padding: 5px;
 +
padding-right: 15px;
 +
margin: 5 px;
 +
text-decoration: none;
 +
        text-size: 12px;
 +
color: #ACABAB;
 +
 +
}
 +
 +
#sidenav ul li a:hover {
 +
display: box;
 +
    -webkit-background-clip: text;
 +
    -moz-background-clip: text;
 +
    background-clip: text;
 +
    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