summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-01-09 07:05:41 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-01-09 07:05:41 +0100
commitfaf4bc708527d94fadbc4475809c95ddeb26ec34 (patch)
treec754501d7148ee1b8d11f150ef4f39b112f58ad5
parent9d6821cf5ce3a5df842b726972638ca5e77522d2 (diff)
downloadnickel-bet-client-faf4bc708527d94fadbc4475809c95ddeb26ec34.zip
nickel-bet-client-faf4bc708527d94fadbc4475809c95ddeb26ec34.tar.bz2
...
-rw-r--r--src/css/src/global.scss45
-rw-r--r--www/index.html1
2 files changed, 36 insertions, 10 deletions
diff --git a/src/css/src/global.scss b/src/css/src/global.scss
index 03339bd..a74b211 100644
--- a/src/css/src/global.scss
+++ b/src/css/src/global.scss
@@ -1,15 +1,40 @@
-.global_header
+*
+{
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+}
+
+body, html
{
+ background-color: white;
+ position: absolute;
top: 0;
- left: 0;
+ bottom: 0;
right: 0;
- width: 100%;
+ left: 0;
+}
+
+.global_header
+{
+ position: absolute;
+ top: 1em;
+ left: 1em;
+ right: 1em;
height: 5em;
- background-color: white;
- background-image:
- url(/asset/svg/header_top_left.svg),
- url(/asset/svg/header_top_left.svg);
- background-position:
- left top,
- right bottom;
+ background-image: url(/asset/svg/header_top_left.svg);
+ background-position: left top;
+ background-repeat: no-repeat;
+}
+
+.global_footer
+{
+ position: absolute;
+ bottom: 1em;
+ left: 1em;
+ right: 1em;
+ height: 5em;
+ background-image: url(/asset/svg/header_top_right.svg);
+ background-position: right bottom;
+ background-repeat: no-repeat;
}
diff --git a/www/index.html b/www/index.html
index 1e88403..f1afc6e 100644
--- a/www/index.html
+++ b/www/index.html
@@ -11,5 +11,6 @@
</head>
<body>
<div class="global_header"></div>
+ <div class="global_footer"></div>
</body>
</html>