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

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


.container {
#mp-topbanner h1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}
 
h1, h2 {
  margin: 0 0 0.5em;
  font-family: inherit;
}
 
h1 {
   font-size: 1.8em;
   font-size: 1.8em;
   text-align: center;
   margin: 0 0 0.0em 0;
  font-family: inherit; /* Ensure consistent font */
  border-bottom: none;
}
}


h2 {
  font-size: 1.4em;
  padding: 0.5em;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
}


/* Top Banner */
#mp-topbanner p {
#top-banner {
   margin: 0.0em 0;
   text-align: center;
   font-family: inherit; /* Ensure consistent font */
   padding: 1em;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  margin-bottom: 1em;
}
 
#top-banner p {
  margin: 0.5em 0;
}
}


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


.flex-item {
#mp-left,
   flex: 1;
#mp-right,
   padding: 1em;
#mp-lower,
   background-color: #f5f5f5;
#mp-bottom {
   border: 1px solid #ddd;
   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 */
}
}


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


.flex-item.right {
#mp-right {
   background-color: #f5faff;
   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 */
/* Lower Section Heading Borders (Refined Colors) */
.lower-section {
#mp-lower .mp-h2,
  margin-top: 1em;
#mp-bottom .mp-h2 {
  padding: 1em;
   background-color: #f5f2ff; /* Light purple closer to Wikipedia */
   background-color: #faf5ff;
   border-color: #d1c7e0;
   border: 1px solid #ddd;
}
}


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


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


/* Basic box styling */
#mp-lower .mp-h2 {
.test-box {
   background-color: #f2cedd; /* Darker pink for heading */
  border: 1px solid #aaa;
   border-color: #bfa3af; /* Pink border for heading */
   background-color: #f8f9fa;
   font-size: 90%;
}
}


/* Title styling within the 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; /* Match bold headings */
   background-color: #cef2e0; /* Light green background */
   border-bottom: none; /* Remove horizontal line */
 
}
}


/* 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;
 
}
}

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 */
}