MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 24: Line 24:
   gap: 1.5em;
   gap: 1.5em;
   margin-top: 1em;
   margin-top: 1em;
   justify-content: center;
   justify-content: flex-start; /* ← important change */
}
}


.pm-full {
.pm-wide-grid {
   flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: space-between;
  margin-top: 2em;
}
 
.pm-wide-grid .pm-box {
   flex: 1 1 calc(33.333% - 1em); /* 3 in a row */
   max-width: 100%;
   max-width: 100%;
}
@media (max-width: 800px) {
  .pm-wide-grid .pm-box {
    flex: 1 1 100%; /* stack on narrow screens */
  }
}
}


Line 41: Line 55:
   box-shadow: 0 2px 6px rgba(0,0,0,0.04);
   box-shadow: 0 2px 6px rgba(0,0,0,0.04);
   transition: box-shadow 0.3s ease;
   transition: box-shadow 0.3s ease;
}
.pm-full {
  flex-basis: 100%;
  max-width: none;
}
.pm-emphasis {
  background-color: #fef6e9;
  border-left: 5px solid #d88c3d;
}
.pm-blue {
  background-color: #eef4f9;
  border-left: 5px solid #4a6fa5; /* Slate Blue accent */
}
.pm-gold {
  background-color: #fdf5e6;
  border-left: 5px solid #b48a52;
}
}


Line 90: Line 124:
   color: #2c3e50;
   color: #2c3e50;
   margin-bottom: 0.25em;
   margin-bottom: 0.25em;
}
/* Works & Days Ad */
.works-days-callout {
  background-color: #eef4f9; /* same pale blue */
  border-left: 5px solid #4a6fa5;
  margin-top: 3em;
}
.works-days-callout .pm-box-label {
  font-size: 1.3em;
  color: #2c3e50;
}
.works-days-callout em {
  font-style: italic;
  font-weight: bold;
}
}