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

Line 1: Line 1:
 
 
/*Global*/
 
/*Global*/
  
Line 47: Line 46:
 
     text-decoration: none;
 
     text-decoration: none;
 
     outline-style: none;
 
     outline-style: none;
 +
    color: #399E80;
 +
}
 +
 +
a:visited {
 +
    text-decoration: none;
 +
    outline-style: none;
 +
    color: #399E80;
 +
}
 +
 +
a:link {
 +
    text-decoration: none;
 +
    outline-style: none;
 +
    color: #399E80;
 +
}
 +
 +
a:active {
 +
    text-decoration: none;
 +
    outline-style: none;
 +
    color: rgba(43, 210, 174, 1);
 +
}
 +
 +
a:hover {
 +
    text-decoration: none;
 +
    outline-style: none;
 +
    color: rgba(43, 210, 174, 1); 
 
}
 
}
  
Line 77: Line 101:
 
     bottom: 20px;
 
     bottom: 20px;
 
     right: 20px;
 
     right: 20px;
 +
    opacity: 0.6;
 
}
 
}
  
Line 107: Line 132:
 
     height: 40px;
 
     height: 40px;
 
     background-color: #000;
 
     background-color: #000;
 +
}
 +
 +
#menuContainer #igem_logo {
 +
    margin-left: 80px;
 +
    height: 40px;
 +
    width: 40px;
 +
    float: left;
 +
    background: url("https://static.igem.org/mediawiki/2015/e/e4/SYSU-SoftwareIGEM_official_logo.png");
 +
    background-position: center;
 +
    background-size: 40px 40px;
 +
}
 +
 +
#menuContainer #menu {
 +
    float: left;
 
}
 
}
  
Line 117: Line 156:
 
/* Sets the style for lists inside menuContainer  */
 
/* Sets the style for lists inside menuContainer  */
 
#menuContainer ul {
 
#menuContainer ul {
 +
    margin-left: 34px;
 
     height: 40px;
 
     height: 40px;
     width: 99%; /*this is going to be modified*/
+
     width: 980px; /*this is going to be modified*/
 
     list-style: none;
 
     list-style: none;
    margin: 0 auto;
 
 
     clear: both;
 
     clear: both;
 
}
 
}
Line 152: Line 191:
 
     position: fixed;
 
     position: fixed;
 
     top:56px;
 
     top:56px;
 +
    left: 0px;
 
     height: 30px;
 
     height: 30px;
 
     width: 100%;
 
     width: 100%;
Line 212: Line 252:
  
 
/******************end of menuContainer*****************/
 
/******************end of menuContainer*****************/
 
/* Creates the container for the content */
 
#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*/
 
/*Set up height place holder for the banner*/
Line 229: Line 257:
 
     width: 100%;
 
     width: 100%;
 
     margin:0;
 
     margin:0;
 +
    padding: 0;
 +
    border:0;
 
     height: 650px;
 
     height: 650px;
 
     text-align:center;
 
     text-align:center;
Line 239: Line 269:
  
 
#bannerContainer h3 {
 
#bannerContainer h3 {
     font-size:30px;
+
     font-size:20pt;
 
}
 
}
  
#title {
+
#bannerContainer #title {
  height: 700px;
+
    height: 400px;
  padding-top: 140px;
+
    width: 700px;
 +
    position: relative;
 +
    top: 200px;
 +
    margin: 0 auto;
 
}
 
}
  
#title h2 {
+
#bannerContainer #title h2 {
 
     font-size: 50pt;
 
     font-size: 50pt;
 
     color: black;
 
     color: black;
 +
    margin: 0;
 +
    padding: 0;
 
}
 
}
  
#flame {
+
#bannerContainer #title h3{
 
     color: #399e80 !important;
 
     color: #399e80 !important;
 
     font-size: 30pt;
 
     font-size: 30pt;
     margin: 0px;
+
     margin: 0;
 +
    padding: 0;
 
}
 
}
  
#title p {
+
#bannerContainer #title p {
     margin-top: 200px;
+
     position: relative;
 +
    top:120px;
 
     font-size: 12pt;
 
     font-size: 12pt;
 
     font-family:"MV Boli";
 
     font-family:"MV Boli";
 
}
 
}
 
  
 
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
 
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
 
+
/* Creates the container for the content */
 +
#contentContainer {
 +
    margin: 20px auto;
 +
    padding: 10px;
 +
    width: 800px;
 +
    padding-left: 10px;
 +
    font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
 +
}
 
/*Change the styling of text for everything inside main container*/
 
/*Change the styling of text for everything inside main container*/
 
#mainContainer p {  
 
#mainContainer p {  
Line 291: Line 334:
  
 
#contentContainer h2 {
 
#contentContainer h2 {
  font-size: 30pt;
+
    font-size: 35pt;
 +
}
 +
 
 +
#contentContainer h3 {
 +
    font-size: 30pt;
 +
}
 +
 
 +
#contentContainer h4 {
 +
    font-size: 25pt;
 +
}
 +
 
 +
#contentContainer p {
 +
    font-family: Arial;
 +
    font-size: 15pt;
 
}
 
}
  
Line 303: Line 359:
 
#contentContainer a:hover {  
 
#contentContainer a:hover {  
 
     color: #14747D;
 
     color: #14747D;
}
 
 
/*Change the styling of tables */
 
#contentContainer table {
 
        margin: auto;
 
        margin-bottom: 15px;
 
        margin-top: 15px;
 
        margin-right: 10px;
 
        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;
 
 
}
 
}
  
Line 332: Line 364:
 
   margin-left:1.5em;
 
   margin-left:1.5em;
 
}
 
}
 
 
  
 
/*CLASSES */
 
/*CLASSES */

Revision as of 07:35, 5 August 2015

/*Global*/

html,body {

  margin: 0;
  border: 0;
  padding: 0;
  width: 100%;

}

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

}

p {

   display: none;

}

  1. mainContainer p{
   display: block;

}

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;
   color: #399E80;

}

a:visited {

   text-decoration: none;
   outline-style: none;
   color: #399E80;

}

a:link {

   text-decoration: none;
   outline-style: none;
   color: #399E80;

}

a:active {

   text-decoration: none;
   outline-style: none;
   color: rgba(43, 210, 174, 1);

}

a:hover {

   text-decoration: none;
   outline-style: none;
   color: rgba(43, 210, 174, 1);   

}

/*super container*/

  1. globalWrapper {
   background-color: white !important;

}

  1. content {
   width: 100%;
   border: 0;
   padding: 0;
   margin: 0;

}

/*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;
   opacity: 0.6;

}

/* 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 #igem_logo {
   margin-left: 80px;
   height: 40px;
   width: 40px;
   float: left;
   background: url("SYSU-SoftwareIGEM_official_logo.png");
   background-position: center;
   background-size: 40px 40px;

}

  1. menuContainer #menu {
   float: left;

}

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

}

/* Sets the style for lists inside menuContainer */

  1. menuContainer ul {
   margin-left: 34px;
   height: 40px;
   width: 980px; /*this is going to be modified*/
   list-style: none;
   clear: both;

}

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

  1. menuContainer ul li {
   height: 30px;
   padding-top: 10px;
   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 {
   visibility: hidden;
   opacity: 0;
   position: fixed;
   top:56px;
   left: 0px;
   height: 30px;
   width: 100%;
   background-color: #a8a9a9;
   transition:all 0.5s;

}

/*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;

}

  1. menuContainer li:hover #sub_oplayer {
   visibility: visible;
   opacity: 0.3;

}

/*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;

}

  1. menuContainer li ul li:hover {
   color: gray;

}

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

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

  1. bannerContainer {
   width: 100%;
   margin:0;
   padding: 0;
   border: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:20pt;

}

  1. bannerContainer #title {
   height: 400px;
   width: 700px;
   position: relative;
   top: 200px;
   margin: 0 auto;

}

  1. bannerContainer #title h2 {
   font-size: 50pt;
   color: black;
   margin: 0;
   padding: 0;

}

  1. bannerContainer #title h3{
   color: #399e80 !important;
   font-size: 30pt;
   margin: 0;
   padding: 0;

}

  1. bannerContainer #title p {
   position: relative;
   top:120px;
   font-size: 12pt;
   font-family:"MV Boli";

}

/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ /* Creates the container for the content */

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

} /*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: 35pt;

}

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

}

  1. contentContainer h4 {
   font-size: 25pt;

}

  1. contentContainer p {
   font-family: Arial;
   font-size: 15pt;

}

/*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;

}

  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;

}