Ikwipedia:Main Page/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* General Settings */ | /* General Settings */ | ||
body { | body { | ||
line-height: 1.6; | line-height: 1.6; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
font-family: inherit; /* Ensures all text inherits the default system font */ | |||
} | } | ||
Line 40: | Line 40: | ||
flex: 1; | flex: 1; | ||
padding: 1em; | padding: 1em; | ||
background-color: #f5faff; | background-color: #f5faff; /* Default light blue background */ | ||
border: 1px solid #cedff2; | border: 1px solid #cedff2; /* Light blue border */ | ||
} | |||
#mp-left { | |||
background-color: #f5fffa; /* Light green background for left column */ | |||
border-color: #cef2e0; /* Green border */ | |||
} | |||
#mp-right { | |||
background-color: #f5faff; /* Light blue background for right column */ | |||
border-color: #cedff2; /* Blue border */ | |||
} | } | ||
/* Heading Styling */ | |||
#mp-left .mp-h2, | #mp-left .mp-h2, | ||
#mp-right .mp-h2 { | #mp-right .mp-h2 { | ||
background-color: #cedff2; | font-family: inherit; | ||
border: 1px solid #a3b0bf; | background-color: #cedff2; /* Default light blue for headings */ | ||
border: 1px solid #a3b0bf; /* Light blue border */ | |||
padding: 0.5em; | padding: 0.5em; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
font-weight: | font-weight: normal; /* Use sentence case appearance */ | ||
text-transform: none; /* Enforce sentence case */ | |||
} | |||
/* Left-specific heading */ | |||
#mp-left .mp-h2 { | |||
background-color: #cef2e0; /* Light green for left column headings */ | |||
border-color: #a3bfb1; /* Green border */ | |||
} | } | ||
Line 59: | Line 78: | ||
max-width: 1200px; | max-width: 1200px; | ||
padding: 1em; | padding: 1em; | ||
background-color: #faf5ff; | background-color: #faf5ff; /* Light purple background */ | ||
border: 1px solid #ddcef2; | border: 1px solid #ddcef2; /* Purple border */ | ||
} | } | ||
#mp-lower .mp-h2, | #mp-lower .mp-h2, | ||
#mp-bottom .mp-h2 { | #mp-bottom .mp-h2 { | ||
background-color: #ddcef2; | font-family: inherit; | ||
border: 1px solid #afa3bf; | background-color: #ddcef2; /* Light purple for headings */ | ||
border: 1px solid #afa3bf; /* Purple border */ | |||
padding: 0.5em; | padding: 0.5em; | ||
text-transform: none; /* Enforce sentence case */ | |||
font-weight: normal; /* Regular font weight */ | |||
/* | |||
font-weight: | |||
} | } | ||
Line 99: | Line 110: | ||
} | } | ||
/* Basic box styling */ | |||
/* | |||
.test-box { | .test-box { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
Line 111: | Line 119: | ||
} | } | ||
/* | /* Title styling within the box */ | ||
.test-box .test-title { | .test-box .test-title { | ||
font-size: 120%; | font-size: 120%; | ||
font-weight: | font-weight: normal; /* Match sentence case style */ | ||
background-color: #cef2e0; | background-color: #cef2e0; /* Light green background */ | ||
border-bottom: 1px solid #aaa; | border-bottom: 1px solid #aaa; | ||
margin: 0 0 0.5em; | margin: 0 0 0.5em; | ||
Line 121: | Line 129: | ||
} | } | ||
/* | /* Sub-boxes */ | ||
.test-box .test-subbox { | .test-box .test-subbox { | ||
border: 1px solid #ccc; | border: 1px solid #ccc; |
Revision as of 01:13, 23 December 2024
/* General Settings */
body {
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f9f9f9;
font-family: inherit; /* Ensures all text inherits the default system font */
}
/* Top Banner */
#mp-topbanner {
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 1em;
text-align: center;
margin-bottom: 1em;
}
#mp-topbanner h1 {
font-size: 1.8em;
margin: 0 0 0.5em;
font-family: inherit;
}
#mp-topbanner p {
margin: 0.5em 0;
}
/* Main Content Layout */
#mp-upper {
display: flex;
justify-content: space-between;
gap: 1em;
max-width: 1200px;
margin: 0 auto;
}
#mp-left,
#mp-right {
flex: 1;
padding: 1em;
background-color: #f5faff; /* Default light blue background */
border: 1px solid #cedff2; /* Light blue border */
}
#mp-left {
background-color: #f5fffa; /* Light green background for left column */
border-color: #cef2e0; /* Green border */
}
#mp-right {
background-color: #f5faff; /* Light blue background for right column */
border-color: #cedff2; /* Blue border */
}
/* Heading Styling */
#mp-left .mp-h2,
#mp-right .mp-h2 {
font-family: inherit;
background-color: #cedff2; /* Default light blue for headings */
border: 1px solid #a3b0bf; /* Light blue border */
padding: 0.5em;
font-size: 1.2em;
font-weight: normal; /* Use sentence case appearance */
text-transform: none; /* Enforce sentence case */
}
/* Left-specific heading */
#mp-left .mp-h2 {
background-color: #cef2e0; /* Light green for left column headings */
border-color: #a3bfb1; /* Green border */
}
/* Lower Section */
#mp-lower,
#mp-bottom {
margin: 1em auto;
max-width: 1200px;
padding: 1em;
background-color: #faf5ff; /* Light purple background */
border: 1px solid #ddcef2; /* Purple border */
}
#mp-lower .mp-h2,
#mp-bottom .mp-h2 {
font-family: inherit;
background-color: #ddcef2; /* Light purple for headings */
border: 1px solid #afa3bf; /* Purple border */
padding: 0.5em;
text-transform: none; /* Enforce sentence case */
font-weight: normal; /* Regular font weight */
}
/* Section Content */
.mp-contains-float {
padding: 1em;
}
.mp-contains-float::after {
content: "";
display: block;
clear: both;
}
/* Responsive Design */
@media (max-width: 875px) {
#mp-upper {
flex-direction: column;
}
}
/* Basic box styling */
.test-box {
border: 1px solid #aaa;
background-color: #f8f9fa;
padding: 1em;
margin: 1em 0;
font-size: 90%;
}
/* Title styling within the box */
.test-box .test-title {
font-size: 120%;
font-weight: normal; /* Match sentence case style */
background-color: #cef2e0; /* Light green background */
border-bottom: 1px solid #aaa;
margin: 0 0 0.5em;
padding: 0.2em;
}
/* Sub-boxes */
.test-box .test-subbox {
border: 1px solid #ccc;
background-color: #ffffff;
padding: 0.5em;
margin-top: 0.5em;
}