Skip to content

Commit e631289

Browse files
Update index.html
1 parent 9ef1f72 commit e631289

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

index.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,17 +204,23 @@
204204
padding-bottom: var(--dl-space-space-eightunits);
205205
}
206206
.hero-container {
207-
background-image: url('https://github.com/mathpathconsole/mathpathconsole.github.io/blob/main/Stars%20sign.jpg?raw=true');
208-
background-repeat: no-repeat;
209-
/*background-position: center 23%; Yatayda ortalanmış, dikeyde %23 aşağıya kaydırılmış */
210-
/* background-size: cover; contain Alanı tamamen kaplamak için */
211-
207+
position: relative;
208+
overflow: hidden;
209+
height: 100vh; /* istediğin kadar yüksek olabilir */
210+
padding-top: 0 !important;
211+
}
212212

213+
.hero-container::before {
214+
content: '';
215+
position: absolute;
216+
inset: 0;
217+
background-image: url('https://github.com/mathpathconsole/mathpathconsole.github.io/blob/main/Stars%20sign.jpg?raw=true');
213218
background-size: cover;
214-
background-position: center 23%;
215-
padding-top: 0 !important;
216-
219+
background-repeat: no-repeat;
220+
background-position: center top;
217221

222+
/* Alt kısımdan %23 kesmek için yukarıya doğru kaydır */
223+
transform: translateY(-23%);
218224
}
219225

220226
/* Mobil cihazlar için */
@@ -1626,5 +1632,6 @@ <h1 class="home-text48">
16261632

16271633

16281634

1635+
16291636

16301637

0 commit comments

Comments
 (0)