Template:Main page/featured/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
.featured {
.featured {
     font-weight: 500;
     font-weight: 500;
     width: 170px;
     width: 8rem;
     height: 265px;
     height: 12rem;
     text-align: center;
     text-align: center;
     font-size: 24px;
     font-size: 24px;
Line 24: Line 24:
     color: #8993ff;
     color: #8993ff;
     transform: scale(1.1);
     transform: scale(1.1);
}
.featured4 {
background: url(https://catpedia.wiki/images/5/5c/Cumshot.jpeg);
}
}

Revision as of 16:16, 4 June 2024

.featured {
    font-weight: 500;
    width: 8rem;
    height: 12rem;
    text-align: center;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 10px;
    user-select: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    transition: transform 0.25s;
}

.featured:hover {
    color: #8993ff;
    transform: scale(1.1);
}

.featured4 {
	background: url(https://catpedia.wiki/images/5/5c/Cumshot.jpeg);
}