summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-27 23:54:08 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-27 23:54:08 +0200
commit89d5f45ef54c7ba3c713b62d4bfd3c63540b1c13 (patch)
tree50e9cfcc1ae92072ef9a3281d10820a2d9609ee4
parentb14e4c570bda72661a672cd74d5cc7649d39c407 (diff)
downloadrommel-in-the-desert-89d5f45ef54c7ba3c713b62d4bfd3c63540b1c13.tar.gz
Mobile friendly info pages.
-rw-r--r--info/rules.html5
-rw-r--r--info/units.html8
2 files changed, 9 insertions, 4 deletions
diff --git a/info/rules.html b/info/rules.html
index 51e8bed..3e7d9de 100644
--- a/info/rules.html
+++ b/info/rules.html
@@ -1,11 +1,12 @@
<!DOCTYPE html>
<html>
<head>
+<meta name="viewport" content="width=1060">
<title>RitD-2.0</title>
<link rel="stylesheet" href="/fonts/fonts.css">
<style>
-body{background-color:slategray}
-div{position:relative;background-color:white;margin:1em auto;box-shadow:1px 1px 8px -2px black}
+body{background-color:slategray;margin:20px}
+div{position:relative;background-color:white;margin:20px auto;box-shadow:1px 1px 8px -2px black}
p{position:absolute;white-space:pre;margin:0}
p{font-size:12.2pt;line-height:1em}
p{font-family:Gentium Basic}
diff --git a/info/units.html b/info/units.html
index 79512a0..c21d556 100644
--- a/info/units.html
+++ b/info/units.html
@@ -1,11 +1,15 @@
<!DOCTYPE html>
+<meta name="viewport" content="width=500">
<title>Rommel in the Desert - Unit Appearance</title>
<link rel="stylesheet" href="/fonts/fonts.css">
<style>
-body {
+html {
background-color: slategray;
+ margin: 40px 20px;
+}
+body {
font-family: "Source Sans";
- margin: 40px auto;
+ margin: 0px auto;
max-width: 736px;
}
.row {