backtotop button

This commit is contained in:
Ruud committed 2012-01-22 00:11:03 +01:00
1 parent ddc05ea813
commit 08889d3241
2 files changed
+48 -2

No files matched your search

+22
View File
@@ -178,6 +178,8 @@ body > .spinner, .mask{
.header .navigation {
display: inline-block;
width: 75%;
}
.header .navigation ul {
margin: 0;
padding: 0;
}
@@ -218,6 +220,26 @@ body > .spinner, .mask{
.header .navigation li a:hover, .header .navigation li a:active {
color: #b1d8dc;
}
.header .navigation .backtotop {
opacity: 0;
display: block;
width: 80px;
left: 50%;
position: absolute;
text-align: center;
margin: -10px 0 0 -40px;
background: #4e5969;
padding: 5px 0;
border-radius: 0 0 5px 5px;
-moz-border-radius: 0 0 5px 5px;
-webkit-border-radius: 0 0 5px 5px;
color: rgba(255,255,255,.4);
text-shadow: none;
font-weight: normal;
}
.header:hover .navigation .backtotop { color: #fff; }
.header .message.update {
text-align: center;