Clickable area on calendar cells

main2
Bob Mottram 2019-10-11 21:12:24 +01:00
parent 09a5b930c7
commit 0bd12bab4c
2 changed files with 9 additions and 3 deletions

View File

@ -43,11 +43,17 @@ main {
a:visited{ a:visited{
color: var(--day-number); color: var(--day-number);
text-decoration: none; text-decoration: none;
z-index: 1;
padding: 2rem;
margin: -2rem;
} }
a:link { a:link {
color: var(--day-number); color: var(--day-number);
text-decoration: none; text-decoration: none;
z-index: 1;
padding: 2rem;
margin: -2rem;
} }
.calendar__day__header, .calendar__day__header,
@ -119,7 +125,7 @@ tr:nth-child(even) > .calendar__day__cell:nth-child(even) {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: 5rem; height: 1rem;
text-transform: uppercase; text-transform: uppercase;
} }
@ -146,7 +152,7 @@ tr:nth-child(even) > .calendar__day__cell:nth-child(even) {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: 5rem; height: 1rem;
text-transform: uppercase; text-transform: uppercase;
} }