]> git.wh0rd.org - nano-editor.git/blobdiff - top.php
move table padding to css
[nano-editor.git] / top.php
diff --git a/top.php b/top.php
index bdea83853a7f6755486f86a34fb918c78d2cd860..b88341bac33be5446a1a7e6abbc7ceb13d852e98 100644 (file)
--- a/top.php
+++ b/top.php
@@ -3,21 +3,21 @@
 
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-   <title><?= $title ?></title>
-   <?php if (isset($mainpage)): ?>
+   <meta name="viewport" content="width=device-width, initial-scale=1.0">
+   <title>nano &ndash; <?= $title ?></title>
+<?php if (isset($mainpage)): ?>
    <meta name="description" content="GNU nano is a small editor for on the terminal. It supports syntax highlighting, spell checking, justifying, completion, undo/redo...">
-   <?php endif; ?>
+<?php endif; ?>
    <link rel="icon" href="/favicon.ico">
-   <link rel="stylesheet" href="style-dark.css" media="(prefers-color-scheme: dark)"/>
-   <link rel="stylesheet" href="style-light.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"/>
+   <link rel="stylesheet" href="style.css">
 </head>
 
 <body>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="8%">
+<table border=0 width="100%">
 <tr><td>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" CLASS="inverted">
+<table border=0 width="100%" class="inverted">
 <tr>
 
 <td>