Template:Team:HokkaidoU Japan/CSS

From 2014.igem.org

(Difference between revisions)
Line 266: Line 266:
.clearfix:after { clear: both; }
.clearfix:after { clear: both; }
 +
body {
 +
font-family: 'Lato', Calibri, Arial, sans-serif;
 +
color: #777;
 +
background: #f6f6f6;
 +
}
a {
a {
Line 539: Line 544:
.bb-bookblock {
.bb-bookblock {
-
width: 100%;
+
width: 400px;
-
height: 333px;
+
height: 300px;
margin: 0 auto;
margin: 0 auto;
position: relative;
position: relative;
Line 734: Line 739:
top: 0;
top: 0;
left: 0;
left: 0;
 +
display: none;
background: #fff;
background: #fff;
}
}
Line 748: Line 754:
position: relative;
position: relative;
}
}
-
 
-
/*Demo 1*/
 
-
@font-face {
 
-
font-family: 'arrows';
 
-
src:url('../fonts/arrows/arrows.eot');
 
-
src:url('../fonts/arrows/arrows.eot?#iefix') format('embedded-opentype'),
 
-
url('../fonts/arrows/arrows.woff') format('woff'),
 
-
url('../fonts/arrows/arrows.ttf') format('truetype'),
 
-
url('../fonts/arrows/arrows.svg#arrows') format('svg');
 
-
font-weight: normal;
 
-
font-style: normal;
 
-
}
 
-
 
-
.bb-custom-wrapper {
 
-
width: 100%;
 
-
        height: 100%;
 
-
position: relative;
 
-
margin: 0 auto 40px;
 
-
text-align: center;
 
-
}
 
-
 
-
.bb-custom-wrapper .bb-bookblock {
 
-
box-shadow: 0 12px 20px -10px rgba(81,64,49,0.6);
 
-
}
 
-
 
-
.bb-custom-wrapper h3 {
 
-
font-size: 1.4em;
 
-
font-weight: 300;
 
-
margin: 0.4em 0 1em;
 
-
}
 
-
 
-
.bb-custom-wrapper nav {
 
-
width: 100%;
 
-
height: 30px;
 
-
margin: 1em auto 0;
 
-
position: relative;
 
-
z-index: 0;
 
-
text-align: center;
 
-
}
 
-
 
-
.bb-custom-wrapper nav a {
 
-
display: inline-block;
 
-
width: 30px;
 
-
height: 30px;
 
-
text-align: center;
 
-
border-radius: 2px;
 
-
background: #72b890;
 
-
color: #fff;
 
-
font-size: 0;
 
-
margin: 2px;
 
-
}
 
-
 
-
.bb-custom-wrapper nav a:hover {
 
-
opacity: 0.6;
 
-
}
 
-
 
-
.bb-custom-icon:before {
 
-
font-family: 'arrows';
 
-
speak: none;
 
-
font-style: normal;
 
-
font-weight: normal;
 
-
font-variant: normal;
 
-
text-transform: none;
 
-
line-height: 1;
 
-
font-size: 20px;
 
-
line-height: 30px;
 
-
display: block;
 
-
-webkit-font-smoothing: antialiased;
 
-
}
 
-
 
-
.bb-custom-icon-first:before,
 
-
.bb-custom-icon-last:before {
 
-
content: "\e002";
 
-
}
 
-
 
-
.bb-custom-icon-arrow-left:before,
 
-
.bb-custom-icon-arrow-right:before {
 
-
content: "\e003";
 
-
}
 
-
 
-
.bb-custom-icon-arrow-left:before,
 
-
.bb-custom-icon-first:before {
 
-
-webkit-transform: rotate(180deg);
 
-
-moz-transform: rotate(180deg);
 
-
-ms-transform: rotate(180deg);
 
-
transform: rotate(180deg);
 
-
}
 
-
 
-
/* No JS */
 
-
.no-js .bb-custom-wrapper {
 
-
height: auto;
 
-
}
 
-
 
-
.no-js .bb-custom-content {
 
-
height: 470px;
 
-
}
 
-
 
-
/*
 
-
  jQuery MegaMenu Plugin
 
-
  Author: GeekTantra
 
-
  Author URI: http://www.geektantra.com
 
-
*/
 
-
ul.megamenu {
 
-
  background-color: transparent;
 
-
  border-top: 1px solid transparent;
 
-
  border-bottom: 1px solid transparent;
 
-
  margin: 0px auto;
 
-
  padding: 5px 10px;
 
-
  list-style: none;
 
-
}
 
-
 
-
ul.megamenu li.mm-item {
 
-
}
 
-
 
-
ul.megamenu li {
 
-
  margin: 0px;
 
-
  padding: 0px;
 
-
}
 
-
 
-
ul.megamenu li.clear-fix {
 
-
  float: none;
 
-
  clear: both;
 
-
  margin: 0px;
 
-
  padding: 0px;
 
-
  height: 0px;
 
-
  font-size: 0px;
 
-
  line-height: 0px;
 
-
}
 
-
 
-
ul.megamenu a.mm-item-link:link, ul.megamenu a.mm-item-link:visited {
 
-
  position: relative;
 
-
  display: inline-block;
 
-
  color: #FFF;
 
-
  padding: 8px 15px;
 
-
  margin: 0px 3px 0px 0px;
 
-
  text-decoration: none;
 
-
  z-index: 10;
 
-
  font-size: 14px;
 
-
  border-top: 1px solid transparent;
 
-
  border-left: 1px solid transparent;
 
-
  border-right: 1px solid transparent;
 
-
}
 
-
*html ul.megamenu a.mm-item-link:link, *html ul.megamenu a.mm-item-link:visited {
 
-
  border-color: pink;
 
-
  filter: chroma(color=pink);
 
-
}
 
-
 
-
ul.megamenu a.mm-item-link-hover:link, ul.megamenu a.mm-item-link-hover:visited {
 
-
  color: #444;
 
-
  background: #transparent;
 
-
  border-top: 1px solid #transparent;
 
-
  border-left: 1px solid #transparent;
 
-
  border-right: 1px solid #transparent;
 
-
  -moz-border-radius: 3px 3px 0px 0px;
 
-
  border-radius: 3px 3px 0px 0px;
 
-
}
 
-
 
-
ul.megamenu div.mm-item-content {
 
-
  background: #000;
 
-
  padding: 0px;
 
-
  position: fixed;
 
-
  right: 0px;
 
-
  border: 1px solid #777;
 
-
  z-index: 9;
 
-
}
 
-
 
-
.mm-content-base {
 
-
  background: white;
 
-
  position: relative;
 
-
  z-index: 11;
 
-
  padding: 10px;
 
-
}
 
-
 
-
.mm-js-shadow {
 
-
  background: black;
 
-
  position: absolute;
 
-
  z-index: 10;
 
-
}
 
-
 
-
/* Mega menu end */
 

Revision as of 07:55, 12 September 2014