/* Obsidian Publish Theme - publish.css */
/* Custom theme by Michael Terren */

/* ===== Root Variables ===== */
:root {
  --font-family-default: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-editor: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  --color-primary: #2d5016;
  --color-accent: #4d95f7; /* unused by Obsidian Publish directly */
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-background: #ffffff;
  --color-background-secondary: #f5f5f5;
  --color-border: #e0e0e0;
  --spacing-unit: 1rem;
}

/* Accent colour (#4d95f7 = hsl(215, 91%, 64%)) */
:root {
  --accent-h: 215;
  --accent-s: 91%;
  --accent-l: 64%;
}

/* Footer */

.site-footer a {
	display: none;
}

.external-link {
  background-image: none;
  padding-right: 0px;
}

/* Dark mode */
.theme-dark {
  --background-primary: #000000;
  --background-secondary: #000000;
  --background-primary-alt: #0a0a0a;
  --text-normal: #e8e8e8;
  --text-muted: #aaaaaa;
}

/* Remove h2 bottom border */
h1 {
  border-bottom: none !important;
}

h2 {
  border-bottom: none !important;
}

/* Centre all images */
.markdown-preview-view p > img,
.markdown-preview-view p > a > img {
  display: block;
  margin: 0 auto;
}