regress and update html render

This commit is contained in:
Mark Randall Havens 2025-11-09 18:43:39 +00:00
parent 9ea59800ad
commit a2c66a98dc
5 changed files with 167 additions and 171 deletions

View file

@ -17,6 +17,7 @@ html, body {
line-height: 1.6;
}
/* === TOPBAR & NAV === */
.topbar {
position: fixed; top: 0; left: 0; right: 0;
height: var(--topbar-h); display: flex; align-items: center;
@ -48,7 +49,7 @@ html, body {
text-shadow: 0 0 8px var(--accent);
}
/* NESTED HORIZON: Emergent Sub-Navigation with Animation */
/* === SUBNAV === */
.sub-nav {
display: none;
position: fixed;
@ -92,6 +93,7 @@ html, body {
text-shadow: 0 0 6px var(--accent);
}
/* === SIDEBAR === */
#sidebar {
position: fixed; top: calc(var(--topbar-h) + var(--subnav-h)); left: 0;
width: 300px; bottom: 0; overflow: auto;
@ -180,7 +182,7 @@ body.sidebar-open #sidebar { transform: translateX(0); }
.content { margin-left: 300px; }
}
/* BREATHING HORIZON: Full-Field Viewer */
/* === VIEWER BREATHING FIELD === */
.viewer {
display: flex;
flex-direction: column;
@ -204,20 +206,19 @@ body.sidebar-open #sidebar { transform: translateX(0); }
to { opacity: 1; transform: translateY(0); }
}
/* HARMONIZER HEADER */
.harmonizer-header {
/* === PREVIEW + PORTAL === */
.preview-header {
display: flex;
justify-content: flex-end;
align-items: center;
padding: 0.5rem 1rem;
background: rgba(255, 215, 0, 0.05);
background: rgba(224, 184, 75, 0.08);
border-bottom: 1px solid #333;
position: sticky;
top: 0;
z-index: 10;
}
.popout-btn {
.portal-btn {
background: none;
border: 1px solid var(--accent);
color: var(--accent);
@ -225,47 +226,46 @@ body.sidebar-open #sidebar { transform: translateX(0); }
padding: 0.25rem 0.75rem;
font-size: 0.85rem;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
transition: all 0.2s ease;
}
.popout-btn:hover {
.portal-btn:hover {
background: var(--accent);
color: var(--bg);
}
/* HARMONIZED BODY CONTEXT */
.harmonized {
background: transparent;
color: var(--fg);
font-family: 'Inter', system-ui, sans-serif;
.preview-content {
padding: 3rem 4vw;
max-width: 90ch;
margin: auto;
padding: 3rem 4vw;
line-height: 1.7;
color: var(--fg);
font-family: 'Inter', system-ui, sans-serif;
}
.harmonized h1, .harmonized h2, .harmonized h3, .harmonized h4 {
color: var(--accent);
border-bottom: 1px solid #333;
padding-bottom: 0.3em;
margin-top: 2em;
.preview-content * {
background: transparent !important;
color: inherit !important;
font-family: inherit !important;
}
.harmonized img, .harmonized video, .harmonized iframe {
display: block;
margin: 2rem auto;
.preview-content img,
.preview-content video,
.preview-content iframe {
max-width: 100%;
height: auto;
border-radius: var(--radius);
border-radius: 8px;
margin: 1.5rem 0;
display: block;
}
.harmonized a {
.preview-content a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
.harmonized a:hover {
.preview-content a:hover {
text-shadow: 0 0 6px var(--accent);
}