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

From Ikwipedia
No edit summary
No edit summary
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: 1em;
   padding: 1em;
}
}


.container {
#mp-topbanner h1 {
   max-width: 1200px;
   font-size: 1.8em;
   margin: 0 auto;
   margin: 0 0 0.5em 0;
  padding: 1em;
}
}


h1, h2 {
#mp-topbanner p {
   margin: 0 0 0.5em;
   margin: 0.5em 0;
  font-family: inherit;
}
}


h1 {
/* Main Layout */
   font-size: 1.8em;
#mp-upper {
   text-align: center;
   display: flex;
  justify-content: space-between;
  gap: 0.5em;
   max-width: 1200px;
  margin: 0 auto;
}
}


h2 {
#mp-left,
  font-size: 1.4em;
#mp-right,
#mp-lower,
#mp-bottom {
   padding: 0.5em;
   padding: 0.5em;
   background-color: #f0f0f0;
   border: 1px solid #cedff2;
   border: 1px solid #ddd;
   background-color: #f5faff;
}
}


/* Top Banner */
#mp-left {
#top-banner {
   background-color: #f5fffa;
  text-align: center;
   border-color: #cef2e0;
  padding: 1em;
   background-color: #f9f9f9;
   border: 1px solid #ddd;
  margin-bottom: 1em;
}
}


#top-banner p {
#mp-right {
   margin: 0.5em 0;
   background-color: #f5faff;
  border-color: #cedff2;
}
}


/* Main Content Layout */
/* Headings */
.flex-container {
.mp-h2 {
   display: flex;
   font-size: 1.4em;
   flex-wrap: wrap;
  font-weight: bold;
   gap: 1em;
   background-color: #e6e6e6;
   padding: 0.4em;
  margin-bottom: 0.5em;
}
}


.flex-item {
#mp-left .mp-h2 {
  flex: 1;
   background-color: #cef2e0;
  padding: 1em;
   background-color: #f5f5f5;
  border: 1px solid #ddd;
}
}


.flex-item.left {
#mp-right .mp-h2 {
   background-color: #f5fffa;
   background-color: #cedff2;
}
}


.flex-item.right {
#mp-lower .mp-h2,
  background-color: #f5faff;
#mp-bottom .mp-h2 {
}
   background-color: #ddcef2;
 
/* Lower Section */
.lower-section {
  margin-top: 1em;
  padding: 1em;
   background-color: #faf5ff;
  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;
   }
   }
}
}





Revision as of 01:50, 23 December 2024

/* Top Banner */
#mp-topbanner {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  text-align: center;
  margin-bottom: 1em;
  padding: 1em;
}

#mp-topbanner h1 {
  font-size: 1.8em;
  margin: 0 0 0.5em 0;
}

#mp-topbanner p {
  margin: 0.5em 0;
}

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

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

#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;
}

#mp-left .mp-h2 {
  background-color: #cef2e0;
}

#mp-right .mp-h2 {
  background-color: #cedff2;
}

#mp-lower .mp-h2,
#mp-bottom .mp-h2 {
  background-color: #ddcef2;
}

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

}