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

From Ikwipedia
No edit summary
No edit summary
 
(62 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* General Settings */
body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}
/* Top Banner */
/* Top Banner */
#mp-topbanner {
#mp-topbanner {
   background-color: #f9f9f9;
   background-color: #f9f9f9;
   border: 1px solid #ddd;
   border: 1px solid #ddd;
  padding: 1em;
   text-align: center;
   text-align: center;
   margin-bottom: 1em;
   margin-bottom: 0.3em;
  margin-top:0.3em;
  padding: 0.4em;
  font-family: inherit; /* Ensure fonts inherit globally */
}
}


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


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


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


#mp-left,
#mp-left,
#mp-right {
#mp-right,
   flex: 1;
#mp-lower,
   padding: 1em;
#mp-bottom {
   padding: 0.5em;
   border: 1px solid #cedff2;
   background-color: #f5faff;
   background-color: #f5faff;
   border: 1px solid #cedff2;
   font-family: inherit; /* Ensure consistent font */
  margin-bottom: 0.3em; /* Add space between content boxes */
}
}


#mp-left .mp-h2,
#mp-left {
#mp-right .mp-h2 {
   background-color: #f5fffa;
   background-color: #cedff2;
   border-color: #cef2e0;
   border: 1px solid #a3b0bf;
  padding: 0.5em;
  font-size: 1.2em;
  font-weight: bold;
}
}


/* Lower Section */
#mp-right {
#mp-lower,
   background-color: #f5faff;
#mp-bottom {
   border-color: #cedff2;
  margin: 1em auto;
  max-width: 1200px;
  padding: 1em;
   background-color: #faf5ff;
   border: 1px solid #ddcef2;
}
}


#mp-lower .mp-h2,
/* Headings */
#mp-bottom .mp-h2 {
  background-color: #ddcef2;
  border: 1px solid #afa3bf;
  padding: 0.5em;
}
 
/* Section Headings */
.mp-h2 {
.mp-h2 {
   margin: 0;
   font-size: 1.4em;
  padding: 0.5em;
   font-weight: bold;
   font-weight: bold;
  font-size: 1.2em;
  border: 1px solid #aaa;
   background-color: #e6e6e6;
   background-color: #e6e6e6;
   text-align: center;
   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 */
}
}


/* Section Content */
/* Lower Section Heading Borders (Refined Colors) */
.mp-contains-float {
#mp-lower .mp-h2,
  padding: 1em;
#mp-bottom .mp-h2 {
}
   background-color: #f5f2ff; /* Light purple closer to Wikipedia */
 
   border-color: #d1c7e0;
.mp-contains-float::after {
   content: "";
   display: block;
  clear: both;
}
}


Line 98: Line 82:
}
}


#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 */
/* -- Basic box styling -- */
   border-color: #bfa3af; /* Pink border for heading */
.test-box {
  border: 1px solid #aaa;
   background-color: #f8f9fa;
   padding: 1em;
  margin: 1em 0;
  font-size: 90%;
}
}


/* -- Title styling *within* that box -- */
#mp-bottom {
.test-box .test-title {
   background-color: #faf5ff; /* Light purple for content box */
  font-size: 120%;
   border-color: #ddcef2; /* Purple border for content box */
  font-weight: bold;
   background-color: #cef2e0;
   border-bottom: 1px solid #aaa;
  margin: 0 0 0.5em;
  padding: 0.2em;
}
}


/* Additional examples for headings or sub-boxes */
#mp-bottom .mp-h2 {
.test-box .test-subbox {
   background-color: #ddcef2; /* Darker purple for heading */
  border: 1px solid #ccc;
   border-color: #afa3bf; /* Purple border for heading */
   background-color: #ffffff;
   padding: 0.5em;
  margin-top: 0.5em;
}
}

Latest revision as of 03:30, 23 December 2024

/* Top Banner */
#mp-topbanner {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  text-align: center;
  margin-bottom: 0.3em;
  margin-top:0.3em;
  padding: 0.4em;
  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.3em; /* 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 */
}