diff options
| -rw-r--r-- | www/browse.php | 2 | ||||
| -rwxr-xr-x | www/static/invite.css | 6 | ||||
| -rwxr-xr-x | www/static/login.css | 6 | ||||
| -rwxr-xr-x | www/static/register.css | 7 | ||||
| -rwxr-xr-x | www/static/style.css | 17 |
5 files changed, 14 insertions, 24 deletions
diff --git a/www/browse.php b/www/browse.php index a2a33d6..433c980 100644 --- a/www/browse.php +++ b/www/browse.php @@ -24,7 +24,7 @@ function get_icon($file){ } function get_link($file){ - return '<a href="/'.$_GET["name"].$_GET["folder"].$file[3].'/">'; + return '<a href="'.$file[3].'/">'; } function get_item($file){ diff --git a/www/static/invite.css b/www/static/invite.css index 7ea92a3..5c95ed5 100755 --- a/www/static/invite.css +++ b/www/static/invite.css @@ -4,11 +4,11 @@ div.invite-area{ height: 200px; width: 400px; - position: relative; + position: fixed; top: 50%; margin-top: -100px; - margin-left: auto; - margin-right: auto; + left: 50%; + margin-left: -200px; border: 1px solid #1F3D4C; padding: 10px; } diff --git a/www/static/login.css b/www/static/login.css index 2685b4c..266c209 100755 --- a/www/static/login.css +++ b/www/static/login.css @@ -4,11 +4,11 @@ div.login-area{ height: 230px; width: 400px; - position: relative; + position: fixed; top: 50%; + left: 50%; margin-top: -115px; - margin-left: auto; - margin-right: auto; + margin-left: -200px; border: 1px solid #1F3D4C; padding: 10px; } diff --git a/www/static/register.css b/www/static/register.css index 40034d2..8efa8f3 100755 --- a/www/static/register.css +++ b/www/static/register.css @@ -4,11 +4,11 @@ div.register-area{ height: 400px; width: 400px; - position: relative; + position: fixed; top: 50%; + left: 50%; margin-top: -200px; - margin-left: auto; - margin-right: auto; + margin-left: -200px; border: 1px solid #1F3D4C; padding: 10px; } @@ -29,7 +29,6 @@ h1.register-area{ margin:0; position: static; border: none; -/* border: 1px solid blue;*/ } #register-error{ diff --git a/www/static/style.css b/www/static/style.css index d7be5a2..cb60394 100755 --- a/www/static/style.css +++ b/www/static/style.css @@ -38,7 +38,6 @@ a.logo{ background-size:66px 66px; background-color:#3083D6; background-position: center; - position: absolute; z-index: 99; } @@ -61,26 +60,17 @@ a.logo:hover{ Page-Wrap for sticky footer *************************************************************/ #page-wrap{ - margin-bottom: -25px; width: 100%; min-height: 100%; } -#page-wrap:after{ - content: ""; - display: block; - height: 25px; -} - /********************************************************** Content-Area **********************************************************/ #content-area{ - /*height: 100%;*/ width: 100%; - position: absolute; - margin-bottom: 0; - top: 80px; + padding-top: 80px; + padding-bottom: 25px; } @@ -90,9 +80,10 @@ a.logo:hover{ footer{ height: 25px; width: 100%; + position: relative; margin-top: -25px; + clear: both; background-color:#3083D6; - position:relative; } #copyright-text{ |
