File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 206206.hero-container {
207207 background-image : url ('https://github.com/mathpathconsole/mathpathconsole.github.io/blob/main/Stars%20sign.jpg?raw=true' );
208208 background-repeat : no-repeat;
209- background-position : center top;
210- background-size : auto;
209+ background-position : center top; /* Üstten ortalanmış */
210+ background-size : contain; /* Görselin orijinal boyutları korunur */
211211 padding-top : 0 !important ;
212+ width : 100% ; /* Ekran genişliği kadar */
213+ height : auto; /* Yükseklik orijinal boyuta göre ayarlanır */
214+ overflow-x : hidden; /* Taşma engellenir */
212215}
213216
214217/* Mobil cihazlar için özel ayar */
215218@media screen and (max-width : 768px ) {
216219 .hero-container {
217- min-height : 400px ;
218- max-width : 100% ;
219- width : 100vw ; /* görünür ekran genişliği kadar */
220- overflow-x : hidden; /* taşmayı önle */
220+ height : 100vh ; /* Ekranın tam yüksekliği kadar */
221+ min-height : 400px ; /* Yükseklik için minimum değer */
222+ width : 100vw ; /* Ekranın tam genişliği kadar */
223+ max-width : 100% ; /* Taşmayı engellemek için */
224+ overflow-x : hidden; /* Taşma engellenir */
221225 box-sizing : border-box;
222- }
223- }
224226.bg-transparent {
225227 background-color : transparent;
226228}
You can’t perform that action at this time.
0 commit comments