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

Line 219: Line 219:
 
.bg-dark{
 
.bg-dark{
 
background-color:#0f0f0f99 !important
 
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;
 
}
 
}
  

Revision as of 10:12, 23 May 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; }

/* PARALLAX EFFECT */

html, body {

   margin: 0;
   padding: 0;
   overflow-x: hidden;

}

  1. 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;

}

  1. 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%;

}

  1. 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%;

}

  1. 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 {

   background-size: auto 100%;
   background-repeat: no-repeat;
   position: absolute;

}

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