Difference between revisions of "Template:SYSU-Software/CSS"

Line 1: Line 1:
                /* since the background is dark, we change the color of the text and links so they are visible on "show preview" mode */
 
  #bodyContent p{
 
    margin:0;
 
    padding:0;
 
    border:0;
 
  }
 
  
  #top {
+
/*Global*/
        background: url("https://static.igem.org/mediawiki/2015/6/6f/SYSU-Software_Top.png");
+
        background-position: center;
+
        background-size: 100px 100px;
+
        width:100px;
+
        height:100px;
+
        border-radius:50%;
+
        position: fixed;
+
        bottom: 20px;
+
        right: 20px;
+
    }
+
  
    p, #content {
+
html,body {
        color:#808284;
+
  margin: 0;
    }
+
  border: 0;
 +
  padding: 0;
 +
  color: white !important;
 +
  width: 100%;
 +
}
  
    .firstHeading {
+
* {
      display:none;
+
    margin: 0;
     }
+
     border: 0;
 +
    padding: 0;
 +
}
  
     a, a:visited {
+
p {
        color:#22BCB9;
+
     margin-top:8px;
     }
+
    margin-bottom: 8px;
 +
     padding: 5px;
 +
}
  
    ul {
+
h1, h2, h3, h4 {
     margin: 0;
+
     margin: 10px;
     }
+
     padding: 5px;
 +
}
  
    /* PAGE LAYOUT */
+
h1 {
     /* Set up a width, height and color of the body wrapper*/
+
     font-size: 180%;
 +
}
  
  #content {
+
h2 {
     width:100%;
+
     font-size: 150%;
    margin:0;
+
}
    padding:0;
+
    border:0;
+
  }
+
  
    body {
+
h3 {
        font: x-small sans-serif;
+
    font-size: 120%;
        background-color: white !important;
+
}
    }
+
  
    /* Creates a container that will wrap all of the content inside your wiki pages. */
+
h4 {
     #mainContainer { 
+
     font-size: 90%;
        width: 100%;
+
}
        overflow:hidden;
+
        float:left;
+
        margin-bottom: 10px;
+
        background-color: #fff;
+
    }
+
  
    /* Creates the container for the menu */
+
a {
     #menuContainer  {
+
     text-decoration: none;
        font-family: "Lucida Sans Unicode","Lucida Grande",sans-serif;
+
    outline-style: none;
        font-size: 9pt;
+
}
        width: 100%;
+
        top:16px;
+
        position: fixed;
+
        float: left;
+
        margin: 0;
+
        text-align: center;
+
        z-index:1;
+
    }
+
  
    #menuContainer #oplayer {
+
/*no default title for Team:SYSU-Software*/
        opacity: 0.5;
+
.firstHeading {
        position: fixed;
+
  display:none;
        width: 100%;
+
}
        height: 40px;
+
        background-color: #000;
+
    }
+
  
    /* Creates the container for the content */
+
/*back to top button*/
    #contentContainer {
+
#top {
        padding-top:20px;
+
    background: url("https://static.igem.org/mediawiki/2015/6/6f/SYSU-Software_Top.png");
        padding-right:10px;
+
    background-position: center;
        margin:0 auto;
+
    background-size: 100px 100px;
        margin-bottom: 20px;
+
    width:100px;
        width: 800px;
+
    height:100px;
        padding-left: 10px;
+
    border-radius:50%;
        font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
+
    position: fixed;
        min-height: 800px;
+
    bottom: 20px;
     }
+
     right: 20px;
 +
}
  
 +
/* Creates a container that will wrap all of the content inside your wiki pages. */
 +
#mainContainer {
 +
    width: 100%;
 +
    margin-bottom: 15px;
 +
    overflow:hidden;
 +
}
  
    /*Set up height place holder for the banner*/
+
/* Creates the container for the menu */
    #bannerContainer {
+
/*MENU STYLING */
        width: 100%;
+
/*Styling for the links in the menu */
        margin:0;
+
        height: 650px;
+
        text-align:center;
+
        color: #24B694;
+
       
+
        background: url("https://static.igem.org/mediawiki/2015/1/1e/SYSU-Software_Bg.jpg");
+
        background-repeat: no-repeat;
+
        background-position: top center;
+
        background-size:100% auto;
+
    }
+
   
+
    #bannerContainer h3 {
+
        font-size:30px;
+
    }
+
  
    #title {
+
#menuContainer  {  
      height: 700px;
+
    font-family: "Lucida Sans Unicode","Lucida Grande",sans-serif;
      padding-top: 140px;
+
    font-size: 9pt;
     }
+
    width: 100%;
 +
    height: 40px;
 +
    top:16px;
 +
     position: fixed;
 +
    text-align: center;
 +
    z-index:100;
 +
}
  
    #title h2 {
+
#menuContainer #oplayer {
        font-size: 50pt;
+
    opacity: 0.5;
        color: black;
+
    position: fixed;
     }
+
     width: 100%;
 +
    height: 40px;
 +
    background-color: #000;
 +
}
  
    #flame {
+
#menuContainer a {
        color: #399e80 !important;
+
    color: #fff;
        font-size: 30pt;
+
    text-decoration:none;
        margin: 0px;
+
    font-weight: bold;
    }
+
}
  
    #title p {
+
/* Sets the style for lists inside menuContainer  */
        margin-top: 200px;
+
#menuContainer ul {
        font-size: 12pt;
+
    height: 40px;
        font-family:"MV Boli";
+
    width: 99%; /*this is going to be modified*/
     }
+
    list-style: none;
 +
     margin: 0 auto;
 +
    clear: both;
 +
}
  
 +
/*Styles the list items to become menu buttons */
 +
#menuContainer ul li {
 +
    height: 30px;
 +
    padding-top: 8px;
 +
    padding-bottom: 2px;
 +
    padding-left: 10px;
 +
    padding-right: 10px;
 +
    display: block;
 +
    float: left;
 +
    position: relative;
 +
    width: 120px;
 +
}
  
    /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
/*For the menu buttons, changes the color when hovering*/
 +
#menuContainer li {
 +
    transition:background-color 0.5s;
 +
}
  
     /*Change the styling of text for everything inside main container*/
+
#menuContainer li:hover {
     #mainContainer p {
+
     color:  #FFF;/*this is going to be modified*/
        color: #000000;
+
     background-color: #14747D;/*this is going to be modified*/
    }
+
}
  
    #contentContainer {
+
/*style for opacity for sub op*/
        font-family: Arial;
+
#sub_oplayer {
        font-size: 12pt;
+
    opacity: 0.3;
        width: 930px;
+
    position: fixed;
     }
+
    top:56px;
 +
    height: 30px;
 +
    width: 100%;
 +
     background-color: #a8a9a9;
 +
}
  
    /*This changes the color and font family */
+
/*Submenus are not displayed as default*/
    #contentContainer h1, h2, h3, h4, h5, h6 {  
+
#menuContainer li ul {
        font-family:"MV Boli", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
+
    width: 100%;
        color: #399e80 ;
+
    position: fixed;
        padding: 3px;
+
    top: 56px;
        border-bottom: none;
+
    transition: all 0.5s;
     }
+
     left: 0px;
 +
    visibility: hidden;
 +
    opacity: 0;
 +
}
  
    #contentContainer h1 {
+
/*Submenus are displayed when hovering the menu button */
        font-size: 40pt;
+
#menuContainer li:hover ul {
     }
+
    /*display: inline-block; */
 +
    visibility: visible;
 +
     opacity: 1;
 +
    height: 30px;
 +
    position: fixed;
 +
    top: 56px;
 +
    float:left;
 +
}
  
  #contentContainer h2 {
+
/*Style the submenu buttons*/
      font-size: 30pt;
+
#menuContainer li ul li{
  }
+
    transition:all 0.5s;
 +
    color: #313131;
 +
    padding-top: 5px;
 +
    padding-bottom: 0px;
 +
    padding-left: 20px;
 +
    padding-right: 20px;
 +
    height: 30px;
 +
    overflow: hidden;
 +
    width: auto;
 +
    display: block;
 +
    float: left;
 +
    text-align: center;
 +
    opacity: 1;
 +
}
  
    /*Style of the links - links are different inside the menu */
+
#menuContainer li ul li:hover{
    #contentContainer a {  
+
    background-color: inherit;
        font-weight: bold;
+
    color: gray;
        color: #22BCB9;
+
}
    }
+
  
    /* Styling links on hover- links are different inside the menu */
 
    #contentContainer a:hover {
 
        color: #14747D;
 
    }
 
  
    /*Change the styling of tables */
+
/******************end of menuContainer*****************/
    #contentContainer table {
+
            margin: auto;
+
            margin-bottom: 15px;
+
            margin-top: 15px;
+
            margin-right: 10px;
+
            margin-left: 10px;
+
        }
+
  
    /*Change the styling of table cells*/
+
/* Creates the container for the content */
        #contentContainer td {
+
#contentContainer {
            background-color: #fff;
+
    padding-top:20px;
            padding: 10px;
+
    padding-right:10px;
            vertical-align: text-top;
+
    margin:0 auto;
        }
+
    margin-bottom: 20px;
 +
    width: 800px;
 +
    padding-left: 10px;
 +
    font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
 +
}
  
  
    /*Change the styling of table headers */
+
/*Set up height place holder for the banner*/
        #contentContainer th {
+
#bannerContainer {
            background-color: #F4F0D8;
+
    width: 100%;
            padding: 10px;
+
    margin:0;
            vertical-align: text-top;
+
    height: 650px;
        }
+
    text-align:center;
 +
    color: #24B694;
 +
   
 +
    background: url("https://static.igem.org/mediawiki/2015/1/1e/SYSU-Software_Bg.jpg");
 +
    background-repeat: no-repeat;
 +
    background-position: top center;
 +
    background-size:100% auto;
 +
}
  
      #contentContainer li{
+
#bannerContainer h3 {
          margin-left:1.5em;
+
    font-size:30px;
      }
+
}
  
 +
#title {
 +
  height: 700px;
 +
  padding-top: 140px;
 +
}
  
     /*MENU STYLING */
+
#title h2 {
 +
     font-size: 50pt;
 +
    color: black;
 +
}
  
     /*Styling for the links in the menu */
+
#flame {
 +
     color: #399e80 !important;
 +
    font-size: 30pt;
 +
    margin: 0px;
 +
}
  
    #menuContainer a {
+
#title p {
        color: #fff;
+
    margin-top: 200px;
        text-decoration:none;
+
    font-size: 12pt;
        font-weight: bold;
+
    font-family:"MV Boli";
    }
+
}
  
    /* Sets the style for lists inside menuContainer  */
 
    #menuContainer ul {
 
        list-style: none;
 
    }
 
  
    /*Styles the list items to become menu buttons */
+
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
    #menuContainer ul li {
+
        height: 30px;
+
        padding-top: 10px;
+
        padding-left: 3px;
+
        padding-right: 3px;
+
        display: block;
+
        float: left;
+
        margin-left: 10px;
+
        position: relative;
+
        margin-bottom: 0;
+
        margin-left: 15px;
+
    }
+
  
    /*For the menu buttons, changes the color when hovering*/
+
/*Change the styling of text for everything inside main container*/
    #menuContainer li:hover {
+
#mainContainer p {  
        color: #FFF;
+
    color: #000000;
        background-color: #14747D;
+
}
    }
+
  
    /*Submenus are not displayed as default*/
+
#contentContainer {
    #menuContainer li ul {
+
    font-family: Arial;
        display: none;
+
    font-size: 12pt;
        padding-top:15px;
+
    width: 930px;
        margin-left: -24px;
+
}
    }
+
  
    /*Submenus are displayed when hovering the menu button */
+
/*This changes the color and font family */
    #menuContainer li:hover ul {
+
#contentContainer h1, h2, h3, h4, h5, h6 {  
        /*display: inline-block; */
+
    font-family:"MV Boli", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
        display: block;  
+
    color: #399e80 ;
        position: absolute;  
+
    padding: 3px;
        float:none;
+
    border-bottom: none;
        margin-top: -2px;
+
}
        left: 9px;
+
  
     }
+
#contentContainer h1 {
 +
     font-size: 40pt;
 +
}
  
    /*Style the submenu buttons*/
+
#contentContainer h2 {
    #menuContainer li ul li{
+
  font-size: 30pt;
        background-color: #22BCB9;
+
}
        padding-left:20px;
+
        padding-right:20px;
+
        height: 35px;
+
        padding-top:10px;
+
        margin-top:-2px;
+
        color: #28221E;
+
        width: 175px;
+
        float: none;
+
        text-align: center;
+
        opacity: 1;
+
    }
+
  
    /*CLASSES */
+
/*Style of the links - links are different inside the menu */
 +
#contentContainer a {
 +
    font-weight: bold;
 +
    color: #22BCB9;
 +
}
  
    /*Clear class for all the pages, adds spacing too*/
+
/* Styling links on hover- links are different inside the menu */
    .clear{
+
#contentContainer a:hover {  
        clear:both;
+
    color: #14747D;
        height: 10px;
+
}
    }
+
  
    /* highlight box for special messages */
+
/*Change the styling of tables */
  .highlightBox {
+
#contentContainer table {
        width:500px;
+
         margin: auto;
         margin:auto;
+
        background-color: #F4F0D8;  
+
 
         margin-bottom: 15px;
 
         margin-bottom: 15px;
 
         margin-top: 15px;
 
         margin-top: 15px;
         padding: 15px;
+
         margin-right: 10px;
        padding-top: 5px;
+
        margin-left: 10px;
 +
}
 +
 
 +
/*Change the styling of table cells*/
 +
#contentContainer  td {
 +
    background-color: #fff;
 +
    padding: 10px;
 +
    vertical-align: text-top;
 +
}
 +
 
 +
 
 +
/*Change the styling of table headers */
 +
#contentContainer th {
 +
    background-color: #F4F0D8;
 +
    padding: 10px;
 +
    vertical-align: text-top;
 +
}
 +
 
 +
#contentContainer li{
 +
  margin-left:1.5em;
 +
}
 +
 
 +
 
 +
 
 +
/*CLASSES */
 +
 
 +
/*Clear class for all the pages, adds spacing too*/
 +
.clear{
 +
    clear:both;
 +
    height: 10px;
 +
}
 +
 
 +
/* highlight box for special messages */
 +
.highlightBox {
 +
    width:500px;
 +
    margin:auto;
 +
    background-color: #F4F0D8;
 +
    margin-bottom: 15px;
 +
    margin-top: 15px;
 +
    padding: 15px;
 +
    padding-top: 5px;
 
}
 
}

Revision as of 07:35, 4 August 2015

/*Global*/

html,body {

  margin: 0;
  border: 0;
  padding: 0;
  color: white !important;
  width: 100%;

}

  • {
   margin: 0;
   border: 0;
   padding: 0;

}

p {

   margin-top:8px;
   margin-bottom: 8px;
   padding: 5px;

}

h1, h2, h3, h4 {

   margin: 10px;
   padding: 5px;

}

h1 {

   font-size: 180%;

}

h2 {

   font-size: 150%;

}

h3 {

   font-size: 120%;

}

h4 {

   font-size: 90%;

}

a {

   text-decoration: none;
   outline-style: none;

}

/*no default title for Team:SYSU-Software*/ .firstHeading {

 display:none;

}

/*back to top button*/

  1. top {
   background: url("SYSU-Software_Top.png");
   background-position: center;
   background-size: 100px 100px;
   width:100px;
   height:100px;
   border-radius:50%;
   position: fixed;
   bottom: 20px;
   right: 20px;

}

/* Creates a container that will wrap all of the content inside your wiki pages. */

  1. mainContainer {
   width: 100%;
   margin-bottom: 15px;
   overflow:hidden;

}

/* Creates the container for the menu */ /*MENU STYLING */ /*Styling for the links in the menu */

  1. menuContainer {
   font-family: "Lucida Sans Unicode","Lucida Grande",sans-serif;
   font-size: 9pt;
   width: 100%;
   height: 40px;
   top:16px;
   position: fixed;
   text-align: center;
   z-index:100;

}

  1. menuContainer #oplayer {
   opacity: 0.5;
   position: fixed;
   width: 100%;
   height: 40px;
   background-color: #000;

}

  1. menuContainer a {
   color: #fff;
   text-decoration:none;
   font-weight: bold;

}

/* Sets the style for lists inside menuContainer */

  1. menuContainer ul {
   height: 40px;
   width: 99%; /*this is going to be modified*/
   list-style: none;
   margin: 0 auto;
   clear: both;

}

/*Styles the list items to become menu buttons */

  1. menuContainer ul li {
   height: 30px;
   padding-top: 8px;
   padding-bottom: 2px;
   padding-left: 10px;
   padding-right: 10px;
   display: block;
   float: left;
   position: relative;
   width: 120px;

}

/*For the menu buttons, changes the color when hovering*/

  1. menuContainer li {
   transition:background-color 0.5s;

}

  1. menuContainer li:hover {
   color:  #FFF;/*this is going to be modified*/
   background-color: #14747D;/*this is going to be modified*/

}

/*style for opacity for sub op*/

  1. sub_oplayer {
   opacity: 0.3;
   position: fixed;
   top:56px;
   height: 30px;
   width: 100%;
   background-color: #a8a9a9;

}

/*Submenus are not displayed as default*/

  1. menuContainer li ul {
   width: 100%;
   position: fixed;
   top: 56px;
   transition: all 0.5s;
   left: 0px;
   visibility: hidden;
   opacity: 0;

}

/*Submenus are displayed when hovering the menu button */

  1. menuContainer li:hover ul {
   /*display: inline-block; */
   visibility: visible;
   opacity: 1;
   height: 30px;
   position: fixed;
   top: 56px;
   float:left;

}

/*Style the submenu buttons*/

  1. menuContainer li ul li{
   transition:all 0.5s;
   color: #313131;
   padding-top: 5px;
   padding-bottom: 0px;
   padding-left: 20px;
   padding-right: 20px;
   height: 30px;
   overflow: hidden;
   width: auto;
   display: block;
   float: left;
   text-align: center;
   opacity: 1;

}

  1. menuContainer li ul li:hover{
   background-color: inherit;
   color: gray;

}


/******************end of menuContainer*****************/

/* Creates the container for the content */

  1. contentContainer {
   padding-top:20px;
   padding-right:10px;
   margin:0 auto;
   margin-bottom: 20px;
   width: 800px;
   padding-left: 10px;
   font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;

}


/*Set up height place holder for the banner*/

  1. bannerContainer {
   width: 100%;
   margin:0;
   height: 650px;
   text-align:center;
   color: #24B694;
   
   background: url("SYSU-Software_Bg.jpg");
   background-repeat: no-repeat;
   background-position: top center;
   background-size:100% auto;

}

  1. bannerContainer h3 {
   font-size:30px;

}

  1. title {
 height: 700px;
 padding-top: 140px;

}

  1. title h2 {
   font-size: 50pt;
   color: black;

}

  1. flame {
   color: #399e80 !important;
   font-size: 30pt;
   margin: 0px;

}

  1. title p {
   margin-top: 200px;
   font-size: 12pt;
   font-family:"MV Boli";

}


/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */

/*Change the styling of text for everything inside main container*/

  1. mainContainer p {
   color: #000000;

}

  1. contentContainer {
   font-family: Arial;
   font-size: 12pt;
   width: 930px;

}

/*This changes the color and font family */

  1. contentContainer h1, h2, h3, h4, h5, h6 {
   font-family:"MV Boli", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
   color: #399e80 ;
   padding: 3px;
   border-bottom: none;

}

  1. contentContainer h1 {
   font-size: 40pt;

}

  1. contentContainer h2 {
 font-size: 30pt;

}

/*Style of the links - links are different inside the menu */

  1. contentContainer a {
   font-weight: bold;
   color: #22BCB9;

}

/* Styling links on hover- links are different inside the menu */

  1. contentContainer a:hover {
   color: #14747D;

}

/*Change the styling of tables */

  1. contentContainer table {
       margin: auto;
       margin-bottom: 15px;
       margin-top: 15px;
       margin-right: 10px;
       margin-left: 10px;

}

/*Change the styling of table cells*/

  1. contentContainer td {
   background-color: #fff;
   padding: 10px;
   vertical-align: text-top;

}


/*Change the styling of table headers */

  1. contentContainer th {
   background-color: #F4F0D8;
   padding: 10px;
   vertical-align: text-top;

}

  1. contentContainer li{
 margin-left:1.5em;

}


/*CLASSES */

/*Clear class for all the pages, adds spacing too*/ .clear{

   clear:both;
   height: 10px;

}

/* highlight box for special messages */ .highlightBox {

   width:500px; 
   margin:auto; 
   background-color: #F4F0D8; 
   margin-bottom: 15px;
   margin-top: 15px;
   padding: 15px;
   padding-top: 5px;

}