Ikwipedia:Main Page/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* | /* Main container */ | ||
.ikwipedia-main { | |||
font-family: Arial, sans-serif; | font-family: Arial, sans-serif; | ||
margin: 0 auto; | |||
max-width: 800px; | |||
padding: | padding: 1em; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
} | } | ||
/* | /* General Box Styling */ | ||
.ikwipedia-box { | |||
border: 1px solid #aaa; | |||
background-color: #f8f9fa; | |||
padding: 1em; | padding: 1em; | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
font-size: 90%; | |||
border-radius: 5px; | |||
} | } | ||
/* Title Styling */ | |||
font-size: | .ikwipedia-title { | ||
font-size: 120%; | |||
font-weight: bold; | |||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
padding-bottom: 0.2em; | |||
border-bottom: 2px solid #ccc; | |||
} | } | ||
/* Specific Box Customizations */ | |||
.ikwipedia-welcome { | |||
background-color: #e6f7ff; | |||
border-color: #99d6ff; | |||
} | } | ||
.ikwipedia-message { | |||
#ikwipedia- | 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 { | |||
.ikwipedia- | margin-left: 1.5em; | ||
margin- | list-style: disc; | ||
} | } | ||
.ikwipedia- | .ikwipedia-box li { | ||
margin-bottom: 0.5em; | |||
} | } | ||
. | |||
/* -- Basic box styling -- */ | |||
.test-box { | |||
border: 1px solid #aaa; | |||
background-color: #f8f9fa; | |||
padding: 1em; | padding: 1em; | ||
font-size: | margin: 1em 0; | ||
font-size: 90%; | |||
} | } | ||
/* | /* -- Title styling *within* that box -- */ | ||
. | .test-box .test-title { | ||
font-size: 120%; | |||
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 */ | ||
.test-box .test-subbox { | |||
border: 1px solid #ccc; | |||
background-color: #ffffff; | |||
padding: 0.5em; | |||
margin-top: 0.5em; | |||
} | } |
Revision as of 00:42, 23 December 2024
/* Main container */
.ikwipedia-main {
font-family: Arial, sans-serif;
margin: 0 auto;
max-width: 800px;
padding: 1em;
background-color: #f9f9f9;
}
/* General Box Styling */
.ikwipedia-box {
border: 1px solid #aaa;
background-color: #f8f9fa;
padding: 1em;
margin-bottom: 1em;
font-size: 90%;
border-radius: 5px;
}
/* Title Styling */
.ikwipedia-title {
font-size: 120%;
font-weight: bold;
margin-bottom: 0.5em;
padding-bottom: 0.2em;
border-bottom: 2px solid #ccc;
}
/* Specific Box Customizations */
.ikwipedia-welcome {
background-color: #e6f7ff;
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 {
margin-left: 1.5em;
list-style: disc;
}
.ikwipedia-box li {
margin-bottom: 0.5em;
}
/* -- Basic box styling -- */
.test-box {
border: 1px solid #aaa;
background-color: #f8f9fa;
padding: 1em;
margin: 1em 0;
font-size: 90%;
}
/* -- Title styling *within* that box -- */
.test-box .test-title {
font-size: 120%;
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 */
.test-box .test-subbox {
border: 1px solid #ccc;
background-color: #ffffff;
padding: 0.5em;
margin-top: 0.5em;
}