Template:Sanpantul article/styles.css: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
Samadam (talk | contribs)
No edit summary
Samadam (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
.monobook-body {
/* Wikipedia Style Article - Unified CSS */
  max-width: 65% !important;
.article-container {
  margin-left: 0 !important;
    max-width: 800px;
  margin-right: auto !important;
    margin: 20px auto;
  text-align: left !important;
    padding: 30px;
  /* optionally add padding or border */
    background-color: #ffffff;
  padding: 1em !important;
    color: #202122;
  margin-top: 1em !important; /* space below title */
    font-family: sans-serif;
  box-shadow: 0 0 5px rgba(0,0,0,0.3) !important;
    line-height: 1.6;
  background: #fff !important;
    word-wrap: break-word;
  border-radius: 4px !important;
  overflow: hidden;
}
/*
.custom-heading {
  text-align: center !important;
  font-size: 2em !important;
}
 
.article-body {
  line-height: 1.6 !important;
}
*/
body {
font-size: 125% !important;
}
 
#toc { /* Table of content */
font-family: Arial !important;
}
 
.infobox.vcard.geography { /* Country infobox on Sanpantul first page */
font-family: Arial !important;
}
 
.infobox {
font-family: Arial !important;
font-size: 100% !important;
}
 
p { /* General text blocks */
font-family: Arial !important; /* Tahoma */
font-size: 125% !important;
line-height: 175% !important;
}
 
.wikitable { /* All wikitables */
font-family: Arial !important;
}
 
.toccolours { /* Infobox on Economy of Sanpantul page */
font-family: Arial !important;
}
}


.navbox { /* The Sanpantul nav box */
/* Headings: H1 and H2 have the classic underline */
font-family: Arial !important;
.article-container h1,
.article-container h2 {
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
    font-weight: normal;
    margin-bottom: 0.25em;
    padding-bottom: 0.17em;
    border-bottom: 1px solid #a2a9b1;
}
}


.mainarticle { /* The Main article lines under each header */
.article-container h1 { font-size: 1.8rem; margin-top: 0; }
font-family: Arial !important;
.article-container h2 { font-size: 1.5rem; margin-top: 1.5em; }
}
 
h2 { /* Level 2 headers */
font-family: "Verdana Pro" !important;
font-weight: bold !important;
border-bottom: solid 4px #267F00 !important;
text-transform: uppercase !important;
}
 
h3 { /* Level 3 headers */
font-family: "Verdana Pro" !important;
font-size: 1.2em !important;
border-bottom: solid 3px #FFCC00 !important;
text-transform: uppercase !important;
}
 
big b, small b { /* Header in the Country infobox on Sanpantul first page */
font-family: "Verdana Pro" !important;
}
 
h2 span a, h3 span a { /* Edit link in the headers */
font-size: 0.5em !important;
color: white !important;
border-style: hidden !important;
}
 
.mw-editsection-bracket { /* Brackets enclosing the edit link in the headers */
font-size: 0em !important;
}
 
.mw-editsection-divider { /* Divider between the edit buttons */
color: white !important;
}
 
body.skin-vector { /* Main background (not working) */
background-color: #e6ffb4 !important;
}


.navbox-subgroup .navbox-group { /* Subgroup boxes in navbox */
/* H3 and H4 are bold without underlines */
font-family: "Verdana Pro" !important;
.article-container h3 {
background: #FFCC00 !important;
    font-size: 1.2rem;
color: black !important;
    font-weight: bold;
    margin-top: 1.2em;
    margin-bottom: 0.3em;
}
}


.navbox-group, .navbox-group a { /* Group boxes in navbox */
/* Paragraphs and Text */
font-family: "Verdana Pro" !important;
.article-container p {
background: #267F00 !important;
    font-size: 0.875rem; /* Wikipedia Medium Size */
color: #FFCC00 !important;
    margin: 0.5em 0 1em 0;
}
}


.navbox-title, caption { /* Navbox headers */
/* Links: Blue for new, Purple for visited */
font-family: "Verdana Pro" !important;
.article-container a {
font-weight: bold !important;
    color: #0645ad;
font-size: 150% !important;
    text-decoration: none;
}
}


.navbox-title span a { /* Navbox headers */
.article-container a:visited {
color: #267F00 !important;
    color: #0b0080;
}
}


.navbox-group div a { /* Election navbox link background fix */
.article-container a:hover {
font-family: "Verdana Pro" !important;
    text-decoration: underline;
background: #FFCC00 !important;
color: black !important;
}
}


ul li { /* Bullet lists */
/* Lists and Quotes */
font-family: Arial !important; /* Tahoma */
.article-container ul,
font-size: 125% !important;
.article-container ol {
line-height: 175% !important;
    margin: 1em 0 1em 1.5em;
    font-size: 0.875rem;
}
}


.vevent { /* Election results infobox */
.article-container blockquote {
width: 450px !important;
    font-style: italic;
font-family: Tahoma !important;
    border-left: 4px solid #eaecf0;
    padding-left: 15px;
    margin: 1em 0;
    color: #54595d;
}
}

Latest revision as of 22:57, 22 April 2026

/* Wikipedia Style Article - Unified CSS */
.article-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background-color: #ffffff;
    color: #202122;
    font-family: sans-serif;
    line-height: 1.6;
    word-wrap: break-word;
}

/* Headings: H1 and H2 have the classic underline */
.article-container h1, 
.article-container h2 {
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
    font-weight: normal;
    margin-bottom: 0.25em;
    padding-bottom: 0.17em;
    border-bottom: 1px solid #a2a9b1;
}

.article-container h1 { font-size: 1.8rem; margin-top: 0; }
.article-container h2 { font-size: 1.5rem; margin-top: 1.5em; }

/* H3 and H4 are bold without underlines */
.article-container h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1.2em;
    margin-bottom: 0.3em;
}

/* Paragraphs and Text */
.article-container p {
    font-size: 0.875rem; /* Wikipedia Medium Size */
    margin: 0.5em 0 1em 0;
}

/* Links: Blue for new, Purple for visited */
.article-container a {
    color: #0645ad;
    text-decoration: none;
}

.article-container a:visited {
    color: #0b0080;
}

.article-container a:hover {
    text-decoration: underline;
}

/* Lists and Quotes */
.article-container ul, 
.article-container ol {
    margin: 1em 0 1em 1.5em;
    font-size: 0.875rem;
}

.article-container blockquote {
    font-style: italic;
    border-left: 4px solid #eaecf0;
    padding-left: 15px;
    margin: 1em 0;
    color: #54595d;
}