Ikwipedia:Main Page/styles.css

From Ikwipedia
/* Top Banner */
#mp-topbanner {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  text-align: center;
  margin-bottom: 0.2em;
  padding: 0.1em;
  font-family: inherit; /* Ensure fonts inherit globally */
}

#mp-topbanner h1 {
  font-size: 1.8em;
  margin: 0 0 0.0em 0;
  font-family: inherit;
  border-bottom: none;
}

#mp-box {
  padding: 0;
}

#mp-topbanner p {
  margin: 0.0em 0;
  font-family: inherit;
}

/* Main Layout */
#mp-upper {
  display: flex;
  justify-content: space-between;
  gap: 0.4em;
  max-width: 1200px;
  margin: 0 auto;
  font-family: inherit;
}

#mp-left {
  padding: 0.5em;
  background-color: #f5fffa;
  border: 1px solid #cef2e0;
  margin-bottom: 0.5em;
}

#mp-right {
  padding: 0.5em;
  background-color: #f5faff;
  border: 1px solid #cedff2;
  margin-bottom: 0.5em;
}

#mp-lower {
  padding: 0.5em;
  background-color: #fff5fa; /* Light pink for content box */
  border: 1px solid #f2cedd; /* Pink border for content box */
  margin-bottom: 0.5em;
}

#mp-bottom {
  padding: 0.5em;
  background-color: #faf5ff; /* Light purple for content box */
  border: 1px solid #ddcef2; /* Purple border for content box */
  margin-bottom: 0.5em;
}

/* Headings */
.mp-h2 {
  font-size: 1.4em;
  font-weight: bold;
  padding: 0.1em 0.2em; /* Adjusted for smaller spacing */
  margin-bottom: 0.3em;
  font-family: inherit;
  border: 1px solid #aaa; /* Default thin border for all headings */
}

#mp-left .mp-h2 {
  background-color: #cef2e0;
  border-color: #a3bfb1; /* Light green border for heading */
}

#mp-right .mp-h2 {
  background-color: #cedff2;
  border-color: #a3b0bf; /* Light blue border for heading */
}

#mp-lower .mp-h2 {
  background-color: #f2cedd; /* Darker pink for heading */
  border-color: #bfa3af; /* Pink border for heading */
}

#mp-bottom .mp-h2 {
  background-color: #ddcef2; /* Darker purple for heading */
  border-color: #afa3bf; /* Purple border for heading */
}

/* Responsive Design */
@media (max-width: 875px) {
  #mp-upper {
    flex-direction: column;
  }
}