Team:Uppsala/stylesheet.css

From 2014.igem.org

(Difference between revisions)
Line 214: Line 214:
     background-color: rgba(0, 0, 0, 0.5);  
     background-color: rgba(0, 0, 0, 0.5);  
     opacity: 0;
     opacity: 0;
 +
    z-index: 950;
     -moz-transition-property: opacity;             
     -moz-transition-property: opacity;             
     -moz-transition-duration: 2s;
     -moz-transition-duration: 2s;

Revision as of 12:54, 5 August 2014

  1. master {

width: 100%; min-height: 500px; }

  1. header {
       background-color: #fff;

background-image: url('https://static.igem.org/mediawiki/2014/8/86/Igem2014_uppsala_buss.jpg'); /*background-image: url('https://static.igem.org/mediawiki/2014/0/01/Uppsala_igem2014_Headeeer.png');*/ background-size: 100% 100%; background-repeat: no-repeat;

/*

       border-top: 2px solid #a1a1a1;
       border-left: 2px solid #a1a1a1;
       border-right: 2px solid #a1a1a1;

border-top: 2px solid #d31906;

       border-left: 2px solid #d31906;
       border-right: 2px solid #d31906;
  • /

border-top: 2px solid #000;

       border-left: 2px solid #000;
       border-right: 2px solid #000;

width: 1050px;

       height: 300px;

margin-right: auto; margin-left: auto;

       padding: 20px;
       border-top-left-radius: 25px;
       border-top-right-radius: 25px;

}

  1. main_content {

/*

       border-bottom: 2px solid #a1a1a1;
       border-left: 2px solid #a1a1a1;
       border-right: 2px solid #a1a1a1;

border-bottom: 2px solid #d31906;

       border-left: 2px solid #d31906;
       border-right: 2px solid #d31906;
  • /

border-bottom: 2px solid #000;

       border-left: 2px solid #000;
       border-right: 2px solid #000;
       background-color: #fff;

width: 1050px; min-height: 400px; margin-right: auto; margin-left: auto;

       margin-bottom:50px;
       padding: 20px; 
       border-bottom-right-radius: 25px;
       border-bottom-left-radius: 25px;
       font-family: "Times New Roman", Times, serif;

font-size: 18px;

}

  1. main_content h1{
       font: Arial, Helvetica, sans-serif;

text-transform: uppercase;

       color: #9cb289;

}

  1. main_content h2{
       font: Arial, Helvetica, sans-serif;

text-transform: uppercase; color: #bbb; }

/* ---- Title and soicalmedia ---- */

  1. title {
       float: left;

}

/*

  1. social_media {
       float: right;

}

  1. social_media li {
       display: inline-block;

}

.sm_logo {

       height: 30px;

}

  • /

/* ---- Tracking system ---- */

  1. tracking_system {
       clear: both;
       width: 100%;
       height: 30px;

}


/* ----Project content---- */

.project_text {

-moz-column-count: 2;

      -moz-column-gap: 30px;
      -webkit-column-count: 2;
      -webkit-column-gap : 30px;
      -moz-column-rule-color:  #ccc;
      -moz-column-rule-style:  solid;
      -moz-column-rule-width:  1px;
      -webkit-column-rule-color:  #ccc;
      -webkit-column-rule-style: solid ;
      -webkit-column-rule-width:  1px;

font-style: normal !important;

}

.project_header {

padding-top: 40px;

}

.reference {

border-top: 1px solid #ccc; margin-top: 30px; padding-top: 30px;

}


/* ----Back-to-top button---- */

.back-to-top {

   width: 90px;
   height: 105px;
   position: fixed;
   display: none;
   text-decoration: none;
   color: #000000;
   background-color: rgba(0, 0, 0, 0.3);
   cursor: default;
   bottom: 100px; /* placement from bot */
   right: 100px;
   
   padding: 1em;
   
    /* rounded corners */

-webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; }

.back-to-top:hover {

   background-color: rgba(0, 0, 0, 0.5);

}

.back-to-top a { position: relative; left: 8px; font: 11px/100% Arial, Helvetica, sans-serif; text-transform: uppercase; color: #bbb;

}

.back-to-top img{

width: 90px; height: 90px;

       margin-bottom: 7px;

}

/* ---- Intro ----- */

.view {

   width: 1090px;
   height: 1445px;
   // border: 1px solid #000; 
   overflow: hidden;
   position: relative;
   text-align: center;
   // box-shadow: 1px 1px 2px #e6e6e6;
   cursor: default;
   position: absolute;
   top: 50px;
   z-index: 950;
   border-bottom-right-radius: 25px;
   border-bottom-left-radius: 25px;
   border-top-left-radius: 25px;
   border-top-right-radius: 25px;
   margin-left:-20px;*/

}

.view .mask {

   height: 1530px;
   background-color: rgba(0, 0, 0, 0.5); 
   opacity: 0;
   z-index: 950;
   -moz-transition-property: opacity;             
   -moz-transition-duration: 2s;
   -webkit-transition-property: opacity;
   -webkit-transition-duration: 2s;
   transition-property: opacity;
   transition-duration: 2s;

} .view img {

   margin-left: auto;
   margin-right: auto;
   display: block;

} .view ul {

   text-transform: uppercase;
   text-align: center;
   position: relative;
   font-size: 17px;
   padding: 10px;
   background: rgba(0, 0, 0, 0.8);
   margin: 20px 0 0 0
   opacity: 0;

} .view p {

   font-family: Georgia, serif;
   font-style: italic;
   font-size: 12px;
   position: relative;
   color: #fff;
   padding: 10px 20px 20px;
   text-align: center
   opacity: 0;

} .view a.info {

   display: inline-block;
   text-decoration: none;
   padding: 7px 14px;
   background: #000;
   color: #fff;
   text-transform: uppercase;
   box-shadow: 0 0 1px #000
   opacity: 0;

} .view a.info:hover {

   box-shadow: 0 0 5px #000

}

.start {

   width: 1000px;
   height: 40px;
   font-family: Georgia, serif;
   font-style: italic;
   font-size: 16px;
   position: relative;
   color: #fff;
   padding: 10px 20px 20px;
   text-align: center;
   z-index: 1000;
   cursor: default;
   }
   

.nav li{ display: inline; }

.nav a { padding: 14px 10px; font-family: Georgia, serif; font-style: bold; color: #fff; }

/* ----- Sponsor div ----- */

  1. custom_footer {

width: 100%; border-top: 30px solid #818181; height: 250px;

       background-color: #fff;
       bottom: 0;

}

.sponsorTable{

width: 100%; }

  1. custom_footer .sponsors{

width: 150px;

}

  1. custom_footer .centerThis{

opacity:0.6; text-align: center; width:400px; padding: 20px; }

  1. custom_footer .centerThis:hover{

opacity:1;

}