From 9e53a8f7536c75b9056d39f6a44b1ea121868ed0 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 18 Jan 2023 09:51:16 +0100 Subject: [PATCH 01/16] note the release of 7.2 --- last-modified | 2 +- last-version | 2 +- news.php | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/last-modified b/last-modified index 3c28923..d7ee8f6 100644 --- a/last-modified +++ b/last-modified @@ -1 +1 @@ -2022 December 14 \ No newline at end of file +2023 January 18 \ No newline at end of file diff --git a/last-version b/last-version index 986084f..be4cea5 100644 --- a/last-version +++ b/last-version @@ -1 +1 @@ -7.1 \ No newline at end of file +7.2 \ No newline at end of file diff --git a/news.php b/news.php index 16e9329..36e348b 100644 --- a/news.php +++ b/news.php @@ -12,6 +12,13 @@

+2023 January 18 - GNU nano 7.2 "Boer doe mij 't hekke lös!" +
+
    +
  • <Shift+Insert> is prevented from pasting in view mode.
  • +
+

+ 2022 December 14 - GNU nano 7.1 "And the devices shall be made of wood"
    -- 2.39.2 From f48717bc36db22aa38b86e1db6ae0dbcdcef60dd Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 5 Feb 2023 16:38:21 +0100 Subject: [PATCH 02/16] lowercase a bunch of attribute names plus some tags, for esthetics --- bottom.php | 32 +++++++++++++++--------------- docs.php | 6 +++--- download.php | 4 ++-- history.php | 52 ++++++++++++++++++++++++------------------------- index.php | 2 +- news.php | 2 +- screenshots.php | 28 +++++++++++++------------- top.php | 4 ++-- who.php | 22 ++++++++++----------- 9 files changed, 76 insertions(+), 76 deletions(-) diff --git a/bottom.php b/bottom.php index 2f267bc..ca5a788 100644 --- a/bottom.php +++ b/bottom.php @@ -1,35 +1,35 @@
    - +

    - +
    - - + + - - + + - - + + - + - - + + - - + + - - + + - +
    ^G Get Nano^G Get Nano^N News^N News^W Who^W Who^T^T  Git
    ^D Documentation^D Documentation^H History^H History^S Screenshots^S Screenshots^C^C  Contact
    diff --git a/docs.php b/docs.php index a0f2296..ee9baae 100644 --- a/docs.php +++ b/docs.php @@ -4,9 +4,9 @@
    Documentation

    - - -
    + + +
    Document Name
    diff --git a/download.php b/download.php index c2aa72f..eebc1f4 100644 --- a/download.php +++ b/download.php @@ -4,8 +4,8 @@
    Downloading GNU nano

    -
    - +
    + diff --git a/history.php b/history.php index a271d52..a3cc8fe 100644 --- a/history.php +++ b/history.php @@ -8,9 +8,9 @@

    Improvements made in version 2.6:
    -
    Description Links
    +
    -
      +
      • Trailing whitespace can be snipped from justified paragraphs.
      • Better feedback when a file is unwritable or a directory inaccessible.
      • Bindable functions for deleting a word to the left and to the right.
      • @@ -20,7 +20,7 @@ Improvements made in version 2.6:
      • Resizing the window does not exit from help viewer nor file browser.
      • On some terminals Ctrl+Left and Ctrl+Right jump to previous and next word.
      • A steadier movement of the highlight in the file browser.
      • -
      +
    @@ -29,9 +29,9 @@ Improvements made in version 2.6:

    Improvements made in version 2.4:
    -
    +
    -
      +
      • The ability to give different colors to title bar, status bar and help lines.
      • Linter support, for automatically putting the cursor on syntax errors.
      • Formatter support, for normalizing the layout of a text instead of the spelling.
      • @@ -41,7 +41,7 @@ Improvements made in version 2.4:
      • Makes the mouse usable again for clicking on shortcuts.
      • Fixes several syntax coloring issues.
      • Adds more syntax highlighting examples (Go, guile, javascript, json, PO files, texinfo, ...).
      • -
      +
    @@ -50,23 +50,23 @@ Improvements made in version 2.4:

    Improvements made in version 2.2:
    -
    +
    -
      +
      • Customizable key bindings.
      • Abortable searching (^C after ^W).
      • Partial undo/redo support [EXPERIMENTAL].
      • Pager support (i.e. reading from stdin).
      • -
      +
    -
      +
      • Warnings for unwritable files and for external modification since opening.
      • "Soft" line wrapping (i.e. display of complete lines).
      • More syntax highlighting examples (Fortran, objC, OCaml, Makefiles).
      • Faster syntax highlighting for complicated regexes.
      • -
      +
    @@ -75,25 +75,25 @@ Improvements made in version 2.2:

    Improvements made in version 2.0:
    -
    +
    -
      +
      • UTF-8 support.
      • Improved color syntax highlighting.
      • Copy text without cutting it.
      • Verbatim input mode.
      • Repeat last seach (Meta-W).
      • -
      +
    -
      +
      • Spell check/replace selected text only.
      • Indent marked text.
      • Move to beginning/end of paragraph.
      • Search within the file browser.
      • Auto-conversion of mixed file format.
      • -
      +
    @@ -102,9 +102,9 @@ Improvements made in version 2.0:

    Improvements made in version 1.2:
    -
    +
    -
      +
      • More Pico compatible by default.
      • Smooth scrolling (-S flag).
      • Bracket matching (Meta-]).
      • @@ -112,11 +112,11 @@ Improvements made in version 1.2:
      • Color syntax highlighting.
      • Search and replace history editing.
      • Customizable quoting string (-Q flag).
      • -
      +
    -
      +
      • Append/prepend from write file menu.
      • Write selected text to file (^O after ^^).
      • Multiple file buffers (-F flag).
      • @@ -124,7 +124,7 @@ Improvements made in version 1.2:
      • Saved search/replace history (-H flag).
      • Backup files (-B flag).
      • Insert output of command (^X after ^R).
      • -
      +
    @@ -133,27 +133,27 @@ Improvements made in version 1.2:

    Version 1.0 had the following features:
    -
    +
    -
      +
      • Autoconf support.
      • Truly free license (GNU GPL).
      • Goto-line command without a flag.
      • Case-sensitive search function.
      • Interactive search and replace.
      • About half the size of the Pico binary.
      • -
      +
    -
      +
      • Slang and ncurses support.
      • Autoindent abillity.
      • Displayed tab width option.
      • Regular-expression search and replace.
      • Toggles for command-line flags via Meta keys.
      • Tab completion when reading/writing files.
      • -
      +
    diff --git a/index.php b/index.php index 8a7bba9..68069e6 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ - +
    diff --git a/news.php b/news.php index 36e348b..fed4b4b 100644 --- a/news.php +++ b/news.php @@ -1,6 +1,6 @@ - +


    diff --git a/screenshots.php b/screenshots.php index e5c758b..0f47680 100644 --- a/screenshots.php +++ b/screenshots.php @@ -5,42 +5,42 @@
    -
      +
        -
      • 5.x era
        +
      • 5.x era
        With --indicator and --nohelp and a highlighted search match:
        screenshot of 5.7

        -
      • + -
      • 4.x era
        +
      • 4.x era
        Modern version showing line numbers and selected text:
        screenshot of 4.2

        -
      • + -
      • 3.x era
        +
      • 3.x era
        Modern version showing its undo support:
        screenshot of 3.2

        -
      • + -
      • 2.x era
        +
      • 2.x era
        Modern version with a colorized interface:
        screenshot of 2.5.0

        -
      • + -
      • 1.x era
        +
      • 1.x era
        Showing support for syntax highlighting:
        screenshot

        Switching between multiple file buffers with Meta-< and Meta->:
        screenshot

        -
      • + -
      • before 1.0
        +
      • before 1.0
        Default (basic) nano setup:
        screenshot

        -
      • + -
      +
    diff --git a/top.php b/top.php index 5445083..4fbf7a0 100644 --- a/top.php +++ b/top.php @@ -14,10 +14,10 @@ - +
    - +
    diff --git a/who.php b/who.php index 1990295..f51234e 100644 --- a/who.php +++ b/who.php @@ -3,7 +3,7 @@

    Original Author
    - +
    @@ -12,7 +12,7 @@

    Current Maintainer
    -
    Chris Allegretta
    +
    @@ -21,8 +21,8 @@

    Former Maintainers
    -
    Benno Schulenberg
    - +
    + @@ -31,13 +31,13 @@

    Early Co-Developers
    -
    David Lawrence Ramsey
    Chris Allegretta
    - +
    + - + @@ -47,22 +47,22 @@

    Contributors of Code and Fixes
    -
    Jordi Mallach
    David Benbennick
    Rocco Corsi
    Mike Frysinger
    Adam Rogoyski
    Rob Siemborski
    - +
    + - + - + -- 2.39.2 From 6fe4950fc68995fe322dac95f8d0af990b9e3fd3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 10:53:11 -0500 Subject: [PATCH 03/16] faq: add html to latest dist --- faq.html | 1 + 1 file changed, 1 insertion(+) create mode 120000 faq.html diff --git a/faq.html b/faq.html new file mode 120000 index 0000000..db90276 --- /dev/null +++ b/faq.html @@ -0,0 +1 @@ +dist/latest/faq.html \ No newline at end of file -- 2.39.2 From 4d3973fde26e2cf8d47c5dc355916526707b462a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:06:01 -0500 Subject: [PATCH 04/16] add for device width to improve mobile rendering It could use some work, but it's still significantly better with this. --- top.php | 1 + 1 file changed, 1 insertion(+) diff --git a/top.php b/top.php index 4fbf7a0..0b0d162 100644 --- a/top.php +++ b/top.php @@ -3,6 +3,7 @@ + nano – <?= $title ?> -- 2.39.2 From 3cd08e87b583069e15df5b187e92eb1844de25d3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:16:01 -0500 Subject: [PATCH 05/16] css: merge light & dark into one file This relies on CSS variables, but all major browsers should support them since 2014-2016 timeframe. --- style-dark.css | 36 ----------------------------- style-light.css | 36 ----------------------------- style.css | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ top.php | 3 +-- 4 files changed, 61 insertions(+), 74 deletions(-) delete mode 100644 style-dark.css delete mode 100644 style-light.css create mode 100644 style.css diff --git a/style-dark.css b/style-dark.css deleted file mode 100644 index 6e621b5..0000000 --- a/style-dark.css +++ /dev/null @@ -1,36 +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; -} - -* { - box-sizing: border-box; -} - -.onecolumn { - float: left; - width: 45%; - padding: 5%; -} diff --git a/style-light.css b/style-light.css deleted file mode 100644 index 7af7eb2..0000000 --- a/style-light.css +++ /dev/null @@ -1,36 +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; -} - -* { - box-sizing: border-box; -} - -.onecolumn { - float: left; - width: 45%; - padding: 5%; -} diff --git a/style.css b/style.css new file mode 100644 index 0000000..e9dcf1f --- /dev/null +++ b/style.css @@ -0,0 +1,60 @@ +@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%; +} diff --git a/top.php b/top.php index 0b0d162..8f613e1 100644 --- a/top.php +++ b/top.php @@ -9,8 +9,7 @@ - - + -- 2.39.2 From 0ac4ace2e660c2487f540ad3ebceb4d1540555bf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:26:23 -0500 Subject: [PATCH 06/16] move table padding to css This largely renders the same. Not exactly, but close enough, and makes it simpler to keep the settings in a single place -- CSS. It also renders better on mobile. --- bottom.php | 4 ++-- history.php | 12 ++++++------ index.php | 2 +- news.php | 2 +- style.css | 10 ++++++++++ top.php | 4 ++-- who.php | 10 +++++----- 7 files changed, 27 insertions(+), 17 deletions(-) diff --git a/bottom.php b/bottom.php index ca5a788..c4f8b53 100644 --- a/bottom.php +++ b/bottom.php @@ -1,10 +1,10 @@
    -
    Ken Tyler Sven Guckes Bill Soudan Christian Weisgerber Kamil Dudka
    Mark Majeres Joshua Jensen Ryan Krebs Big Gaute Albert Chin
    Faissal Bensefia Mahyar Abbaspour Mike Scalora
    +

    - +
    diff --git a/history.php b/history.php index a3cc8fe..91c0a7f 100644 --- a/history.php +++ b/history.php @@ -8,7 +8,7 @@

    Improvements made in version 2.6:
    -
    ^G  Get Nano
    +
    • Trailing whitespace can be snipped from justified paragraphs.
    • @@ -29,7 +29,7 @@ Improvements made in version 2.6:

      Improvements made in version 2.4:
      -
      +
      • The ability to give different colors to title bar, status bar and help lines.
      • @@ -50,7 +50,7 @@ Improvements made in version 2.4:

        Improvements made in version 2.2:
        -
        +
        • Customizable key bindings.
        • @@ -75,7 +75,7 @@ Improvements made in version 2.2:

          Improvements made in version 2.0:
          -
          +
          • UTF-8 support.
          • @@ -102,7 +102,7 @@ Improvements made in version 2.0:

            Improvements made in version 1.2:
            -
            +
            • More Pico compatible by default.
            • @@ -133,7 +133,7 @@ Improvements made in version 1.2:

              Version 1.0 had the following features:
              -
              +
              • Autoconf support.
              • diff --git a/index.php b/index.php index 68069e6..cc81b5b 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ - +
                diff --git a/news.php b/news.php index fed4b4b..911f25b 100644 --- a/news.php +++ b/news.php @@ -1,6 +1,6 @@ - +


                diff --git a/style.css b/style.css index e9dcf1f..3f1cb37 100644 --- a/style.css +++ b/style.css @@ -58,3 +58,13 @@ a:active { width: 45%; padding: 5%; } + +table { + border-spacing: 0px; + border-collapse: separate; +} + +table#homepage { + padding-top: 3em; + padding-bottom: 3em; +} diff --git a/top.php b/top.php index 8f613e1..b88341b 100644 --- a/top.php +++ b/top.php @@ -14,10 +14,10 @@ - +
                - +
                diff --git a/who.php b/who.php index f51234e..5a07377 100644 --- a/who.php +++ b/who.php @@ -3,7 +3,7 @@

                Original Author
                - +
                @@ -12,7 +12,7 @@

                Current Maintainer
                -
                Chris Allegretta
                +
                @@ -21,7 +21,7 @@

                Former Maintainers
                -
                Benno Schulenberg
                +
                @@ -31,7 +31,7 @@

                Early Co-Developers
                -
                David Lawrence Ramsey
                Chris Allegretta
                +
                @@ -47,7 +47,7 @@

                Contributors of Code and Fixes
                -
                Jordi Mallach
                David Benbennick
                +
                -- 2.39.2 From df427ba41658ee70224b398ea35834e602cc1b65 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:33:01 -0500 Subject: [PATCH 07/16] css: tighten mobile display a little --- style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/style.css b/style.css index 3f1cb37..f28304f 100644 --- a/style.css +++ b/style.css @@ -68,3 +68,14 @@ table#homepage { padding-top: 3em; padding-bottom: 3em; } + +/* Mobile (i.e. phones) */ +@media only screen and (max-width: 768px) { +body { + margin: 0px; +} + +table#homepage { + font-size: x-small; +} +} -- 2.39.2 From 9426f8fa76370ed102c63b5b44ca9f1512c83090 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:42:03 -0500 Subject: [PATCH 08/16] tighten up bottom table for mobile Switch from using   to CSS padding. This has the advantage of shrinking when on mobile, and we can enforce a minimum padding on the right side if the elements get too close together. --- bottom.php | 18 +++++++++--------- style.css | 10 ++++++++++ 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/bottom.php b/bottom.php index c4f8b53..ab9bb5e 100644 --- a/bottom.php +++ b/bottom.php @@ -4,33 +4,33 @@
                -
                Ken Tyler Sven Guckes
                +
                - + - + - + - + - + - + - + - +
                ^G Get NanoGet Nano ^N NewsNews ^W WhoWho ^T GitGit
                ^D DocumentationDocumentation ^H HistoryHistory ^S ScreenshotsScreenshots ^C ContactContact
                diff --git a/style.css b/style.css index f28304f..b865d00 100644 --- a/style.css +++ b/style.css @@ -69,6 +69,11 @@ table#homepage { padding-bottom: 3em; } +table#bottom td.indented { + padding-left: 1ch; + padding-right: 1ch; +} + /* Mobile (i.e. phones) */ @media only screen and (max-width: 768px) { body { @@ -78,4 +83,9 @@ body { table#homepage { font-size: x-small; } + +table#bottom td.indented { + padding-left: 0.5ch; + padding-right: 0.5ch; +} } -- 2.39.2 From 795d27ea2f3bd7b75a65f88d28b1f7c13c0c6eee Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:56:08 -0500 Subject: [PATCH 09/16] tighten up top table for mobile Same as the previous commit, but for the top bar. --- style.css | 2 ++ top.php | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/style.css b/style.css index b865d00..65e93a2 100644 --- a/style.css +++ b/style.css @@ -69,6 +69,7 @@ table#homepage { padding-bottom: 3em; } +table#top td, table#bottom td.indented { padding-left: 1ch; padding-right: 1ch; @@ -84,6 +85,7 @@ table#homepage { font-size: x-small; } +table#top td, table#bottom td.indented { padding-left: 0.5ch; padding-right: 0.5ch; diff --git a/top.php b/top.php index b88341b..658d443 100644 --- a/top.php +++ b/top.php @@ -17,24 +17,16 @@
                - +
                - - - - - + + + + +
                - Latest version: - -           - -The GNU nano homepage - -Modified: - -  -Latest version: +The GNU nano homepageModified: +
                -- 2.39.2 From 69165b37b32064e3ad4b84dd98369f7dbb43de74 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 12:03:44 -0500 Subject: [PATCH 10/16] render download & docs the same Use the download table style on the docs page (center 80%), and have them both expand to 100% on mobile. --- docs.php | 4 ++-- download.php | 2 +- style.css | 10 ++++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/docs.php b/docs.php index ee9baae..c04710c 100644 --- a/docs.php +++ b/docs.php @@ -4,7 +4,7 @@
                Documentation

                - +
                -
                Document Name
                @@ -77,6 +77,6 @@ Description
                General description of noteworthy things in each release.
                +
                diff --git a/download.php b/download.php index eebc1f4..9865c25 100644 --- a/download.php +++ b/download.php @@ -4,7 +4,7 @@
                Downloading GNU nano

                -
                +
                diff --git a/style.css b/style.css index 65e93a2..670aa36 100644 --- a/style.css +++ b/style.css @@ -75,6 +75,11 @@ table#bottom td.indented { padding-right: 1ch; } +table#docs, +table#download { + width: 80%; +} + /* Mobile (i.e. phones) */ @media only screen and (max-width: 768px) { body { @@ -90,4 +95,9 @@ table#bottom td.indented { padding-left: 0.5ch; padding-right: 0.5ch; } + +table#docs, +table#download { + width: 100%; +} } -- 2.39.2 From 3f2b89e4f93e19a2f5c31a456f64af39e2e6cb5a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 25 Nov 2023 11:46:51 -0500 Subject: [PATCH 11/16] bottom: switch to CSS flexbox This allows for better spacing & wrapping on mobile than a table. --- bottom.php | 72 ++++++++++++++++++++++++++++++++---------------------- style.css | 28 +++++++++++++++++++-- 2 files changed, 69 insertions(+), 31 deletions(-) diff --git a/bottom.php b/bottom.php index ab9bb5e..2e7539d 100644 --- a/bottom.php +++ b/bottom.php @@ -4,35 +4,49 @@
                -
                Description Links
                - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                ^GGet Nano^NNews^WWho^TGit
                ^DDocumentation^HHistory^SScreenshots^CContact
                +
                + + +^G +Get Nano + + + +^N +News + + + +^W +Who + + + +^T +Git + + + +^D +Documentation + + + +^H +History + + + +^S +Screenshots + + + +^C +Contact + + +
                diff --git a/style.css b/style.css index 670aa36..be33cd9 100644 --- a/style.css +++ b/style.css @@ -70,7 +70,7 @@ table#homepage { } table#top td, -table#bottom td.indented { +div#bottom .indented { padding-left: 1ch; padding-right: 1ch; } @@ -80,6 +80,18 @@ 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 { @@ -91,13 +103,25 @@ table#homepage { } table#top td, -table#bottom td.indented { +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%; } } + +@media only screen and (max-width: 600px) { +div#bottom span.menuitem { + flex-basis: 50%; + line-height: 1.5em; +} +} -- 2.39.2 From 03e64f959cd6ec285649f37af8f021668cc5cca9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 25 Nov 2023 11:58:24 -0500 Subject: [PATCH 12/16] reduce blockquote margins on mobile --- style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/style.css b/style.css index be33cd9..8db3c1f 100644 --- a/style.css +++ b/style.css @@ -98,6 +98,10 @@ body { margin: 0px; } +blockquote { + margin: 1em 0 1em 0; +} + table#homepage { font-size: x-small; } -- 2.39.2 From 42654991e3e3bdf7335e30b06d4f5579a1c6d90f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 25 Nov 2023 12:09:33 -0500 Subject: [PATCH 13/16] screenshots: reduce padding on mobile --- screenshots.php | 4 ++++ style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/screenshots.php b/screenshots.php index 0f47680..f892f37 100644 --- a/screenshots.php +++ b/screenshots.php @@ -1,5 +1,7 @@ + +
                Screenshots

                @@ -43,4 +45,6 @@ +
                + diff --git a/style.css b/style.css index 8db3c1f..cd59d15 100644 --- a/style.css +++ b/style.css @@ -121,6 +121,10 @@ table#docs, table#download { width: 100%; } + +#screenshots ul { + padding-left: 0; +} } @media only screen and (max-width: 600px) { -- 2.39.2 From e670b1a49681927d54f32d8e92deaa88d45d9f8e Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 3 Dec 2023 11:32:50 +0100 Subject: [PATCH 14/16] add a link to the source code of the website --- git.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git.php b/git.php index 45fb20a..9a35dc4 100644 --- a/git.php +++ b/git.php @@ -12,7 +12,10 @@ If you want to build and run the bleeding-edge version of GNU nano, read the instructions located in the git repository itself. +

                +The source code of this website is available from +https://git.wh0rd.org/nano-editor.git.

                -- 2.39.2 From d4c769b8ec41d1820237f2e91d9b7a91967ca97d Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 3 Dec 2023 11:50:03 +0100 Subject: [PATCH 15/16] add a direct link to nano's git repo, just like for the website repo --- git.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/git.php b/git.php index 9a35dc4..4030be5 100644 --- a/git.php +++ b/git.php @@ -4,11 +4,13 @@
                Source Code
                -You can browse nano's -source code -on the web. +Nano's source code is clonable from +https://git.savannah.gnu.org/git/nano.git. +It can be browsed on the web at +https://git.savannah.gnu.org/cgit/nano.git/log/. +

                -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 instructions located in the git repository itself. @@ -17,6 +19,8 @@ instructions located in the git repository itself. The source code of this website is available from https://git.wh0rd.org/nano-editor.git. +

                +

                edited with nano -- 2.39.2 From 68a9e62234bc28c40cac909a1e981f16a6e91d46 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 3 Dec 2023 11:52:12 +0100 Subject: [PATCH 16/16] add a line break --- git.php | 1 + 1 file changed, 1 insertion(+) diff --git a/git.php b/git.php index 4030be5..aa34526 100644 --- a/git.php +++ b/git.php @@ -6,6 +6,7 @@
                Nano's source code is clonable from https://git.savannah.gnu.org/git/nano.git. +
                It can be browsed on the web at https://git.savannah.gnu.org/cgit/nano.git/log/. -- 2.39.2