fix: Home Page Styles Cleanup
Deploy DeepDrftPublic / Build & Publish (push) Failing after 3m27s
Deploy DeepDrftPublic / Deploy (push) Has been skipped

This commit is contained in:
daniel-c-harvey
2026-06-11 19:59:08 -04:00
parent 68bf328e7c
commit 80ebc80a2a
4 changed files with 45 additions and 9 deletions
+21 -5
View File
@@ -30,7 +30,7 @@
ImageHeight="auto" ImageHeight="auto"
ImageWidth="100%" ImageWidth="100%"
ParallaxSpeed="0.35" ParallaxSpeed="0.35"
Class="my-8"/> Class="my-12"/>
</section> </section>
@* Divider *@ @* Divider *@
@@ -48,10 +48,12 @@
<div class="section-label">Format &amp; Medium</div> <div class="section-label">Format &amp; Medium</div>
<h2 class="section-title">Music through<br /><em>Every</em><br />Medium</h2> <h2 class="section-title">Music through<br /><em>Every</em><br />Medium</h2>
</MudItem> </MudItem>
<MudItem xs="12" md="8"> <MudItem xs="12" md="8" Class="section-body-item">
<p class="section-body"> <div class="section-body">
The same hands, three different rooms. A studio cut is built; a live set is risked; a DJ mix is woven. We release in every form the music asks for &mdash; each one a different relationship between the moment and the record of it. <p>
</p> The same hands, three different rooms. A studio cut is built; a live set is risked; a DJ mix is woven. We release in every form the music asks for &mdash; each one a different relationship between the moment and the record of it.
</p>
</div>
</MudItem> </MudItem>
</MudGrid> </MudGrid>
</div> </div>
@@ -171,6 +173,20 @@
</div> </div>
</section> </section>
<section>
<ParallaxImage Image1="img/mixer-bw.jpg"
Image2="img/mixer.jpg"
Alt1="Deep DRFT Electronic Music Duo"
NaturalWidth="2048"
NaturalHeight="1365"
WindowHeightFraction="0.45"
ImageHeight="auto"
ImageWidth="100%"
ParallaxSpeed="0.35" />
</section>
@code { @code {
[CascadingParameter] public IStreamingPlayerService? Player { get; set; } [CascadingParameter] public IStreamingPlayerService? Player { get; set; }
} }
+24 -4
View File
@@ -93,23 +93,40 @@
color: var(--deepdrft-green); color: var(--deepdrft-green);
} }
/* The body column is already full height; make it a flex container that
centers its child vertically, so .section-body (with margin: auto for
horizontal centering) sits centered against the taller title column
instead of anchored at the top. ::deep is required because the class is
on the MudItem-rendered div, which doesn't carry this component's scope
attribute. */
.section-header-grid ::deep .section-body-item {
display: flex;
align-items: center;
}
.section-body { .section-body {
display: flex;
max-width: 560px;
margin: auto;
align-content: center;
justify-content: center;
}
.section-body p {
display: flex;
font-family: var(--deepdrft-font-body); font-family: var(--deepdrft-font-body);
font-size: 0.9rem; font-size: 0.9rem;
line-height: 1.8; line-height: 1.8;
color: var(--deepdrft-navy); color: var(--deepdrft-navy);
opacity: 0.65; opacity: 0.65;
max-width: 52ch; max-width: 52ch;
align-self: end;
} }
/* ── MEDIUM GRID (Music through Every Medium) ── */ /* ── MEDIUM GRID (Music through Every Medium) ── */
.medium-grid { .medium-grid {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 1px; gap: 56px;
background: var(--deepdrft-border);
border: 1px solid var(--deepdrft-border);
margin-bottom: 4rem; margin-bottom: 4rem;
} }
@@ -125,11 +142,14 @@
.medium-card { .medium-card {
background: var(--deepdrft-white); background: var(--deepdrft-white);
border: 1px solid var(--deepdrft-border);
cursor: pointer; cursor: pointer;
overflow: hidden; overflow: hidden;
text-decoration: none; text-decoration: none;
display: block; display: block;
position: relative; position: relative;
max-width: 380px;
margin: 0 auto;
} }
.medium-card::after { .medium-card::after {
Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 KiB