Team:UNITN-Trento/CSS/Subs/Header

From 2013.igem.org

(Difference between revisions)
(tn-menu-wrap to tn-menu)
Line 40: Line 40:
opacity: 0.8;
opacity: 0.8;
-
padding-top: 0.2em;
+
margin-top: 0.2em;
 +
 
 +
height: 30px;
}
}
Line 56: Line 58:
display: none;
display: none;
-
padding: 0;
+
padding: 0; margin: 0;
background: none;
background: none;
Line 64: Line 66:
display: block;
display: block;
width: 150px;
width: 150px;
 +
padding: 0; margin: 0;
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-family: "Trebuchet MS", Helvetica, sans-serif;

Revision as of 09:26, 8 July 2013

  1. tn-header {

min-height: 210px;

background-color: #038c7e; border-bottom: 10px solid #bf1b39;

text-align: center; }

.tn-logo { display: inline-block; }

.tn-logo.tn-side { position: relative; top: -1em;

width: 150px;

margin: 0 2em; }

  1. tn-bfruity-logo {

margin-top: 2em; }

  1. tn-menu {

position: relative; top: -3.1em;

line-height: 30px;

margin: 0 auto;

list-style: none; }

  1. tn-menu > li {

display: inline-table;

opacity: 0.8; margin-top: 0.2em;

height: 30px; }

  1. tn-menu > li:hover {

opacity: 1.0; }

  1. tn-menu > li img {

background: #038c7e; }

  1. tn-menu li > ul {

position: absolute; top: 100%;

display: none; padding: 0; margin: 0;

background: none; }

  1. tn-menu li > ul > li {

display: block; width: 150px; padding: 0; margin: 0;

font-family: "Trebuchet MS", Helvetica, sans-serif; font-variant: small-caps; font-weight: bold;

background-color: #038c7e; color: #f0f2df;

margin: 1px; }

  1. tn-menu li > ul > li a:link, #tn-menu li > ul > li a:hover, #tn-menu li > ul > li a:visited {

color: #f0f2df; text-decoration: none; }

  1. tn-menu li > ul > li:hover {

background-color: #007064; text-shadow: 1px 1px #323232; }