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

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

Template page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* Card Container */
.card-container {
.card-container {
     display: flex;
     display: flex;
Line 7: Line 6:
     margin: 20px;
     margin: 20px;
}
}
 
.card {  
/* Individual Card */
.card {
     background-color: #fff;
     background-color: #fff;
     border: 1px solid #ddd;
     border: 1px solid #ddd;
Line 23: Line 20:
}
}


/* Image Styling */
 
.card img {
.card img {
     width: 100%;
     width: 100%;
Line 30: Line 27:
}
}


/* Card Content */
 
.card-content {
.card-content {
     padding: 15px;
     padding: 15px;

Revision as of 19:29, 18 December 2024

.card-container {

   display: flex;
   justify-content: space-around;
   flex-wrap: wrap;
   gap: 20px;
   margin: 20px;

} .card {

   background-color: #fff;
   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;

}

Cookies help us deliver our services. By using our services, you agree to our use of cookies.