summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-04-11 17:18:44 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-04-11 17:18:44 +0200
commitaf93e3b745d3f67b448f5e3f629e581eda15cd11 (patch)
treed7c6df91b27c153c7586ffa907aa70ce72846741
parent8c74fe4f8a9cab320170685ab58f678d75f32747 (diff)
More small cosmetic improvements
-rw-r--r--src/global/www/style.css20
-rw-r--r--www/index.html.m429
2 files changed, 36 insertions, 13 deletions
diff --git a/src/global/www/style.css b/src/global/www/style.css
index b19f6d2..a345650 100644
--- a/src/global/www/style.css
+++ b/src/global/www/style.css
@@ -46,7 +46,11 @@ html, body, .fullscreen-module
left: 0;
margin: 0;
padding: 0;
- display: flex;
+}
+
+.fullscreen-module
+{
+ display:flex;
}
.clickable
@@ -54,3 +58,17 @@ html, body, .fullscreen-module
cursor: pointer;
touch-action: manipulation;
}
+
+.popup-message
+{
+ display: inline-block;
+ text-align: justify;
+ padding: 2em 2em 1em 2em;
+ margin: 1em;
+
+ border: 1px solid #502D16;
+ border-left-width: 4px;
+
+ max-width: 80em;
+ min-width: 40em;
+}
diff --git a/www/index.html.m4 b/www/index.html.m4
index c396fef..881fa83 100644
--- a/www/index.html.m4
+++ b/www/index.html.m4
@@ -6,19 +6,24 @@
<meta name="description" content="Server for the (yet unnamed) open source turn-based tactics MMO.">
<meta name="keywords" content="MMO,TBT,TTB,turn based,browser game">
<meta name="author" content="__CONF_AUTHOR_NAME">
+ <link rel="stylesheet" type="text/css" href="/global/style.css">
</head>
<body>
- <h1>__CONF_SERVER_NAME</h1>
- <h3>Currently running: Latest Dev. Build</h3>
- <p>This website lets you play the game even during its development phase. As a result, there is a lot missing.</p>
- <p>
- Having accounts at that stage would needlessly slow us down, so access to
- <a href="/battlemap/">the game's battle system</a> is done without login in.
- </p>
- <p>You can access the source code for the game this website is running, under the Apache 2.0 License:</p>
- <ul>
- <li><a href="https://noot-noot.org/cgit.cgi/tacticians-client/">Source code for the front-end</a></li>
- <li><a href="https://noot-noot.org/cgit.cgi/tacticians-server/">Source code for the back-end</a></li>
- </ul>
+ <div style="margin: 1em;">
+ <h1>__CONF_SERVER_NAME</h1>
+ <h3>Currently running: Latest Dev. Build</h3>
+ </div>
+ <div class="popup-message">
+ <p>This website lets you play the game, even during its development phase. As a result, there is a lot missing.</p>
+ <p>
+ Having accounts at that stage would needlessly slow us down, so access to
+ <a href="/battlemap/">the game's battle system</a> is done without login in.
+ </p>
+ <p>You can access the source code for the game this website is running, under the Apache 2.0 License:</p>
+ <ul>
+ <li><a href="https://noot-noot.org/cgit.cgi/tacticians-client/">Source code for the front-end</a></li>
+ <li><a href="https://noot-noot.org/cgit.cgi/tacticians-server/">Source code for the back-end</a></li>
+ </ul>
+ </div>
</body>
</html>