Şablon:AnaSayfaCerceve/styles.css

Mersin Kent Ansiklopedisi sitesinden
< Şablon:AnaSayfaCerceve
Elisabetta (mesaj | katkılar) tarafından oluşturulmuş 02.45, 15 Mart 2021 tarihli sürüm
Gezinti kısmına atla Arama kısmına atla
#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 only screen and (max-width:500px){
.box{
margin-left:0;	
}
}

img{
	width:100%;
	max-height:50vh;
    object-fit:cover;
}

@media screen and (max-width: 850px){
 img {
   height: 262px !important;
    max-width: 100% !important;
}
}

.kategoriler{
	position:absolute;
	bottom:10px;
	left:0;
	margin-left:20px;
	padding: 5px;
    border-radius: 3px;
    color: white;
    font-weight: 700;
}

.kategoriler a {
	color:white;
}

.anasayfa-aciklama{
	color: rgba(20, 20, 20, 0.8);
    font-weight: 600;
}