Team:Imperial/Templates:custom css
From 2014.igem.org
(Difference between revisions)
Line 82: | Line 82: | ||
/* Header */ | /* Header */ | ||
- | . | + | .header img { |
- | + | float: left; | |
+ | width: 100px; | ||
+ | height: 100px; | ||
+ | background: #555; | ||
+ | } | ||
+ | |||
+ | .header h1 { | ||
+ | position: relative; | ||
+ | top: 18px; | ||
+ | left: 10px; | ||
} | } |
Revision as of 10:25, 22 July 2014
/* ---------------- WikiMedia Elements / Page Structure---------------- */
- content { border: none; }
/* HIDE Search Controls Page title, footerbox */
- p-logo,
- search-controls,
- footer-box,
.firstHeading {
display: none;
}
- top-section { /*styling for default menu bar*/
background-color: rgba(128, 85, 0, 0.1); border: none; height:20px; margin-top: 0; margin-bottom: 20px; -webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease;
}
- top-section:hover { /*changes menu bar colour on hove*/
background: #805500;
}
- menubar { /* Edit menubar link styles */
top: 0 !important; font-size: 0.7em;
}
- menubar li,
- menubar li a:link {
text-transform: uppercase;
}
- top-section:hover #menubar li a { /* Highlight with background colour on hover */
color: #FFF;
}
- menubar li a:link,
- menubar li a:visited {
color: #DDD; background-color: transparent;
}
- menubar li a:hover,
- menubar li a:focus {
color: #805500; text-decoration: none;
}
/* Edit */
- menubar.left-menu{
}
- menubar.left-menu:hover {
background-color: transparent;
}
/* User */
- menubar.right-menu {
}
/* ? */
- catlinks {
border:none; background: #ffffff;
} /* Header */
.header img {
float: left; width: 100px; height: 100px; background: #555;
}
.header h1 {
position: relative; top: 18px; left: 10px;
}