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

Line 215: Line 215:
 
   height:100%;
 
   height:100%;
 
}
 
}
 
#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;
 
}
 
 
 
 
video{
 
video{
 
         width: 100vw;
 
         width: 100vw;
Line 250: Line 228:
 
     position: absolute;
 
     position: absolute;
 
     height: auto;
 
     height: auto;
 +
    z-index: -15;
 
}
 
}
  
Line 255: Line 234:
 
height: 200px;
 
height: 200px;
 
background-color: #fff;
 
background-color: #fff;
color:black;
 
 
position: relative;
 
position: relative;
 
left: 0px;
 
left: 0px;
 
width: 100vw;
 
width: 100vw;
 +
color:black;
 
}
 
}
  
.description{
+
 
padding-bottom: 10px!important;
+
 
 +
/* 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;
 
}
 
}
  
.downArrow{
+
a {
position: fixed;
+
    color: #4d4d4d;
z-index:9;
+
    text-decoration: none;
bottom: 2%;
+
left: 50%;
+
-webkit-filter:invert(1);
+
        filter:invert(1);
+
 
}
 
}
.bounce {
+
 
-moz-animation: bounce 3s infinite;
+
ul {
-webkit-animation: bounce 3s infinite;
+
    margin: 0;
animation: bounce 3s infinite;
+
    padding: 0;
 
}
 
}
@-moz-keyframes bounce {
+
 
  0%, 20%, 50%, 80%, 100% {
+
li {
     -moz-transform: translateY(0);
+
     list-style: none;
    transform: translateY(0);
+
  }
+
  40% {
+
    -moz-transform: translateY(-30px);
+
    transform: translateY(-30px);
+
  }
+
  60% {
+
    -moz-transform: translateY(-15px);
+
    transform: translateY(-15px);
+
  }
+
 
}
 
}
@-webkit-keyframes bounce {
+
 
  0%, 20%, 50%, 80%, 100% {
+
.displayflex {
     -webkit-transform: translateY(0);
+
     display: -webkit-box;
     transform: translateY(0);
+
     display: -moz-box;
  }
+
     display: -ms-flexbox;
  40% {
+
     display: -webkit-flex;
    -webkit-transform: translateY(-30px);
+
     display: flex;
     transform: translateY(-30px);
+
  }
+
  60% {
+
     -webkit-transform: translateY(-15px);
+
     transform: translateY(-15px);
+
  }
+
 
}
 
}
@keyframes bounce {
+
.menu-wrapper{
  0%, 20%, 50%, 80%, 100% {
+
  position: absolute;
     -moz-transform: translateY(0);
+
     left: 20px;
     -ms-transform: translateY(0);
+
    display: flex;
     -webkit-transform: translateY(0);
+
    justify-content: center;
    transform: translateY(0);
+
    align-items: center;
  }
+
 
  40% {
+
     border-top-left-radius: 10px;
    -moz-transform: translateY(-30px);
+
     border-bottom-left-radius: 10px;
    -ms-transform: translateY(-30px);
+
      -webkit-touch-callout: none;
     -webkit-transform: translateY(-30px);
+
      /* iOS Safari */
     transform: translateY(-30px);
+
      -webkit-user-select: none;
  }
+
      /* Safari */
  60% {
+
      -khtml-user-select: none;
     -moz-transform: translateY(-15px);
+
      /* Konqueror HTML */
     -ms-transform: translateY(-15px);
+
      -moz-user-select: none;
     -webkit-transform: translateY(-15px);
+
      /* Firefox */
     transform: translateY(-15px);
+
      -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: 0;
 +
     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;
 
}
 
}
  
.corner-ribbon{
+
.menu .preview {
  width: 200px;
+
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.87);
  background: #e43;
+
    border-radius: 10px;
  position: absolute;
+
    width: 238px;
  top: 25px;
+
    height: 426px;
font-size:15px;
+
    /*margin-right: 40px;*/
  left: -50px;
+
    background-image: url(images/cardmenu.png);
  text-align: center;
+
    background-size: cover;
  line-height: 50px;
+
    z-index: 0;
  letter-spacing: 1px;
+
  color: #f0f0f0;
+
  transform: rotate(-45deg);
+
  -webkit-transform: rotate(-45deg);
+
z-index:9;
+
 
}
 
}
  
/* Custom styles */
+
#menu{
 +
        padding: 20px 80px 20px 80px !important;
 +
        position: relative;
 +
        left: -275px;
 +
        z-index: -20;
 +
}
  
.corner-ribbon.sticky{
+
.slided{
  position: fixed;
+
        padding: 20px 80px 20px 80px!important;   
 +
        position: relative;
 +
        background-color: rgba(38, 38, 38, 0.4);
 +
        left: 0px!important;
 +
        z-index: 2!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(images/cardmenu.png);
 +
}
 +
 
 +
.menu.project {
 +
    background-image: url(images/foret.jpg);
 +
}
 +
 
 +
.preview.project {
 +
    background-image: url(images/cardproject.png);
 +
}
 +
 
 +
.menu.team {
 +
    background-image: url(images/team.jpg);
 +
}
 +
 
 +
.preview.team {
 +
    background-image: url(images/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(images/bg4.jpg);
 +
    z-index: -5;
 +
 
 +
}
 +
.separator{
 +
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.87);   
 +
}
 +
.typewriter{
 +
    color: white;
 +
    font-size: 5vw;
 +
    text-align:justify;
 +
    display: inline-block;
 +
    padding-top: 0px;
 +
    padding-bottom: 0px;
 +
    padding-left: 20px;
 +
    padding-right: 10px;
 +
    position: fixed;
 +
    top: 70px;
 +
    right: 70px;
 +
    width: auto;
 +
    mix-blend-mode: screen;
 +
    font-weight: 500;
 +
    font-family: "Avenir-black",
 +
        sans-serif;
 +
white-space: nowrap;
 +
}
 +
 
 +
.bgtitle img{
 +
    width: 115%;
 +
    margin-left:-5%;
 +
}
 +
 
 +
.sponso{
 +
    background-color: white;
 +
    padding: 10px;
 +
    z-index: -10;
 +
    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;
 
}
 
}
  
.corner-ribbon.shadow{
+
.tiles{
  box-shadow: 0 0 3px rgba(0,0,0,.3);
+
    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;
 
}
 
}
.corner-ribbon.bottom-right{
+
.subpanel{
  top: auto;
+
bottom: -25%;
  right: -50px;
+
position: absolute !important;
  bottom: 25px;
+
  left: auto;
+
  transform: rotate(-45deg);
+
  -webkit-transform: rotate(-45deg);
+
 
}
 
}
.corner-ribbon.green{background: #2c7;}
 

Revision as of 07:46, 19 July 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;

}

  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: absolute;
   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;
   border-top-left-radius: 10px;
   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: 0;
   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;

}

.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(images/cardmenu.png);
   background-size: cover;
   z-index: 0;

}

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

}

.slided{

       padding: 20px 80px 20px 80px!important;    
       position: relative;
       background-color: rgba(38, 38, 38, 0.4);
       left: 0px!important;
       z-index: 2!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(images/cardmenu.png);

}

.menu.project {

   background-image: url(images/foret.jpg);

}

.preview.project {

   background-image: url(images/cardproject.png);

}

.menu.team {

   background-image: url(images/team.jpg);

}

.preview.team {

   background-image: url(images/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(images/bg4.jpg);
   z-index: -5;

} .separator{

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

} .typewriter{

   color: white;
   font-size: 5vw;
   text-align:justify;
   display: inline-block;
   padding-top: 0px;
   padding-bottom: 0px;
   padding-left: 20px;
   padding-right: 10px;
   position: fixed;
   top: 70px;
   right: 70px;
   width: auto;
   mix-blend-mode: screen;
   font-weight: 500;
   font-family: "Avenir-black",
       sans-serif;

white-space: nowrap; }

.bgtitle img{

   width: 115%;
   margin-left:-5%; 

}

.sponso{

   background-color: white;
   padding: 10px;
   z-index: -10;
   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;

}

.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{ bottom: -25%; position: absolute !important; }