Team:SDU-Denmark/core/stylesheet

From 2013.igem.org

(Difference between revisions)
Line 429: Line 429:
.tourBoundingBox {
.tourBoundingBox {
margin: 0 auto;
margin: 0 auto;
-
width: 960px;
 
left: 0;
left: 0;
right: 0;
right: 0;
Line 437: Line 436:
.tourBoundingBoxInner {
.tourBoundingBoxInner {
height:80px;
height:80px;
-
width:940px;
+
width:970px;
background: #EEEEEE;
background: #EEEEEE;
display:inline-block;
display:inline-block;

Revision as of 15:16, 8 September 2013

/* REMOVE IGEM STYLE */

  1. search-controls {
  margin-top:30px;

}

  1. footer-box, #siteSub, #search-controls, .firstHeading, #contentSub, #catlinks, #p-logo {
  display:none;

}

  1. bodyContent a[href ^="mailto:"],

.link-mailto {

   background: none;
   padding-right: 0;

}

  1. menubar {

margin-left: 10px; }

.right-menu li a, .left-menu li a { color: black; background-color: transparent; font-size: 10px; font-weight: bold; }

.right-menu li a:hover, .left-menu:hover a { color: black; }

  1. top-section {
   height: 15px;

}


  1. content {

width: 100%; }

html {

   height:100%;

} body {

   background-color:rgb(221, 221, 221);
   background-image:url(SDU2013_background2.jpg);
   background-repeat: repeat;
   background-attachment:fixed;
   overflow-x: hidden;
   height:100%;

}

/* BASE */

.BackgroundLayout {

   width:100%;
   left:0;
   position: absolute;

} .MainLayout {

   width:960px;
   margin-right:auto;
   margin-left:auto;

} .EndFloatBlock {

   clear:both;

}


/* NAVIGATION */ .top {

   height:55px;
   top: 0;
   left: 0;
   right: 0;
   padding-top: 22px;
   padding-bottom: 10px;
   /* background */
   background: #fefefe; /* Old browsers */
   background: -moz-linear-gradient(top,  #FFFFFF 20%, #EEEEEE 100%); /* FF3.6+ */
   background: -webkit-gradient(linear, left top, left bottom, color-stop(20%,#FFFFFF), color-stop(100%,#EEEEEE)); /* Chrome,Safari4+ */
   background: -webkit-linear-gradient(top,  #FFFFFF 20%,#EEEEEE 100%); /* Chrome10+,Safari5.1+ */
   background: -o-linear-gradient(top,  #FFFFFF 20%,#EEEEEE 100%); /* Opera 11.10+ */
   background: -ms-linear-gradient(top,  #FFFFFF 20%,#EEEEEE 100%); /* IE10+ */
   background: linear-gradient(to bottom,  #FFFFFF 20%,#EEEEEE 100%); /* W3C */
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#EEEEEE',GradientType=0 ); /* IE6-9 */

} .bannerShadow {

   /* border shadow */
   box-shadow: inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1);
   -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1);
   -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1);

}

.stick {

 position: fixed;
 top: 0;
 z-index: 10000;
 margin-top:-35px;
 margin-right: -13px;

}

  1. sticky-anchor {
 position: absolute;
 margin-top: 35px;

} .topWikiNavBackground {

   height:18px;
   margin-top: -32px;
   background-color:rgb(221, 221, 221);
   background-image:url(SDU2013_background2.jpg);
   background-repeat: repeat;

}

.topMargin {

   margin-top: 25px;

} .NavbarContainer {

   width:960px;
   margin-right:auto;
   margin-left:auto;

} .NavbarContainerInner {

   float:right;

} .TopLogo {

   height: 130px;
   width:228px;
   margin-top: -22px;
   margin-left: -140px;
   float:left;
   background-image:url(SDU2013_TreeLogo.png);
   background-size:contain;
   background-repeat: no-repeat;
   position:absolute;

} .MenuButton {

   margin: 35px 0px 0px 15px;
   float: left;
   font-size:12px;
   font-family:Arial;
   padding-bottom:2px;
   position: relative;

} .MenuButton:hover {

   border-bottom-color:#C0C0C0;
   border-bottom-width:3px;
   border-bottom-style:solid;

} .SelectedMenuButton {

   border-bottom-color:#42B04F;
   border-bottom-width:3px;
   border-bottom-style:solid;

} a.MenuButtonLink {

   text-decoration:none;
   color:black;

} .IgemLogoLink {

   margin: 17px 10px 0px 30px;
   float: left;
   font-size:14px;

} .HeaderTitel {

   float: left;
   margin-left:70px;
   margin-top:33px;
   font-size:32px;
   font-weight:bold;
   position:absolute;
   color:#3D3D3D;

}

.menuPopup {

   display: none;
   margin-top: -8px;
   padding-top: 18px;
   position: absolute;
   z-index: 99999;
   right: -75px;

} .menuPopupContent {

   width: 725px;

} .menuPopupContentInner {

   background: rgba(238, 238, 238, 0.93);
   -webkit-border-radius: 0 0 10px 10px;
   -moz-border-radius: 0 0 10px 10px;
   border-radius: 0 0 10px 10px;

} .menuItems {

  margin-top: 20px;

} .menuItems ul {

  float: left;
  margin: 0 20px 0 0;

} .menuItems li {

  font-size: 11px;
  list-style-type: none;
  list-style-image: none;
  margin: 0 0 0 5px;
  line-height: 1.3em;

} .menuItems li.header {

  font-size: 12px;
  font-weight: bold;
  margin: 0 0 2px 0;
  color: #3D3D3D;

}


div.menuIntro {

   padding: 1px 10px 10px 10px;

} p.menuIntro {

   font-size: 11px;
   line-height: 1.3em;

}

/* CONTENT */ .contentBorder {

   border: 1px solid #AAAAAA;
   -webkit-border-radius: 7px;
   -moz-border-radius: 7px;
   border-radius: 7px;
   -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
   -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
   box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);

} .expandedContent {

   margin-left: -45px;
   width: 930px;

} .content {

   font-family: Tahoma;
   font-size: 14px;
   color: #3D3D3D;
   margin-bottom:60px;
   background-color:white;
   padding: 15px 60px;
   border: 1px solid #cccccc;
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border-radius: 10px;
   -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
   -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
   box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);

}

.ContentHeader {

   font-size:30px;
   font-weight:bold;
   font-family:Andy;
   color:#3D3D3D;
   margin-left:15px;
   margin-bottom:5px;

}

iframe.TimeLine {

   overflow: hidden;
   border:none;
   width: 958px;
   height:450px;
   margin:-15px -30px;

}

.boxgridHuge {

       width: 885px;

height: 500px; }

.boxgridBig, .boxgridMedium { height: 550px; } .boxgridBig {

       width: 615px;
       float: left;

} .boxgridMedium {

       width: 298px;
       float: left;

} .boxgrid { overflow: hidden; position: relative; }

.boxgrid img{ position: absolute; top: 0; left: 0; border: 0; } .boxcaption{ float: left; position: absolute; background: #000; width: 100%; opacity: .8;

       padding: 10px;

/* For IE 5-7 */ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80); /* For IE 8 */ -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; } h2.onBlack {

  color:white;
  margin-top: -5px;
  border: none;
  Font-size: 26px;
  padding-bottom: 0px;
  line-height:1em;

} p.onBlack {

  color:white;
  margin-right:18px;
  font-size: 14px;
  font-weight: bold;

} p.onBlackIntro {

  font-size:17px;
  font-style: italic;
  color:white;
  margin-right:20px;
  margin-bottom:20px;

}


/* FOOTER */ .footer {

   position: fixed;
   bottom: 0;
   left: 0;
   height:35px;
   width: 100%;
   border-top-color: rgb(199, 199, 199);
   border-top-width: 1px;
   border-top-style: solid;
   /* border shadow */
   box-shadow: inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1);
   -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1);
   -moz-box-shadow: inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1);
   /* background */
   background: #fefefe; /* Old browsers */
   background: -moz-linear-gradient(top, rgb(228, 228, 228) 20%, rgb(255, 255, 255) 100%); /* FF3.6+ */
   background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, rgb(228, 228, 228) ), color-stop(100%,#FFFFFF )); /* Chrome,Safari4+ */
   background: -webkit-linear-gradient(top, rgb(228, 228, 228) 20%,rgb(255, 255, 255) 100%); /* Chrome10+,Safari5.1+ */
   background: -o-linear-gradient(top, rgb(228, 228, 228) 20%,rgb(255, 255, 255) 100%); /* Opera 11.10+ */
   background: -ms-linear-gradient(top, rgb(228, 228, 228) 20%, rgb(255, 255, 255) 100%); /* IE10+ */
   background: linear-gradient(to bottom, rgb(228, 228, 228) 20%,rgb(255, 255, 255) 100%); /* W3C */
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgb(228, 228, 228) ', endColorstr='rgb(255, 255, 255)',GradientType=0 ); /* IE6-9 */

}

.footerContainer {

   width:960px;
   margin-right:auto;
   margin-left:auto;
   margin-top: 10px;
   text-align:center;
   font-family: Arial;
   font-size: 11px;
   font-weight: bold;

}

/* TOUR MENU */

       .parentTourItem {
           float:left;
           width:auto;
           height:100%;
           background-image:url(unselectedPoint.png);
           background-repeat:no-repeat;
           background-position-x:center;
           text-align:center;
           padding-top:25px;
           padding-left:2px;
           padding-right:2px;
           
       }
       .itemSelected {
           background-image:url(selectedPoint.png);
       }
       .itemLastSelected {
           background-image:url(lastSelectedPoint.png);
       }
       .expandedTour {
           height:100%;
           float:left;
       }
       .expandedTourInner {
           padding-top:17px;
           float:left;
           width:480px;
           background-repeat:repeat-x;
           background-image:url(tourBar.png);
       }
       .tourBarCorners {
           width:6px;
           float:left;
           height:100%;
           background-repeat:no-repeat;
           background-position-x:center;
           
       }
       .tourBend {
           width:31px;
           float:left;
           height:100%;
           background-repeat:no-repeat;
           background-position-x:center;
           
       }
       .tourBendLeft {
           background-image:url(tourbarBendLeft.png);
       }
       .tourBendLeftSelected {
           background-image:url(tourbarBendLeftSelected.png);
       }
       .tourBendRight {
           background-image:url(tourbarBendRight.png);
       }
       .tourBarStart {
           background-image:url(tourStartBarSelected.png);
       }
       .tourBarEnd {
           background-image:url(tourEndBar.png);
       }

.tourBoundingBox { margin: 0 auto; left: 0; right: 0; top: 52px; text-align:center; } .tourBoundingBoxInner { height:80px; width:970px; background: #EEEEEE; display:inline-block; } .stick2 { position:fixed; z-index:10000; }

       .tourItemLabel {
           margin-left:auto;
           margin-right:auto;
           background-color:white;
           border-color:#B8B8B8;
           border-style:solid;
           border-width:1px;
           text-align:center;
           font-size:11px;
           font-family:Arial;
           padding: 2px 4px;
           display:inline-block;
           text-decoration:none;
           color:black;
           
       }
       .tourItemLabelSelected {
           background-color:#46B842;
           color:white;
       }