Template:Uppsala-SwedenTemplate

From 2011.igem.org

(Difference between revisions)
 
(328 intermediate revisions not shown)
Line 3: Line 3:
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
-
<!-- Amin script -->
+
<!-- Amin script -->  
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+
<script type="text/javascript">
-
  <script type="text/javascript">
+
 
-
$(document).ready(function(){$.fn.jScrollable=function(options){options=$.extend({referer:$(this),yaxis:$(this).position().top,xaxis:$(this).position().left,ymove:true,xmove:false,scrolldelay:500},options);$(options.referer).css({position:'absolute',top:options.yaxis,left:options.xaxis});$(window).scroll(function(){var yoffset=options.yaxis+$(document).scrollTop()+"px";var xoffset=options.xaxis+$(document).scrollLeft()+"px";if(options.ymove&&options.xmove){$(options.referer).animate({top:yoffset,left:xoffset},{duration:options.scrolldelay,queue:false})}else if(options.ymove&&options.xmove==false){$(options.referer).animate({top:yoffset},{duration:options.scrolldelay,queue:false})}else if(options.ymove==false&&options.xmove){$(options.referer).animate({left:xoffset},{duration:options.scrolldelay,queue:false})}else{return"You don't need this plugin, disable it"}})}});
+
function changeImage(name, url){
-
        $(document).ready( function() {
+
if(document.images[name]){
-
          $(floatMenu).jScrollable({});
+
document.images[name].src = url;
-
        });
+
}
-
    </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-->
-
<!-- START:Riddance.  
+
<!--- 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>
-
<script type="text/javascript">
+
<!--- end of slid show --->
-
var d = document.getElementById('top-section');
+
-
var olddiv = document.getElementById('p-logo');
+
-
d.removeChild(olddiv);
+
-
</script>-->
 
-
<!-- END: Riddance. -->
 
 +
<style type="text/css">
 +
body {}
 +
body.mediawiki {background:#fff ;url(https://static.igem.org/mediawiki/2011/d/db/Uppsala.jpg) top center repeat-y; font-family:Helvetica, Arial, sans-serif; color:#202020;border:20;}
 +
#content {width:976px; padding:0;background:#fff url(https://static.igem.org/mediawiki/2011/d/db/Uppsala.jpg ) bottom center repeat-x;}
 +
#bodyContent {}
 +
h1.firstHeading, #top {display:none;}
 +
#content * a:hover {text-decoration:none;}
 +
<!--- zoom -->
 +
.zoomPad{
 +
position:relative;
 +
float:left;
 +
z-index:99;
-
<script type="text/javascript">
+
cursor:crosshair;
-
/////////////////////////////////////////////////////////////////////
+
}
-
var FloatLayers      = new Array();
 
-
var FloatLayersByName = new Array();
 
-
function addFloatLayer(n,offX,offY,spd){new FloatLayer(n,offX,offY,spd);}
 
-
function getFloatLayer(n){return FloatLayersByName[n];}
 
-
function alignFloatLayers(){for(var i=0;i<FloatLayers.length;i++)FloatLayers[i].align();}
 
-
function getXCoord(el) {
+
 
-
x=0;
+
 
-
while(el){
+
.zoomPreload{
-
x+=el.offsetLeft;
+
 
-
el=el.offsetParent;
+
  -moz-opacity:0.8;
-
}
+
 
-
return x;
+
  opacity: 0.8;
-
}
+
 
-
function getYCoord(el) {
+
  filter: alpha(opacity = 80);
-
y=0;
+
 
-
while(el){
+
  color: #333;
-
y+=el.offsetTop;
+
 
-
el=el.offsetParent;
+
  font-size: 12px;
-
}
+
 
-
return y;
+
  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;
 +
 
}
}
-
/////////////////////////////////////////////////////////////////////
 
-
FloatLayer.prototype.setFloatToTop=setTopFloater;
 
-
FloatLayer.prototype.setFloatToBottom=setBottomFloater;
 
-
FloatLayer.prototype.setFloatToLeft=setLeftFloater;
 
-
FloatLayer.prototype.setFloatToRight=setRightFloater;
 
-
FloatLayer.prototype.initialize=defineFloater;
 
-
FloatLayer.prototype.adjust=adjustFloater;
 
-
FloatLayer.prototype.align=alignFloater;
 
-
function FloatLayer(n, offX, offY, spd) {
 
-
this.index=FloatLayers.length;
 
-
FloatLayers.push(this);
 
-
FloatLayersByName[n] = this;
 
-
this.name    = n;
+
.zoomPup{
-
this.floatX  = 0;
+
 
-
this.floatY  = 0;
+
overflow:hidden;
-
this.tm      = null;
+
 
-
this.steps  = spd;
+
background-color: #FFF;
-
this.alignHorizontal=(offX>=0) ? leftFloater : rightFloater;
+
 
-
this.alignVertical  =(offY>=0) ? topFloater : bottomFloater;
+
-moz-opacity:0.6;
-
this.ifloatX = Math.abs(offX);
+
 
-
this.ifloatY = Math.abs(offY);
+
opacity: 0.6;
 +
 
 +
filter: alpha(opacity = 60);
 +
 
 +
z-index:120;
 +
 
 +
position:absolute;
 +
 
 +
border:1px solid #CCC;
 +
 
 +
  z-index:101;
 +
 
 +
  cursor:crosshair;
 +
 
}
}
-
/////////////////////////////////////////////////////////////////////
 
-
function defineFloater(){
+
 
-
this.layer  = document.getElementById(this.name);
+
.zoomOverlay{
-
this.width = this.layer.offsetWidth;
+
 
-
this.height = this.layer.offsetHeight;
+
position:absolute;
-
this.prevX  = this.layer.offsetLeft;
+
 
-
this.prevY  = this.layer.offsetTop;
+
left:0px;
 +
 
 +
top:0px;
 +
 
 +
background:#FFF;
 +
 
 +
/*opacity:0.5;*/
 +
 
 +
z-index:5000;
 +
 
 +
width:100%;
 +
 
 +
height:100%;
 +
 
 +
display:none;
 +
 
 +
  z-index:101;
 +
 
}
}
-
function adjustFloater() {
 
-
this.tm=null;
 
-
if(this.layer.style.position!='absolute')return;
 
-
var dx = Math.abs(this.floatX-this.prevX);
 
-
var dy = Math.abs(this.floatY-this.prevY);
 
-
if (dx < this.steps/2)
+
.zoomWindow{
-
cx = (dx>=1) ? 1 : 0;
+
-
else
+
-
cx = Math.round(dx/this.steps);
+
-
if (dy < this.steps/2)
+
position:absolute;
-
cy = (dy>=1) ? 1 : 0;
+
-
else
+
-
cy = Math.round(dy/this.steps);
+
-
if (this.floatX > this.prevX)
+
left:110%;
-
this.prevX += cx;
+
-
else if (this.floatX < this.prevX)
+
-
this.prevX -= cx;
+
-
if (this.floatY > this.prevY)
+
top:40px;
-
this.prevY += cy;
+
-
else if (this.floatY < this.prevY)
+
-
this.prevY -= cy;
+
-
this.layer.style.left = this.prevX;
+
background:#FFF;
-
this.layer.style.top  = this.prevY;
+
 
 +
z-index:6000;
 +
 
 +
height:auto;
 +
 
 +
  z-index:10000;
 +
 
 +
  z-index:110;
-
if (cx!=0||cy!=0){
 
-
if(this.tm==null)this.tm=setTimeout('FloatLayers['+this.index+'].adjust()',50);
 
-
}else
 
-
alignFloatLayers();
 
}
}
-
function setLeftFloater(){this.alignHorizontal=leftFloater;}
+
.zoomWrapper{
-
function setRightFloater(){this.alignHorizontal=rightFloater;}
+
-
function setTopFloater(){this.alignVertical=topFloater;}
+
-
function setBottomFloater(){this.alignVertical=bottomFloater;}
+
-
function leftFloater(){this.floatX = document.body.scrollLeft + this.ifloatX;}
+
position:relative;
-
function topFloater(){this.floatY = document.body.scrollTop + this.ifloatY;}
+
 
-
function rightFloater(){this.floatX = document.body.scrollLeft + document.body.clientWidth - this.ifloatX - this.width;}
+
border:1px solid #999;
-
function bottomFloater(){this.floatY = document.body.scrollTop + document.body.clientHeight - this.ifloatY - this.height;}
+
 
 +
  z-index:110;
-
function alignFloater(){
 
-
if(this.layer==null)this.initialize();
 
-
this.alignHorizontal();
 
-
this.alignVertical();
 
-
if(this.prevX!=this.floatX || this.prevY!=this.floatY){
 
-
if(this.tm==null)this.tm=setTimeout('FloatLayers['+this.index+'].adjust()',50);
 
-
}
 
}
}
 +
.zoomWrapperTitle{
-
</script>
+
display:block;
 +
background:#999;
 +
color:#FFF;
 +
height:18px;
-
<!-- *********************************************************
+
line-height:18px;
-
    * You may use this code for free on any web page provided that
+
-
    * these comment lines and the following credit remain in the code.
+
-
    * Floating Div from http://www.javascript-fx.com
+
-
    ********************************************************  -->
+
-
<div id="divTopLeft"    style="position:absolute">
+
-
<!-- Start - put your content here --->
+
-
<b>Your Content Here</b>
+
-
<!-- End  - put your content here --->
+
-
</div>
+
-
<script type="text/javascript">
+
width:100%;
-
var ns = (navigator.appName.indexOf("Netscape") != -1);
+
 
-
var d = document;
+
  overflow:hidden;
-
function JSFX_FloatDiv(id, sx, sy)
+
 
-
{
+
text-align:center;
-
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
+
 
-
var px = document.layers ? "" : "px";
+
font-size:10px;
-
window[id + "_obj"] = el;
+
 
-
if(d.layers)el.style=el;
+
  position:absolute;
-
el.cx = el.sx = sx;el.cy = el.sy = sy;
+
 
-
el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};
+
  top:0px;
 +
 
 +
  left:0px;
 +
 
 +
  z-index:120;
 +
 
 +
  -moz-opacity:0.6;
 +
 
 +
  opacity: 0.6;
 +
 
 +
  filter: alpha(opacity = 60);
-
el.floatIt=function()
 
-
{
 
-
var pX, pY;
 
-
pX = (this.sx >= 0) ? 0 : ns ? innerWidth :
 
-
document.documentElement && document.documentElement.clientWidth ?
 
-
document.documentElement.clientWidth : document.body.clientWidth;
 
-
pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ?
 
-
document.documentElement.scrollTop : document.body.scrollTop;
 
-
if(this.sy<0)
 
-
pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ?
 
-
document.documentElement.clientHeight : document.body.clientHeight;
 
-
this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8;
 
-
this.sP(this.cx, this.cy);
 
-
setTimeout(this.id + "_obj.floatIt()", 40);
 
-
}
 
-
return el;
 
}
}
-
JSFX_FloatDiv("divTopLeft", 10,30).floatIt();
 
-
</script>
 
 +
.zoomWrapperImage{
 +
display:block;
 +
  position:relative;
 +
  overflow:hidden;
 +
  z-index:110;
 +
}
 +
.zoomWrapperImage img{
-
<style type="text/css">
+
  border:0px;
-
body {}
+
-
body.mediawiki {background:#fff ;url(https://static.igem.org/mediawiki/2011/d/db/Uppsala.jpg) top center repeat-y; font-family:Helvetica, Arial, sans-serif; color:#202020;border:20;}
+
-
#content {width:976px; padding:0;background:#fff url(https://static.igem.org/mediawiki/2011/d/db/Uppsala.jpg ) bottom center repeat-x;}
+
-
#bodyContent {}
+
-
h1.firstHeading, #top {display:none;}
+
-
#content * a:hover {text-decoration:none;}
+
 +
  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_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{
 +
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 {
 +
background: #3B5998;
 +
width:100%;
 +
height:50px;}
 +
.container_16 .grid_Red {
 +
background: #BF0404;
 +
width:100%;
 +
height:50px;}
 +
.container_16 .grid_Green {
 +
background: #05B65E;
 +
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;}
.container_16 .grid_2 {width:102px;}
.container_16 .grid_2 {width:102px;}
Line 342: Line 571:
  -o-transform: rotate(0deg) scale(1) skew(1deg) translate(0px);
  -o-transform: rotate(0deg) scale(1) skew(1deg) translate(0px);
   border:double 6px #000000;
   border:double 6px #000000;
-
  -moz-border-radius: 24px;
+
  -moz-border-radius: 14px;
  -webkit-border-radius: 24px;
  -webkit-border-radius: 24px;
  border-radius: 24px;
  border-radius: 24px;
Line 401: Line 630:
.container_16 .grid_16 {width:956px;}
.container_16 .grid_16 {width:956px;}
.container_16 .grid_17 {
.container_16 .grid_17 {
-
-webkit-transform: rotate(0deg) scale(1) skew(1deg) translate(0px);
+
  width:163px;opacity:1;}
-
-moz-transform: rotate(0deg) scale(1) skew(1deg) translate(0px);
+
-
-o-transform: rotate(0deg) scale(1) skew(1deg) translate(0px);
+
-
  border:double 6px #000000;
+
-
-moz-border-radius: 14px;
+
-
-webkit-border-radius: 14px;
+
-
border-radius: 14px;
+
-
-moz-box-shadow: 10px 10px 5px #000000;
+
-
-webkit-box-shadow: 10px 10px 5px #000000;
+
-
box-shadow: 10px 10px 5px #000000;
+
-
/*margin-right:61px;*/
+
-
  width:163px;opacity:1;
+
-
filter:alpha(opacity=100);
+
-
border:1px solid black;
+
-
background: #800;
+
-
    background: -moz-linear-gradient(-90deg, #DDE1EE, #898293 30%);
+
-
    background: -webkit-gradient(linear, left top, left bottom, from(#DDE1EE),to(30% ,#898293));}
+
.container_16 .prefix_1 {margin-left:61px;}
.container_16 .prefix_1 {margin-left:61px;}
.container_16 .prefix_2 {margin-left:122px;}
.container_16 .prefix_2 {margin-left:122px;}
Line 431: Line 644:
                                 color-stop(85%, #800000), to(#b80304));*/}
                                 color-stop(85%, #800000), to(#b80304));*/}
.wrap_1 {float:left; display:inline; width:61px; position:relative; padding:0; margin:0;}
.wrap_1 {float:left; display:inline; width:61px; position:relative; padding:0; margin:0;}
-
.wrap_3 {float:left; display:inline; width:183px; position:relative; padding:0; margin:0;}
+
.wrap_3 {float:left; display:inline; width:183px;position:relative; padding:0; margin:0;}
.wrap_12 {float:left; display:inline; width:732px; position:relative; padding:0; margin:0;}
.wrap_12 {float:left; display:inline; width:732px; position:relative; padding:0; margin:0;}
Line 462: Line 675:
.hidden {visibility:hidden;}
.hidden {visibility:hidden;}
.gray {font-size:80%; color:#ededed; font-family:serif; font-style:italic;}
.gray {font-size:80%; color:#ededed; font-family:serif; font-style:italic;}
 +
.white {font-size:15; color:#FFFFFF; font-family:serif;}
.grey {color:#666; font-family:serif; font-style:italic;}
.grey {color:#666; font-family:serif; font-style:italic;}
.blu {background:#86D6EF;}
.blu {background:#86D6EF;}
Line 467: Line 681:
.container_16 #Uppsalabanner .grid_4 {width:230px;padding:0;margin-left:10px; margin-right:4px;}
.container_16 #Uppsalabanner .grid_4 {width:230px;padding:0;margin-left:10px; margin-right:4px;}
.container_16 #Uppsalabanner .grid_12 {width:717px; padding:0;margin-left:5px; margin-right:10px;}
.container_16 #Uppsalabanner .grid_12 {width:717px; padding:0;margin-left:5px; margin-right:10px;}
-
 
+
#sub_menu {height:200px;}
#Uppsalabanner {}
#Uppsalabanner {}
-
#mainlogo {height:367px;  
+
#mainlogo {height:210px; background:url(https://static.igem.org/mediawiki/2011/8/8f/Uppsala4.jpg) top center no-repeat;}
-
  border:single 3px #000000;
+
#Igemlogo {height:79px; top left no-repeat;border:2px 2px 2px 2px single #3B5998;}
-
-moz-border-radius: 0px 0px 14px 14px;
+
#maincontent {height:210px; background:url(https://static.igem.org/mediawiki/2011/1/13/Uppsala3.jpg) right top no-repeat;}
-
-webkit-border-radius: 0px 0px 14px 14px;
+
#Uppsalalogo {height:384px; background:url(https://static.igem.org/mediawiki/2011/1/13/Uppsala3.jpg) bottom left no-repeat;}
-
border-radius: 6 px;
+
#banner {height:323px; background:url(https://static.igem.org/mediawiki/2011/8/8f/Uppsala4.jpg) center center no-repeat; clear:both; position:relative;}
-
/*-moz-box-shadow: 10px 10px 5px #000000;*/
+
-
/* -webkit-box-shadow: 10px 10px 5px #000000;*/
+
-
/* box-shadow: 10px 10px 5px #000000;*/
+
-
/*margin-right:61px;*/
+
-
filter:alpha(opacity=100);
+
-
border:1px solid black;
+
-
/*background: #800;*/
+
-
    background: url(https://static.igem.org/mediawiki/2011/4/4e/UppsalaLogo.gif) no-repeat center bottom #898293 ;
+
-
    background: url(https://static.igem.org/mediawiki/2011/4/4e/UppsalaLogo.gif) no-repeat center bottom #898293 ;
+
-
/*background-image:url(https://static.igem.org/mediawiki/2011/4/4e/UppsalaLogo.gif) bottom center no-repeat;*/}
+
-
#maincontent {height:210px; background:url(https://static.igem.org/mediawiki/2011/5/58/Uppsalaheader2.jpg) right top no-repeat #898293;}
+
-
#Uppsalalogo {height:384px; background:url(https://static.igem.org/mediawiki/2011/9/93/Uppsalalogo2.jpg) bottom left 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;}
+
#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 494: 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 #898293;}
+
#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;}
-
 
-
 
-
#mainTwoRow {height:100%;}
 
-
#mainNavigation {height:367px; background:url(https://static.igem.org/mediawiki/2011/9/9e/UppsalaLogoTmp.png) top center no-repeat;}
 
-
 
Line 536: Line 732:
#submenu .contrast {background:#404040;}
#submenu .contrast {background:#404040;}
#submenu .subtitle {margin-bottom:5px;}
#submenu .subtitle {margin-bottom:5px;}
 +
<!-- Changing the face -->
 +
.profile img {
 +
float:left;
 +
}
 +
 +
.profile a.member {
 +
cursor:default;
 +
display:block;
 +
text-decoration:none;
 +
float:left;
 +
}
 +
 +
 +
.profile a.member {
 +
background-repeat:no-repeat;
 +
background-position:0 7px;
 +
}
 +
 +
<!-- End of face css -->
.spiffy{display:block}
.spiffy{display:block}
Line 557: Line 772:
<!-- new submenu-->
<!-- new submenu-->
#floatMenu {
#floatMenu {
-
position:absolute;
+
position:absolute;
-
top:450px;
+
top:0px;
left:0px;
left:0px;
margin-left:0px;
margin-left:0px;
Line 564: Line 779:
min-height:100%;
min-height:100%;
height:200px;
height:200px;
-
 
+
z-index:-16;
}
}
#floatMenu ul {
#floatMenu ul {
Line 592: Line 807:
}
}
<!-- end of new submenu-->
<!-- end of new submenu-->
-
a img{
+
 
-
opacity:1;
+
-
filter:alpha(opacity=100);
+
-
filter: “alpha(opacity=100)”;
+
-
}
+
-
a:hover img{
+
-
opacity:1;
+
-
filter:alpha(opacity=100);
+
-
filter: “alpha(opacity=100)”;
+
-
}
+
Line 608: Line 814:
#Uppsalafooter {font-size:75%; color:#202020; margin-bottom:20px; margin-top:20px;}
#Uppsalafooter {font-size:75%; color:#202020; margin-bottom:20px; margin-top:20px;}
.contrast {background:#202020; color:#bfbecc;}
.contrast {background:#202020; color:#bfbecc;}
 +
 +
 +
 +
html, body {height: 100%;}
 +
 +
#wrap {min-height: 100%;}
 +
 +
#main {overflow:auto;
 +
padding-bottom: 350px;}  /* must be same height as the footer */
 +
 +
#footy {
 +
        background-color:#ffffff;
 +
        position: relative;
 +
margin-top: -350px; /* negative value of footer height */
 +
margin-bottom: -25px;
 +
height: 350px;
 +
clear:both;
 +
        border-top: 2px solid black;
 +
        }
 +
 +
/*Opera Fix*/
 +
body:before {
 +
content:"";
 +
height:100%;
 +
float:left;
 +
width:0;
 +
margin-top:-32767px;/
 +
}
 +
 +
 +
 +
#ram
#ram
Line 616: Line 854:
}
}
 +
<!--START IMG OPACITY-->
-
<!-- START:DROP-DOWN MENU STYLE SHEET (Source: http://www.alistapart.com/articles/dropdowns/ and http://www.htmldog.com/articles/suckerfish/dropdowns/) -->
+
a.opac img{
 +
opacity:.40;
 +
filter:alpha(opacity=50);
 +
filter: “alpha(opacity=50)”;
 +
}
 +
a.opac:hover img{
 +
opacity:1;
 +
filter:alpha(opacity=100);
 +
filter: “alpha(opacity=100)”;
 +
}
-
#nav, #nav ul {
+
<!--END IMG OPACITY-->
-
padding: 0;
+
-
margin: 0;
+
-
list-style: none;
+
-
line-height: 1;
+
-
}
+
-
#nav a {
 
-
display: block;
 
-
width: 10em;
 
-
}
 
-
#nav li {
+
<!--START ROLLOVER PROFILE PICTURES-->
-
float: left;
+
-
width: 10em;
+
-
}
+
-
#nav li ul {
+
.rollover Antonio {
-
position: absolute;
+
    background: url(https://static.igem.org/mediawiki/2011/6/67/Antonio-UU.jpg) no-repeat 0px 0px;
-
background: white;
+
    width: 204px;
-
width: 10em;
+
    height: 218px;
-
left: -999em;
+
    display: block;
-
}
+
}
 +
.rollover Antonio:hover {
 +
    background-position: -204px;
 +
        }  
-
#nav li:hover ul, #nav li.sfhover ul {
+
.rollover Lidaw {
-
left: auto;
+
    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;
 +
}
-
#content {
+
.rollover Lei {
-
clear: left;
+
    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;
 +
}
-
<!-- END: DROP-DOWN MENU STYLE SHEET-->
+
.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*/
------------------
------------------
</style>
</style>
 +
 +
<!--[if IE]>
<!--[if IE]>
Line 680: Line 1,170:
<![endif]-->
<![endif]-->
 +
 +
 +
<!--[if !IE 7]>
 +
<style type="text/css">
 +
#wrap {display:table;height:100%}
 +
</style>
 +
<![endif]-->

Latest revision as of 15:20, 28 October 2011