"Şablon:AnaSayfaCerceve/styles.css" sayfasının sürümleri arasındaki fark
Gezinti kısmına atla
Arama kısmına atla
Elisabetta (mesaj | katkılar) |
Elisabetta (mesaj | katkılar) |
||
15. satır: | 15. satır: | ||
border-radius: 3px; | border-radius: 3px; | ||
+ | } | ||
+ | |||
+ | @media (max-width:500px){ | ||
+ | .box{ | ||
+ | margin-left:0; | ||
+ | } | ||
} | } | ||
12.43, 20 Şubat 2021 tarihindeki hâli
#kh-anasayfa-blok{ position:relative; overflow: hidden; } .box{ max-width:476px; position:absolute; top:20px; left:0; margin-left: 20px; background-color:rgba(255, 255, 255, 0.5); padding: 20px; box-sizing: border-box; border-radius: 3px; } @media (max-width:500px){ .box{ margin-left:0; } } img{ width:100%; max-height:50vh; object-fit:cover; } .kategoriler{ position:absolute; bottom:10px; left:0; margin-left:20px; padding: 5px; border-radius: 3px; color: white; font-weight: 700; } .kategoriler a { color:white; }