diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-29 23:15:22 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-29 23:46:45 +0100 |
| commit | 9dadb33e6d3b0244929a7c6edc551b649c6accdc (patch) | |
| tree | 02e778f3a1c330210f463bda77bc59cf2de0b2e0 /programmes.css | |
| parent | e19ac8c0cc8b071c5f2c455a8d1f78370949dcfe (diff) | |
| download | quatuorbellefeuille.com-9dadb33e6d3b0244929a7c6edc551b649c6accdc.tar.xz | |
Add program page
Mostly copied from the news page.
Diffstat (limited to 'programmes.css')
| -rw-r--r-- | programmes.css | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/programmes.css b/programmes.css new file mode 100644 index 0000000..f7ce43e --- /dev/null +++ b/programmes.css @@ -0,0 +1,56 @@ +main { + display: grid; + overflow: auto; + grid-template-columns: 50% 50%; +} + +main > div { + padding: 2%; + overflow: auto; +} + +#program-list, #program-details { + background-color: #dbb; +} + +.programs { + display: grid; + grid-auto-rows: 14em; + grid-template-columns: repeat(auto-fit, 40%); + grid-gap: 0.8em; +} + +.program { + position: relative; + background-color: #fb8; +} + +.program a { + position: absolute; + display: flex; + align-items: center; + justify-content: center; + height: 100%; + width: 100%; + text-decoration: none; + color: inherit; + transition: color 0.5s; +} + +.program:hover a { + color: white; +} + +.program .summary { + font-weight: bold; + text-align: center; + transition: 0.5s; +} + +.program:hover .summary { + opacity: 1; +} + +details summary .duration { + font-family: monospace; +} |
