From: Mike Frysinger Date: Sat, 22 Aug 2026 16:17:45 +0000 (+0700) Subject: history: rework layout like news X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;p=nano-editor.git history: rework layout like news Make it more responsive to larger & smaller screens, and stop (ab)using
for non-quote purposes. It was used purely because of the spacing it added around the borders. --- diff --git a/history.php b/history.php index a06ecbc..37e9ee2 100644 --- a/history.php +++ b/history.php @@ -2,90 +2,63 @@
History
+
-
-Improvements made in version 2.6:
-
- -
    +
    Improvements made in version 2.6:
    +
    • 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.
    • -
    • A bindable function for saving the current file without prompting for its name.

    • - +
    • A bindable function for saving the current file without prompting for its name.
    • +
    +
    • Commenting/uncommenting lines with a single keystroke (M-3).
    • 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.
    -
-
- -
-Improvements made in version 2.4:
- -
- -
    +
    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.
    • -
    • The undo/redo system has reached a usable state and is enabled by default.

    • - +
    • The undo/redo system has reached a usable state and is enabled by default.
    • +
    +
    • No longer finds "ghosts" of certain UTF-8 characters.
    • 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, ...).
    -
-
- -
-Improvements made in version 2.2:
- -
- -
    +
    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.
    -
-
- - -
-Improvements made in version 2.0:
-
- -
    +
    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.
    • @@ -93,16 +66,9 @@ Improvements made in version 2.0:
    • Auto-conversion of mixed file format.
    -
-
- -
-Improvements made in version 1.2:
- -
- -
    +
    Improvements made in version 1.2:
    +
    • More Pico compatible by default.
    • Smooth scrolling (-S flag).
    • Bracket matching (Meta-]).
    • @@ -111,10 +77,7 @@ Improvements made in version 1.2:
    • 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,16 +87,9 @@ Improvements made in version 1.2:
    • Insert output of command (^X after ^R).
    -
-
- - -
-Version 1.0 had the following features:
- -
-
    +
    Version 1.0 had the following features:
    +
    • Autoconf support.
    • Truly free license (GNU GPL).
    • Goto-line command without a flag.
    • @@ -141,10 +97,7 @@ Version 1.0 had the following features:
    • Interactive search and replace.
    • About half the size of the Pico binary.
    - -
- -
    +
    • Slang and ncurses support.
    • Autoindent abillity.
    • Displayed tab width option.
    • @@ -153,7 +106,7 @@ Version 1.0 had the following features:
    • Tab completion when reading/writing files.
    -
-
+ +
diff --git a/style.css b/style.css index 8f2f2a5..4e86cfb 100644 --- a/style.css +++ b/style.css @@ -132,6 +132,19 @@ div#news ul.details { padding-left: 1em; } +div#history {} +div#history div.title { + margin-left: 2em; + margin-top: 2em; +} +div#history ul.details { + display: inline-block; + margin-bottom: 0; + margin-left: 2em; + margin-top: 1em; + padding-left: 1em; +} + div.who { display: flex; flex-wrap: wrap; @@ -203,6 +216,11 @@ table#download { width: 100%; } +div#history div.title, +div#history ul.details { + margin-left: 1em; +} + span.who-2, span.who-3, span.who-5 { @@ -227,6 +245,11 @@ div#bottom span.menuitem { flex-basis: 50%; line-height: 1.5em; } + +div#history div.title, +div#history ul.details { + margin-left: 0.5em; +} } /* These breaks depend on the current font-size which is 16px by default. */