Team:Uppsala/stylesheet.css

From 2014.igem.org

(Difference between revisions)
 
(1000 intermediate revisions not shown)
Line 1: Line 1:
-
#footer-box {
+
.clear {
-
width: 950px;
+
 
-
background-color: white;
+
clear: both;
-
margin-left:auto;
+
 
-
margin-right:auto;
+
-
border:none;
+
}
}
-
#globalWrapper {
+
#master {
-
background-color: white;
+
       
-
padding:0;
+
width: 100%;
-
margin:0;
+
min-height: 500px;
 +
        min-width: 1100px;
}
}
-
#contentSub, #search-controls, .firstHeading, #catlinks, #p-logo  {
+
#header {
-
    display: none;
+
       
 +
        background-color: #fff;
 +
background-image: url('https://static.igem.org/mediawiki/2014/1/11/Uppsala_iGEM2014_Team_headerV3.png');
 +
background-size: 100% 100%;
 +
background-repeat: no-repeat;
 +
 
 +
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;
 +
 
}
}
-
#top-section {
+
 
-
    border: none;
+
.mainText{
-
    height: 0px;
+
margin-top: 30px;
}
}
-
#content {
+
#main_content {
-
    border: none;
+
-
    width: 99.5%;
+
border-bottom: 2px solid #000;
-
    height: 99.5%;
+
        border-left: 2px solid #000;
-
    background-image: url("https://static.igem.org/mediawiki/2013/1/12/Uppsala2013_Background.png");
+
        border-right: 2px solid #000;
-
 
+
-
    overflow: auto;
+
-
    repeat-x;   
+
-
}
+
-
/* The code above clears media wikis default code */
+
        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;
 +
 +
}
-
#master {
+
#main_content h1{
 +
        font-family: 'Black Ops One', cursive;
 +
font-size: 44px;
 +
        margin-top:25px;
 +
        font-weight: bold;
 +
text-transform: uppercase;
 +
        color: #5d6a52;
 +
      -webkit-text-stroke: 1px black;
 +
      -moz-text-stroke: 1px black;
 +
}
 +
#main_content h2{
 +
        font-family: 'Black Ops One', cursive;
 +
color: #d31906;
 +
        font-size: 22px;
 +
        text-decoration: none;
 +
        margin-top:15px;
 +
}
-
width: 100%;
+
#main_content h3{
-
min-height: 1000px;
+
        font-family: "Times New Roman", Times, serif;
-
border: 1px solid #000;
+
        font-size: 18px;
 +
        font-weight: bold;
 +
        margin-top:15px;
}
}
 +
/* ---- Figures ---- */
-
#main_frame_upper {
+
.schedule {
-
+
width: 600px;
-
width: 100%;
+
-
background-color: #f4f4f4;
+
-
        padding-bottom: 20px;
+
}
}
-
#header {
+
.scheduleSmall {
 +
width: 300px;
 +
}
-
width: 950px;
+
.graph{
-
margin-left: auto;
+
width: 100%
-
margin-right: auto;
+
}
 +
 
 +
/* ---- Title and soicalmedia ---- */
 +
 
 +
#title {
 +
 
 +
        float: left;
}
}
-
#left_content_header {
 
-
float: left;
+
#social_media {
-
width: 410px;
+
 
 +
        float: right;
}
}
-
#right_content_header {
+
#social_media li {
-
float: right;
+
        display: inline-block;
-
padding-bottom: 30px;
+
        margin-left: 10px;
}
}
-
#navbar {
+
.sm_logo {
 +
 
 +
        height: 30px;
-
position:absolute;
 
-
top: 175px;
 
-
    left:0;
 
-
    right:0;
 
-
    margin-left:auto;
 
-
    margin-right:auto;
 
-
text-align: center;
 
-
z-index: 2;
 
}
}
-
#border {
 
-
width: 100%;
+
/* ---- Tracking system ---- */
-
height: 20px;
+
-
background-color: #348aff;
+
-
clear: both;
+
 +
#tracking_system { 
 +
        clear: both;
 +
        width: 100%;
 +
        height: 30px;
}
}
-
#main_frame_lower {
+
/* ----Project content---- */
-
border: none;
+
.project_text {
-
    width: 99.5%;
+
 
-
    height: 99.5%;
+
-moz-column-count: 2;
-
 
+
      -moz-column-gap: 30px;
-
    repeat-x;  
+
      -webkit-column-count: 2;
-
background-image: url("https://static.igem.org/mediawiki/2013/1/12/Uppsala2013_Background.png");
+
      -webkit-column-gap : 30px;
-
height: 300px;
+
      -moz-column-rule-color:  #ccc;
-
width: 100%;
+
      -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;
}
}
-
#main_content {
+
.project_header {
 +
padding-top: 40px;
 +
}
-
background-color: #fff;
+
.reference {
-
width: 950px;
+
border-top: 1px solid #ccc;
-
min-height: 400px;
+
margin-top: 30px;
-
margin-right: auto;
+
padding-top: 30px;
-
margin-left: auto;
+
}
}
-
.logo {
+
.figure2 {
 +
width: 800px;
 +
}
-
width: 300px;
+
/* ----Calendar---- */
 +
 
 +
 
 +
#calendar {
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top: 50px;
 +
margin-bottom: 20px;
 +
font-size: 50px;
 +
font-family: 'Black Ops One', cursive;
}
}
-
.pic {
+
#calendar_head {
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top: 30px;
 +
margin-bottom: 5px;
 +
font-size: 50px;
 +
font-family: 'Black Ops One', cursive;
 +
text-align: center;
 +
color: #d31906;
 +
}
-
width: 300px;
+
#calendar_days {
 +
margin-left:auto;
 +
margin-right:auto;
}
}
-
/* Navbar code begins */
+
#calendar_days td {
-
nav {
+
text-align: center;
-
+
width: 180px;
-
display: block;
+
font-family: 'Black Ops One', cursive;
-
width: 100%;
+
-
margin-left: auto;
+
-
margin-right: auto;
+
-
+
}
}
-
nav ul ul {
+
#calendar_days td a {
-
display: none;
+
text-decoration: none;
 +
color: #d31906;
}
}
-
nav ul li:hover > ul {
+
#calendar a {
-
display: block;
+
text-decoration: none;
-
}
+
color: black;
 +
}
-
nav ul {
+
#calendar tr #calendar_week {
 +
width: 300px;
 +
text-align: center;
 +
}
-
background: #348aff;
+
#calendar_work table
-
/*background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
+
{
-
background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
+
font-family: 'Black Ops One', cursive;
-
background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);  
+
border-collapse:collapse;
-
box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
+
}
-
*/
+
 
-
/*padding: 0 20px;*/
+
#calendar_work td, th
-
/*border-radius: 10px; */ 
+
{
-
+
font-size:0.8em;
-
list-style: none;
+
border:1px solid #5d6a52;
 +
padding:3px 7px 2px 7px;
 +
}
 +
#calendar_work th
 +
{
 +
font-size:1.1em;
 +
text-align:left;
 +
padding-top:5px;
 +
padding-bottom:4px;
 +
background-color: #dee1dc;
 +
color:#5d6a52;
 +
}
 +
 
 +
#calendar_work td{
 +
font-family: "Times New Roman", Times, serif;
 +
}
 +
 
 +
#calendar_work tr:nth-of-type(odd) {
 +
background-color:#dee1dc;
 +
}
 +
 
 +
/* ----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;
 +
    z-index: 20;
 +
    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;
position: relative;
-
display: inline-table;
+
left: 8px;
 +
font: 11px/100% Arial, Helvetica, sans-serif;
 +
text-transform: uppercase;
 +
color: #bbb;
 +
 
}
}
-
nav ul:after {
 
-
content: ""; clear: both; display: block;
 
-
}
 
-
nav ul li {
+
.back-to-top img{
-
float: left;
+
width: 90px;
-
padding: 0;
+
height: 90px;
-
margin: 0;
+
        margin-bottom: 7px;
-
}
+
-
nav ul li:hover {
+
-
background: #4b545f;
+
-
/*background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
+
-
background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
+
-
background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);
+
-
*/
+
}
}
-
nav ul li:hover a {
+
 
-
color: #fff;
+
/* ---- Intro ----- */
-
}
+
 
 +
.view {
 +
    width: 1090px;
 +
    height: 3105px;
 +
    overflow: hidden;
 +
    position: relative;
 +
    text-align: center;
 +
    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;
 +
 
 +
    background-color: rgba(0, 0, 0, 0.8);
 +
    opacity: 1;
 +
    -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-align: center;
 +
    position: relative;
 +
    padding: 10px;
 +
}
 +
 
 +
.view .nav {
 +
padding: 14px 10px;
 +
font-size: 40px;
 +
color: #5d6a52;
 +
//font-family: 'Black Ops One', cursive;
 +
font-family: 'Play', sans-serif;
 +
font-weight: bold;
 +
-webkit-text-stroke: 1px white;
 +
-moz-text-stroke: 1px white;
 +
}
 +
 
 +
/* ----- Sponsor div ----- */
 +
 
 +
#custom_footer {
 +
 
 +
width: 100%;
 +
border-top: 30px solid #000;
-
nav ul li a {
+
        background-color: #fff;
-
display: block; padding: 17px 28.45px;
+
        bottom: 0;
-
color: #fff; text-decoration: none;
+
        min-width: 1100px;
-
}
+
-
nav ul ul {
 
-
background: #5f6975; border-radius: 0px; padding: 0;
 
-
position: absolute; top: 100%;
 
}
}
-
nav ul ul li {
 
-
float: none;
 
-
border-top: 1px solid #6b727c;
 
-
border-bottom: 1px solid #575f6a;
 
-
position: relative;
 
-
}
 
-
nav ul ul li a {
 
-
padding: 15px 28.45px;
 
-
color: #fff;
 
-
}
 
-
nav ul ul li a:hover {
 
-
background: #4b545f;
 
-
}
 
-
nav ul ul ul {
+
.sponsorTable{
-
position: absolute; left: 100%; top:0;
+
 
 +
width: 100%;
}
}
-
/* Navbar code ends */
+
#custom_footer .sponsors{
-
/* css reset */
+
width: 150px;
 +
max-height: 150px;
-
/* http://meyerweb.com/eric/tools/css/reset/
+
}
-
  v2.0 | 20110126
+
-
  License: none (public domain)
+
-
*/
+
-
html, body, div, span, applet, object, iframe,
+
#custom_footer .centerThis{
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+
 
-
a, abbr, acronym, address, big, cite, code,
+
opacity:0.6;
-
del, dfn, em, img, ins, kbd, q, s, samp,
+
text-align: center;
-
small, strike, strong, sub, sup, tt, var,
+
width:10%;
-
b, u, i, center,
+
padding: 20px;
-
dl, dt, dd, ol, ul, li,
+
-
fieldset, form, label, legend,
+
-
table, caption, tbody, tfoot, thead, tr, th, td,
+
-
article, aside, canvas, details, embed,
+
-
figure, figcaption, footer, header, hgroup,
+
-
menu, nav, output, ruby, section, summary,
+
-
time, mark, audio, video {
+
-
margin: 0;
+
-
padding: 0;
+
-
border: 0;
+
-
/*font-size: 100%;
+
-
font: inherit;
+
-
vertical-align: baseline;
+
-
*/
+
}
}
-
/* HTML5 display-role reset for older browsers */
+
 
-
article, aside, details, figcaption, figure,
+
#custom_footer .centerThis:hover{
-
footer, header, hgroup, menu, nav, section {
+
 
-
display: block;
+
opacity:1;
 +
 
}
}
-
body {
+
 
-
line-height: 1;
+
#secret {
 +
    position: absolute;
 +
    top: 20%;
 +
    left: 50%;
 +
    width: 190px;
 +
    height: 190px;
 +
    margin:-60px 0 0 -60px;
 +
    -webkit-animation:spin 4s linear infinite;
 +
    -moz-animation:spin 4s linear infinite;
 +
    animation:spin 4s linear infinite;
}
}
-
ol, ul {
+
 
-
list-style: none;
+
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
 +
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
 +
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
 +
 
 +
 
 +
/* ---- Dynamic font size for navbar ---- */
 +
 
 +
 
 +
@media (max-width: 1490px) {
 +
    #menu ul li a { font-size: 75%; }
}
}
-
blockquote, q {
+
 
-
quotes: none;
+
@media (min-width: 1500px) {
 +
    #menu ul li a { font-size: 100%; }
}
}
-
blockquote:before, blockquote:after,
+
 
-
q:before, q:after {
+
 
-
content: '';
+
@media (max-width: 1490px) {
-
content: none;
+
    #menu_right ul li a { font-size: 75%; }
 +
}
 +
 
 +
 
 +
@media (min-width: 1500px) {
 +
    #menu_right ul li a { font-size: 100%; }
}
}
-
table {
+
#cover {
-
border-collapse: collapse;
+
position: absolute;
-
border-spacing: 0;
+
top: 0;
 +
left: 0;
 +
width: 100%;
 +
height: 100%;
 +
z-index: 100;
 +
display: none;
 +
background-color: #000000;
 +
opacity: .7;
 +
filter:progid:DXImageTransform.Microsoft.BasicImage(opacity=.7);
}
}

Latest revision as of 22:17, 17 October 2014

.clear {

clear: both;

}

  1. master {

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

       min-width: 1100px;

}

  1. header {
       background-color: #fff;

background-image: url('https://static.igem.org/mediawiki/2014/1/11/Uppsala_iGEM2014_Team_headerV3.png'); background-size: 100% 100%; background-repeat: no-repeat;

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;

}

.mainText{ margin-top: 30px; }

  1. main_content {

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-family: 'Black Ops One', cursive;

font-size: 44px;

       margin-top:25px;
       font-weight: bold;

text-transform: uppercase;

       color: #5d6a52;
      -webkit-text-stroke: 1px black;
      -moz-text-stroke: 1px black;

}

  1. main_content h2{
       font-family: 'Black Ops One', cursive;

color: #d31906;

       font-size: 22px;
       text-decoration: none;
       margin-top:15px;

}

  1. main_content h3{
       font-family: "Times New Roman", Times, serif;
       font-size: 18px;
       font-weight: bold;
       margin-top:15px;

} /* ---- Figures ---- */

.schedule { width: 600px; }

.scheduleSmall { width: 300px; }

.graph{ width: 100% }

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

  1. title {
       float: left;

}


  1. social_media {
       float: right;

}

  1. social_media li {
       display: inline-block;
       margin-left: 10px;

}

.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; }

.figure2 { width: 800px; }

/* ----Calendar---- */


  1. calendar {
margin-left:auto;
margin-right:auto;
margin-top: 50px;
margin-bottom: 20px;
font-size: 50px;
font-family: 'Black Ops One', cursive;

}

  1. calendar_head {
margin-left:auto;
margin-right:auto;
margin-top: 30px;
margin-bottom: 5px;
font-size: 50px;
font-family: 'Black Ops One', cursive;
text-align: center;
color: #d31906;

}

  1. calendar_days {
margin-left:auto;
margin-right:auto;

}

  1. calendar_days td {
text-align: center;
width: 180px;
font-family: 'Black Ops One', cursive;

}

  1. calendar_days td a {
text-decoration: none;
color: #d31906;

}

  1. calendar a {
text-decoration: none;
color: black;

}

  1. calendar tr #calendar_week {
width: 300px;
text-align: center;

}

  1. calendar_work table

{ font-family: 'Black Ops One', cursive; border-collapse:collapse; }

  1. calendar_work td, th

{ font-size:0.8em; border:1px solid #5d6a52; padding:3px 7px 2px 7px; }

  1. calendar_work th

{ font-size:1.1em; text-align:left; padding-top:5px; padding-bottom:4px; background-color: #dee1dc; color:#5d6a52; }

  1. calendar_work td{

font-family: "Times New Roman", Times, serif; }

  1. calendar_work tr:nth-of-type(odd) {

background-color:#dee1dc; }

/* ----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;
   z-index: 20;
   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: 3105px;
   overflow: hidden;
   position: relative;
   text-align: center;
   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;
   background-color: rgba(0, 0, 0, 0.8); 
   opacity: 1;
   -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-align: center;
   position: relative;
   padding: 10px;

}

.view .nav { padding: 14px 10px; font-size: 40px; color: #5d6a52; //font-family: 'Black Ops One', cursive; font-family: 'Play', sans-serif; font-weight: bold; -webkit-text-stroke: 1px white; -moz-text-stroke: 1px white; }

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

  1. custom_footer {

width: 100%; border-top: 30px solid #000;

       background-color: #fff;
       bottom: 0;
       min-width: 1100px;

}

.sponsorTable{

width: 100%; }

  1. custom_footer .sponsors{

width: 150px; max-height: 150px;

}

  1. custom_footer .centerThis{

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

  1. custom_footer .centerThis:hover{

opacity:1;

}

  1. secret {
   position: absolute;
   top: 20%;
   left: 50%;
   width: 190px;
   height: 190px;
   margin:-60px 0 0 -60px;
   -webkit-animation:spin 4s linear infinite;
   -moz-animation:spin 4s linear infinite;
   animation:spin 4s linear infinite;

}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } } @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }


/* ---- Dynamic font size for navbar ---- */


@media (max-width: 1490px) {

   #menu ul li a { font-size: 75%; }

}

@media (min-width: 1500px) {

   #menu ul li a { font-size: 100%; }

}


@media (max-width: 1490px) {

   #menu_right ul li a { font-size: 75%; }

}


@media (min-width: 1500px) {

   #menu_right ul li a { font-size: 100%; }

}

  1. cover {

position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; display: none; background-color: #000000; opacity: .7; filter:progid:DXImageTransform.Microsoft.BasicImage(opacity=.7); }