/* * Aesthetic Computer — Markdown Preview Theme * * Uses VS Code CSS variables so it auto-adapts to whichever * Aesthetic Computer color theme is active (dark, light, rainbow). */ /* ── Fonts ────────────────────────────────────────────── */ @font-face { font-family: "YWFT Processing"; src: url("fonts/ywft-processing-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; } @font-face { font-family: "YWFT Processing"; src: url("fonts/ywft-processing-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; } /* ── Base ─────────────────────────────────────────────── */ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.7; color: var(--vscode-editor-foreground); background: var(--vscode-editor-background); max-width: 820px; margin: 0 auto; padding: 2rem 2.5rem; } /* ── Headings ─────────────────────────────────────────── */ h1, h2, h3, h4, h5, h6 { font-family: "YWFT Processing", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--vscode-editor-foreground); font-weight: 700; line-height: 1.3; margin-top: 1.8em; margin-bottom: 0.6em; } h1 { font-size: 2em; border-bottom: 2px solid var(--vscode-editorCursor-foreground, #a87090); padding-bottom: 0.3em; } h2 { font-size: 1.5em; border-bottom: 1px solid var(--vscode-editorIndentGuide-background1, #404060); padding-bottom: 0.25em; } h3 { font-size: 1.25em; color: var(--vscode-editorCursor-foreground, #a87090); } h4, h5, h6 { font-size: 1em; color: var(--vscode-editorCursor-foreground, #a87090); opacity: 0.85; } /* ── Paragraphs & Text ────────────────────────────────── */ p { margin: 0.8em 0; } strong { color: var(--vscode-editor-foreground); font-weight: 700; } em { font-style: italic; opacity: 0.9; } /* ── Links ────────────────────────────────────────────── */ a { color: var(--vscode-textLink-foreground, #8be9fd); text-decoration: none; } a:hover { text-decoration: underline; opacity: 0.85; } /* ── Code ─────────────────────────────────────────────── */ code { font-family: "Berkeley Mono Variable", "SF Mono", Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 0.88em; background: var(--vscode-textCodeBlock-background, rgba(255, 255, 255, 0.06)); color: var(--vscode-editorCursor-foreground, #a87090); padding: 0.15em 0.4em; border-radius: 4px; } pre { background: var(--vscode-textCodeBlock-background, rgba(255, 255, 255, 0.06)); border: 1px solid var(--vscode-editorIndentGuide-background1, #404060); border-radius: 6px; padding: 1em 1.2em; overflow-x: auto; margin: 1.2em 0; line-height: 1.5; } pre code { background: none; padding: 0; color: var(--vscode-editor-foreground); font-size: 0.88em; } /* ── Blockquotes ──────────────────────────────────────── */ blockquote { margin: 1em 0; padding: 0.5em 1.2em; border-left: 4px solid var(--vscode-editorCursor-foreground, #a87090); background: var( --vscode-editor-lineHighlightBackground, rgba(168, 112, 144, 0.08) ); border-radius: 0 6px 6px 0; } blockquote p { margin: 0.4em 0; opacity: 0.9; } /* ── Lists ────────────────────────────────────────────── */ ul, ol { padding-left: 1.8em; margin: 0.8em 0; } li { margin: 0.3em 0; } li > p { margin: 0.3em 0; } /* Task lists */ li input[type="checkbox"] { accent-color: var(--vscode-editorCursor-foreground, #a87090); margin-right: 0.4em; } /* ── Tables ───────────────────────────────────────────── */ table { border-collapse: collapse; width: 100%; margin: 1.2em 0; } th, td { border: 1px solid var(--vscode-editorIndentGuide-background1, #404060); padding: 0.5em 0.8em; text-align: left; } th { background: var( --vscode-editor-lineHighlightBackground, rgba(168, 112, 144, 0.08) ); font-weight: 600; color: var(--vscode-editorCursor-foreground, #a87090); } tr:nth-child(even) { background: rgba(128, 128, 128, 0.04); } /* ── Horizontal Rule ──────────────────────────────────── */ hr { border: none; height: 2px; background: var(--vscode-editorIndentGuide-background1, #404060); margin: 2em 0; } /* ── Images ───────────────────────────────────────────── */ img { max-width: 100%; border-radius: 6px; margin: 0.8em 0; } /* ── Misc ─────────────────────────────────────────────── */ ::selection { background: var(--vscode-editor-selectionBackground, rgba(168, 112, 144, 0.25)); } kbd { font-family: "Berkeley Mono Variable", "SF Mono", Monaco, Menlo, Consolas, monospace; font-size: 0.85em; padding: 0.1em 0.5em; border: 1px solid var(--vscode-editorIndentGuide-background1, #404060); border-radius: 4px; background: var(--vscode-textCodeBlock-background, rgba(255, 255, 255, 0.06)); box-shadow: 0 1px 0 var(--vscode-editorIndentGuide-background1, #404060); } mark { background: rgba(240, 198, 116, 0.3); color: inherit; padding: 0.1em 0.3em; border-radius: 3px; } /* ── Scrollbar (WebKit) ───────────────────────────────── */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: var(--vscode-scrollbarSlider-background, rgba(168, 112, 144, 0.3)); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var( --vscode-scrollbarSlider-hoverBackground, rgba(168, 112, 144, 0.5) ); }