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

Line 332: Line 332:
 
   position: absolute;
 
   position: absolute;
 
   top: 25px;
 
   top: 25px;
 +
font-size:15px;
 
   left: -50px;
 
   left: -50px;
 
   text-align: center;
 
   text-align: center;

Revision as of 07:09, 26 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;

}

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

}

  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: #fff; color:black; position: relative; left: 0px; width: 100vw; }

.description{ padding-bottom: 10px!important; }

.downArrow{ position: fixed; z-index:9; bottom: 2%; left: 50%; -webkit-filter:invert(1);

       filter:invert(1);

} .bounce { -moz-animation: bounce 3s infinite; -webkit-animation: bounce 3s infinite; animation: bounce 3s infinite; } @-moz-keyframes bounce {

 0%, 20%, 50%, 80%, 100% {
   -moz-transform: translateY(0);
   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% {
   -webkit-transform: translateY(0);
   transform: translateY(0);
 }
 40% {
   -webkit-transform: translateY(-30px);
   transform: translateY(-30px);
 }
 60% {
   -webkit-transform: translateY(-15px);
   transform: translateY(-15px);
 }

} @keyframes bounce {

 0%, 20%, 50%, 80%, 100% {
   -moz-transform: translateY(0);
   -ms-transform: translateY(0);
   -webkit-transform: translateY(0);
   transform: translateY(0);
 }
 40% {
   -moz-transform: translateY(-30px);
   -ms-transform: translateY(-30px);
   -webkit-transform: translateY(-30px);
   transform: translateY(-30px);
 }
 60% {
   -moz-transform: translateY(-15px);
   -ms-transform: translateY(-15px);
   -webkit-transform: translateY(-15px);
   transform: translateY(-15px);
 }

}

.corner-ribbon{

 width: 200px;
 background: #e43;
 position: absolute;
 top: 25px;

font-size:15px;

 left: -50px;
 text-align: center;
 line-height: 50px;
 letter-spacing: 1px;
 color: #f0f0f0;
 transform: rotate(-45deg);
 -webkit-transform: rotate(-45deg);

z-index:9; }

/* Custom styles */

.corner-ribbon.sticky{

 position: fixed;

}

.corner-ribbon.shadow{

 box-shadow: 0 0 3px rgba(0,0,0,.3);

} .corner-ribbon.bottom-right{

 top: auto;
 right: -50px;
 bottom: 25px;
 left: auto;
 transform: rotate(-45deg);
 -webkit-transform: rotate(-45deg);

} .corner-ribbon.green{background: #2c7;}