Template:Sanpantul article/styles.css

From MicrasWiki
Revision as of 22:57, 22 April 2026 by Samadam (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
/* 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;
}