all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Prettify elpa.gnu.org
Date: Mon, 18 Oct 2021 20:05:55 +0000	[thread overview]
Message-ID: <875ytu2j4s.fsf@posteo.net> (raw)
In-Reply-To: <87h7de2k2t.fsf@posteo.net> (Philip Kaludercic's message of "Mon,  18 Oct 2021 19:45:30 +0000")

[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]

Philip Kaludercic <philipk@posteo.net> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> Hi,
>>
>> I'd like to change the style sheet so that our ELPA weg pages don't
>> spend as much screen real estate showing:
>>
>>     To install this package, run in Emacs:
>>     
>>     M-x package-install RET haskell-tng-mode RET
>>
>> I don't want to remove this info, just make it use less space.
>> I expect it should be a very simple change to make in the CSS, but
>> I also suspect that it would be much easier for someone more familiar
>> with CSS than I am.
>
> I feel that in general the "margin-bottom" value for paragraphs could be
> reduced to 1em (from the current 2em, in layout.css:129), without
> squeezing the page together too much.
>
> Another idea might also to be to use details elements[0] to hide the
> information by default (most users will know how a package is installed,
> I suspect the note is added for people installing their first packages),
> but to present it in more detail if explicitly requested.
>
> [0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

Also related to the website, I think the NonGNU ELPA webpage could be
improved. This is how it currently looks like in Firefox when I shrink
the window:


[-- Attachment #2: Screenshot_2021-10-18 NonGNU Emacs Lisp Package Archive.png --]
[-- Type: image/png, Size: 81345 bytes --]

[-- Attachment #3: Type: text/plain, Size: 431 bytes --]


First of all the "NonGNU Emacs Lisp Package Archive" is too packed, and
the instructions to configure NonGNU ELPA for versions prior to 28 are
wrapped in a <code> instead of <pre> element. Only the former preserves
indentation as intended, so that should be replaced.

I would fix these issues, but I cannot find where the HTML and CSS is
stored. Nongnu.git seems to have no html directory like elpa.git.

-- 
	Philip Kaludercic


  reply	other threads:[~2021-10-18 20:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-18 17:46 Prettify elpa.gnu.org Stefan Monnier
2021-10-18 19:45 ` Philip Kaludercic
2021-10-18 20:05   ` Philip Kaludercic [this message]
2021-10-18 22:34     ` Stefan Monnier
2021-10-19 16:47       ` Philip Kaludercic
2021-10-19 20:34         ` Stefan Monnier
2021-10-21 21:02           ` Philip Kaludercic
2021-10-21 21:26             ` Stefan Monnier
2021-10-22 20:00               ` Philip Kaludercic
2021-10-22 20:38                 ` Stefan Kangas
2021-10-22 20:44                   ` Philip Kaludercic
2021-10-23 16:12                 ` Stefan Monnier
2021-10-24 10:25                   ` Philip Kaludercic
2021-10-24 12:12                     ` Stefan Monnier
2021-10-23 23:28                 ` Richard Stallman
2021-10-24  9:15                   ` Philip Kaludercic
2021-10-27 14:34                     ` Richard Stallman
2021-10-18 20:18   ` Eric Abrahamsen
2021-10-18 20:22   ` Stefan Kangas
2021-10-18 21:27     ` Philip Kaludercic
2021-10-18 22:32   ` Stefan Monnier
2021-10-19  7:38   ` Augusto Stoffel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875ytu2j4s.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.