@import "tailwindcss";
@import "tailwindcss/utilities";

@import '@ui/res/styles/theme.css';
@import '@ui/res/styles/forms.css';
@import '@ui/res/styles/fonts.css';
@import '@ui/res/styles/buttons.css';


html, body {
  @apply bg-stone-950 text-stone-300;
  font-size: 16px;
}
@media (max-width: 999px) {
  html, body {
    font-size: 12px;
  }
  .mdi svg {
    transform: scale(0.75)
  }
}

@layer base {
  body {
    @apply font-sans text-stone-300;
  }

  h1, h2, h3, h4, h5, h6 {
    @apply font-mono;
  }

  h2 {
    @apply text-[1.75em];
  }

  h3 {
    @apply text-primary-300 text-[1.25em] mt-4 border-b-1 border-b-stone-700;
  }

  a {
    @apply text-primary-400 cursor-pointer;

    &:hover {
      @apply text-primary-300;
    }
  }

  p {
    @apply mt-1 mb-2;
  }

  p, li {
    @apply leading-tight;
  }

  ul {
    @apply bg-stone-900/50 px-4 py-2 mt-1 mb-2;

    li {
      @apply ml-4 list-disc marker:text-primary-400 mt-1 mb-2;
    }
  }

  small, strike {
    @apply opacity-50;
  }


  /* Site support levels */
  .site-support-level {
    &.official {
      @apply text-primary-400;
    }
    &.community {
      @apply text-indigo-600;
    }
    &.officially-disabled {
      @apply text-red-600;
    }
    &.no-support {
      @apply text-slate-600;
    }
    &.user-added {
      @apply text-cyan-700;
    }
  }
  /* END site support levels */

}
