Team:Bordeaux/Template/css

@font-face { font-family: 'Bitter'; src: url("https://static.igem.org/mediawiki/2018/b/b6/T--Bordeaux--Bitterbold.otf") format("opentype"); font-weight: bold; font-style: normal; }

@font-face { font-family: 'Bitter'; src: url('https://static.igem.org/mediawiki/2018/a/a9/T--Bordeaux--Bitteritalic.otf') format('opentype'); font-weight: normal; font-style: italic;

}

@font-face { font-family: 'Bitter'; src: url('https://static.igem.org/mediawiki/2018/2/2a/T--Bordeaux--Bitterregular.otf') format('opentype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Bitter'; src: url('https://static.igem.org/mediawiki/2018/e/ef/T--Bordeaux--Bitterbolditalic.otf') format('opentype'); font-weight: bold; font-style: italic; }


html body {

   font-size: inherit;
   font-family: "Bitter";
   background-color: transparent;
   color: inherit;
   padding: 0;

}

  1. globalWrapper {
   margin: 0;
   padding-bottom:0px!important;
   padding: 0;
   position: static;
   width: auto;

}

  1. top-section {
   border: 0;
   height: auto; 
   margin: 0;
   position: static;
   width: auto;

}

  1. p-logo {
   height: auto;
   position: static;
   width: auto;
   z-index: auto;

}

  1. p-logo a, div#p-logo a:hover {
   text-decoration: none;

}

  1. menubar {
   position: static;
   top: 0px;
   white-space: normal;
   width: auto;
   z-index: auto;

}

div.left-menu, div.left-menu a {

   left: 0;
   text-align: left;
   text-transform: none;

}

  1. menubar ul {
   list-style: disc outside none;
   margin: 0;
   padding: 0;

}

  1. menubar li {
   cursor: auto;
   display: list-item;
   padding: 0;
   margin: 0;
   position: static;

}

.left-menu li a {

   padding: 0;

}

.left-menu:hover {

   background-color: transparent;

}

.right-menu, div.right-menu a {

   right: 0;
   text-align: left;

}

.right-menu li a {

   background-color: transparent;
   padding: 0;

}

.right-menu li a:hover {

   text-decoration: none;

}

  1. search-controls {
   background-color: transparent;
   height: auto;
   position: static;
   right: 0;
   text-align: left;
   top: 0;
   width: auto;
   z-index: auto;

}

  1. content {
   background: transparent;
   border: 0;
   margin: 0;
   padding: 0;

line-height:1.5;

   position: static;
   width: auto;
   z-index: auto;

}

li {

   margin: 0;

}

h1, body h2, body h3, body h4, body h5, body h6 {

   background: transparent;
   border: 0;
   padding: 0;

}

.firstHeading {

   margin: 0;

}

  1. contentSub {
   margin: 0;
   width: auto;

}

  1. catlinks {
   background-color: transparent;
   border: 0;
   clear: both;
   margin: 0;
   padding: 0;

}

  1. footer-box {
   background-color: transparent;
   border: 0;
   margin: 0;
   padding: 0;
   width: auto;

}

  1. footer {
   text-align: left;

}

  1. f-poweredbyico, #f-copyrightico {
   float: none;

}

  1. footer li {
   margin: 0;
   display: list-item;

}

  1. sideMenu {
  width: 200px;
  position: absolute;
  top: 20px;
  left: 1020px;
  z-index: 10;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  background-color: white;
  text-align: left;
  display: none;
  z-index: 0;

}

  1. content {
   width: 100%;
      padding: 0px;
      margin-left: 0px;

}

  1. top_title {
   overflow: hidden;
   display: none;

}

  1. top_menu_14 {
   height: 20px;

}

  1. top_menu_under {
   display: none;

}

  1. globalWrapper {
     padding-bottom: 20px;

}

  1. HQ_page p {
  font-size: 16px;

}

.skin-igem {

      padding-top: 0px;

}

  1. top_menu_14 {

border-bottom:2px solid #383838!important; }

/* End rules to reset wiki css*/

p{ margin:0px!important; padding:0px!important; }

html, body, #bdxbackground{

 width:100%;
 height:100%;

} video{

       width: 100vw;
       height: auto;
       position: relative;
       background: black;
       left: 0;

} body{

   overflow-x: hidden;

}

  1. videocontainer{
   position: relative;
   height: auto;
   z-index: -15;

}

.after-bg{ height: 200px; background-color: #fff; position: relative; left: 0px; width: 100vw; color:black; }


/* MENU FLOAT*/

body {

   font-family: "Avenir-black", sans-serif;
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   color: #4d4d4d;
   text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;

}

a {

   color: #4d4d4d;
   text-decoration: none;

}

ul {

   margin: 0;
   padding: 0;

}

li {

  list-style: none;

}

.displayflex {

   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;

} .menu-wrapper{

  position: absolute;
   left: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index : 9;
   border-top-left-radius: 10px;
pointer-events: all;
   border-bottom-left-radius: 10px;
     -webkit-touch-callout: none;
     /* iOS Safari */
     -webkit-user-select: none;
     /* Safari */
     -khtml-user-select: none;
     /* Konqueror HTML */
     -moz-user-select: none;
     /* Firefox */
     -ms-user-select: none;
     /* Internet Explorer/Edge */
     user-select: none;
     /* Non-prefixed version, currently
                                 supported by Chrome and Opera */

} .menu {

   transition: all .3s;
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
   position: fixed;
   width: 100%;
   height: 100vh;
   z-index: 9;
   justify-content: center;
   align-items: center;
   transition: all .2s;
   /*background-image: url(http://sije.fr/wp-content/themes/sije/assets/images/bg-menu-home.jpg);*/
   background-size: cover;
   top: 0;
pointer-events: none;

}

.menu .preview {

   box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.87);
   border-radius: 10px;
   width: 238px;
   height: 426px;
   /*margin-right: 40px;*/
   background-image: url(T--Bordeaux--cardmenu.png);
   background-size: cover;
   z-index: 10;

}

  1. menu{
       padding: 20px 80px 20px 80px !important;
       position: relative;
       left: -275px;
       z-index: 9;

}

.slided{

       padding: 20px 80px 20px 80px!important;    
       position: relative;
       background-color: rgba(38, 38, 38, 0.4);
       left: 0px!important;
       z-index: 10!important;
       transition-duration: 0.7s;

}

.menu ul li a {

   color: #ffffff;
   font-size: 16px;
   letter-spacing: 0.89px;
   text-transform: uppercase;
   padding: 4px 0;
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
   opacity: .45;
   transition: all .3s;

}

.menu ul li a:hover {

   opacity: 1;

}


.preview.home {

   background-image: url(T--Bordeaux--cardmenu.png);

}

.menu.project {

   background-image: url(T--Bordeaux--cardbgforet.png);

}

.preview.project {

   background-image: url(T--Bordeaux--cardproject.png);

}

.menu.team {

   background-image: url(T--Bordeaux--cardbgteam.jpg);

}

.preview.team {

   background-image: url(T--Bordeaux--cardteam.png);

}


.bgtitle{

   width: 100vw;
   height: 100vh;
   background-size: cover;
   background-repeat:no-repeat; 
   background-position: center center;
   background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.4)), url(T--Bordeaux--bgforest.jpg);
   z-index: -5;

} .separator{

   box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.87);    

} .typewriter{

   color: white;
   text-align:center;
   display: table-cell;
   width: 100vw;
   /*mix-blend-mode: screen;*/
   font-weight: 500;
   font-family: "Avenir-black",
       sans-serif;

white-space: nowrap; height: 100vh; vertical-align: middle; }


.sponso{

   background-color: white;
   padding: 10px;
   z-index: 1;
   width: 100vw;
  display: flex;
  justify-content:space-around;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  position: relative;

} .sponso img{

   max-width: 200px;
   max-height: 100px;
   z-index : 1;

}

.tiles{

   padding: 50px!important;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
     0 6px 6px rgba(0, 0, 0, 0.23);
     background-color: white;

} .subpanel{

} /*Mouse scroll*/

.mouse {

 background: #7c9cae33 linear-gradient(transparent 0%, transparent 50%, #fff 50%, #fff 100%);
 position: relative;
 width: 52px;
 height: 88px;
 background-size: 100% 100%;
 border-radius: 100px;
 background-size: 225%;
 animation: colorSlide 5s linear infinite, nudgeMouse 5s ease-out infinite;

} .mouse:before, .mouse:after {

 content: "";
 position: absolute;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 margin: auto;

} .mouse:before {

 width: 35px;
 height: 62px;
 background-color: #4f606c;
 border-radius: 100px;

} .mouse:after {

 background-color: #fff;
 width: 10px;
 height: 10px;
 border-radius: 100%;
 animation: trackBallSlide 5s linear infinite;

} @keyframes colorSlide {

 0% {
   background-position: 0% 100%;
 }
 20% {
   background-position: 0% 0%;
 }
 21% {
   background-color: #4e5559;
 }
 29.99% {
   background-color: #fff;
   background-position: 0% 0%;
 }
 30% {
   background-color: #4e5559;
   background-position: 0% 100%;
 }
 50% {
   background-position: 0% 0%;
 }
 51% {
   background-color: #4e5559;
 }
 59% {
   background-color: #fff;
   background-position: 0% 0%;
 }
 60% {
   background-color: #4e5559;
   background-position: 0% 100%;
 }
 80% {
   background-position: 0% 0%;
 }
 81% {
   background-color: #4e5559;
 }
 90%, 100% {
   background-color: #fff;
 }

} @keyframes trackBallSlide {

 0% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 6% {
   opacity: 1;
   transform: scale(0.9) translateY(5px);
 }
 14% {
   opacity: 0;
   transform: scale(0.4) translateY(40px);
 }
 15%, 19% {
   opacity: 0;
   transform: scale(0.4) translateY(-20px);
 }
 28%, 29.99% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 30% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 36% {
   opacity: 1;
   transform: scale(0.9) translateY(5px);
 }
 44% {
   opacity: 0;
   transform: scale(0.4) translateY(40px);
 }
 45%, 49% {
   opacity: 0;
   transform: scale(0.4) translateY(-20px);
 }
 58%, 59.99% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 60% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }
 66% {
   opacity: 1;
   transform: scale(0.9) translateY(5px);
 }
 74% {
   opacity: 0;
   transform: scale(0.4) translateY(40px);
 }
 75%, 79% {
   opacity: 0;
   transform: scale(0.4) translateY(-20px);
 }
 88%, 100% {
   opacity: 1;
   transform: scale(1) translateY(-20px);
 }

} @keyframes nudgeMouse {

 0% {
   transform: translateY(0);
 }
 20% {
   transform: translateY(8px);
 }
 30% {
   transform: translateY(0);
 }
 50% {
   transform: translateY(8px);
 }
 60% {
   transform: translateY(0);
 }
 80% {
   transform: translateY(8px);
 }
 90% {
   transform: translateY(0);
 }

} @keyframes nudgeText {

 0% {
   transform: translateY(0);
 }
 20% {
   transform: translateY(2px);
 }
 30% {
   transform: translateY(0);
 }
 50% {
   transform: translateY(2px);
 }
 60% {
   transform: translateY(0);
 }
 80% {
   transform: translateY(2px);
 }
 90% {
   transform: translateY(0);
 }

} @keyframes colorText {

 21% {
   color: #4e5559;
 }
 30% {
   color: #fff;
 }
 51% {
   color: #4e5559;
 }
 60% {
   color: #fff;
 }
 81% {
   color: #4e5559;
 }
 90% {
   color: #fff;
 }

}

.img-alongtext-left{ /*mustdefine a shape outside*/ shape-image-threshold: 0; float: left; padding-left: 0px !important; shape-margin: 1em; }

.img-alongtext-right{ /*mustdefine a shape outside*/ shape-image-threshold: 0; float: right; padding-right: 0px !important; shape-margin: 1em; }