Template:CSS/Delft2014 main

From 2014.igem.org

(Difference between revisions)
 
(156 intermediate revisions not shown)
Line 12: Line 12:
     background-color: #383838;
     background-color: #383838;
     border: 0 none;
     border: 0 none;
-
     height: 14px;
+
     height: 20px;
     z-index: 100;
     z-index: 100;
     top: 0;
     top: 0;
-
     /*position: fixed;*/
+
     left: 50%;
-
    width: 100%;
+
     position: fixed;
-
    /*left: 50%; */
+
     margin-left: -488px;
-
     margin-left: auto;
+
-
     margin-right: auto;
+
-
 
+
-
}
+
-
 
+
-
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
+
-
    background-color: #383838;
+
-
    height: 14px;
+
     display: block;
     display: block;
-
    z-index: 10;
 
-
    position: fixed;
 
-
    width: 100%;
 
-
    top: 0;
 
}
}
#menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
#menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
-
     color: #727272;  
+
     color: #fff;  
     text-decoration: none;  
     text-decoration: none;  
     background-color: transparent;
     background-color: transparent;
Line 62: Line 50:
     height: 100%;
     height: 100%;
     background-color: white;
     background-color: white;
-
     font-size: 12px;
+
     font-size: 14px;
 +
    font-color: #161616;
}
}
-
a.anchor{
 
-
    display: block;
 
-
    position: relative;
 
-
    top: -80px;
 
-
    visibility: hidden;
 
-
}
 
-
h2 {
 
-
    font-size: 20px;
 
-
}
 
-
 
-
.tableofcontents{
 
-
    border: 1px solid #898989;
 
-
    background-color: #f5f5f5;
 
-
    display: inline-block;
 
-
    padding: 5px;
 
-
    margin: 25px;
 
-
}
 
-
 
-
table, th, td {
 
-
    border: 1px solid black;
 
-
    border-collapse: collapse;
 
-
}
 
-
 
-
th, td {
 
-
    padding: 5px;
 
-
    text-align: left;
 
-
}
 
-
 
-
caption {
 
-
    text-align:left;
 
-
}
 
Line 110: Line 68:
     background-color: transparent;  
     background-color: transparent;  
     margin-top: 0px;  
     margin-top: 0px;  
 +
}
 +
 +
/* unvisited link */
 +
a:link {
 +
    color: #0101DF;
 +
}
 +
 +
/* visited link */
 +
a:visited {
 +
    color: #0101DF;
 +
}
 +
 +
/* mouse over link */
 +
a:hover {
 +
    color: #0101DF
 +
    font-style: oblique;
}
}
Line 117: Line 91:
}
}
-
a.anchor{display: block; position: relative; top: -80px; visibility: hidden;}
+
a.anchor{
-
 
+
    display: block;  
-
h2 {
+
    position: relative;  
-
     padding-top: 20px;
+
     top: -80px;  
-
    font-size: xx-large;
+
     visibility: hidden;
-
     line-height: normal;
+
}
}
 +
#main {
#main {
Line 138: Line 112:
     width: 960px;
     width: 960px;
}
}
-
   
+
 
 +
body {
 +
    font-family: "Calibri";   
 +
}
 +
h2 {
 +
    font-size: 2.0em;
 +
}
 +
h3 {
 +
    font-size: 1.5em;
 +
}
 +
h4 {
 +
    font-size: 1.3em;
 +
}
 +
p {
 +
    font-size: 0.9em;
 +
}
 +
 
 +
li {
 +
    font-size: 16px;
 +
}
 +
 
 +
caption {
 +
    font-size: 0.8em;
 +
    font-style: italic;
 +
    text-align:left;
 +
}
 +
figcaption {
 +
    font-size: 0.8em;
 +
    font-style: italic;
 +
    text-align:left;
 +
}
 +
 
 +
.hidden{
 +
display:none !important;
 +
}
 +
 
 +
 
 +
.tableofcontents{
 +
  border-width: 1px;
 +
  border-style: solid;
 +
  border-color: #878787;
 +
  background-color: #F2F1F1;
 +
  display: inline-block;
 +
  align="left";
 +
  padding: 15px;
 +
  margin: 25px;
 +
}
 +
table, th, td {
 +
    border: 1px solid black;
 +
    border-collapse: collapse;
 +
}
 +
th, td {
 +
    padding: 5px;
 +
    text-align: left;
 +
}
 +
 
 +
.moduleImage {
 +
    float: left;
 +
    margin-left: 20px;
 +
    margin-bottom: 20px;   
 +
}
 +
 
 +
.landmine {
 +
    width: 463px;
 +
    height: 351px;
 +
}
 +
 
 +
 
 +
.electrontransport {
 +
    width: 386px;
 +
    height: 372px;
 +
}
 +
 
 +
.curli {
 +
    width: 401px;
 +
    height: 304px;
 +
}
/*---HEADER SYTLING---------*/
/*---HEADER SYTLING---------*/
Line 144: Line 194:
#header {
#header {
     height: 90px;
     height: 90px;
-
     background-image: url('https://static.igem.org/mediawiki/2014/4/47/Delft2014_Igem_banner.png' );
+
     background-image: url('https://static.igem.org/mediawiki/2014/8/83/TUDELFT2014_banner_new.png');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: 0 0;
     background-position: 0 0;
Line 155: Line 205:
     height:140px;
     height:140px;
     left: 87.5%;
     left: 87.5%;
-
     z-index: 10;
+
     z-index: 510;
}
}
Line 188: Line 238:
#bottom-section{
#bottom-section{
     background-color: #DCFFDC;
     background-color: #DCFFDC;
-
     border: 0 none;
+
     border-top: 8px solid #54beaa;
-
    z-index: 100;
+
     margin-top: 30px;
-
/*  position: fixed; */
+
     padding: 10px;
-
    width: 100%;  
+
     font-size: 14px;
-
     margin-top: 40px;
+
     margin-bottom: 0;
-
     padding-top: 20px;
+
-
     padding-bottom: 20px;
+
-
     text-align: center;
+
-
    font-size: 12px;
+
}
}
/*___________________________________________________*/
/*___________________________________________________*/
/*--- Main Menu Styles -------------------*/
/*--- Main Menu Styles -------------------*/
 +
#nav {
 +
    background-color: #dcffdc;
 +
    width: 960px;
 +
    margin-bottom: 20px;
 +
}
#nav ul {
#nav ul {
Line 206: Line 257:
     padding: 0;
     padding: 0;
     list-style: none;
     list-style: none;
-
     font: normal 15px Arial, sans-serif;
+
     font: normal 17px Arial, sans-serif;
-
     color: #333;
+
     color: #383838;
 +
    z-index: 500;
}
}
 +
#nav ul li {
#nav ul li {
     display: block;
     display: block;
Line 214: Line 267:
     float: left;
     float: left;
}
}
 +
#nav li ul {
#nav li ul {
     display: none;
     display: none;
-
}
 
-
#nav ul li a {
 
-
    display: block;
 
-
    text-decoration: none;
 
-
    color: #ffffff;
 
-
    border-top: 1px solid #ffffff;
 
-
    padding: 5px 15px 5px 15px;
 
-
    background: #dcffdc;
 
-
    margin-left: 1px;
 
-
    white-space: nowrap;
 
-
    width: 120px;
 
-
}
 
-
 
-
#nav > ul li:first-child a {
 
-
    width: auto;
 
-
    padding-top: 4px;
 
-
    padding-bottom: 3px;
 
-
}
 
-
 
-
#nav ul li a:hover {
 
-
background: #3b3b3b;
 
}
}
Line 244: Line 277:
}
}
-
#nav ul li:hover li {
+
#nav li.main-menu {
-
     float: none;
+
     height: 30px;
-
     font-size: 11px;
+
     border: none;
}
}
-
#nav ul li:hover a { background: #3b3b3b; }
 
-
#nav ul li:hover li a:hover {
+
#nav li.main-menu:hover > a {
-
     background: #1e7c9a;
+
     background-color: #fff;
 +
    border-left: 8px solid #54beaa;
 +
    border-right: 8px solid #54beaa;
}
}
-
/*___________________________________________________*/
+
#nav li.main-menu > a {
-
/*--- Main Menu Styles -------------------*/
+
-
/*#mega-menu-1 {
+
-
    font: normal 15px Arial, sans-serif;
+
-
    list-style: none;
+
-
    position: relative;
+
-
    padding: 0;
+
-
    margin: 0;
+
-
}
+
-
 
+
-
#mega-menu-1 li ul, #mega-menu-1 .sub {
+
-
    display: none;
+
-
}
+
-
 
+
-
#mega-menu-1 .sub ul {
+
     display: block;
     display: block;
-
}
+
    text-decoration: none;
-
 
+
    padding: 6px 15px 3px 15px;
-
#mega-menu-1 {
+
     background: #dcffdc;
     background: #dcffdc;
-
     width: 100%;
+
    margin-left: 1px;
-
     height: 40px;
+
    white-space: nowrap;
-
     position: relative;
+
     width: auto;
 +
    color: #383838;
 +
     height: 22px;
 +
    border-left: 8px solid #dcffdc;  
 +
     border-right: 8px solid #dcffdc;  
}
}
-
#mega-menu-1 li {
+
#nav li.icon {
-
     float: left;
+
     width: 30px;
-
     margin: 0;
+
     padding-top: 4px;
-
     padding: 0;
+
     padding-bottom: 3px;
-
     font-weight: bold;
+
     padding-left: 10px;
}
}
-
#mega-menu-1 li a {
+
#nav li.sub-menu a {
-
    background: none repeat scroll 0 0 #dcffdc;
+
-
    color: #333;
+
     display: block;
     display: block;
-
     float: left;
+
     width: 260px;
-
     height: 28px;
+
     height: auto;
-
     padding-top: 12px;
+
     padding: 4px;
-
     text-align: center;
+
    background-color: white;
-
     text-decoration: none;
+
     float: none;   
-
     width: 150px;
+
    margin-bottom: -2px;
 +
     margin-left: 1px;
 +
     border-left: 8px solid #dcffdc;   
 +
    border-right: 8px solid #dcffdc; 
 +
    color: #383838;
}
}
-
#mega-menu-1 li:first-child a {
+
#nav li.sub-menu:last-child a {
-
     width: 40px;
+
     border-bottom: 8px solid #dcffdc;  
-
    padding-top: 8px;
+
-
    height: 32px;
+
}
}
-
#mega-menu-1 li.mega-hover a, #mega-menu-1 li a:hover {
+
#nav li.sub-menu .link {
-
    background: #CCC;
+
-
    color: #333;
+
-
}
+
-
 
+
-
#mega-menu-1 li .sub-container {
+
-
    position: absolute;
+
-
}
+
-
 
+
-
#mega-menu-1 li .sub {
+
-
    background: #efefef;
+
-
    padding: 15px;
+
-
    border: 1px solid #ccc;
+
-
}
+
-
 
+
-
#mega-menu-1 li .sub .row {
+
-
    width: 100%;
+
-
    overflow: hidden;
+
-
    clear: both;
+
-
}
+
-
 
+
-
#mega-menu-1 li .sub li {
+
-
    list-style: none;
+
-
    float: none;
+
-
    width: 170px;
+
-
    font-size: 1em;
+
-
    font-weight: normal;
+
-
}
+
-
 
+
-
#mega-menu-1 li .sub li.mega-hdr {
+
-
    margin: 0 10px 10px 0;
+
-
    float: left;
+
-
}
+
-
 
+
-
#mega-menu-1 li .sub li.mega-hdr.last {
+
-
    margin-right: 0;
+
-
}
+
-
 
+
-
#mega-menu-1 li .sub a {
+
-
    background: none;
+
-
    color: #111;
+
-
    padding: 7px 10px;
+
-
    display: block;
+
-
    float: none;
+
-
    font-size: 0.9em;
+
-
}
+
-
 
+
-
#mega-menu-1 li .sub li.mega-hdr a.mega-hdr-a {
+
-
    padding: 5px 15px;
+
-
    margin-bottom: 5px;
+
-
    background: #6B6B6B;
+
-
    text-transform: uppercase;
+
     font-weight: bold;
     font-weight: bold;
-
     color: #fff;
+
     font-size: 16px;
}
}
-
#mega-menu-1 li .sub li.mega-hdr a.mega-hdr-a:hover {
+
#nav li.sub-menu p {
-
     color: #000;
+
     font-size: 12px;
}
}
-
#mega-menu-1 .sub li.mega-hdr li a {
+
#nav li.sub-menu a:hover {
-
     padding: 4px 5px;
+
     cursor: pointer;
-
     font-weight: normal;
+
    background-color: #dcffdc;
 +
    border-left: 8px solid #54beaa;
 +
    border-right: 8px solid #54beaa;
 +
     text-decoration: none;
}
}
-
#mega-menu-1 .sub li.mega-hdr li a:hover {
+
#nav li.sub-menu:last-child a:hover {
-
     color: #a32403;
+
     border-bottom: 8px solid #54beaa;  
-
    background: #efefef;
+
}
}
-
#mega-menu-1 .sub ul li {
+
#nav li.sub-menu a:hover .link {
-
     padding-right: 0;
+
     text-decoration: underline;
}
}
-
#mega-menu-1 li .sub-container.non-mega .sub {
+
#nav li.sub-menu a:hover .desc {
-
     padding: 10px;
+
     text-decoration: none;
}
}
-
 
-
#mega-menu-1 li .sub-container.non-mega li {
 
-
    padding: 0;
 
-
    width: 190px;
 
-
    margin: 0;
 
-
}
 
-
 
-
#mega-menu-1 li .sub-container.non-mega li a {
 
-
    padding: 7px 5px 7px 22px;
 
-
}
 
-
 
-
#mega-menu-1 li .sub-container.non-mega li a:hover {
 
-
    color: #a32403;
 
-
    background: #efefef;
 
-
}*/
 
</style>
</style>
</html>
</html>

Latest revision as of 18:00, 17 October 2014