From 4b3f2aff171313893c944381f102972558b35e22 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 20 Aug 2024 23:21:41 +0200 Subject: Set mobile viewport on docs. --- public/docs/architecture.html | 1 + public/docs/database.html | 1 + public/docs/index.html | 1 + public/docs/install.html | 5 ++++- public/docs/module.html | 12 +++++++++--- public/docs/production.html | 1 + public/docs/style.css | 4 ++-- public/docs/tips.html | 1 + 8 files changed, 20 insertions(+), 6 deletions(-) diff --git a/public/docs/architecture.html b/public/docs/architecture.html index 9b0aada..4b22f8f 100644 --- a/public/docs/architecture.html +++ b/public/docs/architecture.html @@ -1,4 +1,5 @@ + Architecture Overview diff --git a/public/docs/database.html b/public/docs/database.html index f4ec4c2..27ae6d9 100644 --- a/public/docs/database.html +++ b/public/docs/database.html @@ -1,4 +1,5 @@ + Database Overview diff --git a/public/docs/index.html b/public/docs/index.html index 87dd954..f983b89 100644 --- a/public/docs/index.html +++ b/public/docs/index.html @@ -1,4 +1,5 @@ + Documentation diff --git a/public/docs/install.html b/public/docs/install.html index 1b227ba..0537a82 100644 --- a/public/docs/install.html +++ b/public/docs/install.html @@ -1,4 +1,5 @@ + RTT: Getting Started @@ -56,7 +57,9 @@ They also need to be registered in the database. Check out a game module:
-git clone https://git.rally-the-troops.com/modules/field-cloth-gold public/field-cloth-gold
+git clone \
+	https://git.rally-the-troops.com/modules/field-cloth-gold
+	public/field-cloth-gold
 

diff --git a/public/docs/module.html b/public/docs/module.html index c75020f..a3a4483 100644 --- a/public/docs/module.html +++ b/public/docs/module.html @@ -1,4 +1,5 @@ + Module Overview @@ -69,8 +70,9 @@ The game landing page on the server has a bit of text introducing the game, and

<p> -Dolorum fugiat dolor temporibus. Debitis ea non illo sed debitis cupiditate -ipsum illo. Eos eos molestias illo quisquam dicta. +Dolorum fugiat dolor temporibus. Debitis ea non illo sed +debitis cupiditate ipsum illo. Eos eos molestias illo +quisquam dicta. <ul> <li> <a href="info/rules.html">Rules</a> @@ -119,7 +121,11 @@ The game needs a play.html file using the following template: <!doctype html> <html lang="en"> <head> - <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, interactive-widget=resizes-content, viewport-fit=cover"> + <meta name="viewport" content="width=device-width, + height=device-height, + user-scalable=no, + interactive-widget=resizes-content, + viewport-fit=cover"> <meta name="theme-color" content="#444"> <meta charset="UTF-8"> <title> diff --git a/public/docs/production.html b/public/docs/production.html index 2cb82a0..e737bb6 100644 --- a/public/docs/production.html +++ b/public/docs/production.html @@ -1,4 +1,5 @@ <!doctype html> +<meta name="viewport" content="width=device-width"> <title>Public Server</title> <link rel="stylesheet" href="style.css"> <body> diff --git a/public/docs/style.css b/public/docs/style.css index 845f9e3..c387442 100644 --- a/public/docs/style.css +++ b/public/docs/style.css @@ -3,10 +3,10 @@ xmp, pre { background-color: #fafafa; } xmp, pre { border: 1px solid gray; } h1, h2, h3 { color: brown; } -xmp, pre { white-space: pre-wrap; } +pre.wrap, xmp.wrap { white-space: pre-wrap } html { margin: 0; padding: 0; line-height: 1.5; } -body { padding: 1rem 2rem; margin: 0 auto; max-width: 45rem; } +body { padding: 0rem 1rem; margin: 0 auto; max-width: 45rem; } xmp, pre { min-width: fit-content; } h1, h2, h3 { margin: 2rem 0 1rem 0; padding: 0; font-weight: normal; font-family: sans-serif; } h1 { font-size: 1.8rem; } diff --git a/public/docs/tips.html b/public/docs/tips.html index 8e331c7..518ebe5 100644 --- a/public/docs/tips.html +++ b/public/docs/tips.html @@ -1,4 +1,5 @@ <!doctype html> +<meta name="viewport" content="width=device-width"> <title>Tips &amp; Tricks</title> <link rel="stylesheet" href="style.css"> <style> -- cgit v1.2.3