.published-container {
  --page-width: 1000px;
  --page-side-padding: 48px;
  --margin: 0 auto;
  
  /* ... CSS variables for Publish that do not change when light or dark mode is enabled. They sometimes link to color variables in .theme-light or .theme-dark */
}

/* Prevent code block line wrapping */
pre[class*="language-"] {
    --white-space: pre;
    --overflow-x: auto;
    --max-width: 100%;
    --padding: 1em;
}

/*un-wrap code*/
.HyperMD-codeblock {
    white-space: nowrap;
}

/*scroll codeblock in read mode*/
.markdown-reading-view code[class*="language-"] {
    overflow-x: scroll;
    white-space: pre;
    padding: 15px 0px;
}

/* Optional: Responsive adjustments */
@media (max-width: 800px) {
    .published-container {
        --max-width: 95vw;
    }
    pre[class*="language-"] {
        --max-width: 100%;
    }
}

body {
	--radius-s: 0px;
	--radius-m: 0px;
	--radius-l: 0px;
	--input-radius: 0px;
	--tab-radius-active: 0px;
	--checkbox-radius: 0px;
	--toggle-radius: 0px;
	--toggle-thumb-radius: 0px;
	--slider-thumb-radius: 0px;
	--font-text-theme: Georgia, serif; 
	--ribbon-background: white;
	--graph-line: white;
	--graph-node: white;
	--graph-node-focused: yellow;
	--graph-node-attachment: #dddddd;
	--graph-node-unresolved: #aaaaaa;
}

.theme-light {
  --background-primary: #F0FCFF;
  --background-secondary: #C8D2D4;
  --h1-color: #000000;
 
  /* ... CSS color variables for when light mode is enabled */
}
.theme-dark {
  --background-primary: #0e0e11;
  --background-secondary: #1b0c64;
  --h1-color: #ffffff;
  
  /* ... CSS color variables for when dark mode is enabled */
}

/* weblists:start - managed by pubprojects_weblists.py; edits inside this block are replaced */
/* Hide the properties / frontmatter box on published pages */
.published-container .metadata-container,
.published-container .frontmatter-container,
.published-container pre.frontmatter {
  display: none !important;
}
/* Hide code blocks for plugins Publish cannot run (Bases, Folder Notes overview, Dataview) */
.published-container pre:has(> code.language-base),
.published-container pre:has(> code.language-folder-overview),
.published-container pre:has(> code.language-dataview),
.published-container pre:has(> code.language-dataviewjs) {
  display: none !important;
}
/* Hide embedded .base views and the in-app-only "Live view" heading */
.published-container .internal-embed[src*=".base"],
.published-container .markdown-preview-sizer > div:has(> h2[data-heading="Live view (in Obsidian)"]) {
  display: none !important;
}
/* Hide stale Folder Notes link lists */
.published-container ul:has(.fv-link-list-item) {
  display: none !important;
}
/* weblists:end */
