Team:Freiburg/css/styles.css

From 2014.igem.org

(Difference between revisions)
 
(287 intermediate revisions not shown)
Line 4: Line 4:
} /*-- hides default wiki settings --*/
} /*-- hides default wiki settings --*/
-
/*no result after commenting it*/
+
.firstHeading {
-
/*.firstHeading {
+
display:none;
display:none;
width: 975px;  
width: 975px;  
Line 12: Line 11:
margin-bottom: 20px;
margin-bottom: 20px;
font-family: Georgia, Times, "Times New Roman", serif;  
font-family: Georgia, Times, "Times New Roman", serif;  
-
}*/
+
}
-
/*Set header attributes*/
 
h1, h2, h3, h4, h5 { font-family: Georgia, Times, "Times New Roman", serif;}
h1, h2, h3, h4, h5 { font-family: Georgia, Times, "Times New Roman", serif;}
-
 
-
 
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
Line 49: Line 45:
}
}
-
body { 
 
-
color: black;
 
-
background-color: black;
 
-
}
 
#globalWrapper, #content { /*-- changes default wiki settings --*/
#globalWrapper, #content { /*-- changes default wiki settings --*/
Line 62: Line 54:
padding: 0px;
padding: 0px;
}
}
-
/*changes bottom of page... must be in the background of something body?*/
+
 
-
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;
}
}
-
/*no change when commenting -> no obvious effect when adding to home.html*/
+
 
 +
* {
 +
    margin:0;
 +
    padding: 0;}
 +
 
#contentcontainer { /*-- creates container for all content on page --*/
#contentcontainer { /*-- creates container for all content on page --*/
font-family: Arial, Helvetica, sans-serif;  
font-family: Arial, Helvetica, sans-serif;  
Line 80: 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 90: Line 145:
font-size: 14px;
font-size: 14px;
}
}
 +
.sidemenu li {display: block;}
.sidemenu li {display: block;}
Line 138: 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 227: Line 274:
.annItem li {list-style: none; margin: 5px}
.annItem li {list-style: none; margin: 5px}
-
.col1 {
+
.contentbox {
-
         position: relative;
+
         width: 50%;
-
background-color: #E0E0E0;
+
background-color: white;
-
display: inline-block;
+
border: 1px #E68A00 solid;
-
width: 25%;
+
        margin-left: 40%;
-
margin-left: 23%;
+
        margin-right: auto;
-
margin-right: 1%;
+
         margin-top: 115px;
-
         margin-bottom: 15px;
+
      -moz-column-count: 2;
-
         border: 2px dashed black;
+
      -moz-column-gap: 20px;
-
         padding: 5px 5px 5px 5px;
+
      -webkit-column-count: 2;
-
         align: justified;
+
      -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;
 +
 
}
}
-
.col2 {
+
.image a:hover{
-
        position: absolute;
+
text-decoration: none;
-
background-color: #E0E0E0;
+
-
display: inline-block;
+
-
width: 25%;
+
-
margin-right: 23%;
+
-
margin-left: 1%;
+
-
        margin-bottom: 15px;
+
-
        border: 2px dashed black;
+
-
        padding: 5px 5px 5px 5px;
+
-
        align: justified;
+
}
}
-
.heading{font-weigth: bold; text-align: center; color: white;}
 
-
/* changes main body attributes */
+
#boxtext{  
-
body {
+
  position: absolute;  
-
background-color: #480000;
+
  top: 105px;
-
color: black;
+
  left: 10px;
 +
  z-index: 2;
}
}
-
/* links */
+
#sponsorscale{
-
a:link {color: blue; background-color: white;}
+
width: 80%;
-
a:visited {color: black; background-color: white;}
+
height: 80%;}
-
a:hover {color: blue; background-color: orange;}
+
-
a:active {color: black;}
+
-
/*Creates the border around the body */
+
.sponsorbox {
-
#top, #bottom, #left, #right {
+
        width: 49%;
-
background: teal;
+
background-color: white;
-
position: fixed;
+
border: 1px #E68A00 solid;
-
}
+
padding: 0;
-
#left, #right {
+
position: relative;
-
top: 0; bottom: 0;
+
float: left;
-
width: 100px;
+
        left: 210px;
-
}
+
   
-
#left { left: 0; }
+
      }
-
#right { right: 0; }
+
 
-
+
-
#top, #bottom {
+
-
left: 0; right: 0;
+
-
height: 15px;
+
-
}
+
-
#top { top: 0; }
+
-
#bottom { bottom: 0; }
+
 +
 
 +
.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;
-
nav {
 
-
   
 
-
  display: block;
 
-
  margin-left: 103px;
 
-
  margin-right: 100px;
 
-
  text-align: center;
 
}
}
-
nav ul {
+
 
-
  margin: 0;
+
.memberbox_even img {
-
  margin-top: 20px;
+
display: block;
-
  padding:0;
+
margin-left: 50%;
-
  list-style: none;
+
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{
 +
text-align: center;
 +
text-decoration: underline;
 +
        color: #864F75;
 +
        padding: 20px;
 +
        width: 17%;
 +
        margin-left: auto;
 +
        margin-right: auto;
 +
        border: none;
 +
}
 +
 +
.abstractp{
 +
text-align: justify;
 +
margin-left: auto;
 +
margin-right: auto;
 +
padding: 10px;
 +
        padding-left: 20px;
 +
        padding-right: 20px;
 +
width: 50%;
 +
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}
 +
 +
 +
#homebox {
 +
margin-left: auto;
 +
margin-right: auto;
 +
margin-top: 20px;
 +
padding: 0 auto;
 +
position: relative;
 +
display: block;
 +
border: 1px solid teal;
 +
        z-index: -1;}
 +
.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;}
 +
#testquote {
 +
position: absolute;
 +
width: 50%;
 +
top: 170px;
 +
left: 77%;
 +
}
-
/*
+
/* changes main body attributes */
-
nav {  
+
body {
-
   
+
font-family: Arial, Helvetica, sans-serif;
-
  display: block;
+
font-weight: normal;  
-
  margin-left: 103px;
+
font-size: 14px;
-
  margin-right: 100px;
+
color: #414141;
-
   text-align: center;
+
width: 90%;
 +
        height: 100%;
 +
margin-left: auto;
 +
        margin-right: auto;
 +
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;
 +
        overflow-y: scroll;}    
 +
 
 +
 
 +
/*horizontal navigation bar*/
 +
#nav {
 +
background-color: #F5F4F4;
 +
}
 +
 +
#nav_wrapper{
 +
width: 100%;
 +
        height: 61px;
 +
margin: 0 auto;
 +
text-align: center;
}
}
-
nav ul {
+
 
-
  margin: 0;
+
#nav ul {
-
  margin-top: 20px;
+
list-style-type: none;
-
  padding:0;
+
padding: 0;
-
  display: inline-block;
+
margin: 0;
-
+
position: relative;
 +
z-index: 2;
}
}
-
.nav a {
+
 
-
  display:block;
+
#nav ul li{
-
  background: #111;
+
display: inline-block;
-
  color: #fff;
+
-
  text-decoration: none;
+
-
  padding: 0.8em 1.8em;
+
-
  text-transform: uppercase;
+
-
  font-size: 80%;
+
-
  letter-spacing: 2px;
+
-
  text-shadow: 0 -1px 0 #000;
+
-
  position: relative;
+
}
}
-
.nav{
+
 
-
  vertical-align: top;  
+
#nav ul li:hover{
-
  display: inline-block;
+
background-color: #F9F9F6;
-
  box-shadow:  
+
        padding-bottom: 0;
-
    1px -1px -1px 1px #000,
+
 
-
    -1px 1px -1px 1px #fff,
+
-
    0 0 6px 3px #fff;
+
-
  border-radius:6px;
+
}
}
-
.nav li {
+
 
-
  position: relative;
+
#nav ul li a,visited{
 +
color: #ccc;
 +
display: block;
 +
padding: 15px;
 +
        padding-bottom: 6px;
 +
text-decoration: none;
 +
font-family:georgia, serif;
 +
  color:#ACABAB;
 +
  font-size:20px;
 +
  letter-spacing:0.1em;
 +
  line-height:200%;
}
}
-
.nav > li {  
+
 
-
  float: left;
+
#nav ul li a:hover {
-
  border-bottom: 4px #aaa solid;  
+
color: #E68A00;
-
  margin-right: 1px;  
+
text-decoration: none;
-
}
+
text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
-
.nav > li > a {
+
                0px -5px 35px rgba(255,255,255,0.3);
-
  margin-bottom: 1px;
+
-
  box-shadow: inset 0 2em .33em -0.5em #555;  
+
}
}
-
.nav > li:hover,
+
 
-
.nav > li:hover > a {  
+
#nav ul li:hover ul {
-
  border-bottom-color: orange;
+
display: block;}
 +
 +
#nav ul ul {
 +
display: none;
 +
position: absolute;
 +
background-color: #F9F9F6;
 +
border: 5px solid #F5F4F4;
 +
border-top: 0;
 +
margin-left: -5px;
 +
}
 +
 +
#nav ul ul li {
 +
display: block;
 +
}
 +
 
 +
 
 +
#nav ul ul li a,visited {
 +
color: #ACABAB;
 +
        text-size: 14px;
 +
}
 +
 
 +
#nav ul ul li a:hover {
 +
color: #E68A00;
 +
text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
 +
                0px -5px 35px rgba(255,255,255,0.3);
}
}
-
.nav li:hover > a {  
+
 
-
  color:orange;  
+
/*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;
}
}
-
.nav > li:first-child {
 
-
  border-radius: 4px 0 0 4px;
 
-
}
+
#sidenav ul {
-
.nav > li:first-child > a {
+
margin: 0;
-
  border-radius: 4px 0 0 0;
+
padding: 0;
 +
padding-left: 9px;
 +
padding-top: 0px;
 +
list-style: none;
}
}
-
.nav > li:last-child {  
+
 
-
  border-radius: 0 0 4px 0;  
+
#sidenav ul li {
-
  margin-right: 0;
+
display: block;
-
+
padding: 5px;
-
}
+
padding-right: 10px;
-
.nav > li:last-child > a {
+
margin: 0 px;
-
  border-radius: 0 4px 0 0;
+
border-bottom: 1px solid gray;
 +
border-left: 4px solid #007A7A;
 +
        margin-bottom: 0px;
}
}
-
.nav li li a {  
+
 
-
  margin-top: 1px;
+
#sidenav ul li:hover {
 +
background-color: #F9F9F6;
}
}
-
nav ul li ul {  
+
#sidenav ul li a,visited {
-
    position: absolute;
+
display: block;
-
    background: #ccc;
+
padding: 5px;
-
    width: 100%;  
+
padding-right: 15px;
-
    margin: 0;
+
margin: 5 px;
-
    padding: 0;
+
text-decoration: none;
-
    display: none; }
+
        text-size: 12px;
 +
color: #ACABAB;
 +
 +
}
-
.nav li a:first-child:nth-last-child(2):before {  
+
#sidenav ul li a:hover {
-
  content: "";  
+
display: box;
-
  position: absolute;  
+
    -webkit-background-clip: text;
-
  height: 0;  
+
    -moz-background-clip: text;
-
  width: 0;  
+
    background-clip: text;
-
  border: 5px solid transparent;  
+
    color: #E68A00;
-
  top: 50% ;
+
    text-shadow: 2px 8px 6px rgba(0,0,0,0.2),
-
  right:5px;
+
                0px -5px 35px rgba(255,255,255,0.3);
-
  display: block;
+
-
}
+
 
-
      */ .content  
+
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
      /* .content * {
                 color: black;
                 color: black;
                 background-color: white;
                 background-color: white;
-
+
}*/
-
/*nav img {
+
nav img {
width: 81px;
width: 81px;
-
}/*
+
}
-
 
+
 +
/*
         .content * {
         .content * {
                 color: black;
                 color: black;
                 background-color: #480000;
                 background-color: #480000;
-
+
}*/
</style></html>
</style></html>

Latest revision as of 12:44, 5 September 2014