some other css improvements

This commit is contained in:
2015-07-09 13:58:11 +03:00
parent ba20b38911
commit a6885b2177
2 changed files with 7 additions and 19 deletions

View File

@@ -1,18 +1,3 @@
* {
margin: 0;
}
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
height: 100%;
margin: 0 auto -155px; /* the bottom margin is the negative value of the footer's height */
}
.footer, .push {
height: 155px; /* .push must be the same height as .footer */
}
body {
color: #333;
font-family: Arial,Helvetica,sans-serif;
@@ -39,6 +24,13 @@ button {
padding: 6px;
}
.footer {
position:fixed;
height:30px;
bottom:0px;
margin-bottom:0px;
}
/* New click/hide */
#gallery {position:relative; line-height:20px; width:705px; padding-left:10px; margin-bottom:100px; height:450px;}
#gallery .switch {display:block; cursor:pointer; color:#000; font-weight:normal;}