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

From Ikwipedia
No edit summary
No edit summary
Line 1: Line 1:
 
/* General Settings */
#firstHeading, .mw-first-heading {
body {
   display: none;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
   background-color: #f9f9f9;
}
}


div.mw-page-container-inner {
/* Full-Width Title Box */
    max-width: none;
#ikwipedia-titlebox {
}
   background-color: #e6e6e6;
/* -- Basic box styling -- */
   border: 1px solid #ccc;
.test-box {
   border: 1px solid #aaa;
   background-color: #f8f9fa;
   padding: 1em;
   padding: 1em;
   margin: 1em 0;
   text-align: center;
   font-size: 90%;
   margin-bottom: 1em;
}
}


/* -- Title styling *within* that box -- */
#ikwipedia-titlebox h1 {
.test-box .test-title {
   font-size: 1.8em;
   font-size: 120%;
   margin-bottom: 0.5em;
   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 */
#ikwipedia-titlebox p {
.test-box .test-subbox {
   margin: 0.5em 0;
   border: 1px solid #ccc;
  background-color: #ffffff;
  padding: 0.5em;
  margin-top: 0.5em;
}
}


/* Main container */
/* Main Content Layout */
.ikwipedia-main {
#ikwipedia-main-content {
   font-family: Arial, sans-serif;
   display: flex;
   margin: 0 auto;
   margin: 0 auto;
   max-width: 800px;
   max-width: 1200px;
  gap: 1em;
}
 
/* Columns */
#ikwipedia-left, #ikwipedia-right {
  flex: 1;
   padding: 1em;
   padding: 1em;
   background-color: #f9f9f9;
   background-color: #fff;
  border: 1px solid #ccc;
}
}


/* General Box Styling */
/* Section Styling */
.ikwipedia-box {
.ikwipedia-section {
   border: 1px solid #aaa;
  margin-bottom: 1em;
   border: 1px solid #ccc;
   background-color: #f8f9fa;
   background-color: #f8f9fa;
  padding: 1em;
  margin-bottom: 1em;
  font-size: 90%;
  border-radius: 5px;
}
}


/* Title Styling */
.ikwipedia-heading {
.ikwipedia-title {
   background-color: #e6e6e6;
   font-size: 120%;
  padding: 0.5em;
   font-weight: bold;
   font-weight: bold;
   margin-bottom: 0.5em;
   font-size: 1.2em;
  padding-bottom: 0.2em;
   border-bottom: 1px solid #ccc;
   border-bottom: 2px solid #ccc;
}
}


/* Specific Box Customizations */
.ikwipedia-content {
.ikwipedia-welcome {
   padding: 1em;
   background-color: #e6f7ff;
   font-size: 1em;
   border-color: #99d6ff;
}
 
.ikwipedia-message {
  background-color: #fffbe6;
  border-color: #ffe58f;
}
 
.ikwipedia-recent-edits {
  background-color: #f6ffed;
  border-color: #b7eb8f;
}
 
.ikwipedia-new-articles {
  background-color: #fff0f6;
  border-color: #ffadd2;
}
 
/* Inline list styling for DPL output */
.ikwipedia-box p {
  margin-bottom: 0.5em;
}
}


.ikwipedia-box ul {
/* Inline List for DynamicPageList (DPL) */
   margin-left: 1.5em;
.ikwipedia-content dpl {
  list-style: disc;
   display: inline;
}
}


.ikwipedia-box li {
.ikwipedia-content dpl::before {
   margin-bottom: 0.5em;
   content: "• ";
}
}

Revision as of 00:40, 23 December 2024

/* General Settings */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

/* Full-Width Title Box */
#ikwipedia-titlebox {
  background-color: #e6e6e6;
  border: 1px solid #ccc;
  padding: 1em;
  text-align: center;
  margin-bottom: 1em;
}

#ikwipedia-titlebox h1 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

#ikwipedia-titlebox p {
  margin: 0.5em 0;
}

/* Main Content Layout */
#ikwipedia-main-content {
  display: flex;
  margin: 0 auto;
  max-width: 1200px;
  gap: 1em;
}

/* Columns */
#ikwipedia-left, #ikwipedia-right {
  flex: 1;
  padding: 1em;
  background-color: #fff;
  border: 1px solid #ccc;
}

/* Section Styling */
.ikwipedia-section {
  margin-bottom: 1em;
  border: 1px solid #ccc;
  background-color: #f8f9fa;
}

.ikwipedia-heading {
  background-color: #e6e6e6;
  padding: 0.5em;
  font-weight: bold;
  font-size: 1.2em;
  border-bottom: 1px solid #ccc;
}

.ikwipedia-content {
  padding: 1em;
  font-size: 1em;
}

/* Inline List for DynamicPageList (DPL) */
.ikwipedia-content dpl {
  display: inline;
}

.ikwipedia-content dpl::before {
  content: "• ";
}