Loading...

Preloading the cool stuff... be right there!

Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 14: Line 14:
}
}
.card {     
.card {     
    background-color: #fff;
     border: 1px solid #ddd;
     border: 1px solid #ddd;
     border-radius: 8px;
     border-radius: 8px;

Revision as of 17:54, 22 December 2024

/* CSS placed here will be applied to all skins */
#comments-body{
	margin-top:5%;
	margin-left:25%;
	margin-right:25%;
}

.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px;
}
.card {    
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.05);
}


.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.card-content {
    padding: 15px;
}

.card-content h3 {
    margin: 0;
    font-size: 1.25em;
    color: #333;
}

.card-content p {
    color: #777;
    font-size: 0.95em;
    margin-top: 10px;
}
.card-background{
	background-color: #3498db;
    background-size: cover;
	background-position: center;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.