Commit Graph

41 Commits (main)

Author SHA1 Message Date
Philip Kaludercic 5bf6ba661e
; * layout.css (dl): Reindent block 2024-05-25 10:21:34 +02:00
Adam Porter e926c4cd4c
* html/layout.css: Improve readability of DL elements
(dl): Don't decrease font size.  Indent list slightly to set off from
body text.
(dt): Don't limit width.  Don't display inline.  Ensure small margin
above each term.
(dd): Don't limit width.  Don't display inline.

While DL lists might be expected to be, e.g. a glossary, where each DT
element is just one term, these lists are commonly used for other
purposes, in which DT elements may be a sentence or more; this is
especially so for some ELPA packages' manuals which are exported to
HTML from Org files.  Cramming these terms into a narrow column next
to their definition makes such lists hard to read.  Instead, this
change puts the terms and definitions on their own lines.
2024-05-25 10:05:01 +02:00
Adam Porter 879861de4d
* html/layout.css (table): margin: 1em 0 1em
Ensure some margin around tables, otherwise they run up against body
text and other tables.
2024-05-25 10:04:59 +02:00
Philip Kaludercic f6b85cd7d9 Add support for Atom links as a badge
* (html/images/rss.svg): Add new custom icon.  I wrote it by hand to
avoid licensing issues.  Based on [0].
(html/layout.css): Add "badge" class to push the Atom link badge to
the side of the page.

[0] https://en.wikipedia.org/wiki/File:Feed-icon.svg
2024-05-01 22:00:19 +02:00
Philip Kaludercic 7247f047a3 Improve robustness of table filter
To avoid raising an exception while parsing a regular expression, we
process the input escaping meta-characters and creating a custom
regular expression that matches words in the query occurring in any
order.  (Bug#69132)
2024-02-25 21:37:29 +01:00
Philip Kaludercic f56a985ab0 Improve performance of the table filter
The main changes are to modify the class lists less frequently, thus
reducing the number of CSS reflows and the utilisation of an "idle
timer", to avoid unnecessarily updating the table while the user is
still typing.  (Bug#69132)
2024-02-25 21:37:29 +01:00
Stefan Monnier 2ecaef9469 html/layout.css: Re-add the CSS classes options
The HTML files are rebuilt lazily, so we have to work with
old HTML files that haven't yet been re-generated.
2024-02-24 19:29:47 -05:00
Philip Kaludercic 4c73cd608e Replace jQuery "filtertable" script with plain JavaScript 2024-02-23 20:45:36 +01:00
Philip Kaludercic 7bacaf9d82 Use HTML5 tags instead of CSS classes 2024-02-23 20:07:40 +01:00
Stefan Monnier 9d3f52e57d html/*.html: Change license to CC BY-SA
* html/index.html: Remove comment about Emacs-24.
Update recommendation about `package-initialize`.
Change license to CC BY-SA.  Reindent.

* html/layout.css (small): Give it the usual appearence.

* html/nongnu.html: Change license to CC BY-SA.  Reindent.
2022-11-12 17:33:03 -05:00
Stefan Monnier 7d74f07514 * html/layout.css (strong, em): New rules 2022-10-28 13:46:00 -04:00
Stefan Monnier 8d849e591e * html/layout.css: Fix rendering of markdown code blocks 2022-10-27 23:03:20 -04:00
Stefan Monnier fb459df490 htlm/layout.css (h3, h4, h5): Refine last change
Prefer bold to underline and fix non-working specification of italic
2022-09-11 17:25:39 -04:00
Adam Porter 7d8c2d03dc * html/layout.css (h4, h5): Margins, text-decoration
The margin changes add whitespace after other page elements, matching
the margins of other heading levels.  The text decorations visually
distinguish them from normal body text.  The result is much more
readable.
2022-09-11 10:45:48 -04:00
Adam Porter 5f37f4d841 * html/layout.css (p): Improve margins
Previously, paragraphs only had bottom margins, which caused them to
have nearly no spacing between them and other, non-paragraph page
elements.  This change maintains the same spacing between paragraphs,
while adding space after other elements, which looks *much* better,
e.g. for `README.org`s where code blocks where not equally spaced
before/after.
2022-09-11 10:44:01 -04:00
Stefan Kangas f466c0db3c Update copyright years 2022-01-05 16:40:14 +01:00
Philip Kaludercic d215a20e08 * html/nongnu.html: Add HTML for elpa.nongnu.org 2021-11-02 10:05:57 +01:00
Yuan Fu dcbd1d73ea * html/layout.css (dd): Reduce `margin-bottom`. 2021-08-03 18:17:29 -04:00
Stefan Kangas e93fe5a6bc Very minor CSS cleanup
* html/layout.css (body): Capitalize font name.
(pre): Prefer em to px for padding.
2021-04-26 03:09:54 +02:00
Stefan Kangas 3745515fef Prefer HTTPS to HTTP in many links 2021-04-21 04:27:04 +02:00
Stefan Kangas a0765de1dd Bump license for HTML pages to CC BY-ND 4.0
* html/index.html:
* html/jslicense.html: Bump license to CC BY-ND 4.0.

This is recommended by:
https://www.gnu.org/licenses/license-list.html#OpinionLicenses
2021-04-21 04:27:04 +02:00
Stefan Kangas 93e40e0604 Support LibreJS (Bug#47152)
* html/jslicense.html: New file.
2021-04-21 04:27:04 +02:00
Stefan Kangas 3011c3d068 * html/layout.css (tt, code): Add "white-space: nowrap".
This avoids having e.g. "(package-initialize)" on the front page being wrapped
over two lines.
2021-04-20 15:41:44 +02:00
Stefan Kangas 5379aa360b * html/layout.css: Add license statement. 2021-04-20 15:38:00 +02:00
Stefan Kangas a92847686f Minor CSS font-family fixes (Bug#47671)
* html/layout.css (body, tt, code, pre): Fix font-family.
Suggested by Sebastian Urban <mrsebastianurban@gmail.com>.
2021-04-20 15:35:22 +02:00
Stefan Kangas 20a9074c45 Sync jQuery with upstream (version 1.12.4) 2020-09-11 22:39:41 +02:00
Stefan Kangas ecf285bd7f Sync jQuery.FilterTable with upstream (version 1.5.7) 2020-09-11 22:39:41 +02:00
Stefan Kangas 6b83e5ed31 * html/index.html: Minor improvement to wording. 2020-08-27 01:21:52 +02:00
Stefan Kangas 6c1b932439 Add lang attributes to the html tag
* html/index.html:
* admin/archive-contents.el (archive--html-header): Add lang attributes
to the html tag as recommended by W3C.
2020-08-27 01:20:39 +02:00
Stefan Kangas 397c236d8b Update copyright year in index.html
* html/index.html (Contact): Update copyright year.
2020-08-15 16:35:25 +02:00
Stefan Kangas 347030d693 Add contact details to front page (Bug#34460)
* html/index.html: Add contact details.
* html/layout.css: Add new styles for h3, ul, li.
2020-01-22 08:34:39 +01:00
Nicolas Petton 33479282bf Package pages improvements
* admin/archive-contents.el: Better layout for package descriptions,
and add a section for package installation.
* html/layout.css: Minor improvements.
2016-12-01 16:44:34 +01:00
Nicolas Petton bf0be51042 Website footer improvement
* admin/archive-contents.el:
* html/index.html: Add a link to the FSF, and a copyright.
* html/layout.css: Make the footer taller.
2016-12-01 16:43:43 +01:00
Nicolas Petton d2d8dd08c0 Better generated HTML pages
* admin/archive-contents.el: Better HTML generation.
* html/index.html: Improvements of the page.
* html/javascript/jquery.filtertable.min.js:
* html/layout.css: New css rules
* html/favicon.png:
* html/images/elpa-small.png:
* html/images/elpa.png:
* html/javascript/jquery.min.js:
* html/javascript/package-search.js: New files.
2015-10-30 22:50:59 +01:00
Stefan Monnier 5607de3046 html/index.html: Sync with the real file 2015-08-27 22:14:23 -04:00
Xue Fuqiao 7765674fdc Minor fix, according to the GNU Web Site Guidelines 2013-12-29 12:56:46 +08:00
Xue Fuqiao 9192ab360a Continue previous change. 2013-12-16 21:13:46 +08:00
Xue Fuqiao da544ac0b2 Minor cleanup. 2013-12-16 21:08:26 +08:00
Xue Fuqiao 74b4742eb7 Make html/index.html be consistent with other gnu.org websites. 2013-12-16 20:55:54 +08:00
Ted Zlatanov 4e5239adb3 Add front-page /packages link.
* html/index.html: Add link to /packages directory in the front page.
2011-04-25 22:18:19 -05:00
Ted Zlatanov e33caa05b6 * html/index.html, html/layout.css : Initial import. 2010-11-20 11:32:45 -06:00