commit 8c01ce478fc3d93f43262dd5d425d082d50e2aa7 parent 8fcb1b8e6d6481d582f63879df5035b2c22bdf21 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Sun, 6 Dec 2020 23:32:42 +0100 Make whole calendar clickable Diffstat:
| M | index.css | | | 11 | +++++++++-- |
| M | index.html | | | 8 | +++++--- |
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/index.css b/index.css @@ -13,13 +13,20 @@ main { } #next-concert a { + display: inline-block; + width: 100%; + height: 100%; + text-decoration: none; +} + +#next-concert p { position: relative; top: 48%; + margin: 0; color: #eee; - text-decoration: none; } -#next-concert a #day { +#next-concert #day { font-size: 180%; font-weight: bold; } diff --git a/index.html b/index.html @@ -35,9 +35,11 @@ <main> <div id="next-concert"> <a href="actualités.html#concert-1"> - <span id="day">25</span> - <br> - <span id="month">décembre</span> + <p> + <span id="day">25</span> + <br> + <span id="month">décembre</span> + </p> </a> </div> </main>