/* Minimal Prism CSS with token color overrides for FootNet site */
/* Based on Prism's default theme (light) with small adjustments */

pre[class*="language-"] {
  background: #f6f8fa;
  color: #24292e;
  text-shadow: none;
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 0.95em;
  line-height: 1.5;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  tab-size: 4;
  hyphens: none;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #e1e4e8;
  overflow: auto;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
  background: #f6f8fa;
  padding: .2em .4em;
  border-radius: .3em;
  border: 1px solid #e1e4e8;
  color: #24292e;
}

/* Token colors */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata { color: #6a737d; font-style: italic; }

/* Make keywords (e.g., import) green-ish like Jupyter */
.token.keyword { color: #22863a; font-weight: 600; }

/* Functions (e.g., object.function) in blue */
.token.function { color: #0366d6; }

/* Properties / attributes */
.token.property,
.token.class-name { color: #6f42c1; }

/* Strings and numbers */
.token.string { color: #032f62; }
.token.number { color: #005cc5; }

/* Operators and punctuation */
.token.operator,
.token.punctuation { color: #24292e; }

/* Variables */
.token.variable { color: #e36209; }

/* Make the highlighted line stand out if plugin used */
pre[data-line] {
  position: relative;
}

/* Small responsive adjustment */
@media (max-width: 600px) {
  pre[class*="language-"] { font-size: 0.9em; }
}
