diff --git a/src/main/resources/public/css/main.css b/src/main/resources/public/css/main.css index bbdc26e..e4d55b0 100644 --- a/src/main/resources/public/css/main.css +++ b/src/main/resources/public/css/main.css @@ -1,7 +1,25 @@ -@media (min-width: 1200px) { - .container { - max-width: 970px; - } +html, body { + width: 100%; + height: 100%; +} + +.background { + background-image: url('/img/background.jpg'); + background-repeat: no-repeat; + background-size: cover; + background-position: center; + opacity: 0.1; + height: 100%; + max-height: 768px; + width: 100%; + z-index: -100; + position: absolute; +} + +.body-container { + position: relative; + margin: 0 auto; + min-height: 100%; } .news { @@ -50,6 +68,16 @@ border-radius: 2px; } -footer { +.clearfloat { + clear: both; +} + +.empty { height: 50px; } + +footer { + height: 50px; + position: relative; + margin: -50px auto 0; +} \ No newline at end of file diff --git a/src/main/resources/public/img/background.jpg b/src/main/resources/public/img/background.jpg new file mode 100644 index 0000000..b20f891 Binary files /dev/null and b/src/main/resources/public/img/background.jpg differ diff --git a/src/main/resources/templates/admin.html b/src/main/resources/templates/admin.html index a76d673..f513109 100644 --- a/src/main/resources/templates/admin.html +++ b/src/main/resources/templates/admin.html @@ -1,9 +1,3 @@ - -
diff --git a/src/main/resources/templates/default.html b/src/main/resources/templates/default.html index dfe0b85..95aa604 100644 --- a/src/main/resources/templates/default.html +++ b/src/main/resources/templates/default.html @@ -21,56 +21,63 @@ - +
+
+
+ +
+
+
+
+
-
+ \ No newline at end of file diff --git a/src/main/resources/templates/docs.html b/src/main/resources/templates/docs.html index 4cf0c92..6f4fa6d 100644 --- a/src/main/resources/templates/docs.html +++ b/src/main/resources/templates/docs.html @@ -1,20 +1,14 @@ - -