Redbasic - clean up nav.

This commit is contained in:
Thomas Willingham 2013-09-06 01:29:18 +01:00
parent 3b697957af
commit 37c9686107
2 changed files with 5 additions and 64 deletions

View File

@ -1,7 +1,10 @@
nav { nav {
height: 94px; height: 24px;
display: block; display: block;
position: fixed;
width: 100%;
z-index: 100;
} }
aside { aside {

View File

@ -167,13 +167,6 @@ blockquote {
/* nav */
nav {
display: block;
}
#langselector { #langselector {
position: fixed; position: fixed;
top: 3px; top: 3px;
@ -3058,61 +3051,6 @@ div.jGrowl div.info {
width: 90%; width: 90%;
} }
/* nav */
nav {
width: 100%;
height: 24px;
position: fixed;
// opacity: 0.6;
// filter:alpha(opacity=60);
left: 0px;
top: 0px;
padding: 0px;
background-color: #d00;
color: #eec;
z-index: 100;
/* -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); */
/* TODO find a better way to do this without different code for every single browser. */
background-image: linear-gradient(bottom, #f88 26%, #b00 82%);
background-image: -o-linear-gradient(bottom, #f88 26%, #b00 82%);
background-image: -moz-linear-gradient(bottom, #f88 26%, #b00 82%);
background-image: -webkit-linear-gradient(bottom, #f88 26%, #b00 82%);
background-image: -ms-linear-gradient(bottom, #f88 26%, #b00 82%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.26, #f88),
color-stop(0.82, #b00)
);
}
/*
nav:hover {
background-image: linear-gradient(bottom, #f00 26%, #b00 82%);
background-image: -o-linear-gradient(bottom, #f00 26%, #b00 82%);
background-image: -moz-linear-gradient(bottom, #f00 26%, #b00 82%);
background-image: -webkit-linear-gradient(bottom, #f00 26%, #b00 82%);
background-image: -ms-linear-gradient(bottom, #f00 26%, #b00 82%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.26, #f00),
color-stop(0.82, #b00)
);
}
*/
nav a, nav a,
nav a:active, nav a:active,
@ -3608,4 +3546,4 @@ margin: 20px;
.pmenu li { .pmenu li {
margin-left: -20px; margin-left: -20px;
} }