diff options
| -rw-r--r-- | public/catalogue.php | 3 | ||||
| -rw-r--r-- | public/index.php | 3 | ||||
| -rw-r--r-- | public/mod.php | 3 | ||||
| -rw-r--r-- | public/report.php | 3 | ||||
| -rw-r--r-- | public/static/style.css | 20 | ||||
| -rw-r--r-- | public/uploaders.php | 2 |
6 files changed, 34 insertions, 0 deletions
diff --git a/public/catalogue.php b/public/catalogue.php index add156e..fca1183 100644 --- a/public/catalogue.php +++ b/public/catalogue.php @@ -41,8 +41,11 @@ $files = $stmt->fetchAll(); <head> <title>File Catalogue (Page <?= $page + 1 ?>/<?= $max_pages ?>) - <?= INSTANCE_NAME ?></title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="theme-color" content="#ffe1d4"> </head> <body> diff --git a/public/index.php b/public/index.php index 4b26c8a..51c0e7d 100644 --- a/public/index.php +++ b/public/index.php @@ -160,8 +160,11 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt'); <?php else: ?> <title><?= INSTANCE_NAME ?></title> <?php endif; ?> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="theme-color" content="#ffe1d4"> </head> <body> diff --git a/public/mod.php b/public/mod.php index 728222e..a1d91b8 100644 --- a/public/mod.php +++ b/public/mod.php @@ -45,8 +45,11 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { <head> <title>Moderation - <?= INSTANCE_NAME ?></title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="theme-color" content="#ffe1d4"> </head> <body> diff --git a/public/report.php b/public/report.php index 72f49a3..9ede7b4 100644 --- a/public/report.php +++ b/public/report.php @@ -116,8 +116,11 @@ if (!is_file(FILE_UPLOAD_DIRECTORY . "/{$file_id}")) { <head> <title>Report - <?= INSTANCE_NAME ?></title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="theme-color" content="#ffe1d4"> </head> <body> diff --git a/public/static/style.css b/public/static/style.css index d11ca82..ffc7a4b 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -373,4 +373,24 @@ button[type=submit].fancy:hover { cursor: help; font-size: 10px; vertical-align: top; +} + +@media screen and (max-width: 1000px) { + main { + width: 100%; + } + + .file-preview-wrapper, + .navbar { + margin: 8px; + } + + .navbar { + align-items: start; + flex-direction: column; + } + + .grid-3 { + grid-template-columns: auto; + } }
\ No newline at end of file diff --git a/public/uploaders.php b/public/uploaders.php index aa8e7f5..bd6d86e 100644 --- a/public/uploaders.php +++ b/public/uploaders.php @@ -21,9 +21,11 @@ foreach (FILE_ACCEPTED_MIME_TYPES as $k => $v) { <head> <title>Uploaders - <?= INSTANCE_NAME ?></title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <meta name="theme-color" content="#ffe1d4"> </head> <body> |
