Difference between revisions of "Team:Bordeaux/Template/css"

Line 232: Line 232:
 
}
 
}
  
/* PARALLAX EFFECT */
+
#video-fond {
 
+
     overflow: hidden;
html, body {
+
     position: static;
    margin: 0;
+
     top: 0;
    padding: 0;
+
     right: 0;
     overflow-x: hidden;
+
     bottom: 0;
}
+
     left: 0;
 
+
#keyart-0 {
+
     background-image: url('https://static.igem.org/mediawiki/2018/e/e8/T--Bordeaux--parallax_bg1.png');
+
     background-color: #ffaf1b;
+
width: calc(100% + 35%);
+
     height: calc(100% + 35%);
+
    bottom: 0%;
+
    left: -20%;
+
    background-position: center center;
+
}
+
#keyart-1 {
+
    background-image: url('https://static.igem.org/mediawiki/2018/3/33/T--Bordeaux--parallax_panneau.png');
+
width: calc(100% + 20%);
+
    height: calc(100% + 20%);
+
    bottom: -15%;
+
    left: +5%;
+
}
+
#keyart-2 {
+
    background-image: url('https://static.igem.org/mediawiki/2018/d/dd/T--Bordeaux--parallax_man.png');
+
width: calc(100% + 10%);
+
    height: calc(100% + 20%);
+
     bottom: +0%;
+
     left: -10%;
+
}
+
#keyart-3 {
+
    background-image: url('https://static.igem.org/mediawiki/2018/9/9e/T--Bordeaux--parallax_titre.png');
+
width: calc(40%);
+
    height: calc(40%);
+
    top: +0%;
+
    right: -5%;
+
opacity:0.2;
+
 
}
 
}
  
.keyart_layer {
+
#video-fond > video{
    background-size: auto 100%;
+
        width: 100vw;
    background-repeat: no-repeat;
+
        height: auto;
    position: absolute;
+
        top: 0;
 +
        left: 0;
 +
        background: black;
 
}
 
}
  

Revision as of 12:21, 1 June 2018

html body {

   font-size: inherit;
   font-family: inherit;
   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;
   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: 9996;

}

  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;

}

/* End rules to reset wiki css*/

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

html, body, #bdxbackground{

 width:100%;
 height:100%;

}

  1. bdxbackground{
 background:url('https://static.igem.org/mediawiki/2018/4/4f/T--Bordeaux--FarWaste.png') top right;
 background-size:cover;

height:100vh; } .bg-dark{ background-color:#0f0f0f99 !important }

.customnav{ position: fixed; top: 10px; width: 50%; opacity: 0.87; z-index: 2; margin-left: 25%; border-bottom-left-radius: 48px; border-bottom-right-radius: 48px; }

  1. video-fond {
   overflow: hidden;
   position: static;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;

}

  1. video-fond > video{
       width: 100vw;
       height: auto;
       top: 0;
       left: 0;
       background: black;

}

.after-bg{ height: 200px; background-color: #3b1009; position: absolute; top: 100%; width: 100%; color:white; }