Template:TopPages/styles.css: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
.Trending-Container{
.Trending-Container{
            display: flex;
    display: grid;
            flex-direction: row;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            flex-wrap: wrap;
    grid-column-gap: 7px;
    grid-row-gap:7px;
    text-align: center;
}
}


.TopPage-container{
.TopPage-container{
            width: 200px;
    overflow: hidden;
            margin: 5px;
    border-radius: 8px;
            overflow: hidden;
    background-color:#172026;
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
}
}


.TopPage-image img{
.TopPage-image img{
     height: auto;
     width:158px;
     width: auto;
     height:158px;
     object-fit: cover;
     object-fit: cover;
transition: transform 0.2s ease;
}
.TopPage-image:hover img {
transform: scale(1.1);
}
.TopPage-title{
    overflow: hidden;
    height:26px;
    background-color:#172026;
position: relative;
    z-index:10;
}
}

Latest revision as of 01:50, 23 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;
	box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
}

.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{
    overflow: hidden;
    height:26px;
    background-color:#172026;
	position: relative;
    z-index:10;
}