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

Line 232: Line 232:
 
}
 
}
  
#video-fond {
+
video{
    overflow: hidden;
+
    position: static;
+
    top: 0;
+
    right: 0;
+
    bottom: 0;
+
    left: 0;
+
}
+
 
+
#video-fond > video{
+
 
         width: 100vw;
 
         width: 100vw;
 
         height: auto;
 
         height: auto;
         top: 0;
+
         position: relative;
        left: 0;
+
 
         background: black;
 
         background: black;
 +
        left: 0;
 +
}
 +
body{
 +
    overflow-x: hidden;
 +
}
 +
#videocontainer{
 +
    position: absolute;
 +
    height: auto;
 
}
 
}
  
Line 252: Line 250:
 
height: 200px;
 
height: 200px;
 
background-color: #3b1009;
 
background-color: #3b1009;
position: static;
+
position: absolute;
width: 100%;
+
left: 0px;
 +
width: 100vw;
 
color:white;
 
color:white;
 
}
 
}

Revision as of 16:24, 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; }

video{

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

} body{

   overflow-x: hidden;

}

  1. videocontainer{
   position: absolute;
   height: auto;

}

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