diff options
author | Martin Fischer <martin@push-f.com> | 2021-12-26 19:44:18 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-12-26 21:56:34 +0100 |
commit | 00c64d4080f819f06b5685c9500f2afc7f37dd5f (patch) | |
tree | f87e7786ab9d81ab7e44168f5521c2befe26f4c9 /doc/_static | |
parent | 1cfd2b544e5f17d70279cf7e87d2701eeea81c64 (diff) | |
download | pygments-git-00c64d4080f819f06b5685c9500f2afc7f37dd5f.tar.gz |
demo: streamline interface (and improve accessibility)
* "Try out Pygments!" is more descriptive than "Try it out!"
* Moved the description of the implementation to the end.
* Added a <noscript> tag suggesting `pip install` and pygmentize.
* Added a <label> for the textarea.
* Disable spell checking for the textarea.
* Reduced the scope of the reset button to the file input.
* Added autofocus for the language select.
Diffstat (limited to 'doc/_static')
-rw-r--r-- | doc/_static/demo.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/_static/demo.css b/doc/_static/demo.css index 08676d0a..17173886 100644 --- a/doc/_static/demo.css +++ b/doc/_static/demo.css @@ -51,3 +51,11 @@ align-items: center; gap: 1em; } + +#format-settings { + display: flex; + gap: 1em; + border-top: 1px solid #ccc; + padding-top: 0.5em; + margin-top: 0.5em; +} |