From 303a12092413c157272d78657d7c4d4c3f6b27b0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 13 Apr 2021 23:30:55 +0200 Subject: 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. --- static/css/main.css | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'static') 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 { font-weight: bold; } +article ul.projects { + position: relative; +} +article ul.projects details ul.members li { + display: inline-block; + list-style-type: none; +} +li.person::before { + content: ''; +} + +details summary { + cursor: pointer; + color: #4D4D4D; + font-size: smaller; +} + +details summary > * { + display: inline; +} + +details[open] summary ~ * { + animation: sweep .5s ease-in-out; +} +@keyframes sweep { + 0% {opacity: 0; margin-top: -10px} + 100% {opacity: 1; margin-top: 0px} +} + +details ul.members { + padding: 0; + margin-top: 0; + display: inline-block; +} +ul.members li.person + li.person { + margin-left: 1em; +} + #footer-box a { color: #333333; } #footer-box a:visited { color: #333333; } -- cgit v1.2.1