Mercurial > p > roundup > code
comparison website/www/_static/style.css @ 6774:e7b4ad2c57ac
landmarks, skiplink, remove bad attrs, autocomplete search
layout.html:
Add main and nav landmarks to layout templte.
Add skiplink to get to main.
Remove Description meta tag from layout template in favor of
description metadata in individual files.
Remove obsolete border attribute from sourceforge logo.
Add autocomplete="on" attribute for search input box.
doc/*.txt
Remove language attribute from description meta tags.
These changes also occur for other files not in this commit. Thse
other files have changes to files for the 2.2.0 release not yet tobe
committed.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 12 Jul 2022 15:00:30 -0400 |
| parents | 339805c4a85b |
| children | ed2359dda3b9 |
comparison
equal
deleted
inserted
replaced
| 6773:339805c4a85b | 6774:e7b4ad2c57ac |
|---|---|
| 159 /* make examples with long lines scrollable */ | 159 /* make examples with long lines scrollable */ |
| 160 div.highlight pre { overflow: auto;} | 160 div.highlight pre { overflow: auto;} |
| 161 } | 161 } |
| 162 /* set background when using borland pygments style */ | 162 /* set background when using borland pygments style */ |
| 163 div.highlight pre { background: lightyellow;} | 163 div.highlight pre { background: lightyellow;} |
| 164 | |
| 165 #skiplink { display: block; | |
| 166 margin-block-start: 1em; | |
| 167 margin-inline-start: 1em;} | |
| 168 #skiplink a { | |
| 169 /* force stuff for screenreader off screen */ | |
| 170 position:absolute; | |
| 171 left:-10000px; | |
| 172 top:auto; | |
| 173 width:1px; | |
| 174 height:1px; | |
| 175 overflow:hidden; | |
| 176 padding: 0 0.75em; | |
| 177 font-weight: bold; | |
| 178 } | |
| 179 #skiplink a:focus { position: static; | |
| 180 width: auto; | |
| 181 height: auto; } | |
| 182 |
