Skip to content

Commit c80f59f

Browse files
Update CSS selectors for homepage bio gradient
1 parent df30193 commit c80f59f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

assets/css/custom.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@
5656

5757

5858
/* Select the complete page-body only when the page contains #homepage-bio. */
59-
body:has(#homepage-bio) .page-body {
59+
body:has(#homepage-bio.custom-home-gradient) .page-body {
6060

6161
/* Use the current HugoBlox theme's normal background colour. */
6262
background-color: var(--hb-color-background);
6363

6464
/* Create two colour regions across one continuous page background. */
6565
background-image:
66-
66+
6767
radial-gradient(
6868
/*
6969
* Primary colour position:
@@ -145,8 +145,8 @@ body:has(#homepage-bio) .page-body {
145145
* This allows the continuous `.page-body` gradient to remain visible
146146
* behind Biography, Featured Publications, and future homepage blocks.
147147
*/
148-
body:has(#homepage-bio) .hbb-section,
149-
body:has(#homepage-bio) .home-section-bg {
148+
body:has(#homepage-bio.custom-home-gradient) .hbb-section,
149+
body:has(#homepage-bio.custom-home-gradient) .home-section-bg {
150150
background-color: transparent !important;
151151
}
152152

0 commit comments

Comments
 (0)