/* docs/TASKS.txt: port from tkowalewski.pl -- minimal typography for
   Redcarpet-rendered Article markdown (see application.tailwind.css's
   own comment on why this is hand-written instead of a Tailwind
   typography plugin). Shared by the admin editor's live preview pane
   and the public article body -- both render the same markup. */
.markdown-content {
  color: var(--color-slate-700);
}

.markdown-content > * + * {
  margin-top: 1em;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
  font-weight: 600;
  color: var(--color-slate-900);
  margin-top: 1.5em;
}

.markdown-content h1 {
  font-size: 1.5em;
}

.markdown-content h2 {
  font-size: 1.25em;
}

.markdown-content h3 {
  font-size: 1.125em;
}

.markdown-content ul,
.markdown-content ol {
  padding-left: 1.5em;
}

.markdown-content ul {
  list-style-type: disc;
}

.markdown-content ol {
  list-style-type: decimal;
}

.markdown-content blockquote {
  border-left: 3px solid var(--color-slate-300);
  padding-left: 1em;
  color: var(--color-slate-500);
}

.markdown-content code {
  background: var(--color-slate-100);
  padding: 0.125em 0.375em;
  border-radius: 0.25em;
  font-size: 0.875em;
}

.markdown-content pre {
  background: var(--color-slate-900);
  color: var(--color-slate-100);
  padding: 1em;
  border-radius: 0.5em;
  overflow-x: auto;
}

.markdown-content pre code {
  background: none;
  padding: 0;
}

.markdown-content a {
  color: var(--color-indigo-600);
  text-decoration: underline;
}

.markdown-content table {
  border-collapse: collapse;
  width: 100%;
}

.markdown-content th,
.markdown-content td {
  border: 1px solid var(--color-slate-300);
  padding: 0.5em 0.75em;
  text-align: left;
}

.markdown-content img {
  width: 100%;
  max-width: 1024px;
  height: auto;
}

