Wrap entire card in <a> to make clickable.
I'm going to revert this and use an ::after pseudo-element to expand the click target, but I need a point to which I can revert my changes.
This commit is contained in:
parent
c66f77d53f
commit
ee2c813ee9
2 changed files with 19 additions and 17 deletions
|
|
@ -403,26 +403,29 @@ dialog.scripture {
|
|||
#notes-list > ul > li {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
@apply flex flex-col rounded-xl bg-transparent p-2 hover:bg-gray-100 border-gray-200;
|
||||
@apply flex rounded-xl bg-transparent p-2 hover:bg-gray-100 border-gray-200;
|
||||
@apply dark:bg-transparent dark:text-gray-300 dark:border-gray-800 dark:hover:bg-gray-800;
|
||||
}
|
||||
|
||||
#notes-list > ul > li > a {
|
||||
@apply flex w-full flex-col;
|
||||
@apply focus-visible:outline-4 focus-visible:outline-offset-8 focus-visible:rounded-2xl;
|
||||
@apply focus-visible:outline-blue-500;
|
||||
}
|
||||
|
||||
#notes-list ul > li .header-image {
|
||||
@apply relative overflow-hidden rounded-lg shadow-md shadow-gray-300;
|
||||
@apply dark:shadow-gray-900;
|
||||
}
|
||||
|
||||
#notes-list ul > li h2 a {
|
||||
border-bottom: 5px;
|
||||
border-style: solid;
|
||||
@apply border-blue-300 transition duration-500 ease-in-out hover:border-blue-900 hover:text-blue-800;
|
||||
@apply dark:border-blue-500 dark:hover:border-blue-600 dark:hover:text-blue-300;
|
||||
}
|
||||
|
||||
#notes-list ul > li > hgroup {
|
||||
#notes-list ul > li > a > hgroup {
|
||||
@apply grow p-4 transition-colors duration-500;
|
||||
h2 > a {
|
||||
@apply font-bold text-2xl;
|
||||
h2 {
|
||||
@apply font-bold text-2xl inline-block;
|
||||
border-bottom: 5px;
|
||||
border-style: solid;
|
||||
@apply border-blue-300 transition duration-500 ease-in-out hover:border-blue-900 hover:text-blue-800;
|
||||
@apply dark:border-blue-500 dark:hover:border-blue-600 dark:hover:text-blue-300;
|
||||
}
|
||||
h3 {
|
||||
@apply mt-2 text-xl font-medium;
|
||||
|
|
@ -443,7 +446,8 @@ dialog.scripture {
|
|||
}
|
||||
|
||||
#notes-list ul li time {
|
||||
@apply block text-xl text-gray-400 pl-4 pr-4 pt-2 text-right relative bottom-0;
|
||||
@apply text-xl text-gray-400 pl-4 pr-4 pt-2 text-right;
|
||||
@apply mt-auto self-end;
|
||||
}
|
||||
|
||||
#notes-list ul.types li {
|
||||
|
|
|
|||
Loading…
Reference in a new issue