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

 
(92 intermediate revisions by 2 users not shown)
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 */
+
/*Global*/
  #bodyContent p{
+
    margin:0;
+
    padding:0;
+
    border:0;
+
  }
+
  
  #top {
+
html,body {
        background: url("https://static.igem.org/mediawiki/2015/6/6f/SYSU-Software_Top.png");
+
  margin: 0;
        background-position: center;
+
  border: 0;
        background-size: 100px 100px;
+
  padding: 0;
        width:100px;
+
  width: 100%;
        height:100px;
+
  height:100%;
        border-radius:50%;
+
}
        position: fixed;
+
        bottom: 20px;
+
        right: 20px;
+
    }
+
  
    p, #content {
+
hr {
        color:#808284;
+
  background-color: white;
    }
+
}
  
    .firstHeading {
+
* {
      display:none;
+
    margin: 0;
     }
+
     border: 0;
 +
    padding: 0;
 +
    line-height:normal;
 +
}
  
    a, a:visited {
+
#menuContainer ul li {
        color:#22BCB9;
+
  box-sizing:content-box;
    }
+
}
  
    ul {
+
#contentContainer h1 {
    margin: 0;
+
  border: 0px;
    }
+
}
  
    /* PAGE LAYOUT */
+
#contentContainer h2 {
    /* Set up a width, height and color of the body wrapper*/
+
  border: 0px;
 +
}
  
  #content {
+
#contentContainer {
    width:100%;
+
  font-size: 12pt;
    margin:0;
+
}
    padding:0;
+
    border:0;
+
  }
+
  
    body {
+
#mainContainer p, #footer p{
        font: x-small sans-serif;
+
    display: block;
        background-color: white !important;
+
}
    }
+
  
    /* Creates a container that will wrap all of the content inside your wiki pages. */
+
h1, h2, h3, h4 {
     #mainContainer { 
+
     margin: 10px;
        width: 100%;
+
    padding: 5px;
        overflow:hidden;
+
}
        float:left;
+
        margin-bottom: 10px;
+
        background-color: #fff;  
+
    }
+
  
    /* Creates the container for the menu */
+
h1 {
     #menuContainer  {
+
     font-size: 180%;
        font-family: "Lucida Sans Unicode","Lucida Grande",sans-serif;
+
}
        font-size: 9pt;
+
        width: 100%;
+
        top:16px;
+
        position: fixed;
+
        float: left;
+
        margin: 0;
+
        text-align: center;
+
    }
+
  
    #menuContainer #oplayer {
+
h2 {
        opacity: 0.5;
+
    font-size: 150%;
        position: fixed;
+
}
        width: 100%;
+
        height: 40px;
+
        background-color: #000;
+
    }
+
  
    /* Creates the container for the content */
+
h3 {
     #contentContainer {
+
     font-size: 120%;
        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;
+
        min-height: 800px;
+
    }
+
  
 +
h4 {
 +
    font-size: 90%;
 +
}
  
    /*Set up height place holder for the banner*/
+
#menuContainer a {
    #bannerContainer {
+
    text-decoration: none;
        width: 100%;
+
    outline-style: none;
        margin:0;
+
    color: #6c78ef;
        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;
+
    }
+
  
    #title {
+
a:visited {
      height: 700px;
+
    text-decoration: none;
      padding-top: 140px;
+
    outline-style: none;
     }
+
     color: #6c78ef;
 +
}
  
    #title h2 {
+
a:link {
        font-size: 50pt;
+
    text-decoration: none;
        color: black;
+
    outline-style: none;
     }
+
     color: #6c78ef;
 +
}
  
    #flame {
+
#menuContainer a:active {
        color: #399e80 !important;
+
    text-decoration: none;
        font-size: 30pt;
+
    outline-style: none;
        margin: 0px;
+
    color: rgba(43, 210, 174, 1);
    }
+
}
  
    #title p {
+
        margin-top: 200px;
+
#menuContainer a:hover {
        font-size: 12pt;
+
    text-decoration: none;
        font-family:"MV Boli";
+
    outline-style: none;
    }
+
    color: rgba(43, 210, 174, 1);  
 +
}
 +
×/
  
 +
/*super container*/
 +
#globalWrapper {
 +
    background-color: white !important;
 +
}
  
     /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
#content {
 +
     width: 100%;
 +
    border: 0;
 +
    padding: 0;
 +
    margin: 0;
 +
}
  
    /*Change the styling of text for everything inside main container*/
+
/*no default title for Team:SYSU-Software*/
    #mainContainer p {  
+
.firstHeading {
        color: #000000;
+
  display:none;
    }
+
}
  
    #contentContainer {
+
/*back to top button*/
        font-family: Arial;
+
/*
        font-size: 12pt;
+
#top {
        width: 930px;
+
    background: url("http://www.iconpng.com/png/sketched-arrows/sketched6.png");
     }
+
    background-position: center;
 +
    background-size: 90px 90px;
 +
    width:75px;
 +
     height:75px;
 +
    border-radius:55%;
 +
    position: fixed;
 +
    bottom: 20px;
 +
    right: 20px;
 +
    opacity: 0.5;
 +
    z-index:100;
 +
}
 +
*/
  
    /*This changes the color and font family */
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
    #contentContainer h1, h2, h3, h4, h5, h6 {  
+
#mainContainer {
        font-family:"MV Boli", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
+
    width: 100%;
        color: #399e80 ;
+
    margin-bottom: 15px;
        padding: 3px;
+
    overflow:hidden;
        border-bottom: none;
+
}
    }
+
  
    #contentContainer h1 {
+
/* Creates the container for the menu */
        font-size: 40pt;
+
/*MENU STYLING */
    }
+
/*Styling for the links in the menu */
  
  #contentContainer h2 {
+
#menuContainer  {  
      font-size: 30pt;
+
    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;
 +
}
  
     /*Style of the links - links are different inside the menu */
+
#menuContainer #oplayer {
     #contentContainer a {
+
     opacity: 0.7;
        font-weight: bold;
+
     position: fixed;
        color: #22BCB9;
+
    width: 100%;
     }
+
    height: 40px;
 +
    background-color: #000;
 +
     z-index: -1;
 +
}
  
     /* Styling links on hover- links are different inside the menu */
+
#menuContainer #igem_logo {
     #contentContainer a:hover {
+
     margin-left: 80px;
        color: #14747D;
+
    height: 40px;
     }
+
    width: 40px;
 +
    float: left;
 +
    background-image: url("https://static.igem.org/mediawiki/2015/e/e4/SYSU-SoftwareIGEM_official_logo.png");
 +
     background-position: center;
 +
    background-size: 40px 40px;
 +
     text-align: center;
 +
}
  
    /*Change the styling of tables */
+
#menuContainer a {
    #contentContainer table {
+
    color: #fff;
            margin: auto;
+
    text-decoration:none;
            margin-bottom: 15px;
+
    font-weight: bold;
            margin-top: 15px;
+
}
            margin-right: 10px;
+
            margin-left: 10px;
+
        }
+
  
    /*Change the styling of table cells*/
+
#menuContainer #menu {
        #contentContainer td {
+
    float: left;
            background-color: #fff;
+
    margin-left: 34px;
            padding: 10px;
+
    width:85%;
            vertical-align: text-top;
+
}
        }
+
  
 +
/* Sets the style for lists inside menuContainer  */
 +
#menuContainer  #menu ul {
 +
    height: 40px;
 +
    width:100%
 +
    /*width: 1100px;*/ /*this is going to be modified*/
 +
    list-style: none;
 +
    clear: both;
 +
    margin: 0 auto;
 +
}
  
    /*Change the styling of table headers */
+
/*Styles the list items to become menu buttons */
        #contentContainer th {
+
#menuContainer ul li {
            background-color: #F4F0D8;
+
    height: 30px;
            padding: 10px;
+
    padding-top: 10px;
            vertical-align: text-top;
+
    padding-left: 1.2%;
        }
+
    padding-right: 1.2%;
 +
    display: block;
 +
    float: left;
 +
    position: relative;
 +
    /* margin-top:-4px;*/
 +
}
  
      #contentContainer li{
+
/*For the menu buttons, changes the color when hovering*/
          margin-left:1.5em;
+
#menuContainer li {
      }
+
}
  
 +
#menuContainer li:hover {
 +
    color:  #FFF;/*this is going to be modified*/
 +
    background-color: #a8a9a9;/*this is going to be modified*/
 +
}
  
    /*MENU STYLING */
+
/*style for opacity for sub op*/
 +
#sub_oplayer {
 +
    visibility: hidden;
 +
    opacity: 0;
 +
    position: fixed;
 +
    top:56px;
 +
    left: 0px;
 +
    height: 30px;
 +
    width: 100%;
 +
    background-color: #a8a9a9;
 +
}
  
    /*Styling for the links in the menu */
+
/*Submenus are not displayed as default*/
 +
#menuContainer li ul {
 +
    width: 100%;
 +
    position: fixed;
 +
    top: 56px;
 +
    left: 0px;
 +
    padding-left: 150px;
 +
    visibility: hidden;
 +
    opacity: 0;
 +
}
  
     #menuContainer a {
+
/*Submenus are displayed when hovering the menu button */
        color: #fff;
+
#menuContainer li:hover ul {
        text-decoration:none;
+
     /*display: inline-block; */
        font-weight: bold;
+
    visibility: visible;
     }
+
    opacity: 1;
 +
    height: 30px;
 +
    position: fixed;
 +
    top: 56px;
 +
    float:left;
 +
}
 +
 
 +
#menuContainer li:hover #sub_oplayer {
 +
    visibility: visible;
 +
    opacity: 0.3;
 +
}
 +
 
 +
/*Style the submenu buttons*/
 +
#menuContainer li ul li{
 +
    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;
 +
}
 +
 
 +
#menuContainer li ul li:hover{
 +
    background-color: inherit;
 +
    color: gray;
 +
}
 +
 
 +
#menuContainer li ul li:hover {
 +
    color: gray;
 +
}
 +
 
 +
#menuContainer #team {
 +
  left:50%;
 +
}
 +
 
 +
/******************end of menuContainer*****************/
 +
 
 +
/*Set up height place holder for the banner*/
 +
#bannerContainer {
 +
    width: 100%;
 +
    margin:0;
 +
    padding: 0;
 +
    border:0;
 +
    height: 775px;
 +
    text-align:center;
 +
    color: #24B694;
 +
    background: url("https://static.igem.org/mediawiki/2015/e/ed/SYSU-Software_Bg_new.jpg");
 +
    background-repeat: no-repeat;
 +
    background-position: top center;
 +
    background-size:cover;
 +
    font-family:"MV Boli", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 +
    color: #399e80 ;
 +
    background-color:#F8F8F8;
 +
    line-height:normal;
 +
}
 +
 
 +
#bannerContainer h3 {
 +
    font-size:20pt;
 +
}
 +
 
 +
#bannerContainer #title {
 +
    height: 400px;
 +
    width: 700px;
 +
    position: relative;
 +
    top: 200px;
 +
    margin: 0 auto;
 +
}
 +
 
 +
/*
 +
#bannerContainer #title h2 {
 +
    font-size: 50pt;
 +
    color: black;
 +
    margin: 0;
 +
    padding: 0;
 +
    border-bottom:none;
 +
}
 +
 
 +
#bannerContainer #title h3{
 +
    color: #399e80 !important;
 +
    font-size: 30pt;
 +
     margin: 0;
 +
    padding: 0;
 +
    margin-top:45px;
 +
}
  
     /* Sets the style for lists inside menuContainer  */
+
#bannerContainer #title p {
     #menuContainer ul {
+
     position: relative;
        list-style: none;
+
     top:120px;
     }
+
    font-size: 12pt;
 +
     font-family:"MV Boli";
 +
}
 +
*/
  
    /*Styles the list items to become menu buttons */
+
#title .logo {
    #menuContainer ul li {  
+
    height: 217px;
        height: 30px;
+
    margin-left: 40px;
        padding-top: 10px;
+
    width: 580px;
        padding-left: 3px;
+
    background-image: url("https://static.igem.org/mediawiki/2015/9/9b/SYSU-Software_Logo.jpg");
        padding-right: 3px;
+
    background-size: 80% auto;
        display: block;
+
    background-repeat: no-repeat;
        float: left;
+
    background-position: center;
        margin-left: 10px;
+
    margin: 0 auto;
        position: relative;
+
    margin-bottom: 200px;
        margin-bottom: 0;
+
}
    }
+
  
     /*For the menu buttons, changes the color when hovering*/
+
#title .scroll {
     #menuContainer li:hover {
+
     width: 322px;
        color: #FFF;
+
    height: 22px;
        background-color: #14747D;
+
    margin: 0 auto;
    }
+
    background-image: url("https://static.igem.org/mediawiki/2015/a/a2/SYSU-Software_scroll.jpg");
 +
     background-repeat: no-repeat;
 +
    background-position: center;
 +
    background-size: 75% auto;
 +
}
  
    /*Submenus are not displayed as default*/
+
#title .down {
    #menuContainer li ul {
+
margin-top: 20px;
        display: none;
+
margin: 10px auto 0px;
        padding-top:15px;
+
height: 25px;
        margin-left: -19px;
+
margin-top: 10px;
    }
+
background-image: url("https://static.igem.org/mediawiki/2015/b/b1/SYSU-Software_down.jpg");
 +
background-repeat: no-repeat;
 +
background-position: center;
 +
}
  
    /*Submenus are displayed when hovering the menu button */
+
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
    #menuContainer li:hover ul {
+
/* Creates the container for the content */
        /*display: inline-block; */
+
        display: block;
+
        position: absolute;
+
        float:none;
+
        margin-top: -2px;
+
        left: 9px;
+
  
     }
+
/*Change the styling of text for everything inside main container*/
 +
#mainContainer p {
 +
     color: #000000;
 +
}
  
    /*Style the submenu buttons*/
+
/*CLASSES */
    #menuContainer li ul li{
+
        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 */
+
/*Clear class for all the pages, adds spacing too*/
 +
.clear{
 +
    clear:both;
 +
    height: 10px;
 +
}
  
    /*Clear class for all the pages, adds spacing too*/
+
/* highlight box for special messages */
    .clear{
+
.highlightBox {
        clear:both;
+
    width:500px;  
        height: 10px;
+
    margin:auto;  
     }
+
     background-color: #F4F0D8;
 +
    margin-bottom: 15px;
 +
    margin-top: 15px;
 +
    padding: 15px;
 +
    padding-top: 5px;
 +
}
  
    /* highlight box for special messages */
+
#footer {
  .highlightBox {
+
  margin-bottom:20px;
        width:500px;  
+
  margin-top: 40px;
        margin:auto;  
+
  line-height:25px;
        background-color: #F4F0D8;  
+
  text-align: center;
        margin-bottom: 15px;
+
  background-color: white;
        margin-top: 15px;
+
  color: #7f7f7f;
        padding: 15px;
+
  font-family: Arial;
        padding-top: 5px;
+
  font-size:11pt;
 
}
 
}

Latest revision as of 03:22, 19 September 2015

/*Global*/

html,body {

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

}

hr {

 background-color: white;

}

  • {
   margin: 0;
   border: 0;
   padding: 0;
   line-height:normal;

}

  1. menuContainer ul li {
  box-sizing:content-box;

}

  1. contentContainer h1 {
  border: 0px;

}

  1. contentContainer h2 {
 border: 0px;

}

  1. contentContainer {
 font-size: 12pt;

}

  1. mainContainer p, #footer 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%;

}

  1. menuContainer a {
   text-decoration: none;
   outline-style: none;
   color: #6c78ef;

}

a:visited {

   text-decoration: none;
   outline-style: none;
   color: #6c78ef;

}

a:link {

   text-decoration: none;
   outline-style: none;
   color: #6c78ef;

}

  1. menuContainer a:active {
   text-decoration: none;
   outline-style: none;
   color: rgba(43, 210, 174, 1);

}

  1. menuContainer 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("http://www.iconpng.com/png/sketched-arrows/sketched6.png");
   background-position: center;
   background-size: 90px 90px;
   width:75px;
   height:75px;
   border-radius:55%;
   position: fixed;
   bottom: 20px;
   right: 20px;
   opacity: 0.5;
   z-index:100;

}

  • /

/* 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.7;
   position: fixed;
   width: 100%;
   height: 40px;
   background-color: #000;
   z-index: -1;

}

  1. menuContainer #igem_logo {
   margin-left: 80px;
   height: 40px;
   width: 40px;
   float: left;
   background-image: url("SYSU-SoftwareIGEM_official_logo.png");
   background-position: center;
   background-size: 40px 40px;
   text-align: center;

}

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

}

  1. menuContainer #menu {
   float: left;
   margin-left: 34px;
   width:85%;

}

/* Sets the style for lists inside menuContainer */

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

}

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

  1. menuContainer ul li {
   height: 30px;
   padding-top: 10px;
   padding-left: 1.2%;
   padding-right: 1.2%;
   display: block;
   float: left;
   position: relative;
   /* margin-top:-4px;*/

}

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

  1. menuContainer li {

}

  1. menuContainer li:hover {
   color:  #FFF;/*this is going to be modified*/
   background-color: #a8a9a9;/*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;

}

/*Submenus are not displayed as default*/

  1. menuContainer li ul {
   width: 100%;
   position: fixed;
   top: 56px;
   left: 0px;
   padding-left: 150px;
   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{
   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;

}

  1. menuContainer #team {
  left:50%;

}

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

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

  1. bannerContainer {
   width: 100%;
   margin:0;
   padding: 0;
   border:0;
   height: 775px;
   text-align:center;
   color: #24B694;
   background: url("SYSU-Software_Bg_new.jpg");
   background-repeat: no-repeat;
   background-position: top center;
   background-size:cover;
   font-family:"MV Boli", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
   color: #399e80 ;
   background-color:#F8F8F8;
   line-height:normal;

}

  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;
   border-bottom:none;

}

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

}

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

}

  • /
  1. title .logo {
   height: 217px;
   margin-left: 40px;
   width: 580px;
   background-image: url("SYSU-Software_Logo.jpg");
   background-size: 80% auto;
   background-repeat: no-repeat;
   background-position: center;
   margin: 0 auto;
   margin-bottom: 200px;

}

  1. title .scroll {
   width: 322px;
   height: 22px;
   margin: 0 auto;
   background-image: url("SYSU-Software_scroll.jpg");
   background-repeat: no-repeat;
   background-position: center;
   background-size: 75% auto;

}

  1. title .down {

margin-top: 20px; margin: 10px auto 0px; height: 25px; margin-top: 10px; background-image: url("SYSU-Software_down.jpg"); background-repeat: no-repeat; background-position: center; }

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

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

  1. mainContainer p {
   color: #000000;

}

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

}

  1. footer {
 margin-bottom:20px;
 margin-top: 40px;
 line-height:25px;
 text-align: center;
 background-color: white;
 color: #7f7f7f;
 font-family: Arial;
 font-size:11pt;

}