Template:TopPages/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 11: Line 11:
     border-radius: 8px;
     border-radius: 8px;
     background-color:#172026;
     background-color:#172026;
}
.TopPage-image{
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
}


Line 18: Line 26:
     object-fit: cover;
     object-fit: cover;
transition: transform 0.2s ease;
transition: transform 0.2s ease;
    z-index:0;
}
}



Revision as of 20:39, 13 February 2023

.Trending-Container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-column-gap: 7px;
    grid-row-gap:7px;
    text-align: center;
}

.TopPage-container{
    overflow: hidden;
    border-radius: 8px;
    background-color:#172026;
}

.TopPage-image{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.TopPage-image img{
    width:158px;
    height:158px;
    object-fit: cover;
	transition: transform 0.2s ease;
}

.TopPage-image:hover img {
	transform: scale(1.1);
}

.TopPage-title{
    background-color:#172026;
	position: absolute;
}