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

@layer base {
  b, strong {
    font-weight: bold;
  }

  #question ol, #question ul,
  #answer ol, #answer ul {
    @apply list-disc list-inside;
    @apply ps-4 m-2;
  }

  #question table, #question img,
  #answer table, #answer img {
    @apply mx-auto;
  }

  #question table tr, #question table td,
  #answer table tr, #answer table td {
    @apply border-collapse border border-black;
    @apply text-center p-1;
  }

  .ltr {
    direction: ltr;
  }

  .rtl {
    direction: rtl;
  }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
  'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
  monospace;
}
