Mercurial > p > roundup > code
changeset 7497:dcf37ca1a47d
Reduce line height for headers; change link decorations
thicken underlines and place below test so it doesn't intersect decenders.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 17 Jun 2023 22:11:19 -0400 |
| parents | ec738682874d |
| children | 924b07252412 |
| files | doc/_static/style.css website/www/_static/style.css |
| diffstat | 2 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/_static/style.css Sat Jun 17 16:13:09 2023 -0400 +++ b/doc/_static/style.css Sat Jun 17 22:11:19 2023 -0400 @@ -58,7 +58,7 @@ } h1, h2, h3, h4, h5, h6 { - line-height: 1.25; + line-height: 1.1; /* Larger spacing before header and smaller after to make header part of following section */ margin-block-end: 0.3em; @@ -177,7 +177,11 @@ /* style */ :link { color: rgb(220,0,0); text-decoration: none;} -:link:hover {text-decoration: underline;} +:link:hover { + text-decoration: underline; + text-underline-position: under; + text-decoration-thickness: .3ex; +} :visited { color: rgb(187,0,0); text-decoration: none;} a.toc-backref { color: #000000; }
--- a/website/www/_static/style.css Sat Jun 17 16:13:09 2023 -0400 +++ b/website/www/_static/style.css Sat Jun 17 22:11:19 2023 -0400 @@ -58,7 +58,7 @@ } h1, h2, h3, h4, h5, h6 { - line-height: 1.25; + line-height: 1.1; /* Larger spacing before header and smaller after to make header part of following section */ margin-block-end: 0.3em; @@ -177,7 +177,11 @@ /* style */ :link { color: rgb(220,0,0); text-decoration: none;} -:link:hover {text-decoration: underline;} +:link:hover { + text-decoration: underline; + text-underline-position: under; + text-decoration-thickness: .3ex; +} :visited { color: rgb(187,0,0); text-decoration: none;} a.toc-backref { color: #000000; }
