diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2021-04-13 23:30:55 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2021-04-13 23:49:27 +0200 |
| commit | 303a12092413c157272d78657d7c4d4c3f6b27b0 (patch) | |
| tree | 2ead73262522aa159cf57c641fe9154282ddb9a0 /static | |
| parent | roles: Add Ricardo for the web site. (diff) | |
software: Generate project list with member details.
* software.md: Replace this file...
* software.sxml: ...with this new file.
* haunt.scm (read-markdown-page): Rename this procedure...
(read-page): ...to this procedure and add optional READER argument.
(static-pages): Add local definition of SXML-PAGE and use it for software.sxml.
Diffstat (limited to 'static')
| -rw-r--r-- | static/css/main.css | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css index 73c2c7f..a1eddf6 100644 --- a/static/css/main.css +++ b/static/css/main.css | |||
| @@ -353,5 +353,43 @@ article ul li::before { | |||
| 353 | font-weight: bold; | 353 | font-weight: bold; |
| 354 | } | 354 | } |
| 355 | 355 | ||
| 356 | article ul.projects { | ||
| 357 | position: relative; | ||
| 358 | } | ||
| 359 | article ul.projects details ul.members li { | ||
| 360 | display: inline-block; | ||
| 361 | list-style-type: none; | ||
| 362 | } | ||
| 363 | li.person::before { | ||
| 364 | content: ''; | ||
| 365 | } | ||
| 366 | |||
| 367 | details summary { | ||
| 368 | cursor: pointer; | ||
| 369 | color: #4D4D4D; | ||
| 370 | font-size: smaller; | ||
| 371 | } | ||
| 372 | |||
| 373 | details summary > * { | ||
| 374 | display: inline; | ||
| 375 | } | ||
| 376 | |||
| 377 | details[open] summary ~ * { | ||
| 378 | animation: sweep .5s ease-in-out; | ||
| 379 | } | ||
| 380 | @keyframes sweep { | ||
| 381 | 0% {opacity: 0; margin-top: -10px} | ||
| 382 | 100% {opacity: 1; margin-top: 0px} | ||
| 383 | } | ||
| 384 | |||
| 385 | details ul.members { | ||
| 386 | padding: 0; | ||
| 387 | margin-top: 0; | ||
| 388 | display: inline-block; | ||
| 389 | } | ||
| 390 | ul.members li.person + li.person { | ||
| 391 | margin-left: 1em; | ||
| 392 | } | ||
| 393 | |||
| 356 | #footer-box a { color: #333333; } | 394 | #footer-box a { color: #333333; } |
| 357 | #footer-box a:visited { color: #333333; } | 395 | #footer-box a:visited { color: #333333; } |