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

From Ikwipedia
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 12: Line 12:
   font-size: 1.8em;
   font-size: 1.8em;
   margin: 0 0 0.0em 0;
   margin: 0 0 0.0em 0;
   font-family: inherit;
   font-family: inherit; /* Ensure consistent font */
   border-bottom: none;
   border-bottom: none;
}
}


#mp-box {
  padding: 0;
}


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


Line 32: Line 29:
   max-width: 1200px;
   max-width: 1200px;
   margin: 0 auto;
   margin: 0 auto;
   font-family: inherit;
   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 */
  margin-bottom: 0.5em; /* Add space between content boxes */
}
}


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


#mp-right {
#mp-right {
  padding: 0.5em;
   background-color: #f5faff;
   background-color: #f5faff;
   border: 1px solid #cedff2;
   border-color: #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;
}
}


Line 67: Line 57:
   font-size: 1.4em;
   font-size: 1.4em;
   font-weight: bold;
   font-weight: bold;
   padding: 0.1em 0.2em; /* Adjusted for smaller spacing */
  background-color: #e6e6e6;
   padding: 0.2em 0.2em; /* Reduced top padding for smaller spacing */
  padding-top: 0.1em;
   margin-bottom: 0.3em;
   margin-bottom: 0.3em;
   font-family: inherit;
  margin-top: 0.0em;
   font-family: inherit; /* Ensure consistent font */
  border-bottom: 0; /* Remove horizontal line */
   border: 1px solid #aaa; /* Default thin border for all headings */
   border: 1px solid #aaa; /* Default thin border for all headings */
}
}


#mp-left .mp-h2 {
/* Lower Section Heading Borders (Refined Colors) */
   background-color: #cef2e0;
#mp-lower .mp-h2,
   border-color: #a3bfb1; /* Light green border for heading */
#mp-bottom .mp-h2 {
   background-color: #f5f2ff; /* Light purple closer to Wikipedia */
   border-color: #d1c7e0;
}
}


#mp-right .mp-h2 {
/* Responsive Design */
   background-color: #cedff2;
@media (max-width: 875px) {
   border-color: #a3b0bf; /* Light blue border for heading */
  #mp-upper {
    flex-direction: column;
  }
}
 
#mp-lower {
   background-color: #fff5fa; /* Light pink for content box */
   border-color: #f2cedd; /* Pink border for content box */
}
}


Line 86: Line 89:
   background-color: #f2cedd; /* Darker pink for heading */
   background-color: #f2cedd; /* Darker pink for heading */
   border-color: #bfa3af; /* Pink border for heading */
   border-color: #bfa3af; /* Pink border for heading */
}
#mp-bottom {
  background-color: #faf5ff; /* Light purple for content box */
  border-color: #ddcef2; /* Purple border for content box */
}
}


Line 91: Line 99:
   background-color: #ddcef2; /* Darker purple for heading */
   background-color: #ddcef2; /* Darker purple for heading */
   border-color: #afa3bf; /* Purple border for heading */
   border-color: #afa3bf; /* Purple border for heading */
}
/* Responsive Design */
@media (max-width: 875px) {
  #mp-upper {
    flex-direction: column;
  }
}
}

Revision as of 02:54, 23 December 2024

/* 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; /* Ensure consistent font */
  border-bottom: none;
}


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

/* Main Layout */
#mp-upper {
  display: flex;
  justify-content: space-between;
  gap: 0.4em;
  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 */
  margin-bottom: 0.5em; /* Add space between content boxes */
}

#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.2em 0.2em; /* Reduced top padding for smaller spacing */
  padding-top: 0.1em;
  margin-bottom: 0.3em;
  margin-top: 0.0em;
  font-family: inherit; /* Ensure consistent font */
  border-bottom: 0; /* Remove horizontal line */
  border: 1px solid #aaa; /* Default thin border for all headings */
}

/* Lower Section Heading Borders (Refined Colors) */
#mp-lower .mp-h2,
#mp-bottom .mp-h2 {
  background-color: #f5f2ff; /* Light purple closer to Wikipedia */
  border-color: #d1c7e0;
}

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

#mp-lower {
  background-color: #fff5fa; /* Light pink for content box */
  border-color: #f2cedd; /* Pink border for content box */
}

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

#mp-bottom {
  background-color: #faf5ff; /* Light purple for content box */
  border-color: #ddcef2; /* Purple border for content box */
}

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