]> git.wh0rd.org - nano-editor.git/commitdiff
add a line break master
authorBenno Schulenberg <bensberg@telfort.nl>
Sun, 3 Dec 2023 10:52:12 +0000 (11:52 +0100)
committerBenno Schulenberg <bensberg@telfort.nl>
Sun, 3 Dec 2023 10:52:12 +0000 (11:52 +0100)
20 files changed:
bottom.php
contact.php
docs.php
download.php
faq.html [new symlink]
git.php
history.php
index.php
last-branch
last-modified
last-version
nano-5.7.png [new file with mode: 0644]
news.php
screenshots.php
state.php [new file with mode: 0644]
style-dark.css [deleted file]
style-light.css [deleted file]
style.css [new file with mode: 0644]
top.php
who.php

index 7e34cf1a4e2a71cf5a3edc62a88a3417b0287627..2e7539d75fdd4d94c254c4f95b460a651bdbd23c 100644 (file)
@@ -1,38 +1,52 @@
 <br>
 <br>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="18%">
+<table border=0 width="100%">
 <tr><td>
 
 <hr>
 
 <tr><td>
 
 <hr>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr>
-<td WIDTH="3%" CLASS="inverted"><b><tt>^G</tt></b></td>
-<td WIDTH="22%"><tt>&nbsp;<a href="download.php">Get Nano</a></tt></td>
-
-<td WIDTH="3%" CLASS="inverted"><b><tt>^N</tt></b></td>
-<td WIDTH="22%"><tt>&nbsp;<a href="news.php">News</a></tt></td>
-
-<td WIDTH="3%" CLASS="inverted"><b><tt>^W</tt></b></td>
-<td WIDTH="22%"><tt>&nbsp;<a href="who.php">Who</a></tt></td>
-
-<td WIDTH="3%" CLASS="inverted"><b><tt>^T</tt></b></td>
-<td><tt>&nbsp;<a href="git.php">Git</a></tt></td>
-</tr>
-
-<tr>
-<td WIDTH="3%" CLASS="inverted"><b><tt>^D</tt></b></td>
-<td WIDTH="22%"><tt>&nbsp;<a href="docs.php">Documentation</a></tt></td>
-
-<td WIDTH="3%" CLASS="inverted"><b><tt>^H</tt></b></td>
-<td WIDTH="22%"><tt>&nbsp;<a href="history.php">History</a></tt></td>
-
-<td WIDTH="3%" CLASS="inverted"><b><tt>^S</tt></b></td>
-<td WIDTH="22%"><tt>&nbsp;<a href="screenshots.php">Screenshots</a></tt></td>
-
-<td WIDTH="3%" CLASS="inverted"><b><tt>^C</tt></b></td>
-<td><tt>&nbsp;<a href="contact.php">Contact</a></tt></td>
-</tr>
-</table>
+<div id="bottom" width="100%">
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^G</tt></b></span>
+<span class="indented"><tt><a href="download.php">Get Nano</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^N</tt></b></span>
+<span class="indented"><tt><a href="news.php">News</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^W</tt></b></span>
+<span class="indented"><tt><a href="who.php">Who</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^T</tt></b></span>
+<span class="indented"><tt><a href="git.php">Git</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^D</tt></b></span>
+<span class="indented"><tt><a href="docs.php">Documentation</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^H</tt></b></span>
+<span class="indented"><tt><a href="history.php">History</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^S</tt></b></span>
+<span class="indented"><tt><a href="screenshots.php">Screenshots</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^C</tt></b></span>
+<span class="indented"><tt><a href="contact.php">Contact</a></tt></span>
+</span>
+
+</div>
 
 </td></tr>
 </table>
 
 </td></tr>
 </table>
index 1d41c4bfc7b2ff6113a45442dbb15e48db873ec0..1d7a29828b7db02ba1fb7b7b4231c137f06fec92 100644 (file)
@@ -1,21 +1,17 @@
-<?php include "top.php"; ?>
-
-<title>GNU nano: Reporting Bugs</title>
-
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="70%">
-<tr VALIGN=TOP>
-<td>
+<?php $title="Reporting bugs";  include "top.php"; ?>
 
 <br>
 <center><b>Reporting Bugs</b></center>
 
 <blockquote>Please use nano's pages on Savannah for:
 
 <br>
 <center><b>Reporting Bugs</b></center>
 
 <blockquote>Please use nano's pages on Savannah for:
-<P>
-<UL>
-<LI><A HREF="https://savannah.gnu.org/bugs/?group=nano">Bug reports</A></LI>
-<LI><A HREF="https://savannah.gnu.org/bugs/?group=nano">Feature requests</A></LI>
-<LI><A HREF="https://savannah.gnu.org/patch/?group=nano">Submitting patches</A></LI>
-</UL>
+<p>
+<ul>
+<li><a href="https://savannah.gnu.org/bugs/?group=nano">Bug reports</a></li>
+<br>
+<li><a href="https://savannah.gnu.org/bugs/?group=nano">Feature requests</a></li>
+<br>
+<li><a href="https://savannah.gnu.org/patch/?group=nano">Submitting patches</a></li>
+</ul>
 For any other issues please email the nano-devel list (see below).
 </blockquote>
 
 For any other issues please email the nano-devel list (see below).
 </blockquote>
 
@@ -24,23 +20,18 @@ For any other issues please email the nano-devel list (see below).
 
 <blockquote>
 <ul>
 
 <blockquote>
 <ul>
+<li>When you have questions about how to do things with nano:<br>
+<a href="https://lists.gnu.org/mailman/listinfo/help-nano">
+https://lists.gnu.org/mailman/listinfo/help-nano</a></li>
+<br>
 <li>When you want to discuss technical details of the editor:<br>
 <a href="https://lists.gnu.org/mailman/listinfo/nano-devel">
 <li>When you want to discuss technical details of the editor:<br>
 <a href="https://lists.gnu.org/mailman/listinfo/nano-devel">
-https://lists.gnu.org/mailman/listinfo/nano-devel
-</a>
+https://lists.gnu.org/mailman/listinfo/nano-devel</a></li>
+<br>
 <li>When you wish to receive an announcement of each new release:<br>
 <a href="https://lists.gnu.org/mailman/listinfo/info-nano">
 <li>When you wish to receive an announcement of each new release:<br>
 <a href="https://lists.gnu.org/mailman/listinfo/info-nano">
-https://lists.gnu.org/mailman/listinfo/info-nano
-</a>
-<li>When you have questions about how to do things with nano:<br>
-<a href="https://lists.gnu.org/mailman/listinfo/help-nano">
-https://lists.gnu.org/mailman/listinfo/help-nano
-</a>
+https://lists.gnu.org/mailman/listinfo/info-nano</a></li>
 </ul>
 </blockquote>
 
 </ul>
 </blockquote>
 
-</td>
-</tr>
-</table>
-
 <?php include "bottom.php"; ?>
 <?php include "bottom.php"; ?>
index 40553d3bba8a9cba4158272902336f3f25fc7561..c04710c1ee63259c4ebebd96a6fd90877a605a0d 100644 (file)
--- a/docs.php
+++ b/docs.php
@@ -1,18 +1,12 @@
-<?php include "top.php"; ?>
-
-<title>GNU nano: Documentation</title>
-
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="70%">
-<tr VALIGN=TOP>
-<td>
+<?php $title="Documentation";  include "top.php"; ?>
 
 <br>
 <center><b>Documentation</b></center>
 <br>
 
 
 <br>
 <center><b>Documentation</b></center>
 <br>
 
-<table BORDER=0 WIDTH="100%">
-<tr CLASS="inverted">
-<td WIDTH="25%">
+<center><table border=0 id="docs">
+<tr class="inverted">
+<td width="25%">
 <center>Document Name</center>
 </td>
 <td>
 <center>Document Name</center>
 </td>
 <td>
@@ -41,6 +35,13 @@ Description
 <td>The full nano manual in HTML format.</td>
 </tr>
 
 <td>The full nano manual in HTML format.</td>
 </tr>
 
+<tr>
+<td>
+<center><a href="/dist/latest/nano.pdf">The manual as PDF</a></center>
+</td>
+<td>The full nano manual in PDF format.</td>
+</tr>
+
 <tr>
 <td>
 <center><a href="/dist/latest/nano.1.html">Man Page</a></center>
 <tr>
 <td>
 <center><a href="/dist/latest/nano.1.html">Man Page</a></center>
@@ -76,9 +77,6 @@ Description
 <td>General description of noteworthy things in each release.</td>
 </tr>
 
 <td>General description of noteworthy things in each release.</td>
 </tr>
 
-</table>
-</td>
-</tr>
-</table>
+</table></center>
 
 <?php include "bottom.php"; ?>
 
 <?php include "bottom.php"; ?>
index 0306cad706b4625d20277f21498569bd703f4eab..9865c25369543f5c80385ee4f31b34bef5e4b7dc 100644 (file)
@@ -1,25 +1,11 @@
-<?php include "top.php"; ?>
+<?php $title="Downloads";  include "top.php"; ?>
 
 
-<title>GNU nano: Download</title>
-
-<body>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="70%">
-<tr VALIGN=TOP>
-<td>
-
-<center><table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr>
-<td>
 <br>
 <center><b>Downloading GNU nano</b></center>
 <br>
 <center><b>Downloading GNU nano</b></center>
-</td>
-</tr>
-</table></center>
-
 <br>
 
 <br>
 
-<center><table BORDER=0 WIDTH="80%">
-<tr CLASS="inverted">
+<center><table border=0 id="download">
+<tr class="inverted">
 <td>Description</td>
 <td>Links</td>
 </tr>
 <td>Description</td>
 <td>Links</td>
 </tr>
@@ -57,7 +43,7 @@
 <tr>
 <td>All versions:</td>
 <td>
 <tr>
 <td>All versions:</td>
 <td>
-<a href="/dist">The branches</a>
+<a href="/dist/">The branches</a>
 </td>
 
 <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
 </td>
 
 <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
 
 <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
 
 
 <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
 
+<tr>
+<td>Additional syntax files:</td>
+<td><a href="/more-syntaxes/">more syntaxes</a>
+</tr>
+
+<tr><td>&nbsp;</td><td>&nbsp;</td></tr>
+
 <tr>
 <td>Archlinux binaries:</td>
 <td><a href="https://www.archlinux.org/packages/?repo=Core&q=nano">packages</a>
 <tr>
 <td>Archlinux binaries:</td>
 <td><a href="https://www.archlinux.org/packages/?repo=Core&q=nano">packages</a>
@@ -84,7 +77,7 @@
 
 <tr>
 <td>Fedora builds:</td>
 
 <tr>
 <td>Fedora builds:</td>
-<td><a href="https://apps.fedoraproject.org/packages/nano">overview</a>
+<td><a href="https://src.fedoraproject.org/rpms/nano">overview</a>
 </tr>
 
 <tr>
 </tr>
 
 <tr>
@@ -99,8 +92,4 @@
 
 </table></center>
 
 
 </table></center>
 
-</td>
-</tr>
-</table>
-
 <?php include "bottom.php"; ?>
 <?php include "bottom.php"; ?>
diff --git a/faq.html b/faq.html
new file mode 120000 (symlink)
index 0000000..db90276
--- /dev/null
+++ b/faq.html
@@ -0,0 +1 @@
+dist/latest/faq.html
\ No newline at end of file
diff --git a/git.php b/git.php
index 524a937aff364f0e204d17f9302095bfb33bbde6..aa345266fad9238c911a8326911f7c1bab53e599 100644 (file)
--- a/git.php
+++ b/git.php
@@ -1,32 +1,37 @@
-<?php include "top.php"; ?>
-
-<title>GNU nano: Source code</title>
-
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="70%">
-<tr VALIGN=TOP>
-<td>
+<?php $title="Source code";  include "top.php"; ?>
 
 <br>
 <center><b>Source Code</b></center>
 
 <blockquote>
 
 <br>
 <center><b>Source Code</b></center>
 
 <blockquote>
-You can browse nano's
-<a href="https://git.savannah.gnu.org/cgit/nano.git/log/">source code</a>
-on the web.
+Nano's source code is clonable from
+<a href="https://git.savannah.gnu.org/git/nano.git">https://git.savannah.gnu.org/git/nano.git</a>.
+<br>
+It can be browsed on the web at
+<a href="https://git.savannah.gnu.org/cgit/nano.git/log/">https://git.savannah.gnu.org/cgit/nano.git/log/</a>.
+
 <p>
 <p>
-If you want to build and run the bleeding-edge version of GNU nano,
+To build and run the bleeding-edge version of GNU nano,
 read the
 read the
-<a href="https://git.savannah.gnu.org/cgit/nano.git/tree/README.GIT">
+<a href="https://git.savannah.gnu.org/cgit/nano.git/tree/README.hacking">
 instructions</a> located in the git repository itself.
 instructions</a> located in the git repository itself.
+
+<p>
+The source code of this website is available from
+<a href="https://git.wh0rd.org/nano-editor.git">https://git.wh0rd.org/nano-editor.git</a>.
+
 <p>
 
 <p>
 
+<br>
 <center>
 <center>
-<a href="/"><img src="withnano.png" border=0></a>
+<a href="/"><img src="withnano.png" alt="edited with nano" border="0"></a>
 </center>
 </center>
-</blockquote>
 
 
-</td>
-</tr>
-</table>
+<br>
+<center>
+See the <a href="state.php">current versions</a> in some distros.
+</center>
+
+</blockquote>
 
 <?php include "bottom.php"; ?>
 
 <?php include "bottom.php"; ?>
index 5e8036a8c6df7513ddaa0e9c3c6be8b4afb72028..91c0a7f82139fffe0f903981c2c3c9a15e3db4a5 100644 (file)
@@ -1,10 +1,4 @@
-<?php include "top.php"; ?>
-
-<title>GNU nano: History</title>
-
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="70%">
-<tr VALIGN=TOP>
-<td>
+<?php $title="History";  include "top.php"; ?>
 
 <br>
 <center><b>History</b></center>
 
 <br>
 <center><b>History</b></center>
@@ -14,9 +8,9 @@
 <blockquote><br>
 Improvements made in version 2.6:<br>
 
 <blockquote><br>
 Improvements made in version 2.6:<br>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
 
 
-<UL>
+<ul>
 <li>Trailing whitespace can be snipped from justified paragraphs.</li>
 <li>Better feedback when a file is unwritable or a directory inaccessible.</li>
 <li>Bindable functions for deleting a word to the left and to the right.</li>
 <li>Trailing whitespace can be snipped from justified paragraphs.</li>
 <li>Better feedback when a file is unwritable or a directory inaccessible.</li>
 <li>Bindable functions for deleting a word to the left and to the right.</li>
@@ -26,7 +20,7 @@ Improvements made in version 2.6:<br>
 <li>Resizing the window does not exit from help viewer nor file browser.</li>
 <li>On some terminals Ctrl+Left and Ctrl+Right jump to previous and next word.</li>
 <li>A steadier movement of the highlight in the file browser.</li>
 <li>Resizing the window does not exit from help viewer nor file browser.</li>
 <li>On some terminals Ctrl+Left and Ctrl+Right jump to previous and next word.</li>
 <li>A steadier movement of the highlight in the file browser.</li>
-</UL>
+</ul>
 
 </td></tr></table>
 </blockquote>
 
 </td></tr></table>
 </blockquote>
@@ -35,9 +29,9 @@ Improvements made in version 2.6:<br>
 <blockquote><br>
 Improvements made in version 2.4:<br>
 
 <blockquote><br>
 Improvements made in version 2.4:<br>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
 
 
-<UL>
+<ul>
 <li>The ability to give different colors to title bar, status bar and help lines.</li>
 <li>Linter support, for automatically putting the cursor on syntax errors.</li>
 <li>Formatter support, for normalizing the layout of a text instead of the spelling.</li>
 <li>The ability to give different colors to title bar, status bar and help lines.</li>
 <li>Linter support, for automatically putting the cursor on syntax errors.</li>
 <li>Formatter support, for normalizing the layout of a text instead of the spelling.</li>
@@ -47,7 +41,7 @@ Improvements made in version 2.4:<br>
 <li>Makes the mouse usable again for clicking on shortcuts.</li>
 <li>Fixes several syntax coloring issues.</li>
 <li>Adds more syntax highlighting examples (Go, guile, javascript, json, PO files, texinfo, ...).</li>
 <li>Makes the mouse usable again for clicking on shortcuts.</li>
 <li>Fixes several syntax coloring issues.</li>
 <li>Adds more syntax highlighting examples (Go, guile, javascript, json, PO files, texinfo, ...).</li>
-</UL>
+</ul>
 
 </td></tr></table>
 </blockquote>
 
 </td></tr></table>
 </blockquote>
@@ -56,23 +50,23 @@ Improvements made in version 2.4:<br>
 <blockquote><br>
 Improvements made in version 2.2:<br>
 
 <blockquote><br>
 Improvements made in version 2.2:<br>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
 
 
-<UL>
+<ul>
 <li>Customizable key bindings.</li>
 <li>Abortable searching (^C after ^W).</li>
 <li>Partial undo/redo support [EXPERIMENTAL].</li>
 <li>Pager support (i.e. reading from stdin).</li>
 <li>Customizable key bindings.</li>
 <li>Abortable searching (^C after ^W).</li>
 <li>Partial undo/redo support [EXPERIMENTAL].</li>
 <li>Pager support (i.e. reading from stdin).</li>
-</UL>
+</ul>
 
 </td><td>
 
 
 </td><td>
 
-<UL>
+<ul>
 <li>Warnings for unwritable files and for external modification since opening.</li>
 <li>"Soft" line wrapping (i.e. display of complete lines).</li>
 <li>More syntax highlighting examples (Fortran, objC, OCaml, Makefiles).</li>
 <li>Faster syntax highlighting for complicated regexes.</li>
 <li>Warnings for unwritable files and for external modification since opening.</li>
 <li>"Soft" line wrapping (i.e. display of complete lines).</li>
 <li>More syntax highlighting examples (Fortran, objC, OCaml, Makefiles).</li>
 <li>Faster syntax highlighting for complicated regexes.</li>
-</UL>
+</ul>
 
 </td></tr></table>
 </blockquote>
 
 </td></tr></table>
 </blockquote>
@@ -81,25 +75,25 @@ Improvements made in version 2.2:<br>
 <blockquote><br>
 Improvements made in version 2.0:<br>
 
 <blockquote><br>
 Improvements made in version 2.0:<br>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
 
 
-<UL>
+<ul>
 <li>UTF-8 support.</li>
 <li>Improved color syntax highlighting.</li>
 <li>Copy text without cutting it.</li>
 <li>Verbatim input mode.</li>
 <li>Repeat last seach (Meta-W).</li>
 <li>UTF-8 support.</li>
 <li>Improved color syntax highlighting.</li>
 <li>Copy text without cutting it.</li>
 <li>Verbatim input mode.</li>
 <li>Repeat last seach (Meta-W).</li>
-</UL>
+</ul>
 
 </td><td>
 
 
 </td><td>
 
-<UL>
+<ul>
 <li>Spell check/replace selected text only.</li>
 <li>Indent marked text.</li>
 <li>Move to beginning/end of paragraph.</li>
 <li>Search within the file browser.</li>
 <li>Auto-conversion of mixed file format.</li>
 <li>Spell check/replace selected text only.</li>
 <li>Indent marked text.</li>
 <li>Move to beginning/end of paragraph.</li>
 <li>Search within the file browser.</li>
 <li>Auto-conversion of mixed file format.</li>
-</UL>
+</ul>
 
 </td></tr></table>
 </blockquote>
 
 </td></tr></table>
 </blockquote>
@@ -108,9 +102,9 @@ Improvements made in version 2.0:<br>
 <blockquote><br>
 Improvements made in version 1.2:<br>
 
 <blockquote><br>
 Improvements made in version 1.2:<br>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
 
 
-<UL>
+<ul>
 <li>More Pico compatible by default.</li>
 <li>Smooth scrolling (-S flag).</li>
 <li>Bracket matching (Meta-]).</li>
 <li>More Pico compatible by default.</li>
 <li>Smooth scrolling (-S flag).</li>
 <li>Bracket matching (Meta-]).</li>
@@ -118,11 +112,11 @@ Improvements made in version 1.2:<br>
 <li>Color syntax highlighting.</li>
 <li>Search and replace history editing.</li>
 <li>Customizable quoting string (-Q flag).</li>
 <li>Color syntax highlighting.</li>
 <li>Search and replace history editing.</li>
 <li>Customizable quoting string (-Q flag).</li>
-</UL>
+</ul>
 
 </td><td>
 
 
 </td><td>
 
-<UL>
+<ul>
 <li>Append/prepend from write file menu.</li>
 <li>Write selected text to file (^O after ^^).</li>
 <li>Multiple file buffers (-F flag).</li>
 <li>Append/prepend from write file menu.</li>
 <li>Write selected text to file (^O after ^^).</li>
 <li>Multiple file buffers (-F flag).</li>
@@ -130,7 +124,7 @@ Improvements made in version 1.2:<br>
 <li>Saved search/replace history (-H flag).</li>
 <li>Backup files (-B flag).</li>
 <li>Insert output of command (^X after ^R).</li>
 <li>Saved search/replace history (-H flag).</li>
 <li>Backup files (-B flag).</li>
 <li>Insert output of command (^X after ^R).</li>
-</UL>
+</ul>
 
 </td></tr></table>
 </blockquote>
 
 </td></tr></table>
 </blockquote>
@@ -139,33 +133,29 @@ Improvements made in version 1.2:<br>
 <blockquote><br>
 Version 1.0 had the following features:<br>
 
 <blockquote><br>
 Version 1.0 had the following features:<br>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
 
 
-<UL>
+<ul>
 <li>Autoconf support.</li>
 <li>Truly free license (GNU GPL).</li>
 <li>Goto-line command without a flag.</li>
 <li>Case-sensitive search function.</li>
 <li>Interactive search and replace.</li>
 <li>About half the size of the Pico binary.</li>
 <li>Autoconf support.</li>
 <li>Truly free license (GNU GPL).</li>
 <li>Goto-line command without a flag.</li>
 <li>Case-sensitive search function.</li>
 <li>Interactive search and replace.</li>
 <li>About half the size of the Pico binary.</li>
-</UL>
+</ul>
 
 </td><td>
 
 
 </td><td>
 
-<UL>
+<ul>
 <li>Slang and ncurses support.</li>
 <li>Autoindent abillity.</li>
 <li>Displayed tab width option.</li>
 <li>Regular-expression search and replace.</li>
 <li>Toggles for command-line flags via Meta keys.</li>
 <li>Tab completion when reading/writing files.</li>
 <li>Slang and ncurses support.</li>
 <li>Autoindent abillity.</li>
 <li>Displayed tab width option.</li>
 <li>Regular-expression search and replace.</li>
 <li>Toggles for command-line flags via Meta keys.</li>
 <li>Tab completion when reading/writing files.</li>
-</UL>
+</ul>
 
 </td></tr></table>
 </blockquote>
 
 
 </td></tr></table>
 </blockquote>
 
-</td>
-</tr>
-</table>
-
 <?php include "bottom.php"; ?>
 <?php include "bottom.php"; ?>
index 66ed37614d39adf1a6cceed7ae3a7ede80f6c77f..cc81b5b6a82aeac53778884ca116e4fac94c0181 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,8 +1,6 @@
-<?php include "top.php"; ?>
+<?php $title="Text editor";  $mainpage="true";  include "top.php"; ?>
 
 
-<title>GNU nano</title>
-
-<table BORDER=0 CELLSPACING=40 WIDTH="100%">
+<table id="homepage" width="100%">
 <tr>
 <td>
 <center>
 <tr>
 <td>
 <center>
index 7813681f5b41c028345ca62a2be376bae70b7f61..c7930257dfef505fd996e1d6f22f2f35149990d0 100644 (file)
@@ -1 +1 @@
-5
\ No newline at end of file
+7
\ No newline at end of file
index 9d79ccb4999243b78b2c6f1cea62bfd7736b9831..d7ee8f64413f46e8ca3ca061d5800efa66471528 100644 (file)
@@ -1 +1 @@
-2020 August 12
\ No newline at end of file
+2023 January 18
\ No newline at end of file
index 83364075e010b711a21b67fa5536b762cfdcb3e4..be4cea5e2b261f532e56b203699abcbe1b6913c9 100644 (file)
@@ -1 +1 @@
-5.1
\ No newline at end of file
+7.2
\ No newline at end of file
diff --git a/nano-5.7.png b/nano-5.7.png
new file mode 100644 (file)
index 0000000..cded1c2
Binary files /dev/null and b/nano-5.7.png differ
index ae72dae91a506c9bcd3fa03d0f1112ce9d595d6c..911f25b5f3c95cb39258c3958552549006e6b93b 100644 (file)
--- a/news.php
+++ b/news.php
@@ -1,11 +1,6 @@
-<?php include "top.php"; ?>
+<?php $title="News";  include "top.php"; ?>
 
 
-<title>GNU nano: News</title>
-
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="70%">
-<tr VALIGN=TOP>
-<td>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<table border=0 width="100%">
 <tr>
 <td>
 <br><br>
 <tr>
 <td>
 <br><br>
 <td>
 <br><br>
 
 <td>
 <br><br>
 
+2023 January 18 - <b>GNU nano 7.2</b> "Boer doe mij 't hekke l&ouml;s!"
+<br>
+<table><tr><td><ul>
+<li>&lt;Shift+Insert&gt; is prevented from pasting in view mode.</li>
+</ul></td></tr></table>
+<br><br>
+
+2022 December 14 - <b>GNU nano 7.1</b> "And the devices shall be made of wood"
+<br>
+<table><tr><td><ul>
+<li>When <tt>--autoindent</tt> and <tt>--breaklonglines</tt> are combined, pressing<br>
+    &lt;Enter&gt; at a specific position no longer eats characters.</li>
+</ul></td></tr></table>
+<br><br>
+
+2022 November 15 - <b>GNU nano 7.0</b> "Una existencia simple bajo el sol"
+<br>
+<table><tr><td><ul>
+<li>String binds may contain bindable function names between braces.<br>
+    For example, to move the current line down to after the next one:<br>
+    <tt>bind ^D "{cut}{down}{paste}{up}" main</tt>.  Of course, braced function<br>
+    names may be mixed with literal text.  If an existing string bind<br>
+    contains a literal <tt>{</tt>, replace it with <tt>{{}</tt>.</li>
+<li>Unicode codes can be entered (via <tt>M-V</tt>) without leading zeroes,<br>
+    by finishing short codes with &lt;Space&gt; or &lt;Enter&gt;.</li>
+<li>Word completion (<tt>^]</tt>) looks for candidates in all open buffers.</li>
+<li>No regular expression matches the final empty line any more.</li>
+</ul></td></tr></table>
+<br><br>
+
+
+2022 August 2 - <b>GNU nano 6.4</b> "Regentag Dunkelbunt Hundertwasser"
+<br>
+<table><tr><td><ul>
+<li>The file browser does not crash when moving up to the root folder.</li>
+<li>Softwrapping very long lines is done more efficiently.</li>
+<li>Invoking the formatter does not blink the screen.</li>
+</ul></td></tr></table>
+<br><br>
+
+2022 April 28 - <b>GNU nano 6.3</b> "Wat zullen we drinken? Wat een dorst!"
+<br>
+<table><tr><td><ul>
+<li>For multiline regexes, text is now colored as soon as a start match<br>
+    is found, also when there is no end match at all.</li>
+<li>The colorizing of any line is stopped after two thousand bytes,<br>
+    to avoid frustrating delays.</li>
+<li>When environment variable <tt>NO_COLOR</tt> is set, the two default colors<br>
+    (yellow for the spotlight, red for error messages) are suppressed<br>
+    when no interface colors are specified in a nanorc file.</li>
+<li>Full justification and piping the whole buffer through a command<br>
+    now keep the cursor at the same line number.</li>
+<li>Utility <tt>xsel</tt> can be used to copy a marked region to the system's<br>
+    clipboard.  See <tt>doc/sample.nanorc</tt> for an example.</li>
+</ul></td></tr></table>
+<br><br>
+
+2022 February 18 - <b>GNU nano 6.2</b> "Kamperfoelie"
+<br>
+<table><tr><td><ul>
+<li>The file browser clears the prompt bar also when using <tt>--minibar</tt>.</li>
+<li>Linting now works also with a newer 'pyflakes'.</li>
+</ul></td></tr></table>
+<br><br>
+
+2022 February 9 - <b>GNU nano 6.1</b> "Re&#x21B;elele de socializare sunt ca un frigider"
+<br>
+<table><tr><td><ul>
+<li>The behavior of <tt>^K</tt> at a prompt has been enhanced: when there<br>
+    is text after the cursor, just this text is erased.  (In the usual<br>
+    situation, however, when the cursor is at the end of the answer,<br>
+    the behavior is as before: the whole answer is erased.)</li>
+<li>At a prompt, <tt>M-6</tt> copies the current answer into the cutbuffer.</li>
+<li>Large external pastes into nano are handled more quickly.</li>
+</ul></td></tr></table>
+<br><br>
+
+2021 December 15 - <b>GNU nano 6.0</b> "Humor heeft ook zijn leuke kanten"
+<br>
+<table><tr><td><ul>
+<li>Option <tt>--zero</tt> hides the title bar, status bar and help lines, and<br>
+    uses all rows of the terminal as editing area.  The title bar and<br>
+    status bar can be toggled with <tt>M-Z</tt>.</li>
+<li>Colors can now be specified also as three-digit hexadecimal numbers,<br>
+    in the format <tt>#rgb</tt>.  This picks from the 216 index colors (that most<br>
+    terminals know) the color that is nearest to the given values.</li>
+<li>For users who dislike numbers, there are fourteen new color names:<br>
+    rosy, beet, plum, sea, sky, slate, teal, sage, brown, ocher, sand,<br>
+    tawny, brick, and crimson.</li>
+<li>Suspension is enabled by default, invokable with <tt>^T^Z</tt>.  The options<br>
+    <tt>-z</tt>, <tt>--suspendable</tt>, and 'set suspendable' are obsolete and ignored.<br>
+    (In case you want to be able to suspend nano with a single keystroke,<br>
+    you can put 'bind ^Z suspend main' in your nanorc.)</li>
+<li>When automatic hard-wrapping is in effect, pasting just a few words<br>
+    (without a line break) will now hard-wrap the line when needed.</li>
+<li>Toggling Append or Prepend clears the current filename.</li>
+<li>The word count as shown by <tt>M-D</tt> is now affected by option --wordbounds;<br>
+    with it, nano counts words as 'wc' does; without it (the new default),<br>
+    words are counted in a more human way: seeing punctuation as space.</li>
+<li>The YAML syntax file is now actually included in the tarball.</li>
+</ul></td></tr></table>
+<br><br>
+
+
+2021 October 6 - <b>GNU nano 5.9</b> "El manicomio ha decidido: ma&ntilde;ana sol!"
+<br>
+<table><tr><td><ul>
+<li>The extension of a filename is added to the name of a corresponding<br>
+    temporary file, so that spell checking a C file, for example, will check<br>
+    only the comments and strings (when using 'aspell').</li>
+<li>The process number is added to the name of an emergency save file,<br>
+    so that when multiple nanos die they will not fight over a filename.</li>
+<li>Undoing a cutting operation will restore an anchor that was located<br>
+    in the cut area to its original line.</li>
+<li>When using <tt>--locking</tt>, saving a new buffer will create a lock file.</li>
+<li>Syntax highlighting for YAML files has been added.</li>
+</ul></td></tr></table>
+<br><br>
+
+2021 June 15 - <b>GNU nano 5.8</b> "Why is it necessary to be special?"
+<br>
+<table><tr><td><ul>
+<li>After a search, the spotlighting is dropped after 1.5 seconds (0.8<br>
+    seconds with <tt>--quick</tt>) to avoid the idea that the text is selected.</li>
+<li>A <tt>+</tt> and a space before a filename on the command line will put<br>
+    the cursor at the end of the corresponding buffer.</li>
+<li>Linter messages no longer include filename and line/column numbers.</li>
+<li>Color name "grey" or "gray" can be used instead of "lightblack".</li>
+<li>The color of the minibar can be chosen with 'set minicolor'.</li>
+</ul></td></tr></table>
+<br><br>
+
+2021 April 29 - <b>GNU nano 5.7</b> "To&#x21B;i ceilal&#x21B;i arau c&acirc;mpurile"
+<br>
+<table><tr><td><ul>
+<li>The output of <tt>--constantshow</tt> (without <tt>--minibar</tt>) is more stable.</li>
+<li>When opening multiple buffers and there is an error message, this<br>
+    message is shown again upon first switch to the relevant buffer.</li>
+<li>The position and size of the indicator now follow actual lines,<br>
+    instead of visual lines when in softwrap mode, meaning that the<br>
+    size of the indicator can change when scrolling in softwrap mode.</li>
+</ul></td></tr></table>
+<br><br>
+
+2021 March 3 - <b>GNU nano 5.6.1</b> "Geelgors"
+<br>
+<table><tr><td><ul>
+<li>Search matches are properly colorized in softwrap mode too.</li>
+<li>Option 'highlightcolor' has been renamed to 'spotlightcolor'.</li>
+</ul></td></tr></table>
+<br><br>
+
+2021 February 24 - <b>GNU nano 5.6</b> "Wielewaal"
+<br>
+<table><tr><td><ul>
+<li>A search match gets highlighted (in black on yellow by default),<br>
+    in addition to placing the cursor at the start of the match.<br>
+    The color combination can be changed with 'set highlightcolor'.<br>
+    By default the cursor is hidden until the next keystroke, but<br>
+    it can be forced on with <tt>--showcursor</tt> / 'set showcursor'.</li>
+<li>Option <tt>--markmatch</tt> / 'set markmatch' has been removed.</li>
+<li>Cursor position and character code are displayed in the minibar<br>
+    only when option <tt>--constantshow</tt> / 'set constantshow' is used,<br>
+    and their display can be toggled with <tt>M-C</tt>.</li>
+<li>The state flags are displayed in the minibar only when option<br>
+    <tt>--stateflags</tt> / 'set stateflags' is used.</li>
+</ul></td></tr></table>
+<br><br>
+
+2021 January 14 - <b>GNU nano 5.5</b> "Rebecca"
+<br>
+<table><tr><td><ul>
+<li>Option 'set minibar' makes nano suppress the title bar and instead<br>
+    show a bar with basic editing information at the bottom: file name<br>
+    (plus an asterisk when the buffer is modified), the cursor position<br>
+    (line,column), the character under the cursor (U+xxxx), the flags<br>
+    that <tt>--stateflags</tt> normally shows, plus the percentage of the buffer<br>
+    that is above the cursor.</li>
+<li>With 'set promptcolor' the color combination of the prompt bar can<br>
+    be changed, to allow contrasting it with the mini bar (which always<br>
+    has the same color as the title bar).</li>
+<li>Option 'set markmatch' highlights the result of a successful search<br>
+    by putting the mark at the end of the match, making the match more<br>
+    visible.  It also suppresses the cursor until the next keystroke.<br>
+    (If you dislike the hiding of the cursor, use 'set showcursor'.)</li>
+<li>The bindable toggle 'nowrap' has been renamed to 'breaklonglines',<br>
+    to match the corresponding option, like for all other toggles.</li>
+<li>Support for Slang has been removed.</li>
+</ul></td></tr></table>
+<br><br>
+
+2020 December 2 - <b>GNU nano 5.4</b> "Terre des hommes"
+<br>
+<table><tr><td><ul>
+<li>Moving the cursor now skips over combining characters (and<br>
+    other zero-width characters).  Deleting a character deletes<br>
+    also any succeeding zero-width characters, but backspacing<br>
+    deletes just one character at a time.</li>
+</ul></td></tr></table>
+<br><br>
+
+2020 October 7 - <b>GNU nano 5.3</b> "Revolution!"
+<br>
+<table><tr><td><ul>
+<li>Option 'set stateflags' makes nano show the state of auto-indenting,<br>
+  the mark, hard-wrapping, macro recording, and soft-wrapping in the<br>
+  title bar.  The flags take the place of "Modified", and a modified<br>
+  buffer is instead indicated by an asterisk (*) after its name.</li>
+<li>Nano no longer by default tries using libmagic to determine the type<br>
+  of a file (when neither filename nor first line gave a clue), because<br>
+  in most cases it is a waste of time.  It requires using the option<br>
+  <tt>--magic</tt> or <tt>-!</tt> or 'set magic' to make nano try libmagic.</li>
+<li>The color of the indicator can be changed with 'set scrollercolor'.</li>
+</ul></td></tr></table>
+<br><br>
+
+2020 August 24 - <b>GNU nano 5.2</b> "Ranrapalca"
+<br>
+<table><tr><td><ul>
+<li>Making certain replacements after a large paste does not crash.</li>
+<li>Hitting a toggle at the Search prompt does not clear the answer.</li>
+<li>Using <tt>--positionlog</tt> does not complain at the first start.</li>
+<li>A macro containing a Search command will not sometimes fail.</li>
+</ul></td></tr></table>
+<br><br>
+
 2020 August 12 - <b>GNU nano 5.1</b> "Cantabria"
 <br>
 <table><tr><td><ul>
 2020 August 12 - <b>GNU nano 5.1</b> "Cantabria"
 <br>
 <table><tr><td><ul>
   It allows running a syntax-specific command on the contents of<br>
   the buffer.</li>
 <li><tt>^T</tt> will try to run 'hunspell' before 'spell', because it checks<br>
   It allows running a syntax-specific command on the contents of<br>
   the buffer.</li>
 <li><tt>^T</tt> will try to run 'hunspell' before 'spell', because it checks<br>
-  spellling for the locale's language and understands UTF-8.</li>
+  spelling for the locale's language and understands UTF-8.</li>
 <li>Multiple errors or warnings on startup will no longer slow nano<br>
   down but will be indicated on the status bar with trailing dots.</li>
 </ul></td></tr></table>
 <li>Multiple errors or warnings on startup will no longer slow nano<br>
   down but will be indicated on the status bar with trailing dots.</li>
 </ul></td></tr></table>
 <br>
 <table><tr><td><ul>
 <li>The ability to read from and write to a FIFO has been regained.</li>
 <br>
 <table><tr><td><ul>
 <li>The ability to read from and write to a FIFO has been regained.</li>
+<li>Opening a file no longer triggers an inotify CLOSE_WRITE event.</li>
 <li>Startup time is reduced by fully parsing a syntax only when needed.</li>
 <li>Asking for help (<tt>^G</tt>) when using <tt>--operatingdir</tt> does not crash.</li>
 <li>The reading of a huge or slow file can be stopped with <tt>^C</tt>.</li>
 <li>Startup time is reduced by fully parsing a syntax only when needed.</li>
 <li>Asking for help (<tt>^G</tt>) when using <tt>--operatingdir</tt> does not crash.</li>
 <li>The reading of a huge or slow file can be stopped with <tt>^C</tt>.</li>
@@ -715,8 +937,4 @@ Bye!  And thanks for all the grass!
 </tr>
 </table>
 
 </tr>
 </table>
 
-</td>
-</tr>
-</table>
-
 <?php include "bottom.php"; ?>
 <?php include "bottom.php"; ?>
index 00e2cb7589678917c5d980f76b571bbd84e186ea..f892f374136418336753743ff6dd5edf43ed3916 100644 (file)
@@ -1,55 +1,50 @@
-<?php include "top.php"; ?>
+<?php $title="Screenshots";  include "top.php"; ?>
 
 
-<title>GNU nano: Screenshots</title>
+<span id="screenshots">
 
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="70%">
-<tr VALIGN=TOP>
-<td>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr VALIGN=TOP>
-<td>
 <br>
 <center><b>Screenshots</b></center>
 <br>
 <center><b>Screenshots</b></center>
-</td>
-</tr>
-</table>
+<br>
 
 <blockquote>
 
 <blockquote>
-<UL>
+<ul>
+
+<li>5.x era<br>
+   With <tt>--indicator</tt> and <tt>--nohelp</tt> and a highlighted search match:<br>
+   <img src="nano-5.7.png" alt="screenshot of 5.7"><br><br>
+</li>
 
 
-<LI>4.x era<br>
+<li>4.x era<br>
    Modern version showing line numbers and selected text:<br>
    <img src="nano-4.2.png" alt="screenshot of 4.2"><br><br>
    Modern version showing line numbers and selected text:<br>
    <img src="nano-4.2.png" alt="screenshot of 4.2"><br><br>
-</LI>
+</li>
 
 
-<LI>3.x era<br>
+<li>3.x era<br>
    Modern version showing its undo support:<br>
    <img src="nano-3.2.png" alt="screenshot of 3.2"><br><br>
    Modern version showing its undo support:<br>
    <img src="nano-3.2.png" alt="screenshot of 3.2"><br><br>
-</LI>
+</li>
 
 
-<LI>2.x era<br>
+<li>2.x era<br>
    Modern version with a colorized interface:<br>
    <img src="nano-2.5.0.png" alt="screenshot of 2.5.0"><br><br>
    Modern version with a colorized interface:<br>
    <img src="nano-2.5.0.png" alt="screenshot of 2.5.0"><br><br>
-</LI>
+</li>
 
 
-<LI>1.x era<br>
+<li>1.x era<br>
    Showing support for syntax highlighting:<br>
    <img src="colorsyntax.png" alt="screenshot"><br><br>
 
    Switching between multiple file buffers with Meta-&lt; and Meta-&gt;:<br>
    <img src="multibuffer.png" alt="screenshot"><br><br>
    Showing support for syntax highlighting:<br>
    <img src="colorsyntax.png" alt="screenshot"><br><br>
 
    Switching between multiple file buffers with Meta-&lt; and Meta-&gt;:<br>
    <img src="multibuffer.png" alt="screenshot"><br><br>
-</LI>
+</li>
 
 
-<LI>before 1.0<br>
+<li>before 1.0<br>
    Default (basic) nano setup:<br>
    <img src="nanodefault2.png" alt="screenshot"><br><br>
    Default (basic) nano setup:<br>
    <img src="nanodefault2.png" alt="screenshot"><br><br>
-</LI>
+</li>
 
 
-</UL>
+</ul>
 </blockquote>
 
 </blockquote>
 
-</td>
-</tr>
-</table>
+</span>
 
 <?php include "bottom.php"; ?>
 
 <?php include "bottom.php"; ?>
diff --git a/state.php b/state.php
new file mode 100644 (file)
index 0000000..014da31
--- /dev/null
+++ b/state.php
@@ -0,0 +1,56 @@
+<?php $title="Current state";  include "top.php"; ?>
+
+<br>
+<center><b>Latest version in various distros</b></center>
+<br>
+<br>
+
+<div>
+
+<div class="onecolumn">
+<img src="https://repology.org/badge/version-for-repo/arch/nano.svg?header=Arch Linux" alt="Arch package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/debian_unstable/nano.svg?header=Debian Unstable" alt="Debian Unstable package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/fedora_rawhide/nano.svg?header=Fedora Rawhide" alt="Fedora Rawhide package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/freebsd/nano.svg?header=FreeBSD" alt="FreeBSD port">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/gentoo/nano.svg?header=Gentoo" alt="Gentoo package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/gnuguix/nano.svg?header=GNU Guix" alt="GNU Guix package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/homebrew/nano.svg?header=Homebrew" alt="Homebrew package">
+</div>
+
+<div class="onecolumn">
+<img src="https://repology.org/badge/version-for-repo/macports/nano.svg?header=MacPorts" alt="MacPorts package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/mageia_cauldron/nano.svg?header=Mageia Cauldron" alt="Mageia Cauldron package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/pkgsrc_current/nano.svg?header=NetBSD" alt="NetBSD port">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/openbsd/nano.svg?header=OpenBSD" alt="OpenBSD port">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/opensuse_tumbleweed/nano.svg?header=openSUSE Tumbleweed" alt="openSUSE Tumbleweed package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/slackware_current/nano.svg?header=Slackware current" alt="Slackware current package">
+<br>
+<br>
+<img src="https://repology.org/badge/version-for-repo/termux/nano.svg?header=Termux" alt="Termux package">
+</div>
+
+</div>
+
+<?php include "bottom.php"; ?>
diff --git a/style-dark.css b/style-dark.css
deleted file mode 100644 (file)
index fe37b06..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The dark style when user prefers that in their browser/OS.
- */
-
-body {
-       color: #cc88ff;
-       background-color: #111;
-}
-.inverted {
-       color: white;
-       background-color: #9200ff;
-}
-
-a {
-       color: #cc88ff;
-}
-a:visited {
-       color: #bb77ff;
-}
-a:active {
-       color: #FF0000;
-}
-
-.inverted a {
-       color: white;
-}
diff --git a/style-light.css b/style-light.css
deleted file mode 100644 (file)
index 3a93df5..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The default (light) style.
- */
-
-body {
-       color: #440077;
-       background-color: white;
-}
-.inverted {
-       color: white;
-       background-color: #440077;
-}
-
-a {
-       color: #440077;
-}
-a:visited {
-       color: #51188E;
-}
-a:active {
-       color: #FF0000;
-}
-
-.inverted a {
-       color: white;
-}
diff --git a/style.css b/style.css
new file mode 100644 (file)
index 0000000..cd59d15
--- /dev/null
+++ b/style.css
@@ -0,0 +1,135 @@
+@charset "utf-8";
+
+/* Variables for light & dark modes. */
+
+:root {
+       --nano-content-bg-color: #fff;
+       --nano-content-fg-color: #440077;
+       --nano-inverted-bg-color: #407;
+       --nano-inverted-fg-color: #fff;
+       --nano-a-color: #407;
+       --nano-a-visited-color: #51188E;
+       --nano-a-active-color: #F00;
+       --nano-a-inverted-color: #fff;
+}
+
+@media (prefers-color-scheme: dark) {
+:root {
+       --nano-content-bg-color: #111;
+       --nano-content-fg-color: #cc88ff;
+       --nano-inverted-bg-color: #9200ff;
+       --nano-inverted-fg-color: #fff;
+       --nano-a-color: #c8f;
+       --nano-a-visited-color: #b7f;
+       --nano-a-active-color: #F00;
+       --nano-a-inverted-color: #fff;
+}
+}
+
+body {
+       color: var(--nano-content-fg-color);
+       background-color: var(--nano-content-bg-color);
+}
+.inverted {
+       color: var(--nano-inverted-fg-color);
+       background-color: var(--nano-inverted-bg-color);
+}
+
+a {
+       color: var(--nano-a-color);
+}
+a:visited {
+       color: var(--nano-a-visited-color);
+}
+a:active {
+       color: var(--nano-a-active-color);
+}
+
+.inverted a {
+       color: var(--nano-a-inverted-color);
+}
+
+* {
+       box-sizing: border-box;
+}
+
+.onecolumn {
+       float: left;
+       width: 45%;
+       padding: 5%;
+}
+
+table {
+       border-spacing: 0px;
+       border-collapse: separate;
+}
+
+table#homepage {
+       padding-top: 3em;
+       padding-bottom: 3em;
+}
+
+table#top td,
+div#bottom .indented {
+       padding-left: 1ch;
+       padding-right: 1ch;
+}
+
+table#docs,
+table#download {
+       width: 80%;
+}
+
+div#bottom {
+       display: flex;
+       flex-wrap: wrap;
+}
+div#bottom span.menuitem {
+       flex-basis: 25%;
+       flex-grow: 1;
+       flex-shrink: 0;
+       line-height: 1em;
+       white-space: nowrap;
+}
+
+/* Mobile (i.e. phones) */
+@media only screen and (max-width: 768px) {
+body {
+       margin: 0px;
+}
+
+blockquote {
+       margin: 1em 0 1em 0;
+}
+
+table#homepage {
+       font-size: x-small;
+}
+
+table#top td,
+div#bottom .indented {
+       padding-left: 0.5ch;
+       padding-right: 0.5ch;
+}
+
+div#bottom span.menuitem {
+       font-size: large;
+       line-height: inherit;
+}
+
+table#docs,
+table#download {
+       width: 100%;
+}
+
+#screenshots ul {
+       padding-left: 0;
+}
+}
+
+@media only screen and (max-width: 600px) {
+div#bottom span.menuitem {
+       flex-basis: 50%;
+       line-height: 1.5em;
+}
+}
diff --git a/top.php b/top.php
index 87c4ff19109238f347c7cbabad0cb5ee8a4a397d..658d443413a317431f658b3c121608c7af9dc214 100644 (file)
--- a/top.php
+++ b/top.php
@@ -3,34 +3,30 @@
 
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+   <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; ?>
    <link rel="icon" href="/favicon.ico">
    <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>
 
 </head>
 
 <body>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="8%">
+<table border=0 width="100%">
 <tr><td>
 
 <tr><td>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" CLASS="inverted">
+<table id="top" border=0 width="100%" class="inverted">
 <tr>
 
 <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>
 
 </tr>
 </table>
diff --git a/who.php b/who.php
index 79738bc406dec7b98ebb4e8cb12256506092ce0c..5a07377af931c8f328d2c9a17e243dc6034f5a80 100644 (file)
--- a/who.php
+++ b/who.php
-<?php include "top.php"; ?>
+<?php $title="Who's who";  include "top.php"; ?>
 
 
-<title>GNU nano: Who's who</title>
-
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="70%">
-<tr VALIGN=TOP>
-<td>
-
-&nbsp;
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr>
-<td>
+<br><br>
 <center><b>Original Author</b></center>
 <center><b>Original Author</b></center>
-</td>
-</tr>
-</table>
 
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<table border=0 width="100%">
 <tr>
 <td><center>Chris Allegretta</center></td>
 </tr>
 </table>
 
 <tr>
 <td><center>Chris Allegretta</center></td>
 </tr>
 </table>
 
-&nbsp;
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr>
-<td>
+<br><br>
 <center><b>Current Maintainer</b></center>
 <center><b>Current Maintainer</b></center>
-</td>
-</tr>
-</table>
 
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<table border=0 width="100%">
 <tr>
 <td><center>Benno Schulenberg</center></td>
 </tr>
 </table>
 
 <tr>
 <td><center>Benno Schulenberg</center></td>
 </tr>
 </table>
 
-&nbsp;
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr>
-<td>
+<br><br>
 <center><b>Former Maintainers</b></center>
 <center><b>Former Maintainers</b></center>
-</td>
-</tr>
-</table>
 
 
-<table ALIGN=CENTER BORDER=0 CELLSPACING=0 WIDTH="60%">
-<tr ALIGN=CENTER>
+<table align="center" border=0 width="60%">
+<tr align="center">
 <td><center>David Lawrence Ramsey</center></td>
 <td><center>Chris Allegretta</center></td>
 </tr>
 </table>
 
 <td><center>David Lawrence Ramsey</center></td>
 <td><center>Chris Allegretta</center></td>
 </tr>
 </table>
 
-&nbsp;
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr>
-<td>
+<br><br>
 <center><b>Early Co-Developers</b></center>
 <center><b>Early Co-Developers</b></center>
-</td>
-</tr>
-</table>
 
 
-<table ALIGN=CENTER BORDER=0 CELLSPACING=0 WIDTH="80%">
-<tr ALIGN=CENTER>
+<table align="center" border=0 width="80%">
+<tr align="center">
 <td><center>Jordi Mallach</center></td>
 <td><center>David Benbennick</center></td>
 <td><center>Rocco Corsi</center></td>
 </tr>
 <td><center>Jordi Mallach</center></td>
 <td><center>David Benbennick</center></td>
 <td><center>Rocco Corsi</center></td>
 </tr>
-<tr ALIGN=CENTER>
+<tr align="center">
 <td><center>Mike Frysinger</center></td>
 <td><center>Adam Rogoyski</center></td>
 <td><center>Rob Siemborski</center></td>
 </tr>
 </table>
 
 <td><center>Mike Frysinger</center></td>
 <td><center>Adam Rogoyski</center></td>
 <td><center>Rob Siemborski</center></td>
 </tr>
 </table>
 
-&nbsp;
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr>
-<td>
+<br><br>
 <center><b>Contributors of Code and Fixes</b></center>
 <center><b>Contributors of Code and Fixes</b></center>
-</td>
-</tr>
-</table>
 
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr ALIGN=CENTER>
+<table border=0 width="100%">
+<tr align="center">
 <td>Ken Tyler</td>
 <td>Sven Guckes</td>
 <td>Bill Soudan</td>
 <td>Christian Weisgerber</td>
 <td>Kamil Dudka</td>
 </tr>
 <td>Ken Tyler</td>
 <td>Sven Guckes</td>
 <td>Bill Soudan</td>
 <td>Christian Weisgerber</td>
 <td>Kamil Dudka</td>
 </tr>
-<tr ALIGN=CENTER>
+<tr align="center">
 <td>Mark Majeres</td>
 <td>Joshua Jensen</td>
 <td>Ryan Krebs</td>
 <td>Big Gaute</td>
 <td>Albert Chin</td>
 </tr>
 <td>Mark Majeres</td>
 <td>Joshua Jensen</td>
 <td>Ryan Krebs</td>
 <td>Big Gaute</td>
 <td>Albert Chin</td>
 </tr>
-<tr ALIGN=CENTER>
+<tr align="center">
 <td>Faissal Bensefia</td>
 <td>Mahyar Abbaspour</td>
 <td>Mike Scalora</td>
 <td>Faissal Bensefia</td>
 <td>Mahyar Abbaspour</td>
 <td>Mike Scalora</td>
 </tr>
 </table>
 
 </tr>
 </table>
 
-</td>
-</tr>
-</table>
+<br>
 
 <?php include "bottom.php"; ?>
 
 <?php include "bottom.php"; ?>