Difference between revisions of "Team:WHU-China-header"

Line 8: Line 8:
 
#contentSub, #contentcontainer, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .h3, .printfooter, .firstHeading, .visualClear {display: none;} /*-- hides default wiki settings --*/
 
#contentSub, #contentcontainer, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .h3, .printfooter, .firstHeading, .visualClear {display: none;} /*-- hides default wiki settings --*/
  
.topWikiNavBackground {
 
    height:18px;
 
    margin-top: -32px;
 
    background-color:transparent;
 
}
 
  
.headerimage {
 
position: relative;
 
top:26px;
 
margin: auto;
 
width: 100%;
 
height: 100%;
 
 
}
 
 
#globalWrapper, #content { /*-- changes default wiki settings --*/
 
width: 100%;
 
height: 100%;
 
border: 0px;
 
background-color: transparent;
 
margin: 0px;
 
padding: 0px;
 
}
 
 
/*Title fonts*/
 
#title, .subtitle{
 
margin: 40px;
 
text-align: center;
 
font-family: 'Permanent Marker', cursive;
 
color: white;
 
}
 
 
.subtitle{
 
font-size: 30px;
 
}
 
 
#title{
 
font-size: 40px;
 
}
 
 
/*Text font for regular paragraph text on all pages*/
 
.text{
 
font-size: 15px;
 
font-family: 'Cantarell', sans-serif;
 
}
 
 
html, body, .wrapper { /*-- changes default wiki settings --*/
 
width: 100%;
 
height: 100%;
 
background-color: transparent;
 
}
 
 
body{
 
        background-color: black
 
}
 
 
.navmenu {
 
position:fixed;
 
top:16px;
 
left:0;
 
right:0;
 
background:black;
 
        z-index : 100;
 
        height : 50px;
 
        align : center;
 
}
 
#mainLogo {
 
}
 
#navmenubox {
 
padding:0;
 
margin-left:0;
 
margin-right:0;
 
width:100%;
 
height:45px;
 
}
 
.sidelogos {
 
float:left;
 
display:block;
 
margin-left:auto;
 
height:100%;
 
width:auto;
 
top : 0;
 
}
 
#logos{
 
float:right;
 
}
 
#home {
 
    width : 40px;
 
    top : 0;
 
}
 
#mainpage {
 
    float : left;
 
    margin-left : 50px;
 
    margin-top : 7px;
 
}
 
#facebookicon{
 
margin-right: 0.75em;
 
width:1.9em;
 
}
 
#twittericon{
 
width:2.375em;
 
margin-right:auto;
 
}
 
#igemlogo img{ 
 
width:2.3em;
 
    position: relative;
 
background-color: white;
 
}
 
#igemlogo:hover img {
 
background-color:rgb(0,153,102);
 
}
 
#twittericon img, #facebookicon img, #igemlogo img{
 
margin-top:8px;
 
margin-bottom:2px;
 
}
 
#twitapp, #fbapp {
 
display:none;
 
width:250px;
 
height:auto;
 
}
 
#fbapp{
 
margin-left:-149px;
 
}
 
#twitapp{
 
margin-left:-111px;
 
}
 
#nav, #nav ul{
 
padding:0;
 
margin:0;
 
list-style:none;
 
    text-align : center;
 
}
 
#nav li{
 
font-family:'Permanent Marker', cursive;
 
display:inline-block;
 
color: white;
 
position:relative;
 
top : 12px;
 
font-size : 16px;
 
height : 40px;
 
    vertical-align : middle;
 
    padding : 0;
 
    margin : 0;
 
}
 
#nav li ul{
 
    vertical-align : bottom;
 
}
 
#nav li ul li {
 
font-family: 'Cantarell', sans-serif;
 
    height : 60px;
 
    vertical-align : top;
 
    width : 170px;
 
    background : rgba(0,0,0,0.65);
 
    padding : 15px 0;
 
    color : rgb(0,0,0);
 
    border-bottom: 1px solid rgba(255,255,255,.2);
 
    display: block;
 
}
 
#nav ul{
 
    display : block;
 
    width : 125px;
 
max-height:0px;
 
left: 0;
 
right: 0;
 
visibility:hidden;
 
-moz-transition: .0s all .0s;
 
-webkit-transition: .0s all .0s;
 
transition: .0s all .0s;
 
}
 
#nav li:hover ul{
 
visibility: visible;
 
overflow: visible;
 
max-height:30em;
 
}
 
#nav a{
 
text-decoration:none;
 
display:block;
 
font-weight : bold;
 
color : white;
 
vertical-align : middle;
 
}
 
#nav li:hover a {
 
        color : #ccff00;
 
}
 
#nav li:hover ul .liste {
 
        color : white;
 
}
 
#nav li ul li .liste:hover {
 
    color : #ccff00;
 
}
 
.side-by-side{
 
display: inline;
 
}
 
#nav li ul div{
 
display: inline;
 
}
 
 
</style>
 
</style>

Revision as of 14:26, 5 September 2015