Skip to content

Commit bcbbb4a

Browse files
committed
Changes
1 parent 314c221 commit bcbbb4a

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

_site/static/css/index.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,20 @@ body {
7070

7171
.hero-content {
7272
position: absolute;
73-
top: 50%;
73+
top: 25%;
7474
left: 50%;
7575
transform: translate(-50%, -50%);
7676
width: 100%;
7777
z-index: 2;
7878
}
7979

80+
/* Desktop positioning - center the content */
81+
@media (min-width: 769px) {
82+
.hero-content {
83+
top: 50%;
84+
}
85+
}
86+
8087
.teaser .hero-body {
8188
padding-top: 0;
8289
padding-bottom: 3rem;

static/css/index.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,20 @@ body {
7070

7171
.hero-content {
7272
position: absolute;
73-
top: 50%;
73+
top: 25%;
7474
left: 50%;
7575
transform: translate(-50%, -50%);
7676
width: 100%;
7777
z-index: 2;
7878
}
7979

80+
/* Desktop positioning - center the content */
81+
@media (min-width: 769px) {
82+
.hero-content {
83+
top: 50%;
84+
}
85+
}
86+
8087
.teaser .hero-body {
8188
padding-top: 0;
8289
padding-bottom: 3rem;

0 commit comments

Comments
 (0)