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

@@ -7,7 +7,6 @@
<script src="/static/click_toggle.js" type="text/javascript"></script>
</head>
<body>
<div class="wrapper">
<h1>Account Administration Panel</h1>
@@ -118,9 +117,6 @@
</div> <!-- /gallery -->
<div class="push"></div>
</div> <!-- /wrapper -->
<div class="footer">
<p style="font-size:small">This web application has been created by <a href="http://mehl.mx">Max Mehl</a><br />
The program can be obtained on <a href="http://src.mehl.mx/uberspace-webadmin.git">Git</a> under a GPLv3+ license.</p>

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;}