Template:Main Page/styles.css: Difference between revisions

No edit summary
No edit summary
 
(47 intermediate revisions by the same user not shown)
Line 158: Line 158:




 
.feature-box {
 
   border: 1px solid #a2a9b1;
/* Wrapper for all 4 sections */
   background-color: #f5fff5;
.all-feature-sections {
   margin-bottom: 20px;
   border: 2px solid #a2a9b1;
   padding: 10px;
   background-color: #fefefe;
  padding: 20px;
   margin-bottom: 30px;
   border-radius: 8px;
}
}


/* Each section header */
.feature-box-title {
.feature-box-title {
   background-color: #e2f3f5; /* Light teal for clean feel */
   background-color: #cef2e0;
   border-left: 6px solid #36c; /* Blue bar like Wikipedia */
   border: 1px solid #a2a9b1;
   padding: 8px 12px;
   padding: 8px 12px;
   font-weight: bold;
   font-weight: bold;
   font-family: sans-serif;
   font-family: sans-serif;
   font-size: 17px;
   font-size: 17px;
   margin: 25px 0 12px;
   margin-bottom: 10px;
  color: #202122;
}
}


/* Grid layout for profiles */
.feature-grid {
.feature-grid {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 15px;
   gap: 10px;
   justify-content: space-between;
   justify-content: space-between;
}
}


/* Individual profile box */
.feature-item {
.feature-item {
   width: 19%;
   width: 19%;
   background-color: #f4f8fb; /* Light background */
   background-color: #f3e8fd;
   border: 1px solid #ccd6dd;
   border: 1px solid #ddd;
   padding: 10px;
   padding: 10px;
   box-sizing: border-box;
   box-sizing: border-box;
Line 199: Line 191:
   font-size: 13px;
   font-size: 13px;
   font-family: sans-serif;
   font-family: sans-serif;
   border-radius: 6px;
   border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
   transition: transform 0.3s ease;
   transition: transform 0.2s ease;
}
}
.feature-item:hover {
.feature-item:hover {
   transform: translateY(-3px);
   transform: scale(1.05);
  z-index: 10;
}
 
.feature-image {
  background-color: #fff;
  padding: 0px;
  margin-bottom: 8px;
  display: inline-block;
  border: 1px solid #ddd;
}
}


/* Image */
.feature-image img {
.feature-item img {
   width: 100%;
   width: 100%;
   height: auto;
   height: auto;
  max-height: 130px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}
}


/* Name */
 
 
 
.feature-name {
.feature-name {
   font-weight: bold;
   font-weight: bold;
   margin-bottom: 4px;
   margin: 4px 0;
   font-size: 14px;
   font-size: 18px;
  color: #202122;
}
}


/* Description */
.feature-desc {
.feature-desc {
   font-size: 12px;
   font-size: 13px;
   color: #54595d;
   color: #444;
}
}