Ikwipedia:Main Page/styles.css

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

#mp-topbanner h1 {
  font-size: 1.8em;
  margin: 0 0 0.5em 0;
  font-family: inherit; /* Ensure consistent font */
}

#mp-topbanner p {
  margin: 0.5em 0;
  font-family: inherit; /* Ensure consistent font */
}

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

#mp-left,
#mp-right,
#mp-lower,
#mp-bottom {
  padding: 0.5em;
  border: 1px solid #cedff2;
  background-color: #f5faff;
  font-family: inherit; /* Ensure consistent font */
}

#mp-left {
  background-color: #f5fffa;
  border-color: #cef2e0;
}

#mp-right {
  background-color: #f5faff;
  border-color: #cedff2;
}

/* Headings */
.mp-h2 {
  font-size: 1.4em;
  font-weight: bold;
  background-color: #e6e6e6;
  padding: 0.4em;
  margin-bottom: 0.5em;
  font-family: inherit; /* Ensure consistent font */
  border-bottom: 0; /* Remove horizontal line */
}

#mp-left .mp-h2 {
  background-color: #cef2e0;
  border-bottom: 0; /* Remove horizontal line */
}

#mp-right .mp-h2 {
  background-color: #cedff2;
  border-bottom: 0; /* Remove horizontal line */
}

#mp-lower .mp-h2,
#mp-bottom .mp-h2 {
  background-color: #ddcef2;
  border-bottom: 0; /* Remove horizontal line */
}

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



/* Basic box styling */
.test-box {
  border: 1px solid #aaa;
  background-color: #f8f9fa;
  font-size: 90%;
}

/* Title styling within the box */
.test-box .test-title {
  font-size: 120%;
  font-weight: bold; /* Match bold headings */
  background-color: #cef2e0; /* Light green background */
  border-bottom: none; /* Remove horizontal line */

}

/* Sub-boxes */
.test-box .test-subbox {
  border: 1px solid #ccc;
  background-color: #ffffff;

}