diff --git a/htdocs/css/sucs.css b/htdocs/css/sucs.css index de09d8b6e3c4ba13585d0f6136587f3e5d579cf4..7b27e5550ff6acf708f4c582be3e3c25d2121184 100644 --- a/htdocs/css/sucs.css +++ b/htdocs/css/sucs.css @@ -7,6 +7,7 @@ body { margin: 0; background: #f2f2f2; min-width: 600px; + height: calc(100vh - 30px); } hr { @@ -38,7 +39,6 @@ a:hover { -------------------------------------------------- */ #branding { - background: url('/images/orangefade.png') repeat-x #ffc62b bottom; clear: both; } @@ -92,6 +92,13 @@ a:hover { border-radius: 0px } +.join-header { + font-size: 30pt; + margin-left: 10px; + text-decoration: none; + color: #ffc62b !important; +} + /* -------------------------------------------------- Breadcrumb -------------------------------------------------- */ @@ -129,36 +136,92 @@ a:hover { -------------------------------------------------- */ #wrapper { - background: #f2f2f2; - min-height: 100%; - margin-top: 10px; + background: #f2f2f2; + min-height: 100%; + margin-top: 10px; } #navigation { - float: left; - width: 17%; - padding-top: 0.5em; - /* overflow: auto; */ + float: left; + width: 300px; + padding-top: 0.5em; } #content { - float: right; - width: 82%; + float: right; + width: calc(100% - 300px); } #primary { - float: left; - width: 66%; - padding: 0; + float: left; + width: calc(100% - 400px); } #primaryC { - padding-right: 0.5em; + padding-left: 20px; + padding-right: 20px; } #secondary { - float: right; - width: 33%; + float: right; + width: 400px; +} + +@media only screen and (max-width: 1080px) { + #wrapper { + margin-top: -5px; + display: flex; + flex-direction: column; + } + + #navigation { + order: 1; + width: 100%; + float: top; + } + + #content { + margin-top: 10px; + order: 2; + float: bottom; + width: 100%; + } + + #primary { + float: none; + width: 100%; + } + + #secondary { + float: none; + width: 100%; + } + + #footer { + height: auto !important; + } + + #branding { + height: auto !important; + } + + #logo { + padding-right: 0; + } + + #title h1 { + margin-top: 20px; + font-size: 12pt; + padding-left: 0; + } + + #breadcrumb li { + display: block; + } + + #loginForm { + padding-top: 1em; + } } /* -------------------------------------------------- @@ -263,15 +326,18 @@ ul#valid { Footer -------------------------------------------------- */ +#footer-fix { + min-height: calc(100% - 16px); +} + #footer { background: #e65c00; - margin-bottom: -20px; + height: 30px; } #footer p { text-align: center; padding-top: 5px; - padding-bottom: 5px; } /* -------------------------------------------------- diff --git a/static/fragments/Join.txt b/static/fragments/Join.txt index 3759360b5de47abfab9cfa99cca63e2bee3e8dc1..57f60db9c4d6fcb9919abdfbeddb4f4d5b683bc1 100644 --- a/static/fragments/Join.txt +++ b/static/fragments/Join.txt @@ -1,6 +1,6 @@
As well as being an excellent way to meet people with similar interests (we have regular social events and we're all really nice), you also get all this great stuff: