diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-06 19:42:01 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-06 19:43:57 +0100 |
| commit | 52685fe92b09626d2b048c3ea870a0470aeaa8c9 (patch) | |
| tree | a726a63967dfc94356cd13927c1e065120c705de /stylesheets/index.css | |
| parent | b10a19c40538101d60469022b2c37e9167152557 (diff) | |
| download | quatuorbellefeuille.com-52685fe92b09626d2b048c3ea870a0470aeaa8c9.tar.xz | |
Tweak calendar
Simplify HTML, highlight on hover, change aspect ratio, move closer to
corner.
Diffstat (limited to 'stylesheets/index.css')
| -rw-r--r-- | stylesheets/index.css | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/stylesheets/index.css b/stylesheets/index.css index 0949e5a..01cc43d 100644 --- a/stylesheets/index.css +++ b/stylesheets/index.css @@ -24,27 +24,27 @@ main { position: relative; } -#next-concert { +a#next-concert { + display: block; position: absolute; - bottom: 2%; - height: 10em; - width: 11em; + bottom: 0; + left: -2em; + padding: 2em; + width: 6em; + height: 3em; text-align: center; + text-decoration: none; background: no-repeat center/contain url('/images/calendar.svg'); } - -#next-concert a { - display: inline-block; - width: 100%; - height: 100%; - text-decoration: none; +a#next-concert:hover { + color: var(--gold); + background-image: url('/images/calendar-gold.svg'); } #next-concert p { position: relative; - top: 32%; margin: 0; - color: #eee; + margin-top: 1em; text-transform: uppercase; } |
