- Implemented the symptom database as a full searchable reference area, parallel to terminology.
Added: New medical_symptoms SQLite catalog with 242 seeded symptom records, categories, body systems, tracking notes, urgency-context notes, search terms, and MedlinePlus links: [app/bootstrap.php (line 186)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:186), [seed logic (line 635)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:635) New searchable symptom directory: [public/symptoms.php (line 1)](/Users/tyemeclifford/Documents/GH/workout/public/symptoms.php:1) New dynamic per-symptom page, e.g. /symptom.php?id=24: [public/symptom.php (line 1)](/Users/tyemeclifford/Documents/GH/workout/public/symptom.php:1) Symptom helper/link lookup functions: [app/bootstrap.php (line 1473)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:1473) medicalSymptoms added to the combined library search/API: [app/bootstrap.php (line 2024)](/Users/tyemeclifford/Documents/GH/workout/app/bootstrap.php:2024) Symptoms added to nav, homepage, and combined medical search: [site-header.php (line 27)](/Users/tyemeclifford/Documents/GH/workout/public/partials/site-header.php:27), [index.php (line 11)](/Users/tyemeclifford/Documents/GH/workout/public/index.php:11), [medical.php (line 13)](/Users/tyemeclifford/Documents/GH/workout/public/medical.php:13)
This commit is contained in:
+4
-155
@@ -105,7 +105,6 @@ p {
|
||||
|
||||
.site-logo,
|
||||
.site-nav,
|
||||
.site-actions,
|
||||
.admin-access-row,
|
||||
.admin-user-main,
|
||||
.admin-badges,
|
||||
@@ -206,48 +205,7 @@ p {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.site-hero {
|
||||
width: min(1440px, calc(100% - 32px));
|
||||
min-height: min(760px, calc(100vh - 44px));
|
||||
margin: 12px auto 0;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.site-hero::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(90deg, rgba(8, 9, 13, 0.92), rgba(8, 9, 13, 0.35) 55%, rgba(8, 9, 13, 0.2));
|
||||
}
|
||||
|
||||
.site-hero img {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.site-hero-copy {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: min(780px, 100%);
|
||||
padding: clamp(24px, 6vw, 72px);
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.site-lede,
|
||||
.site-hero-copy p:not(.site-eyebrow),
|
||||
.detail-hero p,
|
||||
.signup-copy p,
|
||||
.site-split p,
|
||||
.site-section-heading p {
|
||||
color: var(--muted-2);
|
||||
}
|
||||
@@ -259,43 +217,18 @@ p {
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.site-actions {
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.photo-credit {
|
||||
position: absolute;
|
||||
right: 14px;
|
||||
bottom: 10px;
|
||||
z-index: 1;
|
||||
max-width: min(460px, calc(100% - 28px));
|
||||
color: rgba(255, 255, 255, 0.78);
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.photo-credit a,
|
||||
figcaption a {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.site-band,
|
||||
.site-split,
|
||||
.cta-strip,
|
||||
.detail-hero,
|
||||
.detail-grid,
|
||||
.signup-layout,
|
||||
.admin-public-shell,
|
||||
.site-footer {
|
||||
width: min(1180px, calc(100% - 32px));
|
||||
margin: 14px auto 0;
|
||||
}
|
||||
|
||||
.site-band,
|
||||
.site-split,
|
||||
.cta-strip,
|
||||
.signup-layout,
|
||||
.admin-public-shell,
|
||||
.site-footer {
|
||||
border: 1px solid var(--line);
|
||||
@@ -321,8 +254,6 @@ figcaption a {
|
||||
|
||||
.feature-grid article,
|
||||
.detail-grid article,
|
||||
.site-metric-stack article,
|
||||
.signup-steps article,
|
||||
.term-table article,
|
||||
.library-row,
|
||||
.record-field,
|
||||
@@ -363,8 +294,6 @@ figcaption a {
|
||||
.feature-grid p,
|
||||
.detail-grid p,
|
||||
.term-table p,
|
||||
.site-metric-stack span,
|
||||
.signup-steps span,
|
||||
.details-line,
|
||||
.timeline-meta {
|
||||
color: var(--muted);
|
||||
@@ -566,7 +495,7 @@ figcaption a {
|
||||
|
||||
.library-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
||||
gap: 10px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
@@ -589,39 +518,18 @@ figcaption a {
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.site-split,
|
||||
.detail-hero,
|
||||
.signup-layout {
|
||||
.detail-hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
|
||||
gap: 18px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.site-split > div:first-child,
|
||||
.detail-hero > div,
|
||||
.signup-copy {
|
||||
.detail-hero > div {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.site-metric-stack {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.site-metric-stack article {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.cta-strip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.detail-hero {
|
||||
align-items: center;
|
||||
}
|
||||
@@ -647,48 +555,6 @@ figcaption {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.signup-card {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: color-mix(in srgb, var(--panel-2), transparent 2%);
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.signup-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.signup-steps {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.signup-steps article {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.signup-steps strong {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
color: #06100b;
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.signup-result {
|
||||
min-height: 24px;
|
||||
color: var(--muted-2);
|
||||
}
|
||||
|
||||
.site-field,
|
||||
.field {
|
||||
display: grid;
|
||||
@@ -936,7 +802,7 @@ textarea:focus {
|
||||
@media (max-width: 1020px) {
|
||||
.site-header,
|
||||
.site-footer,
|
||||
.cta-strip {
|
||||
.footer-links {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -951,9 +817,7 @@ textarea:focus {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.site-split,
|
||||
.detail-hero,
|
||||
.signup-layout,
|
||||
.admin-layout,
|
||||
.admin-source-form {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -966,32 +830,17 @@ textarea:focus {
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.site-header,
|
||||
.site-hero,
|
||||
.site-band,
|
||||
.site-split,
|
||||
.cta-strip,
|
||||
.detail-hero,
|
||||
.detail-grid,
|
||||
.signup-layout,
|
||||
.admin-public-shell,
|
||||
.site-footer {
|
||||
width: min(100% - 20px, 620px);
|
||||
}
|
||||
|
||||
.site-hero {
|
||||
min-height: 720px;
|
||||
}
|
||||
|
||||
.site-hero-copy {
|
||||
padding: 22px;
|
||||
padding-bottom: 74px;
|
||||
}
|
||||
|
||||
.feature-grid,
|
||||
.detail-grid,
|
||||
.admin-stats,
|
||||
.library-stats,
|
||||
.signup-row,
|
||||
.form-grid.two {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user