]> git.wh0rd.org - nano-editor.git/blobdiff - top.php
add a line break
[nano-editor.git] / top.php
diff --git a/top.php b/top.php
index bdea83853a7f6755486f86a34fb918c78d2cd860..658d443413a317431f658b3c121608c7af9dc214 100644 (file)
--- a/top.php
+++ b/top.php
@@ -3,38 +3,30 @@
 
 <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 id="top" border=0 width="100%" class="inverted">
 <tr>
 
-<td>
-&nbsp;Latest version:
-<?php include "last-version"; ?>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</td>
-
-<td align="center">
-<a href="/">The GNU nano homepage</a>
-</td>
-
-<td align="right">
-Modified:
-<?php include "last-modified"; ?>
-&nbsp;
-</td>
+<td>Latest version:
+<?php include "last-version"; ?></td>
+
+<td align="center"><a href="/">The GNU nano homepage</a></td>
+
+<td align="right">Modified:
+<?php include "last-modified"; ?></td>
 
 </tr>
 </table>