微调GotoTop按钮,防止宽度不够的情况下折行

This commit is contained in:
Argo-Lenovo 2016-12-21 21:20:49 +08:00
parent 18a80c1188
commit 9148ba35f6
1 changed files with 4 additions and 7 deletions

View File

@ -60,32 +60,29 @@ a, a:hover, a:focus {
margin-top: 15px; margin-top: 15px;
text-transform: uppercase; text-transform: uppercase;
} }
/*end title*/
.site-footer { .site-footer {
background: #5b6e84; background: #5b6e84;
color: #fff; color: #fff;
padding: 10px 4px; padding: 10px 4px;
height: 40px; height: 40px;
}
.site-footer {
position: fixed; position: fixed;
left: 0; left: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
z-index: 50; z-index: 50;
white-space: nowrap;
} }
/*end title*/
.go-top { .go-top {
margin-right: 1%;
float: right;
background: rgba(255,255,255,.5); background: rgba(255,255,255,.5);
width: 20px; width: 20px;
height: 20px; height: 20px;
border-radius: 50%; border-radius: 50%;
-webkit-border-radius: 50%; -webkit-border-radius: 50%;
position: absolute;
right: 10px;
} }
.go-top:hover { .go-top:hover {