summaryrefslogtreecommitdiff
path: root/html/layout.css
AgeCommit message (Collapse)Author
2026-01-18Update copyright yearsPhilip Kaludercic
2025-02-11Show rank instead of version on narrow displaysjohn muhl
* html/layout.css (td): (th): Hide version and right align rank column.
2025-02-11Fix some CSS issuesjohn muhl
* html/layout.css (footer): Remove fixed height so the background expands to encompass all footer content. (table): Make packages table always use full page width.
2024-11-02Scale images to fit into the package description pagesPhilip Kaludercic
2024-06-13Set css-indent-offset to 2Adam Porter
This ensures consistent indentation of our CSS files across developers (the default not being what this project uses). Also, reindent a couple of blocks in layout.css accordingly. (This change was made with "M-x add-dir-local-variable", which also added the "no-byte-compile" line and reordered the modes.) * .dir-locals.el: (css-mode) Set css-indent-offset to 2. * html/layout.css: Reindent two blocks.
2024-06-13* html/layout.css: Remove character accidentally insertedAdam Porter
A minor oops from 2ecaef9469bd46bf6433d9913bac9791559b12f9.
2024-06-13* html/layout.css: (ol, ul) Enable bullets, numbersAdam Porter
This rule was causing ordered lists to be rendered without their numbers. I don't know why this rule was present; it may have been a stylistic choice earlier in development, before ELPA was rendering packages' readmes into the HTML, when it was likely that fewer types of elements were present in ELPA's HTML, so the problem was not noticed. Due to the way the rest of the page's layout is implemented, this introduces a minor "ugliness": that, e.g. a numbered list's numbers are aligned outside of the containing DIV. This happens because all of the DIVs on the page have their margin and padding set to 0, without which OLs and ULs would be naturally indented compared to sibling paragraphs. This will be handled in later commits which will attempt to solve the margin/padding issues more "holistically." (ol, ul): Delete list-style rule.
2024-05-25; * layout.css (dl): Reindent blockPhilip Kaludercic
2024-05-25* html/layout.css: Improve readability of DL elementsAdam Porter
(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* html/layout.css (table): margin: 1em 0 1emAdam Porter
Ensure some margin around tables, otherwise they run up against body text and other tables.
2024-05-01Add support for Atom links as a badgePhilip Kaludercic
* (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-02-24html/layout.css: Re-add the CSS classes optionsStefan Monnier
The HTML files are rebuilt lazily, so we have to work with old HTML files that haven't yet been re-generated.
2024-02-23Replace jQuery "filtertable" script with plain JavaScriptPhilip Kaludercic
2024-02-23Use HTML5 tags instead of CSS classesPhilip Kaludercic
2022-11-12html/*.html: Change license to CC BY-SAStefan Monnier
* 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-10-28* html/layout.css (strong, em): New rulesStefan Monnier
2022-10-27* html/layout.css: Fix rendering of markdown code blocksStefan Monnier
2022-09-11htlm/layout.css (h3, h4, h5): Refine last changeStefan Monnier
Prefer bold to underline and fix non-working specification of italic
2022-09-11* html/layout.css (h4, h5): Margins, text-decorationAdam Porter
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* html/layout.css (p): Improve marginsAdam Porter
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-01-05Update copyright yearsStefan Kangas
2021-08-03* html/layout.css (dd): Reduce `margin-bottom`.Yuan Fu
2021-04-26Very minor CSS cleanupStefan Kangas
* html/layout.css (body): Capitalize font name. (pre): Prefer em to px for padding.
2021-04-20* html/layout.css (tt, code): Add "white-space: nowrap".Stefan Kangas
This avoids having e.g. "(package-initialize)" on the front page being wrapped over two lines.
2021-04-20* html/layout.css: Add license statement.Stefan Kangas
2021-04-20Minor CSS font-family fixes (Bug#47671)Stefan Kangas
* html/layout.css (body, tt, code, pre): Fix font-family. Suggested by Sebastian Urban <mrsebastianurban@gmail.com>.
2020-01-22Add contact details to front page (Bug#34460)Stefan Kangas
* html/index.html: Add contact details. * html/layout.css: Add new styles for h3, ul, li.
2016-12-01Package pages improvementsNicolas Petton
* admin/archive-contents.el: Better layout for package descriptions, and add a section for package installation. * html/layout.css: Minor improvements.
2016-12-01Website footer improvementNicolas Petton
* admin/archive-contents.el: * html/index.html: Add a link to the FSF, and a copyright. * html/layout.css: Make the footer taller.
2015-10-30Better generated HTML pagesNicolas Petton
* 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.
2010-11-20* html/index.html, html/layout.css : Initial import.Ted Zlatanov