@tailwind base;
@tailwind components;
@tailwind utilities;

.task-list-item::before {
  @apply hidden;
}

.task-list-item {
  @apply list-none;
}

.footnotes {
  @apply mt-12 border-t border-gray-200 pt-8 dark:border-gray-700;
}

.data-footnote-backref {
  @apply no-underline;
}

.csl-entry {
  @apply my-5;
}

/* https://stackoverflow.com/questions/61083813/how-to-avoid-internal-autofill-selected-style-to-be-applied */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition:
    background-color 600000s 0s,
    color 600000s 0s;
}

.katex-display {
  overflow: auto hidden;
}

.content-header-link {
  opacity: 0;
  margin-left: -24px;
  padding-right: 4px;
}

.content-header:hover .content-header-link,
.content-header-link:hover {
  opacity: 1;
}

.linkicon {
  display: inline-block;
  vertical-align: middle;
}

.sidebar-icon {
  @apply  relative flex items-center justify-center cursor-pointer
          h-16  w-16 my-2 mx-auto shadow-lg bg-[#303136] text-green-500
          hover:bg-green-600 hover:text-white rounded-[30px] hover:rounded-xl 
          transition-all duration-300 ease-linear;
}
.sidebar-tooltip {
  @apply  absolute w-auto p-2 m-2 min-w-max left-14
          rounded-md shadow-md
          text-white bg-[#212226]
          text-xs font-bold
          transition-all duration-100 scale-0 origin-left
}
