diff options
author | Jonas Kohl | 2024-07-20 19:10:39 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-07-20 19:10:39 +0200 |
commit | 67ce217d66c99e4b3b3221703aa3b45e3323676f (patch) | |
tree | 957e618113de9769f356fb693192258334a64964 | |
parent | d2b319798d5d0f72a37929836b1d711e5e6fa513 (diff) |
Mobile adjustments
-rw-r--r-- | src/static/style.css | 2 | ||||
-rw-r--r-- | src/template.php | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/static/style.css b/src/static/style.css index ff40db7..054fb85 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -1,6 +1,8 @@ body { background: #05456a url("background.jpg") top center no-repeat; font: 10pt Verdana; + -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; } h1 { padding-bottom: 2px; diff --git a/src/template.php b/src/template.php index 6e2ad0c..a4bcca1 100644 --- a/src/template.php +++ b/src/template.php @@ -3,6 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> + <meta name="viewport" content="initial-scale=1,shrink-to-fit=yes"> <title><?= htmlentities($title) ?></title> <link rel="stylesheet" href="/static/style.css" type="text/css" /> </head> |