Template:Team:BGU Israel/style.css

From 2014.igem.org

(Difference between revisions)
 
(59 intermediate revisions not shown)
Line 2: Line 2:
<style>
<style>
/*wiki*/
/*wiki*/
 +
 +
 +
li
 +
{
 +
margin-bottom:0px;
 +
}
 +
p
 +
{
 +
line-height:normal;
 +
margin: 1.12em 0;
 +
 +
}
 +
 +
#top-section{/* the igem flag + top menu)*/
#top-section{/* the igem flag + top menu)*/
     position:fixed;   
     position:fixed;   
Line 17: Line 31:
     height:auto;
     height:auto;
     margin:0 auto;
     margin:0 auto;
 +
font-size:100%;
     padding:0;
     padding:0;
}
}
Line 26: Line 41:
     height:20px;
     height:20px;
     color:white;
     color:white;
-
     background-color:rgb(46,43,52);
+
     background-color:black;
     text-decoration:none;
     text-decoration:none;
     font-size:12px;
     font-size:12px;
     z-index:0;
     z-index:0;
 +
top:0px;
}
}
#search-controls{
#search-controls{
Line 59: Line 75:
     height:auto;
     height:auto;
     background:#ffffff;
     background:#ffffff;
 +
line-height:normal;
}
}
#bodyContent{
#bodyContent{
Line 72: Line 89:
display:none;
display:none;
}
}
-
/*grid*/
 
-
 
-
 
body {
body {
}
}
Line 144: Line 158:
float: left;
float: left;
margin-right: 12px;
margin-right: 12px;
-
margin-left: 6px;
+
overflow: hidden;
overflow: hidden;
}
}
Line 465: Line 479:
#strat1_text {
#strat1_text {
display: none;
display: none;
-
visibility: hidden;
 
}
}
Line 487: Line 500:
display: none;
display: none;
}
}
 +
 +
 +
.hgrid_qh
 +
{
 +
width: 220px;
 +
height: 600px;
 +
float: left;
 +
margin-right: 12px;
 +
overflow: hidden;
 +
}
 +
 +
.hgrid_3qh
 +
{
 +
width: 595px;
 +
height: 600px;
 +
border-radius: 8px;
 +
float: left;
 +
margin-right: 12px;
 +
overflow: hidden;
 +
}
 +
.hgrid_3h {
 +
width: 220px;
 +
height: 124px;
 +
border-radius: 8px;
 +
margin-right: 12px;
 +
margin-bottom: 6px;
 +
overflow: hidden;
 +
position: relative;
 +
text-align: left;
 +
float: left;
 +
font-weight: normal;
 +
}
 +
 +
/*gallery*/
 +
 +
/*
 +
  Container for the gallery:
 +
 +
  Absolutely positioned
 +
  Stretch to fill the whole window width
 +
  Fixed height
 +
  Hide the overflow to prevent horizontal scrollbars
 +
 +
  Vertically centred in the viewport: http://css-discuss.incutio.com/wiki/Centering_Block_Element#Centering_an_absolutely_positioned_element
 +
*/
 +
 +
#galleryContainer {
 +
width: 100%;
 +
height: 500px;        /* Image height + 200px */
 +
overflow: hidden;
 +
position: relative;
 +
top: -40px;
 +
bottom: 0;
 +
margin-top: auto;
 +
margin-bottom: auto;
 +
z-index: 1;
 +
}
 +
 +
 +
/*
 +
  The gallery div that contains all the images
 +
 +
  We'll set the width dynamically in the JavaScript as the images load
 +
*/
 +
 +
#gallery {
 +
  width: 100px;
 +
  height: 400px;        /* Image height + 100px */
 +
  padding: 50px 0;
 +
  position: relative;
 +
  z-index: 1;
 +
}
 +
 +
 +
/*
 +
  Individual slides within the gallery:
 +
 +
  Float them left so that they're all side by side
 +
  Fixed height (the width will vary as required)
 +
  Add some horizontal margin between the slides
 +
  Add a bottom fading reflection for WebKit browsers
 +
*/
 +
 +
#gallery img {
 +
  float: left;
 +
  height: 300px;
 +
  margin: 0 20px;      /* Adjust the left/right margin to show greater or fewer slides at once */
 +
  -webkit-box-reflect:
 +
    below
 +
    0
 +
    -webkit-gradient(
 +
      linear,
 +
      left top,
 +
      left bottom,
 +
      color-stop(1, rgba(255, 255, 255, .5)),
 +
      color-stop(.8, rgba(255, 255, 255, 0))
 +
    );
 +
}
 +
 +
 +
/*
 +
  Left and right buttons:
 +
 +
  Position them on the left and right sides of the gallery
 +
  Stretch them to the height of the gallery
 +
  Hide them by default
 +
*/
 +
 +
#leftButton, #rightButton {
 +
  position: absolute;
 +
  z-index: 2;
 +
  top: -100px;
 +
  bottom: 0;
 +
  padding: 0;
 +
  margin: auto 0;
 +
  width: 15%;
 +
  height: 300px;        /* Image height */
 +
  border: none;
 +
  outline: none;
 +
  color: #000;
 +
  background: transparent url(images/blank.gif);
 +
  font-size: 100px;
 +
  font-family: "Courier New", courier, fixed;
 +
  opacity: 0.6;
 +
  filter: alpha(opacity=0);
 +
  -webkit-transition: opacity .5s;
 +
  -moz-transition: opacity .5s;
 +
  -o-transition: opacity .5s;
 +
  transition: opacity .5s;
 +
}
 +
 +
#leftButton {
 +
  left: 0;
 +
}
 +
 +
#rightButton {
 +
  right: 0;
 +
}
 +
 +
/* (Turn off dotted black outline on FF3) */
 +
 +
#leftButton::-moz-focus-inner, #rightButton::-moz-focus-inner {
 +
  border: none;
 +
}
 +
 +
/*
 +
  Left and right button hover states:
 +
  Fade them in to 50% opacity
 +
*/
 +
 +
#leftButton:hover, #rightButton:hover {
 +
  opacity: 1;
 +
  filter: alpha(opacity=50);
 +
  outline: none;
 +
}
 +
 +
 +
/*
 +
  Image caption:
 +
 +
  Position just under the centre image
 +
  Hide by default
 +
*/
 +
 +
#caption {
 +
  position: relative;
 +
  z-index: 2;
 +
  bottom: 130px;
 +
  width: 100%;
 +
  color: #000;
 +
  text-align: center;
 +
  font-family: "aladin", serif;
 +
  font-size: 24px;
 +
  letter-spacing: .1em;
 +
  display: none;
 +
}
 +
 +
 +
/*
 +
  Loading text:
 +
 +
  Position in the centre of the gallery container
 +
  Hide by default
 +
*/
 +
 +
#loading {
 +
  position: relative;
 +
  z-index: 1;
 +
  bottom: 50%;
 +
  width: 100%;
 +
  color: #ffc;
 +
  text-align: center;
 +
  font-family: "Georgia", serif;
 +
  font-size: 36px;
 +
  letter-spacing: .1em;
 +
  opacity: 0;
 +
  filter: alpha(opacity=0);
 +
}
 +
/*font awesome*/
/*font awesome*/
Line 493: Line 705:
@font-face {
@font-face {
   font-family: 'FontAwesome';
   font-family: 'FontAwesome';
-
  src: url('../fonts/fontawesome-webfont.eot?v=4.0.3');
+
  src: url('https://static.igem.org/mediawiki/2014/9/99/BGU14fontawesome-webfont.eot');
-
   src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
+
   src: url('https://static.igem.org/mediawiki/2014/9/99/BGU14fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('https://static.igem.org/mediawiki/2014/0/06/BGU14fontawesome-webfont.woff') format('woff'), url('https://static.igem.org/mediawiki/2014/7/72/BGU14fontawesome-webfont.ttf') format('truetype');
   font-weight: normal;
   font-weight: normal;
   font-style: normal;
   font-style: normal;
Line 1,822: Line 2,034:
   content: "\f196";
   content: "\f196";
}
}
-
/*gallery*/
 
-
 
-
/*
 
-
  Container for the gallery:
 
-
 
-
  Absolutely positioned
 
-
  Stretch to fill the whole window width
 
-
  Fixed height
 
-
  Hide the overflow to prevent horizontal scrollbars
 
-
 
-
  Vertically centred in the viewport: http://css-discuss.incutio.com/wiki/Centering_Block_Element#Centering_an_absolutely_positioned_element
 
-
*/
 
-
 
-
#galleryContainer {
 
-
width: 100%;
 
-
height: 500px;        /* Image height + 200px */
 
-
overflow: hidden;
 
-
position: relative;
 
-
top: -40px;
 
-
bottom: 0;
 
-
margin-top: auto;
 
-
margin-bottom: auto;
 
-
z-index: 1;
 
-
}
 
-
 
-
 
-
/*
 
-
  The gallery div that contains all the images
 
-
 
-
  We'll set the width dynamically in the JavaScript as the images load
 
-
*/
 
-
 
-
#gallery {
 
-
  width: 100px;
 
-
  height: 400px;        /* Image height + 100px */
 
-
  padding: 50px 0;
 
-
  position: relative;
 
-
  z-index: 1;
 
-
}
 
-
 
-
 
-
/*
 
-
  Individual slides within the gallery:
 
-
 
-
  Float them left so that they're all side by side
 
-
  Fixed height (the width will vary as required)
 
-
  Add some horizontal margin between the slides
 
-
  Add a bottom fading reflection for WebKit browsers
 
-
*/
 
-
 
-
#gallery img {
 
-
  float: left;
 
-
  height: 300px;
 
-
  margin: 0 20px;      /* Adjust the left/right margin to show greater or fewer slides at once */
 
-
  -webkit-box-reflect:
 
-
    below
 
-
    0
 
-
    -webkit-gradient(
 
-
      linear,
 
-
      left top,
 
-
      left bottom,
 
-
      color-stop(1, rgba(255, 255, 255, .5)),
 
-
      color-stop(.8, rgba(255, 255, 255, 0))
 
-
    );
 
-
}
 
-
 
-
 
-
/*
 
-
  Left and right buttons:
 
-
 
-
  Position them on the left and right sides of the gallery
 
-
  Stretch them to the height of the gallery
 
-
  Hide them by default
 
-
*/
 
-
 
-
#leftButton, #rightButton {
 
-
  position: absolute;
 
-
  z-index: 2;
 
-
  top: -100px;
 
-
  bottom: 0;
 
-
  padding: 0;
 
-
  margin: auto 0;
 
-
  width: 15%;
 
-
  height: 300px;        /* Image height */
 
-
  border: none;
 
-
  outline: none;
 
-
  color: #000;
 
-
  background: transparent url(images/blank.gif);
 
-
  font-size: 100px;
 
-
  font-family: "Courier New", courier, fixed;
 
-
  opacity: 0.6;
 
-
  filter: alpha(opacity=0);
 
-
  -webkit-transition: opacity .5s;
 
-
  -moz-transition: opacity .5s;
 
-
  -o-transition: opacity .5s;
 
-
  transition: opacity .5s;
 
-
}
 
-
 
-
#leftButton {
 
-
  left: 0;
 
-
}
 
-
 
-
#rightButton {
 
-
  right: 0;
 
-
}
 
-
 
-
/* (Turn off dotted black outline on FF3) */
 
-
 
-
#leftButton::-moz-focus-inner, #rightButton::-moz-focus-inner {
 
-
  border: none;
 
-
}
 
-
 
-
/*
 
-
  Left and right button hover states:
 
-
  Fade them in to 50% opacity
 
-
*/
 
-
 
-
#leftButton:hover, #rightButton:hover {
 
-
  opacity: 1;
 
-
  filter: alpha(opacity=50);
 
-
  outline: none;
 
-
}
 
-
 
-
 
-
/*
 
-
  Image caption:
 
-
 
-
  Position just under the centre image
 
-
  Hide by default
 
-
*/
 
-
 
-
#caption {
 
-
  position: relative;
 
-
  z-index: 2;
 
-
  bottom: 130px;
 
-
  width: 100%;
 
-
  color: #000;
 
-
  text-align: center;
 
-
  font-family: "aladin", serif;
 
-
  font-size: 24px;
 
-
  letter-spacing: .1em;
 
-
  display: none;
 
-
}
 
-
 
-
 
-
/*
 
-
  Loading text:
 
-
 
-
  Position in the centre of the gallery container
 
-
  Hide by default
 
-
*/
 
-
 
-
#loading {
 
-
  position: relative;
 
-
  z-index: 1;
 
-
  bottom: 50%;
 
-
  width: 100%;
 
-
  color: #ffc;
 
-
  text-align: center;
 
-
  font-family: "Georgia", serif;
 
-
  font-size: 36px;
 
-
  letter-spacing: .1em;
 
-
  opacity: 0;
 
-
  filter: alpha(opacity=0);
 
-
}
 
-
 
-
 
/*style*/
/*style*/
Line 2,216: Line 2,261:
     display: inline-block;
     display: inline-block;
     margin-top: 16px;
     margin-top: 16px;
-
    font: 24px/26px 'Dosis', sans-serif;
+
/*    font: 24px/26px 'Dosis', sans-serif;*/
     color: #3b3a3a;
     color: #3b3a3a;
}
}
Line 2,250: Line 2,295:
/*header*/
/*header*/
-
header {
+
#main_nav {
display: block;
display: block;
/*padding-top: 70px;*/
/*padding-top: 70px;*/
-
position: relative;
+
position: fixed;
 +
top:0px;
max-width: 100%;
max-width: 100%;
font-family: aladin;
font-family: aladin;
Line 2,383: Line 2,429:
margin-bottom: 0px;
margin-bottom: 0px;
display: inline-block;
display: inline-block;
-
background: url(../images/down.png) 0 0 no-repeat;
+
background: url(https://static.igem.org/mediawiki/2014/3/33/BGU14down.png) 0 0 no-repeat;
width: 82px;
width: 82px;
height: 82px;
height: 82px;
Line 2,397: Line 2,443:
margin-bottom: 0px;
margin-bottom: 0px;
display: inline-block;
display: inline-block;
-
background: url(../images/right.png) 0 0 no-repeat;
+
background: url(https://static.igem.org/mediawiki/2014/3/33/BGU14right.png) 0 0 no-repeat;
width: 35px;
width: 35px;
height: 35px;
height: 35px;
Line 2,406: Line 2,452:
    background-position: 0 bottom;
    background-position: 0 bottom;
}
}
-
 
.right:hover {
.right:hover {
     background-position: 0 top;
     background-position: 0 top;
Line 2,472: Line 2,517:
position: relative;
position: relative;
float: left;
float: left;
 +
top:3px;
   
   
   
   
Line 2,482: Line 2,528:
   
   
nav ul li a {
nav ul li a {
-
  padding: 7px 15px 7px 15px;
+
padding: 7px 15px 7px 15px;
-
  background: #b4dee1;
+
color: #474343;
-
  color: #474343;  
+
margin-left: 1px;
-
  margin-left: 1px;
+
height: 30px; /* Width and height of top-level nav items */
-
  height:30px; /* Width and height of top-level nav items */
+
text-align: center;
-
  text-align:center;
+
display: table-cell;
-
  display:table-cell;
+
vertical-align: middle;
-
  vertical-align:middle;
+
background-color: transparent;
-
 
+
-
+
}
}
   
   
Line 2,513: Line 2,557:
nav li:hover li  a{
nav li:hover li  a{
float: left;
float: left;
-
width: 120px;
+
width: 138px;
 +
height:32px;
border-color: #3DABCC;
border-color: #3DABCC;
border-style: dashed;
border-style: dashed;
border-radius: 0px / 6px;
border-radius: 0px / 6px;
 +
background:#b4dee1;
   
   
}
}
nav li:hover a {  
nav li:hover a {  
-
   background: #b4dee1;  
+
   background: transparent;  
   height:30px; /* Height of lower-level nav items is shorter than main level */
   height:30px; /* Height of lower-level nav items is shorter than main level */
}
}
   
   
-
nav li:hover li a:hover {
+
 
-
  background: #b4dee1;
+
-
}
+
   
   
nav ul li ul li a {
nav ul li ul li a {
-
     text-align:left; /* Top-level items are centered, but nested list items are left-aligned */
+
     text-align:left;
 +
background:#b4dee1;  /* Top-level items are centered, but nested list items are left-aligned */
}
}
   
   
/* END NAV MENU */
/* END NAV MENU */
-
header div #top_doctor {
+
#top_doctor {
height: 30%;
height: 30%;
position: fixed;
position: fixed;
Line 2,540: Line 2,585:
bottom: 0px;
bottom: 0px;
}
}
-
header div #top_doctor:hover  {
+
#top_doctor:hover  {
}
}
-
header #main_nav #rib {
+
#main_nav #rib {
width: 100%;
width: 100%;
}
}
Line 2,554: Line 2,599:
text-decoration: underline;
text-decoration: underline;
font-size: large;
font-size: large;
 +
cursor:pointer;
}
}
.startegy {
.startegy {
Line 2,565: Line 2,611:
font-size: 19pt;
font-size: 19pt;
opacity: 1;
opacity: 1;
 +
        font-family:allan;
}
}
-
header #main_nav #menu_ul {
+
#main_nav #menu_ul {
position: absolute;
position: absolute;
top: 4px;
top: 4px;
-
width: 73%;
+
width: 70%;
white-space: nowrap;
white-space: nowrap;
-
right: 1%;
+
right: 6%;
}
}
-
header #main_nav #main_wrap {
+
#main_nav #main_wrap {
position: relative;
position: relative;
left: -50%;
left: -50%;
Line 2,598: Line 2,645:
}
}
section {
section {
-
margin-top: 48px;
+
margin-top: 28px;
 +
        width:1079px;
}
}
.center {
.center {
Line 2,614: Line 2,662:
float: left;
float: left;
width: 500px;
width: 500px;
 +
line-height:20px;
}
}
Line 2,635: Line 2,684:
text-align: justify;
text-align: justify;
white-space: normal;
white-space: normal;
 +
line-height:20px;
}
}
.textCont
.textCont
Line 2,651: Line 2,701:
text-align: justify;
text-align: justify;
white-space: normal;
white-space: normal;
 +
line-height:20px;
 +
font-style:italic;
 +
}
 +
.textCont p {
 +
line-height:20px;
}
}
.modalDialog {
.modalDialog {
Line 2,708: Line 2,763:
     padding: 0px;
     padding: 0px;
     margin: 0px;
     margin: 0px;
 +
line-height:19px;
}
}
ul.check li {
ul.check li {
-
     background-image: url(../images/check.png);
+
     background-image: url(https://static.igem.org/mediawiki/2014/7/71/BGU14check.png);
     background-repeat: no-repeat;
     background-repeat: no-repeat;
background-size:20px;
background-size:20px;
Line 2,790: Line 2,846:
white-space: normal;
white-space: normal;
position:fixed;
position:fixed;
 +
}
 +
.lineh ul,ol
 +
{
 +
line-height:1em;
}
}
 +
.textContNotebook
 +
{
 +
border-radius: 8px;
 +
background-image:url(https://static.igem.org/mediawiki/2014/2/21/BGU14notebook.png);
 +
background-size:1079px;
 +
 +
background-color: #EFF5F8;
 +
padding-top: 11px;
 +
padding-right: 11px;
 +
padding-bottom: 11px;
 +
padding-left: 11px;
 +
margin-bottom: 12px;
 +
font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
 +
font-style: normal;
 +
font-weight: 400;
 +
font-size: 14pt;
 +
text-align: justify;
 +
white-space: normal;
 +
}
 +
 +
a:visited
 +
{
 +
color:#474343;
 +
}
 +
 +
 +
a:visited:hover
 +
{
 +
color: #3da9b6;
 +
}
 +
#bar:hover
 +
{
 +
cursor:pointer;
 +
}
 +
 +
 +
.hstartegy {
 +
position: absolute;
 +
text-align: justify;
 +
float: left;
 +
left: 10px;
 +
top: 32px;
 +
z-index: 2;
 +
color: #000;
 +
font-size: 19pt;
 +
opacity: 1;
 +
font-family: allan;
 +
font-style: normal;
 +
font-weight: 700;
 +
}
 +
 +
.grid_long {
 +
width: 1080px;
 +
margin-top:6px;
 +
height: 100px;
 +
border-radius: 8px;
 +
overflow: hidden;
 +
position: relative;
 +
text-align: left;
 +
float: left;
 +
font-weight: normal;
 +
}
 +
.table1 {
 +
align-content:center;
 +
margin:0px;
 +
padding:0px;
 +
width:100%;
 +
box-shadow: 10px 10px 5px #888888;
 +
border:1px solid #000000;
 +
-moz-border-radius-bottomleft:9px;
 +
-webkit-border-bottom-left-radius:9px;
 +
border-bottom-left-radius:9px;
 +
-moz-border-radius-bottomright:9px;
 +
-webkit-border-bottom-right-radius:9px;
 +
border-bottom-right-radius:9px;
 +
-moz-border-radius-topright:9px;
 +
-webkit-border-top-right-radius:9px;
 +
border-top-right-radius:9px;
 +
-moz-border-radius-topleft:9px;
 +
-webkit-border-top-left-radius:9px;
 +
border-top-left-radius:9px;
 +
}
 +
.table1 table{
 +
width:100%;
 +
height:100%;
 +
margin:0px;padding:0px;
 +
}
 +
.table1 tr {
 +
align-content:center;
 +
font-family:allan, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif
 +
}
 +
.prevNext{
 +
width:100px;
 +
border: thin solid; border-radius: 8px; background: #5FA6B8; font-style: normal; font-weight: 700; font-size: 24px; font-family: Allan, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; vertical-align: middle;
 +
opacity:0.5;
 +
}
 +
 +
/*home*/
 +
 +
#home #top_doctor {
 +
display: none;
 +
}
 +
 +
#home  #main_nav
 +
{
 +
display: none;
 +
}
 +
#home_body {
 +
width: 100%;
 +
max-width: 1600px;
 +
overflow: hidden;
 +
}
 +
#home_body {
 +
width: 100%;
 +
max-width: 1600px;
 +
overflow: hidden;
 +
background-color: #EFF5F8;
 +
}
 +
.home_div{
 +
overflow:hidden;
 +
border-radius:8px;
 +
 +
 +
}
 +
 +
 +
/* entire container, keeps perspective */
 +
.flip-container {
 +
perspective: 1000;
 +
}
 +
/* flip the pane when hovered */
 +
.flip-container:hover .flipper, .flip-container.hover .flipper {
 +
transform: rotateY(180deg);
 +
}
 +
 +
.flip-container, .front, .back {
 +
/*width: 320px;
 +
height: 480px;*/
 +
border-radius:8px;
 +
overflow:hidden;
 +
}
 +
 +
/* flip speed goes here */
 +
.flipper {
 +
transition: 0.6s;
 +
transform-style: preserve-3d;
 +
 +
position: relative;
 +
}
 +
 +
/* hide back of pane during swap */
 +
.front, .back {
 +
backface-visibility: hidden;
 +
 +
position: absolute;
 +
top: 0;
 +
left: 0;
 +
}
 +
 +
/* front pane, placed above back */
 +
.front {
 +
z-index: 2;
 +
/* for firefox 31 */
 +
transform: rotateY(0deg);
 +
}
 +
 +
/* back, initially hidden pane */
 +
.back {
 +
transform: rotateY(180deg);
 +
background-color:#EFF5F8;
 +
font-family: cambria;
 +
font-size: 24px;
 +
font-style: italic;
 +
white-space:normal;
 +
}
 +
 +
.col2 ul
 +
{
 +
line-height:19.5px;
 +
}
 +
#bodyContent h3, #bodyContent h4, #bodyContent h5
 +
{
 +
margin-bottom:0px;
 +
 +
}
 +
 +
.prevNext:hover{
 +
width:100px;
 +
 +
opacity:1;
 +
cursor:pointer;
 +
}
 +
#opening:hover{
 +
opacity:1;
 +
 +
}
 +
#leftButton:hover{
 +
cursor:pointer;
 +
}
 +
#rightButton:hover{
 +
cursor:pointer;
 +
}
</style>
</style>
</html>
</html>

Latest revision as of 23:49, 17 October 2014