diff --git a/cas_server/static/cas_server/login.css b/cas_server/static/cas_server/login.css index cd81500..b29433d 100644 --- a/cas_server/static/cas_server/login.css +++ b/cas_server/static/cas_server/login.css @@ -4,12 +4,6 @@ body { background-color: #eee; } -/*.form-signin { - max-width: 330px; - padding: 15px; - margin: 0 auto; -} -*/ .form-signin .form-signin-heading, .form-signin .checkbox { margin-bottom: 10px; @@ -47,3 +41,16 @@ body { width:110px; } +@media screen and (max-width: 680px) { + #app-name { + margin: 0px; + } + #app-name img { + display: block; + margin: auto; + } + body { + padding-top: 0px; + padding-bottom: 0px; + } +} diff --git a/cas_server/templates/cas_server/base.html b/cas_server/templates/cas_server/base.html index cb3a93e..574cec6 100644 --- a/cas_server/templates/cas_server/base.html +++ b/cas_server/templates/cas_server/base.html @@ -12,23 +12,21 @@ {% block bootstrap3_content %}