diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-04-15 12:07:39 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-04-15 12:08:26 +0200 |
commit | a07b193a7548cbc04d9822e11281cb9c9edfafc5 (patch) | |
tree | d685723f1819c2756c8d09dab721ab4de1989b9b /static | |
parent | kickoff: Tweak wording about the mailing list. (diff) |
free-software: Move "open source" aside to a footnote.
The extra markup and styling necessitates the conversion from markdown
to sxml.
Diffstat (limited to 'static')
-rw-r--r-- | static/css/main.css | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css index 6e5650d..c363b0b 100644 --- a/static/css/main.css +++ b/static/css/main.css | |||
@@ -329,6 +329,10 @@ audio, video, .full-width { | |||
329 | max-width: 100%; | 329 | max-width: 100%; |
330 | } | 330 | } |
331 | 331 | ||
332 | article { | ||
333 | counter-reset: footnotes; | ||
334 | } | ||
335 | |||
332 | article ul { | 336 | article ul { |
333 | padding-left: 0; | 337 | padding-left: 0; |
334 | list-style-type: none; | 338 | list-style-type: none; |
@@ -430,5 +434,45 @@ ul.members li.person + li.person { | |||
430 | margin-left: 1em; | 434 | margin-left: 1em; |
431 | } | 435 | } |
432 | 436 | ||
437 | a[aria-describedby="footnote-label"] { | ||
438 | counter-increment: footnotes; | ||
439 | text-decoration: none; | ||
440 | color: inherit; | ||
441 | cursor: default; | ||
442 | outline: none; | ||
443 | border: none; | ||
444 | } | ||
445 | |||
446 | a[aria-describedby="footnote-label"]::after { | ||
447 | content: counter(footnotes); | ||
448 | vertical-align: super; | ||
449 | font-size: 0.8em; | ||
450 | margin-left: 2px; | ||
451 | color: #118ab2; | ||
452 | cursor: pointer; | ||
453 | } | ||
454 | |||
455 | a[aria-describedby="footnote-label"]:focus::after { | ||
456 | outline: thin dotted; | ||
457 | outline-offset: 2px; | ||
458 | } | ||
459 | |||
460 | #footnote-labels { | ||
461 | font-size: small; | ||
462 | margin-top: 4em; | ||
463 | border-top: 1px dotted #aaa; | ||
464 | padding-top: 1em; | ||
465 | } | ||
466 | #footnote-labels ol { | ||
467 | margin: 0; | ||
468 | padding: 0; | ||
469 | } | ||
470 | #footnote-labels h2 { | ||
471 | display: none; | ||
472 | } | ||
473 | #footnote-labels :target { | ||
474 | background: yellow; | ||
475 | } | ||
476 | |||
433 | #footer-box a { color: #333333; border-width: 1px; } | 477 | #footer-box a { color: #333333; border-width: 1px; } |
434 | #footer-box a:visited { color: #333333; } | 478 | #footer-box a:visited { color: #333333; } |