MediaWiki: Common.css: Difference between revisions

From Dreams Knowledge Platform
Jump to: navigation, search
No edit summary
No edit summary
Line 41: Line 41:


/* DREAMers team layout */
/* DREAMers team layout */
.dreamer-section { margin: 18px 0 26px; }
.dreamer-section { margin: 22px 0 30px; }
.dreamer-section__title { font-size: 1.25em; font-weight: 700; }
 
.dreamer-section__subtitle { color: #54595d; margin-top: 2px; }
.dreamer-section__head {
  margin: 4px 0 14px;
  border-left: 4px solid rgb(92,76,228); /* same purple as main heading */
  padding-left: 10px;
}
 
.dreamer-section__title {
  font-size: 1.25em;
  font-weight: 700;
}
 
.dreamer-section__subtitle {
  color: #54595d;
  margin-top: 0;
}
 
.dreamer-section__subtitle:empty { display: none; }
.dreamer-section__subtitle:empty { display: none; }
.dreamer-section__head { margin: 6px 0 12px; }


/* Cards laid out in rows */
/* Cards laid out in rows */
Line 52: Line 66:
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 20px;
   gap: 20px;
   justify-content: center;   /* or flex-start if you prefer left aligned */
   justify-content: center; /* or flex-start if you prefer left aligned */
}
}


Line 61: Line 75:
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
  border: 1px solid #eaecf0;
   border-radius: 16px;
   border-radius: 16px;
   background: #fff;
   background: #fff;
   overflow: hidden;
   border: 1px solid #e1e4ff; /* light purple border */
  box-shadow: 0 6px 16px rgba(92,76,228,0.08);
}
}


/* Image on top, full width */
/* Image on top, with a soft purple backdrop */
.dreamer-card__imgwrap {
.dreamer-card__imgwrap {
   width: 100%;
   width: 100%;
   overflow: hidden;
   overflow: hidden;
  background: #f3f1ff; /* light purple tint */
}
}


Line 85: Line 100:
}
}


.dreamer-card__name { line-height: 1.2; }
.dreamer-card__name {
.dreamer-card__role { color: #54595d; margin-top: 2px; }
  line-height: 1.2;
.dreamer-card__meta { color: #72777d; margin-top: 6px; font-size: 0.95em; }
  color: #1f2328;
}
 
.dreamer-card__role {
  color: #54595d;
  margin-top: 2px;
}
 
.dreamer-card__meta {
  color: #72777d;
  margin-top: 6px;
  font-size: 0.95em;
}
 
.dreamer-card__meta:empty { display: none; }
.dreamer-card__meta:empty { display: none; }

Revision as of 20:27, 24 February 2026

/* CSS placed here will be applied to all skins */
  .navbar-brand img {
  padding-top: 10px;
  height: 60px;
}

.firstHeading {
    color: rgb(92,76,228) !important;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.square {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.blue { background-color: #2D8CFF; }
.red { background-color: #FF4757; }
.green { background-color: #2ED573; }
.yellow { background-color: #FFD32A; }
.orange { background-color: #fee4cb; }
.hue1 { background-color: #5c4ce4; }
.hue2 { background-color: #8068ff; }
.hue3 { background-color: #a386ff; }
.hue4 { background-color: #c6a4ff; }
.hue5 { background-color: #e9c4ff; }

/* DREAMers team layout */
.dreamer-section { margin: 22px 0 30px; }

.dreamer-section__head {
  margin: 4px 0 14px;
  border-left: 4px solid rgb(92,76,228); /* same purple as main heading */
  padding-left: 10px;
}

.dreamer-section__title {
  font-size: 1.25em;
  font-weight: 700;
}

.dreamer-section__subtitle {
  color: #54595d;
  margin-top: 0;
}

.dreamer-section__subtitle:empty { display: none; }

/* Cards laid out in rows */
.dreamers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;  /* or flex-start if you prefer left aligned */
}

/* Individual card */
.dreamer-card {
  width: 260px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e1e4ff; /* light purple border */
  box-shadow: 0 6px 16px rgba(92,76,228,0.08);
}

/* Image on top, with a soft purple backdrop */
.dreamer-card__imgwrap {
  width: 100%;
  overflow: hidden;
  background: #f3f1ff; /* light purple tint */
}

.dreamer-card__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* Text area */
.dreamer-card__body {
  padding: 10px 14px 12px;
}

.dreamer-card__name {
  line-height: 1.2;
  color: #1f2328;
}

.dreamer-card__role {
  color: #54595d;
  margin-top: 2px;
}

.dreamer-card__meta {
  color: #72777d;
  margin-top: 6px;
  font-size: 0.95em;
}

.dreamer-card__meta:empty { display: none; }