Template:Uppsala-SwedenTemplate

From 2011.igem.org

(Difference between revisions)
 
(79 intermediate revisions not shown)
Line 11: Line 11:
}
}
}
}
-
</script>     
+
</script>
 +
<script type="text/javascript">
 +
    $(window).load(function() {
 +
        $('#slider').nivoSlider();
 +
    });
 +
    </script>     
 +
<script>
 +
$(document).ready(function(){
 +
      $('.demo').finezoom({
 +
      maxZoom:8
 +
      });
 +
      });
 +
</script>
<!-- end of amin script-->
<!-- end of amin script-->
 +
 +
<!--- slide show --->
 +
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
 +
<script type="text/javascript" src="https://2011.igem.org/Team:Uppsala-Sweden/jquery.nivo.slider.pack.js?action=raw&amp;ctype=text/js"></script>
 +
<script type='text/javascript' src="https://2011.igem.org/Team:Uppsala-Sweden/jquery.jqzoom-core.js?action=raw&amp;ctype=text/js"></script>
 +
 +
<!--- end of slid show --->
 +
Line 23: Line 43:
#content * a:hover {text-decoration:none;}
#content * a:hover {text-decoration:none;}
 +
<!--- zoom -->
 +
.zoomPad{
 +
position:relative;
 +
float:left;
 +
z-index:99;
 +
 +
cursor:crosshair;
 +
 +
}
 +
 +
 +
 +
 +
 +
.zoomPreload{
 +
 +
  -moz-opacity:0.8;
 +
 +
  opacity: 0.8;
 +
 +
  filter: alpha(opacity = 80);
 +
 +
  color: #333;
 +
 +
  font-size: 12px;
 +
 +
  font-family: Tahoma;
 +
 +
  text-decoration: none;
 +
 +
  border: 1px solid #CCC;
 +
 +
  background-color: white;
 +
 +
  padding: 8px;
 +
 +
  text-align:center;
 +
 +
  background-image: url(https://static.igem.org/mediawiki/2011/e/ec/Zoomloader.gif);
 +
 +
  background-repeat: no-repeat;
 +
 +
  background-position: 43px 30px;
 +
 +
  z-index:110;
 +
 +
  width:90px;
 +
 +
  height:43px;
 +
 +
  position:absolute;
 +
 +
  top:0px;
 +
 +
  left:0px;
 +
 +
    * width:100px;
 +
 +
    * height:49px;
 +
 +
}
 +
 +
 +
 +
 +
 +
.zoomPup{
 +
 +
overflow:hidden;
 +
 +
background-color: #FFF;
 +
 +
-moz-opacity:0.6;
 +
 +
opacity: 0.6;
 +
 +
filter: alpha(opacity = 60);
 +
 +
z-index:120;
 +
 +
position:absolute;
 +
 +
border:1px solid #CCC;
 +
 +
  z-index:101;
 +
 +
  cursor:crosshair;
 +
 +
}
 +
 +
 +
 +
.zoomOverlay{
 +
 +
position:absolute;
 +
 +
left:0px;
 +
 +
top:0px;
 +
 +
background:#FFF;
 +
 +
/*opacity:0.5;*/
 +
 +
z-index:5000;
 +
 +
width:100%;
 +
 +
height:100%;
 +
 +
display:none;
 +
 +
  z-index:101;
 +
 +
}
 +
 +
 +
 +
.zoomWindow{
 +
 +
position:absolute;
 +
 +
left:110%;
 +
 +
top:40px;
 +
 +
background:#FFF;
 +
 +
z-index:6000;
 +
 +
height:auto;
 +
 +
  z-index:10000;
 +
 +
  z-index:110;
 +
 +
}
 +
 +
.zoomWrapper{
 +
 +
position:relative;
 +
 +
border:1px solid #999;
 +
 +
  z-index:110;
 +
 +
}
 +
 +
.zoomWrapperTitle{
 +
 +
display:block;
 +
 +
background:#999;
 +
 +
color:#FFF;
 +
 +
height:18px;
 +
 +
line-height:18px;
 +
 +
width:100%;
 +
 +
  overflow:hidden;
 +
 +
text-align:center;
 +
 +
font-size:10px;
 +
 +
  position:absolute;
 +
 +
  top:0px;
 +
 +
  left:0px;
 +
 +
  z-index:120;
 +
 +
  -moz-opacity:0.6;
 +
 +
  opacity: 0.6;
 +
 +
  filter: alpha(opacity = 60);
 +
 +
}
 +
 +
.zoomWrapperImage{
 +
 +
display:block;
 +
 +
  position:relative;
 +
 +
  overflow:hidden;
 +
 +
  z-index:110;
 +
 +
 +
 +
}
 +
 +
.zoomWrapperImage img{
 +
 +
  border:0px;
 +
 +
  display:block;
 +
 +
  position:absolute;
 +
 +
  z-index:101;
 +
 +
}
 +
 +
 +
 +
.zoomIframe{
 +
 +
  z-index: -1;
 +
 +
  filter:alpha(opacity=0);
 +
 +
  -moz-opacity: 0.80;
 +
 +
  opacity: 0.80;
 +
 +
  position:absolute;
 +
 +
  display:block;
 +
 +
}
 +
 +
 +
<!--- end of zoom --->
 +
 +
<!----new-->
 +
.nivoSlider {
 +
position:absolute;
 +
 +
}
 +
.nivoSlider img {
 +
position:absolute;
 +
top:0px;
 +
left:0px;
 +
}
 +
/* If an image is wrapped in a link */
 +
.nivoSlider a.nivo-imageLink {
 +
position:absolute;
 +
top:0px;
 +
left:0px;
 +
width:100%;
 +
height:100%;
 +
border:0;
 +
padding:0;
 +
margin:0;
 +
z-index:6;
 +
display:none;
 +
}
 +
/* The slices and boxes in the Slider */
 +
.nivo-slice {
 +
display:block;
 +
position:absolute;
 +
z-index:5;
 +
height:100%;
 +
}
 +
.nivo-box {
 +
display:block;
 +
position:absolute;
 +
z-index:5;
 +
}
 +
/* Caption styles */
 +
.nivo-caption {
 +
position:absolute;
 +
left:0px;
 +
bottom:0px;
 +
background:#000;
 +
color:#fff;
 +
opacity:0.8; /* Overridden by captionOpacity setting */
 +
width:100%;
 +
z-index:8;
 +
}
 +
.nivo-caption p {
 +
padding:5px;
 +
margin:0;
 +
}
 +
.nivo-caption a {
 +
display:inline !important;
 +
}
 +
.nivo-html-caption {
 +
    display:none;
 +
}
 +
/* Direction nav styles (e.g. Next & Prev) */
 +
.nivo-directionNav a {
 +
position:absolute;
 +
top:45%;
 +
z-index:9;
 +
cursor:pointer;
 +
        opacity:0;
 +
}
 +
.nivo-prevNav {
 +
left:0px;
 +
}
 +
.nivo-nextNav {
 +
right:0px;
 +
}
 +
/* Control nav styles (e.g. 1,2,3...) */
 +
.nivo-controlNav a {
 +
position:relative;
 +
z-index:9;
 +
cursor:pointer;
 +
}
 +
.nivo-controlNav a.active {
 +
font-weight:bold;
 +
opacity:0;
 +
}
 +
/*=================================*/
 +
/* Nivo Slider Demo
 +
/* November 2010
 +
/* By: Gilbert Pellegrom
 +
/* http://dev7studios.com
 +
/*=================================*/
 +
<!---
 +
/*====================*/
 +
/*=== Reset Styles ===*/
 +
/*====================*/
 +
html, body, div, span, applet, object, iframe,
 +
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
 +
a, abbr, acronym, address, big, cite, code,
 +
del, dfn, em, font, img, ins, kbd, q, s, samp,
 +
small, strike, strong, sub, sup, tt, var,
 +
dl, dt, dd, ol, ul, li,
 +
fieldset, form, label, legend,
 +
table, caption, tbody, tfoot, thead, tr, th, td {
 +
margin:0;
 +
padding:0;
 +
border:0;
 +
outline:0;
 +
font-weight:inherit;
 +
font-style:inherit;
 +
font-size:100%;
 +
font-family:inherit;
 +
vertical-align:baseline;
 +
}
 +
 +
 +
 +
a, a:visited {
 +
color:blue;
 +
text-decoration:none;
 +
}
 +
a:hover, a:active {
 +
color:#000;
 +
text-decoration:none;
 +
}
 +
 +
--->
 +
.theme-default #slider {
 +
    margin:34px 34px 0 34px;
 +
margin-top:30px;
 +
margin-bottom:30px;
 +
    width:870px; /* Make sure your images are the same size */
 +
    height:246px; /* Make sure your images are the same size */
 +
}
 +
<!---end of new -->
.hp {width:100%; position:relative;}
.hp {width:100%; position:relative;}
.fh {height:100%; position:relative;}
.fh {height:100%; position:relative;}
.container {font-size:1.2em; line-height:1.6em;}
.container {font-size:1.2em; line-height:1.6em;}
.container_16 {margin-left: auto;margin-right: auto;width: 976px;}
.container_16 {margin-left: auto;margin-right: auto;width: 976px;}
-
.grid_cell,.grid_Blue,.grid_Green,.grid_Red,.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12,.grid_13,.grid_14,.grid_15,.grid_16 {text-align:left; display:inline;float: left;position: relative; padding-right:10px; padding-left:10px; overflow:hidden;}
+
.grid_cell,.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12,.grid_13,.grid_14,.grid_15,.grid_16 {text-align:left; display:inline;float: left;position: relative; padding-right:10px; padding-left:10px; overflow:hidden;}
.alpha {padding-left:0;}
.alpha {padding-left:0;}
.omega {padding-right:0;}
.omega {padding-right:0;}
 +
.mywhite {color:#FFFFFF;font-variant:normal; text-transform:none;text-align:left;vertical-align:middle;font-weight:400; font-family: Helvetica, sans-serif; font-size:20px;}
.container_16 .grid_cell{
.container_16 .grid_cell{
-
width:170px;font-family:Helvetica, Arial, sans-serif; color:#202020;border:1px solid #F2F2F2;background: #F2F2F2;
+
width:200px;font-family:Helvetica, Arial, sans-serif; color:#202020;}
-
}
+
.container_16 .grid_Orange_thin {
 +
background: #FF9C09;
 +
width:100%;
 +
height:30px;}
 +
.container_16 .grid_Blue_thin {
 +
background: #3B5998;
 +
width:100%;
 +
height:30px;}
 +
.container_16 .grid_Red_thin {
 +
background: #BF0404;
 +
width:100%;
 +
height:30px;}
 +
.container_16 .grid_Green_thin {
 +
background: #00BC6A;
 +
width:100%;
 +
height:30px;}
.container_16 .grid_Blue {
.container_16 .grid_Blue {
-
font-family:Helvetica, Arial, sans-serif; color:#FFFFFF;font-size:10px;
 
background: #3B5998;
background: #3B5998;
-
width:170px;}
+
width:100%;
 +
height:50px;}
.container_16 .grid_Red {
.container_16 .grid_Red {
-
font-family:Helvetica, Arial, sans-serif; color:#FFFFFF;font-size:10px;
 
background: #BF0404;
background: #BF0404;
-
width:170px;}
+
width:100%;
 +
height:50px;}
.container_16 .grid_Green {
.container_16 .grid_Green {
-
font-family:Helvetica, Arial, sans-serif; color:#FFFFFF;font-size:10px;
 
background: #05B65E;
background: #05B65E;
-
width:170px;}
+
width:100%;
 +
height:50px;}
 +
.container_16 .grid_content_Blue {
 +
border-bottom:3px double #3B5998;
 +
width:190px;}
 +
.container_16 .grid_content_Red {
 +
border-bottom:3px double #BF0404;
 +
width:190px;}
 +
.container_16 .grid_content_Green {
 +
border-bottom:3px double #05B65E;
 +
width:190px;}
 +
 
.container_16 .grid_1 {width:41px;}
.container_16 .grid_1 {width:41px;}
Line 277: Line 683:
#sub_menu {height:200px;}
#sub_menu {height:200px;}
#Uppsalabanner {}
#Uppsalabanner {}
-
#mainlogo {height:367px; background:url(https://static.igem.org/mediawiki/2011/9/9e/UppsalaLogoTmp.png) top center no-repeat;}
+
#mainlogo {height:210px; background:url(https://static.igem.org/mediawiki/2011/8/8f/Uppsala4.jpg) top center no-repeat;}
-
#maincontent {height:210px; background:url(https://static.igem.org/mediawiki/2011/5/58/Uppsalaheader2.jpg) right top no-repeat;}
+
#Igemlogo {height:79px; top left no-repeat;border:2px 2px 2px 2px single #3B5998;}
-
#Uppsalalogo {height:384px; background:url(https://static.igem.org/mediawiki/2011/9/93/Uppsalalogo2.jpg) bottom left no-repeat;}
+
#maincontent {height:210px; background:url(https://static.igem.org/mediawiki/2011/1/13/Uppsala3.jpg) right top no-repeat;}
-
#banner {height:323px; background:url(https://static.igem.org/mediawiki/2011/6/63/Uppsalabanner.jpg) center center no-repeat; clear:both; position:relative;}
+
#Uppsalalogo {height:384px; background:url(https://static.igem.org/mediawiki/2011/1/13/Uppsala3.jpg) bottom left no-repeat;}
 +
#banner {height:323px; background:url(https://static.igem.org/mediawiki/2011/8/8f/Uppsala4.jpg) center center no-repeat; clear:both; position:relative;}
#Uppsalacontact {height:260px; background:url(https://static.igem.org/mediawiki/2011/7/76/Uppsalacontact.jpg) top right no-repeat; position:relative;}
#Uppsalacontact {height:260px; background:url(https://static.igem.org/mediawiki/2011/7/76/Uppsalacontact.jpg) top right no-repeat; position:relative;}
.banner {height:200px;display:block;}
.banner {height:200px;display:block;}
Line 288: Line 695:
#Uppsalanotebook {height:302px; background:url(https://static.igem.org/mediawiki/2011/8/86/Uppsalanote.jpg) top center no-repeat;}
#Uppsalanotebook {height:302px; background:url(https://static.igem.org/mediawiki/2011/8/86/Uppsalanote.jpg) top center no-repeat;}
-
#mainred {height:198px; background:url(https://static.igem.org/mediawiki/2011/5/58/Uppsalaheader2.jpg) left top no-repeat;}
+
#mainred {height:198px; background:url(https://static.igem.org/mediawiki/2011/9/98/UppsalaBanner2.png) left top no-repeat;}
.maincontent {margin-top:-50px;}
.maincontent {margin-top:-50px;}
Line 414: Line 821:
#wrap {min-height: 100%;}
#wrap {min-height: 100%;}
-
#mine {overflow:auto;
+
#main {overflow:auto;
-
padding-bottom: 150px;}  /* must be same height as the footer */
+
padding-bottom: 350px;}  /* must be same height as the footer */
#footy {
#footy {
         background-color:#ffffff;
         background-color:#ffffff;
         position: relative;
         position: relative;
-
margin-top: -250px; /* negative value of footer height */
+
margin-top: -350px; /* negative value of footer height */
margin-bottom: -25px;
margin-bottom: -25px;
-
height: 250px;
+
height: 350px;
clear:both;
clear:both;
         border-top: 2px solid black;
         border-top: 2px solid black;
Line 463: Line 870:
<!--END IMG OPACITY-->  
<!--END IMG OPACITY-->  
 +
 +
<!--START ROLLOVER PROFILE PICTURES-->
 +
 +
.rollover Antonio {
 +
    background: url(https://static.igem.org/mediawiki/2011/6/67/Antonio-UU.jpg) no-repeat 0px 0px;
 +
    width: 204px;
 +
    height: 218px;
 +
    display: block;
 +
}
 +
.rollover Antonio:hover {
 +
    background-position: -204px;
 +
        }
 +
 +
.rollover Lidaw {
 +
    background: url(https://static.igem.org/mediawiki/2011/5/5d/Lidaw-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Lidaw:hover {
 +
    background-position: -200px;
 +
}
 +
 +
.rollover Lei {
 +
    background: url(https://static.igem.org/mediawiki/2011/d/d3/Lei-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Lei:hover {
 +
    background-position: -200px;
 +
}
 +
 +
.rollover Tomas {
 +
    background: url(https://static.igem.org/mediawiki/2011/7/76/Tomas-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Tomas:hover {
 +
    background-position: -200px;
 +
}
 +
 +
.rollover Erik {
 +
    background: url(https://static.igem.org/mediawiki/2011/a/ac/Erik-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Erik:hover {
 +
    background-position: -200px;
 +
}
 +
 +
 +
.rollover Amin {
 +
    background: url(https://static.igem.org/mediawiki/2011/f/f9/Amin-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Amin:hover {
 +
    background-position: -200px;
 +
}
 +
 +
 +
.rollover Sibel {
 +
    background: url(https://static.igem.org/mediawiki/2011/c/c0/Sibel-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Sibel:hover {
 +
    background-position: -200px;
 +
}
 +
 +
.rollover Cherno {
 +
    background: url(https://static.igem.org/mediawiki/2011/d/df/Cherno-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Cherno:hover {
 +
    background-position: -200px;
 +
}
 +
 +
 +
.rollover Johanna {
 +
    background: url(https://static.igem.org/mediawiki/2011/2/28/Johanna-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Johanna:hover {
 +
    background-position: -200px;
 +
}
 +
 +
.rollover Mohammed {
 +
    background: url(https://static.igem.org/mediawiki/2011/5/5c/Mohammed-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Mohammed:hover {
 +
    background-position: -200px;
 +
}
 +
 +
 +
 +
.rollover Laura {
 +
    background: url(https://static.igem.org/mediawiki/2011/7/70/Laura-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Laura:hover {
 +
    background-position: -200px;
 +
}
 +
 +
 +
.rollover Hamid {
 +
    background: url(https://static.igem.org/mediawiki/2011/0/0b/Hamid-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Hamid:hover {
 +
    background-position: -200px;
 +
}
 +
 +
.rollover Pikkei {
 +
    background: url(https://static.igem.org/mediawiki/2011/5/5b/Pikkei-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Pikkei:hover {
 +
    background-position: -200px;
 +
}
 +
 +
 +
.rollover Karl {
 +
    background: url(https://static.igem.org/mediawiki/2011/7/74/Karl-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Karl:hover {
 +
    background-position: -200px;
 +
}
 +
 +
 +
.rollover Phani {
 +
    background: url(https://static.igem.org/mediawiki/2011/7/7b/Phani-UU.jpg) no-repeat 0px 0px;
 +
    width: 192px;
 +
    height: 201px;
 +
    display: block;
 +
}
 +
.rollover Phani:hover {
 +
    background-position: -192px;
 +
}
 +
 +
.rollover Eugenia {
 +
    background: url(https://static.igem.org/mediawiki/2011/b/ba/Eugenia-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Eugenia:hover {
 +
    background-position: -200px;
 +
}
 +
 +
}
 +
 +
<!--END ROLLOVER PROFILE PICTURES--> OPACITY
-------------------
-------------------
/*Wikihack*/
/*Wikihack*/
 +
#globalWrapper {
 +
    background-color: transparent;
 +
    padding-bottom:0px;
 +
    border: none;
 +
    }
 +
#content {
 +
    background-color: white;
 +
    border:none;
 +
    padding-bottom:none;
 +
    margin-bottom:none;
 +
    }
 +
#bodyContent {
 +
    border: none;
 +
    }
 +
#top-section {
 +
    height: 14px;
 +
    margin-top: -14px;
 +
    margin-left: auto;
 +
    margin-right: auto;
 +
    margin-bottom: 0 !important;
 +
    margin-bottom: 10px;
 +
    padding:0;
 +
    border: none;
 +
    }
 +
#p-logo {
 +
    height:1px;
 +
    overflow:hidden;
 +
    border:none;
 +
    }
 +
#search-controls {
 +
    overflow:hidden;
 +
    display:none;
 +
    background: none;
 +
    position: absolute;
 +
    top: 100px;
 +
    right: 40px;
 +
    }         
 +
.left-menu { width: 400px; display:block; float:left; margin-top:-62px; margin-right:30px; border: none;  left:20px;}                                                                                                                                 
 +
.left-menu ul { border: none; }
 +
 +
#menubar.right-menu {
 +
    width:300px;
 +
    display:block;
 +
    float:left;
 +
    margin-top:-62px;
 +
    padding-left:50px;
 +
    border: none;
 +
    right:50px;
 +
    }                                                                                                                                                       
 +
.right-menu ul { border: none;}
 +
 +
#menubar li a{
 +
    color:#73a631;
 +
}
 +
 +
#menubar li a:hover {
 +
    color:#73a631;
 +
    text-decoration:underline;
 +
}
 +
 +
#menubar li.selected a {
 +
    color:#555555;
 +
}
 +
#footer-box {
 +
    background-color: white;
 +
    border: none;
 +
    width: 965px;
 +
    margin: 0 auto;
 +
    margin-bottom:none;
 +
    padding-left:5px;
 +
    padding-right:5px;
 +
    }
 +
#footer {
 +
    border: none;
 +
    width: 965px;
 +
    margin: 0;
 +
    padding: 0;
 +
    background-color:white;
 +
    }                                                                                                                                      .firstHeading { display: none;}
 +
#f-list a {
 +
    color: #333;
 +
    font-size: 10px;
 +
    }
 +
#f-list a:hover {
 +
    color: #666;
 +
    }
 +
#footer ul {
 +
    margin: 0;
 +
    padding: 0;
 +
    }
 +
#footer ul li {
 +
    margin-top: 0;
 +
    margin-bottom: 0;
 +
    margin-left: 10px;
 +
    margin-right: 10px;
 +
    padding: 0;
 +
    }
/* it's in my file*/
/* it's in my file*/

Latest revision as of 15:20, 28 October 2011