diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-23 22:25:14 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-23 22:25:14 +0100 |
| commit | 89ad7107f853d1568896cb71954f47d0418cb2b2 (patch) | |
| tree | 69fc04c5862a9f3738d4a755cbdaae11bc728de8 /stylesheets/programmes.css | |
| parent | ed1d72e555e4961c174e6500b30120ac19736bb8 (diff) | |
| download | quatuorbellefeuille.com-89ad7107f853d1568896cb71954f47d0418cb2b2.tar.xz | |
Style programs up a bit
Diffstat (limited to 'stylesheets/programmes.css')
| -rw-r--r-- | stylesheets/programmes.css | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/stylesheets/programmes.css b/stylesheets/programmes.css index e4b61f2..d21e899 100644 --- a/stylesheets/programmes.css +++ b/stylesheets/programmes.css @@ -15,19 +15,43 @@ details.program { } details.program > summary { + display: grid; + grid-template-columns: 4fr 5fr 4em; + line-height: 2em; list-style: none; + cursor: pointer; } details.program > summary::-webkit-details-marker { display: none; } -details.program > summary:after { - position: absolute; - right: 1em; - content: '∨'; +details.program > summary > .name { + margin-left: 2em; + font-weight: bold; + color: #2f5597; +} + +details.program[open] > summary > .name, +details.program[open] > summary > .composers { + color: var(--gold); } -details.program[open] > summary:after { - content: '∧'; +details.program > summary > img.button { + display: block; + width: 2em; + margin: auto 1em; +} +details.program > summary > img.button.close, +details.program[open] > summary > img.button.open { + display: none; +} +details.program[open] > summary > img.button.close { + display: block; + position: absolute; bottom: 0; + right: 0; +} + +details.program > summary ~ * { + margin-left: 2em; } |
