MediaWiki:Timeless.css: Difference between revisions

From The World of Haelora
No edit summary
mNo edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ==========================================
/* ==============================================
   THE WORLD OF HAELORA
   THE WORLD OF HAELORA
   Timeless Skin Customization
   MediaWiki Timeless Skin
   ========================================== */
   Version 1.0
  ============================================== */
 
 
/* ==============================================
  1. GLOBAL COLORS & BACKGROUNDS
  ============================================== */
 
body,
#mw-content-container {
    background-color: #E9E0D1 !important;
    color: #292724;
}


/* Main article background */
/* Main article background */
#mw-content,
#mw-content .mw-parser-output,
#mw-content .mw-body-content {
    background-color: #F3EBDD !important;
    color: #292724;
}
#mw-content {
#mw-content {
    background-color: #FFFDF8;
     border: 1px solid #B49A67 !important;
    color: #292724;
     border: 1px solid #D5CBB9;
}
}


/* Outer content area */
/* Remove default container borders */
 
#mw-content-container {
#mw-content-container {
     background-color: #F4EFE4;
     border-top: none !important;
    border-bottom: none !important;
}
}
/* ==============================================
  2. TYPOGRAPHY & HEADINGS
  ============================================== */


/* Main page title */
/* Main page title */
#firstHeading {
#firstHeading {
     font-family: Georgia, "Times New Roman", serif;
     font-family: Georgia, "Times New Roman", serif;
     color: #343743;
     color: #343743;
     border-bottom: 2px solid #B49A67;
     border-bottom: 2px solid #B49A67 !important;
     padding-bottom: 0.3em;
     padding-bottom: 0.3em;
}
}


/* Article section headings */
#mw-content #firstHeading {
    background-color: #F3EBDD !important;
}
 
/* Article headings */
 
#mw-content h2,
#mw-content h2,
#mw-content h3,
#mw-content h3,
Line 33: Line 64:


#mw-content h2 {
#mw-content h2 {
     border-bottom: 1px solid #D5CBB9;
     border-bottom: 1px solid #D5CBB9 !important;
     padding-bottom: 0.2em;
     padding-bottom: 0.2em;
}
}


/* Navigation panels */
#mw-site-navigation .sidebar-inner,
#mw-related-navigation .sidebar-chunk {
    background-color: #F8F3E9;
    border-color: #D5CBB9;
}


/* Links */
/* ==============================================
  3. LINKS
  ============================================== */
 
#mw-content a {
#mw-content a {
     color: #405A83;
     color: #405A83;
Line 55: Line 83:
#mw-content a:hover {
#mw-content a:hover {
     color: #8A6938;
     color: #8A6938;
    text-decoration: underline;
}
}


/* Tables */
#mw-content table.wikitable {
    background-color: #FFFDF8;
    border-color: #D5CBB9;
}


#mw-content table.wikitable th {
/* ==============================================
    background-color: #EAE1D1;
  4. HEADER & FOOTER
    color: #343743;
  ============================================== */
}


/* ==========================================
/* Antique gold header */
  HAELORA - REFINED PARCHMENT THEME
  ========================================== */


/* Outer background */
#mw-header-container {
body,
     border-bottom: 5px solid #B49A67 !important;
#mw-content-container {
     background-color: #E9E0D1 !important;
}
}


/* Main article */
#mw-header {
#mw-content {
     border-bottom-color: #B49A67 !important;
     background-color: #F3EBDD !important;
    border: 1px solid #B49A67 !important;
    color: #292724;
}
}


/* Remove Timeless's default colored borders */
/* Replace Timeless's colored header stripes */
#mw-content-container {
    border-top: none !important;
    border-bottom: none !important;
}


/* Article heading */
#mw-header-hack .color-left,
#firstHeading {
#mw-header-hack .color-middle,
    border-bottom: 2px solid #B49A67 !important;
#mw-header-hack .color-right {
}
     background: #B49A67 !important;
 
/* Section headings */
#mw-content h2 {
    border-bottom: 1px solid #D5CBB9 !important;
}
 
/* Navigation panels */
#mw-site-navigation .sidebar-inner,
#mw-related-navigation .sidebar-chunk {
     background-color: #EDE3D3 !important;
    border-color: #B49A67 !important;
}
 
/* Horizontal rules */
#mw-content hr {
    border: 0;
    border-top: 1px solid #B49A67;
}
}


/* ==========================================
/* Antique gold footer */
  HAELORA - TIMELESS HEADER & FOOTER
  ========================================== */


/* Replace Timeless's colored header stripe */
#mw-header-container {
    border-bottom: 5px solid #B49A67 !important;
}
/* Replace Timeless's colored footer stripe */
#mw-footer-container {
#mw-footer-container {
     border-top: 4px solid #B49A67 !important;
     border-top: 4px solid #B49A67 !important;
}
}


/* Improve footer readability */
/* Footer readability */
#mw-footer-container,
#mw-footer-container a {
    color: #514B43 !important;
}


/* Blend navigation panels into parchment */
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
    background-color: #EDE3D3 !important;
    border: 1px solid #D5CBB9 !important;
}
/* ==========================================
  HAELORA - FINAL LAYOUT REFINEMENTS
  ========================================== */
/* Replace remaining default header colors */
#mw-header-container {
    border-bottom-color: #B49A67 !important;
}
#mw-header {
    border-bottom-color: #B49A67 !important;
}
/* Give the article a warmer parchment background */
#mw-content,
#mw-content .mw-parser-output,
#mw-content .mw-body-content {
    background-color: #F3EBDD !important;
}
/* Keep the page title area consistent */
#mw-content #firstHeading {
    background-color: #F3EBDD !important;
}
/* Make footer text readable */
#mw-footer-container,
#mw-footer-container,
#mw-footer-container *,
#mw-footer-container *,
Line 174: Line 124:
}
}


/* Blend the navigation panels */
 
/* ==============================================
  5. SIDEBAR NAVIGATION
  ============================================== */
 
#mw-site-navigation .sidebar-inner,
#mw-site-navigation .sidebar-inner,
#mw-site-navigation .sidebar-chunk,
#mw-site-navigation .sidebar-chunk,
Line 181: Line 135:
     background-color: #EDE3D3 !important;
     background-color: #EDE3D3 !important;
     border-color: #D5CBB9 !important;
     border-color: #D5CBB9 !important;
}/* ==========================================
}
  HAELORA - FINAL LAYOUT REFINEMENTS
  ========================================== */


/* Replace remaining default header colors */
#mw-site-navigation .sidebar-chunk,
#mw-header-container {
#mw-related-navigation .sidebar-chunk {
     border-bottom-color: #B49A67 !important;
     border: 1px solid #D5CBB9 !important;
}
}


#mw-header {
    border-bottom-color: #B49A67 !important;
}


/* Give the article a warmer parchment background */
/* ==============================================
#mw-content,
  6. TABLES & DIVIDERS
#mw-content .mw-parser-output,
  ============================================== */
#mw-content .mw-body-content {
    background-color: #F3EBDD !important;
}


/* Keep the page title area consistent */
#mw-content table.wikitable {
#mw-content #firstHeading {
     background-color: #F3EBDD;
     background-color: #F3EBDD !important;
    border-color: #D5CBB9;
}
}


/* Make footer text readable */
#mw-content table.wikitable th {
#mw-footer-container,
    background-color: #EAE1D1;
#mw-footer-container *,
     color: #343743;
#mw-footer,
#mw-footer a {
     color: #514B43 !important;
}
}


/* Blend the navigation panels */
#mw-content hr {
#mw-site-navigation .sidebar-inner,
     border: 0;
#mw-site-navigation .sidebar-chunk,
     border-top: 1px solid #B49A67;
#mw-related-navigation .sidebar-inner,
#mw-related-navigation .sidebar-chunk {
     background-color: #EDE3D3 !important;
     border-color: #D5CBB9 !important;
}
}


/* ==========================================
  HAELORA - CUSTOM HEADER COLOR BAR
  ========================================== */


/* Replace the red, blue, and green stripes */
/* ==============================================
#mw-header-hack .color-left,
   7. HOMEPAGE - WELCOME SECTION
#mw-header-hack .color-middle,
   ============================================== */
#mw-header-hack .color-right {
    background: #B49A67 !important;
    background-color: #B49A67 !important;
}
 
/* ==========================================
   HAELORA HOMEPAGE - WELCOME SECTION
   ========================================== */


.haelora-welcome {
.haelora-welcome {
     max-width: 850px;
     max-width: 850px;
     margin: 35px auto 45px;
     margin: 0 auto 45px;
     padding: 25px 35px;
     padding: 0 35px 25px;
     text-align: center;
     text-align: center;
     color: #292724;
     color: #292724;
}
}
/* Welcome heading */


.haelora-welcome-title {
.haelora-welcome-title {
Line 253: Line 183:
     margin-bottom: 22px;
     margin-bottom: 22px;
}
}
/* Introductory text */


.haelora-welcome-intro {
.haelora-welcome-intro {
Line 262: Line 194:
     margin-bottom: 18px;
     margin-bottom: 18px;
}
}
/* Author credit */


.haelora-welcome-credit {
.haelora-welcome-credit {
Line 271: Line 205:
}
}


@media (max-width: 600px) {
    .haelora-welcome {
        padding: 20px 12px;
        margin: 20px auto 30px;
    }


    .haelora-welcome-intro {
/* ==============================================
        font-size: 1.1rem;
  8. HOMEPAGE - REALM NAVIGATION
    }
  ============================================== */
}


/* ==========================================
#mw-content .haelora-realms {
  HAELORA HOMEPAGE - SPACING ADJUSTMENTS
     max-width: 1100px;
  ========================================== */
     margin: 35px auto 50px;
 
/* Reduce space above the welcome section */
.haelora-welcome {
     margin-top: 0 !important;
    padding-top: 0 !important;
}
 
/* Reduce space below the logo */
body.page-Main_Page .mw-parser-output > p:first-child {
     margin-bottom: 0 !important;
}
}


/* ==========================================
/* Section heading */
  HAELORA - EXPLORE THE REALMS
  ========================================== */


.haelora-realms {
#mw-content .haelora-realms-heading {
    max-width: 1100px;
    margin: 45px auto;
}
 
.haelora-realms > h2 {
     text-align: center;
     text-align: center;
     font-family: Georgia, "Times New Roman", serif;
     font-family: Georgia, "Times New Roman", serif;
     font-size: 2rem;
     font-size: 2rem;
     color: #343743;
     color: #343743;
    border-bottom: 1px solid #B49A67;
    padding-bottom: 15px;
     margin-bottom: 30px;
     margin-bottom: 30px;
    border-bottom: 1px solid #B49A67;
    padding-bottom: 12px;
}
}


.haelora-realm-grid {
/* Two-column realm grid */
     display: grid;
 
#mw-content .haelora-realm-grid {
     display: grid !important;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 22px;
     gap: 22px;
}
}


.haelora-realm-card {
/* Individual realm cards */
     background: #EDE3D3;
 
     border: 1px solid #B49A67;
#mw-content .haelora-realm-card {
     background-color: #EDE3D3 !important;
     border: 1px solid #B49A67 !important;
     padding: 25px;
     padding: 25px;
     text-align: center;
     text-align: center;
    min-width: 0;
     transition: background-color 0.2s ease;
     transition: background-color 0.2s ease;
}
}


.haelora-realm-card:hover {
#mw-content .haelora-realm-card:hover {
     background: #E5D7C2;
     background-color: #E5D7C2 !important;
}
}


.haelora-realm-card h3 {
/* Realm names */
 
#mw-content .haelora-realm-name {
     font-family: Georgia, "Times New Roman", serif;
     font-family: Georgia, "Times New Roman", serif;
     font-size: 1.5rem;
     font-size: 1.6rem;
     margin: 0 0 12px;
     margin-bottom: 12px;
    border: none;
}
}


.haelora-realm-card h3 a {
#mw-content .haelora-realm-name a {
     color: #343743 !important;
     color: #343743 !important;
     text-decoration: none;
     text-decoration: none;
}
}


.haelora-realm-card p {
#mw-content .haelora-realm-name a:hover {
    color: #8A6938 !important;
    text-decoration: underline;
}
 
/* Realm descriptions */
 
#mw-content .haelora-realm-card p {
     font-size: 0.95rem;
     font-size: 0.95rem;
     line-height: 1.6;
     line-height: 1.6;
Line 352: Line 276:
     margin: 0;
     margin: 0;
}
}
/* ==============================================
  9. HOMEPAGE - LOGO SPACING
  ============================================== */
body.page-Main_Page .mw-parser-output > p:first-child {
    margin-bottom: 0 !important;
}
/* ==============================================
  10. RESPONSIVE MOBILE STYLES
  ============================================== */


@media (max-width: 650px) {
@media (max-width: 650px) {
     .haelora-realm-grid {
 
     /* Welcome section */
 
    .haelora-welcome {
        padding: 0 12px 20px;
        margin: 0 auto 30px;
    }
 
    .haelora-welcome-intro {
        font-size: 1.1rem;
    }
 
    /* Stack realm cards vertically */
 
    #mw-content .haelora-realm-grid {
         grid-template-columns: 1fr;
         grid-template-columns: 1fr;
     }
     }


     .haelora-realm-card {
     #mw-content .haelora-realm-card {
         padding: 20px;
         padding: 20px;
     }
     }
    /* Adjust realm heading */
    #mw-content .haelora-realms-heading {
        font-size: 1.7rem;
    }
}
}


/* ==========================================
/* ==============================================
   HAELORA - REALM NAVIGATION GRID
   HAELORA - SIDE-BY-SIDE REALM BANNERS
   ========================================== */
   ============================================== */
 
/* Arrange banner and text horizontally */


#mw-content .haelora-realms {
#mw-content .haelora-realm-card {
     max-width: 1100px;
     display: grid;
     margin: 35px auto 50px;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
     text-align: left;
}
}


#mw-content .haelora-realms-heading {
/* Banner container */
     text-align: center;
 
     font-family: Georgia, "Times New Roman", serif;
#mw-content .haelora-realm-banner {
     font-size: 2rem;
     display: flex;
    color: #343743;
     align-items: center;
    border-bottom: 1px solid #B49A67;
     justify-content: center;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
}


#mw-content .haelora-realm-grid {
/* Banner images */
     display: grid !important;
 
     grid-template-columns: repeat(2, minmax(0, 1fr));
#mw-content .haelora-realm-banner img {
     gap: 22px;
     display: block;
     width: 100px;
    max-width: 100%;
     height: auto;
}
}


#mw-content .haelora-realm-card {
/* Text area */
    background-color: #EDE3D3 !important;
 
    border: 1px solid #B49A67 !important;
#mw-content .haelora-realm-info {
    padding: 25px;
    text-align: center;
     min-width: 0;
     min-width: 0;
}
}
/* Realm names */


#mw-content .haelora-realm-name {
#mw-content .haelora-realm-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
     margin-bottom: 12px;
     margin-bottom: 12px;
}
}


#mw-content .haelora-realm-name a {
/* Mobile adjustments */
    color: #343743 !important;
    text-decoration: none;
}


#mw-content .haelora-realm-name a:hover {
@media (max-width: 650px) {
    color: #8A6938 !important;
    text-decoration: underline;
}


#mw-content .haelora-realm-card p {
    #mw-content .haelora-realm-card {
    font-size: 0.95rem;
        grid-template-columns: 90px minmax(0, 1fr);
    line-height: 1.6;
        gap: 15px;
    color: #514B43;
         padding: 15px;
    margin: 0;
}
 
@media (max-width: 650px) {
    #mw-content .haelora-realm-grid {
         grid-template-columns: 1fr;
     }
     }


     #mw-content .haelora-realm-card {
     #mw-content .haelora-realm-banner img {
         padding: 20px;
         max-width: 90px;
     }
     }
}
}

Revision as of 22:01, 11 October 2026

/* ==============================================
   THE WORLD OF HAELORA
   MediaWiki Timeless Skin
   Version 1.0
   ============================================== */


/* ==============================================
   1. GLOBAL COLORS & BACKGROUNDS
   ============================================== */

body,
#mw-content-container {
    background-color: #E9E0D1 !important;
    color: #292724;
}

/* Main article background */

#mw-content,
#mw-content .mw-parser-output,
#mw-content .mw-body-content {
    background-color: #F3EBDD !important;
    color: #292724;
}

#mw-content {
    border: 1px solid #B49A67 !important;
}

/* Remove default container borders */

#mw-content-container {
    border-top: none !important;
    border-bottom: none !important;
}


/* ==============================================
   2. TYPOGRAPHY & HEADINGS
   ============================================== */

/* Main page title */

#firstHeading {
    font-family: Georgia, "Times New Roman", serif;
    color: #343743;
    border-bottom: 2px solid #B49A67 !important;
    padding-bottom: 0.3em;
}

#mw-content #firstHeading {
    background-color: #F3EBDD !important;
}

/* Article headings */

#mw-content h2,
#mw-content h3,
#mw-content h4 {
    font-family: Georgia, "Times New Roman", serif;
    color: #343743;
}

#mw-content h2 {
    border-bottom: 1px solid #D5CBB9 !important;
    padding-bottom: 0.2em;
}


/* ==============================================
   3. LINKS
   ============================================== */

#mw-content a {
    color: #405A83;
}

#mw-content a:visited {
    color: #68577B;
}

#mw-content a:hover {
    color: #8A6938;
    text-decoration: underline;
}


/* ==============================================
   4. HEADER & FOOTER
   ============================================== */

/* Antique gold header */

#mw-header-container {
    border-bottom: 5px solid #B49A67 !important;
}

#mw-header {
    border-bottom-color: #B49A67 !important;
}

/* Replace Timeless's colored header stripes */

#mw-header-hack .color-left,
#mw-header-hack .color-middle,
#mw-header-hack .color-right {
    background: #B49A67 !important;
}

/* Antique gold footer */

#mw-footer-container {
    border-top: 4px solid #B49A67 !important;
}

/* Footer readability */

#mw-footer-container,
#mw-footer-container *,
#mw-footer,
#mw-footer a {
    color: #514B43 !important;
}


/* ==============================================
   5. SIDEBAR NAVIGATION
   ============================================== */

#mw-site-navigation .sidebar-inner,
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-inner,
#mw-related-navigation .sidebar-chunk {
    background-color: #EDE3D3 !important;
    border-color: #D5CBB9 !important;
}

#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
    border: 1px solid #D5CBB9 !important;
}


/* ==============================================
   6. TABLES & DIVIDERS
   ============================================== */

#mw-content table.wikitable {
    background-color: #F3EBDD;
    border-color: #D5CBB9;
}

#mw-content table.wikitable th {
    background-color: #EAE1D1;
    color: #343743;
}

#mw-content hr {
    border: 0;
    border-top: 1px solid #B49A67;
}


/* ==============================================
   7. HOMEPAGE - WELCOME SECTION
   ============================================== */

.haelora-welcome {
    max-width: 850px;
    margin: 0 auto 45px;
    padding: 0 35px 25px;
    text-align: center;
    color: #292724;
}

/* Welcome heading */

.haelora-welcome-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #343743;
    margin-bottom: 22px;
}

/* Introductory text */

.haelora-welcome-intro {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    color: #514B43;
    margin-bottom: 18px;
}

/* Author credit */

.haelora-welcome-credit {
    font-size: 0.9rem;
    color: #756B5D;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #B49A67;
}


/* ==============================================
   8. HOMEPAGE - REALM NAVIGATION
   ============================================== */

#mw-content .haelora-realms {
    max-width: 1100px;
    margin: 35px auto 50px;
}

/* Section heading */

#mw-content .haelora-realms-heading {
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    color: #343743;
    border-bottom: 1px solid #B49A67;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* Two-column realm grid */

#mw-content .haelora-realm-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* Individual realm cards */

#mw-content .haelora-realm-card {
    background-color: #EDE3D3 !important;
    border: 1px solid #B49A67 !important;
    padding: 25px;
    text-align: center;
    min-width: 0;
    transition: background-color 0.2s ease;
}

#mw-content .haelora-realm-card:hover {
    background-color: #E5D7C2 !important;
}

/* Realm names */

#mw-content .haelora-realm-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

#mw-content .haelora-realm-name a {
    color: #343743 !important;
    text-decoration: none;
}

#mw-content .haelora-realm-name a:hover {
    color: #8A6938 !important;
    text-decoration: underline;
}

/* Realm descriptions */

#mw-content .haelora-realm-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #514B43;
    margin: 0;
}


/* ==============================================
   9. HOMEPAGE - LOGO SPACING
   ============================================== */

body.page-Main_Page .mw-parser-output > p:first-child {
    margin-bottom: 0 !important;
}


/* ==============================================
   10. RESPONSIVE MOBILE STYLES
   ============================================== */

@media (max-width: 650px) {

    /* Welcome section */

    .haelora-welcome {
        padding: 0 12px 20px;
        margin: 0 auto 30px;
    }

    .haelora-welcome-intro {
        font-size: 1.1rem;
    }

    /* Stack realm cards vertically */

    #mw-content .haelora-realm-grid {
        grid-template-columns: 1fr;
    }

    #mw-content .haelora-realm-card {
        padding: 20px;
    }

    /* Adjust realm heading */

    #mw-content .haelora-realms-heading {
        font-size: 1.7rem;
    }

}

/* ==============================================
   HAELORA - SIDE-BY-SIDE REALM BANNERS
   ============================================== */

/* Arrange banner and text horizontally */

#mw-content .haelora-realm-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    text-align: left;
}

/* Banner container */

#mw-content .haelora-realm-banner {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Banner images */

#mw-content .haelora-realm-banner img {
    display: block;
    width: 100px;
    max-width: 100%;
    height: auto;
}

/* Text area */

#mw-content .haelora-realm-info {
    min-width: 0;
}

/* Realm names */

#mw-content .haelora-realm-name {
    margin-bottom: 12px;
}

/* Mobile adjustments */

@media (max-width: 650px) {

    #mw-content .haelora-realm-card {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 15px;
        padding: 15px;
    }

    #mw-content .haelora-realm-banner img {
        max-width: 90px;
    }
}