aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2022-04-19 23:28:36 +0200
committerMiquel Lionel <lionelmiquel@sfr.fr>2022-04-19 23:28:36 +0200
commit9315f397791c4bf8f7c7f18f2d9e80aea8ba9f80 (patch)
tree7ef30ebd3ac02319cda499e51ec432069f0c03f0
parentfadae8b786c545a9a6d8eed7f6bbbdc7171e83db (diff)
downloadgpigeon-9315f397791c4bf8f7c7f18f2d9e80aea8ba9f80.tar.gz
gpigeon-9315f397791c4bf8f7c7f18f2d9e80aea8ba9f80.zip
center login box + UI more mobile friendly
-rwxr-xr-xgpigeon-template.cgi2
-rw-r--r--styles.css2
2 files changed, 4 insertions, 0 deletions
diff --git a/gpigeon-template.cgi b/gpigeon-template.cgi
index c0f64fd..03dee0b 100755
--- a/gpigeon-template.cgi
+++ b/gpigeon-template.cgi
@@ -339,6 +339,7 @@ if (ValidCookie($IDCookie, $cookiesDir) or argon2id_verify($argon2idHash,$passwo
<link rel="icon" sizes="48x48" type="image/ico" href="/favicon.ico">
<link rel="stylesheet" type="text/css" href="/styles.css">
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
+ <meta name="viewport" content="width=device-width">
<meta charset="UTF-8">
<title>$textStrings{mainpage_title}</title>
</head>
@@ -399,6 +400,7 @@ else{
<html lang="fr">
<head>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="stylesheet" type="text/css" href="/styles.css">
<title>$textStrings{landingpage_title}</title>
diff --git a/styles.css b/styles.css
index a5e6e0b..9923aa3 100644
--- a/styles.css
+++ b/styles.css
@@ -99,6 +99,8 @@ h1, #msgbelow{
border:none;
}
+#loginbox{margin:0 auto}
+
#authbtn td {
text-align:center;
}