Jump to content

Adaris:Main Page/styles.css: Difference between revisions

From Adaris
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(73 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* {{pp|small=yes}} */
/* Ensure both the left and right boxes have equal heights */
#mp-left, #mp-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the content and buttons are properly spaced */
}
 
/* General styling for boxes and headings */
/* General styling for boxes and headings */
.mp-box {
.mp-box {
border: 1px solid #8f7a66; /* Subtle, earthy border */
    border: 1px solid #D4C5A0; /* A soft, warm border */
padding: 0 0.5em 0.5em;
    padding: 0 0.5em 0.5em;
margin-top: 4px;
    margin-top: 2px;
background-color: #f3f0e6; /* Light parchment-like background for a mystical feel */
    background-color: #F7EFE3; /* Light parchment-like background for a magical, old-world feel */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the button stays at the bottom */
    flex-grow: 1; /* Ensures boxes grow equally to fill available space */
}
}


.mp-h2,
.mp-h2,
body.skin-timeless .mp-h2 {
.skin-timeless .mp-h2 {
border: 1px solid #8f7a66; /* Border matches the box outline */
    border: 1px solid #D4C5A0; /* Softer, lighter border */
margin: 0.5em 0;
    margin: 0.5em 0;
padding: 0.2em 0.4em;
    padding: 0.4em 0.6em;
font-size: 120%;
    font-size: 120%;
font-weight: bold;
    font-weight: bold;
font-family: inherit;
    color: #4F3C28; /* Dark brown for contrast */
color: #4b2e83; /* Deep purple for headings to evoke mystery */
    background-color: #E9DAC1; /* Softer, luminous gold */
background-color: #e0d4ba; /* Soft gold background for heading sections */
}
}


/* Smaller text for lesser elements */
/* Less prominent text */
.mp-later {
.mp-later {
font-size: 85%;
    font-size: 85%;
font-weight: normal;
    font-weight: normal;
color: #6f4a8e; /* Dark lavender for less prominent text */
    color: #705D4E; /* Softer, warm brown for minor text */
}
}


/* Welcome text at the top */
/* Welcome text at the top */
#mp-welcomecount {
#mp-welcomecount {
text-align: center;
    text-align: center;
margin: 0.4em;
    margin: 0.4em;
}
}


#mp-welcome {
#mp-welcome {
font-size: 162%;
text-align: center;
padding: 0.1em;
    font-size: 162%;
color: #3b1052; /* A rich, magical purple for the welcome text */
    padding: 0.1em;
    color: #4F3C28; /* Dark brown for welcome text */
}
}


#mp-welcome h1,
#mp-welcome h1,
#mp-welcome .mw-heading1 {
#mp-welcome .mw-heading1 {
font-size: inherit;
    font-size: inherit;
font-family: inherit;
    font-family: inherit;
display: inline;
    display: inline;
border: none;
    border: none;
}
}


#mp-free {
#mp-free {
font-size: 95%;
    font-size: 95%;
color: #3b1052; /* Same magical purple for the free encyclopedia text */
    color: #4F3C28; /* Darker, neutral brown */
}
}


#articlecount {
#articlecount {
font-size: 85%;
    font-size: 85%;
color: #4e3562; /* Slightly softer purple for the article count */
    color: #705D4E; /* Softer warm brown */
}
}


/* Clear floats */
/* Clear floats */
.mp-contains-float::after {
.mp-contains-float::after {
content: "";
    content: "";
display: block;
    display: block;
clear: both;
    clear: both;
}
}


/* Flexbox for layout on larger screens */
/* Flexbox for layout on larger screens */
@media (min-width: 875px) {
@media (min-width: 875px) {
#mp-upper {
    #mp-upper {
display: flex;
        display: flex;
}
        justify-content: space-between;
        align-items: stretch; /* Makes sure the boxes stretch to the same height */
#mp-left {
    }
flex: 1 1 55%;
 
margin-right: 2px;
    #mp-left {
}
        flex: 1 1 55%;
        margin-right: 2px;
#mp-right {
    }
flex: 1 1 45%;
   
margin-left: 2px;
    #mp-right {
}
        flex: 1 1 45%;
        margin-left: 2px;
    }
}
}


/* Color scheme for specific sections */
/* Color scheme for specific sections */
@media screen {
@media screen {
#mp-topbanner {
    #mp-topbanner {
background-color: #f3e6d8; /* Soft parchment-like background */
        background-color: #f9f6f0; /* Light parchment background */
border-color: #a68b69; /* Warm earthy border */
        border-color: #D4C5A0; /* Soft, warm border */
}
    }
   
#mp-banner {
    #mp-banner {
background-color: #e0d4ba; /* Soft gold background */
        background-color: #E9DAC1; /* Luminous gold background */
border-color: #a68b69; /* Same warm border */
        border-color: #B0915A; /* Regal gold border */
}
    }
   
#mp-left {
    #mp-left {
background-color: #e6f0e6; /* Light green for the left column, representing nature */
        background-color: #F4ECE3; /* Light cream for left column */
border-color: #8f7a66;
        border-color: #D4C5A0; /* Soft neutral border */
}
    }
   
#mp-left .mp-h2 {
    #mp-left .mp-h2 {
background-color: #c9e2c9; /* Soft green for nature-themed headings */
        background-color: #E9DAC1; /* Soft gold background */
border-color: #7c987c;
        border-color: #D4C5A0; /* Warm neutral border */
}
        padding-left: 10px;
        border: 2px solid #D4C5A0;
#mp-right {
        margin: 0.5em 0;
background-color: #e8e5f9; /* Light lavender for the right column, representing magic */
        font-size: 120%;
border-color: #8f7a66;
        font-weight: bold;
}
        color: #4F3C28; /* Dark brown text */
    }
#mp-right .mp-h2 {
   
background-color: #d4cbe9; /* Soft purple for magical sections */
    #mp-right {
border-color: #7f679b;
        background-color: #F4E1E8; /* Soft pink for an enchanted look */
}
        border-color: #D4C5A0; /* Softer border */
    }
#mp-middle {
   
background-color: #f0e6e8; /* Soft pink for a gentle magical touch */
    #mp-right .mp-h2 {
border-color: #8b5a78;
        background-color: #D6B6E6; /* Muted lavender for a soft, magical feel */
}
        border-color: #804093; /* Darker purple for contrast */
        padding-left: 10px;
#mp-middle .mp-h2 {
        border: 2px solid #D4C5A0;
background-color: #e6cbd4; /* Light pink for magical headings */
        margin: 0.5em 0;
border-color: #855770;
        font-size: 120%;
}
        font-weight: bold;
        color: #4F3C28; /* Dark brown */
#mp-lower {
    }
background-color: #f0e8f9; /* Pale lavender for the lower section */
   
border-color: #a68bcb; /* Soft purple border */
    #mp-middle {
}
        background-color: #F7EFE3;
        border-color: #B0915A;
#mp-lower .mp-h2 {
    }
background-color: #d8c5e6; /* Slightly deeper lavender for the headings */
   
border-color: #8862b5;
    #mp-middle .mp-h2 {
}
        background-color: #E9DAC1; /* Light parchment with contrast */
        border-color: #B0915A;
#mp-bottom {
    }
border-color: #d3c0b3; /* Subtle brownish border for the bottom section */
   
}
    #mp-lower {
        background-color: #F3E6F7; /* Pale lavender for lower section */
#mp-bottom .mp-h2 {
        border-color: #B591D3; /* Subtle lavender */
background-color: #f0e8d8; /* Creamy background for the bottom heading */
    }
border-color: #c5a790;
   
}
    #mp-lower .mp-h2 {
        background-color: #D6B6E6; /* Richer lavender for headings */
        border-color: #7F3B93; /* Darker purple */
        padding-left: 10px;
        border: 2px solid #D4C5A0;
        margin: 0.5em 0;
        font-size: 120%;
        font-weight: bold;
        color: #4F3C28; /* Dark brown for readability */
    }
   
    #mp-bottom {
        border-color: #D4C5A0; /* Neutral border for the bottom */
    }
   
    #mp-bottom .mp-h2 {
        background-color: #F0E6D8;
        border-color: #B09D84;
    }
}
}


/* Dark mode color scheme */
/* Dark mode color scheme */
html.skin-theme-clientpref-night #mp-topbanner {
html.skin-theme-clientpref-night #mp-topbanner {
background-color: #1b1a29;
    background-color: #23282A;
border-color: #624b61;
    border-color: #5F5348;
}
}


html.skin-theme-clientpref-night #mp-banner {
html.skin-theme-clientpref-night #mp-banner {
background-color: #4b2a3e;
    background-color: #5F3B63;
border-color: #6f546e;
    border-color: #87638F;
}
}


html.skin-theme-clientpref-night #mp-left {
html.skin-theme-clientpref-night #mp-left {
background-color: #273728;
    background-color: #23342F;
border-color: #426042;
    border-color: #2E573B;
}
}


html.skin-theme-clientpref-night #mp-left .mp-h2 {
html.skin-theme-clientpref-night #mp-left .mp-h2 {
background-color: #426042;
    background-color: #2E573B;
border-color: #5f775f;
    border-color: #416B51;
}
}


html.skin-theme-clientpref-night #mp-right {
html.skin-theme-clientpref-night #mp-right {
background-color: #29243d;
    background-color: #362337;
border-color: #473c57;
    border-color: #7A497F;
}
}


html.skin-theme-clientpref-night #mp-right .mp-h2 {
html.skin-theme-clientpref-night #mp-right .mp-h2 {
background-color: #473c57;
    background-color: #7A497F;
border-color: #6a5784;
    border-color: #9F65A4;
}
}


html.skin-theme-clientpref-night #mp-middle {
html.skin-theme-clientpref-night #mp-middle {
background-color: #412d3c;
    background-color: #4F3B31;
border-color: #6a4a5b;
    border-color: #75413D;
}
}


html.skin-theme-clientpref-night #mp-lower {
html.skin-theme-clientpref-night #mp-lower {
background-color: #352846;
    background-color: #362744;
border-color: #5c4383;
    border-color: #6A578D;
}
}


html.skin-theme-clientpref-night #mp-bottom {
html.skin-theme-clientpref-night #mp-bottom {
border-color: #624b61;
    border-color: #5F5348;
}
}


html.skin-theme-clientpref-night #mp-bottom .mp-h2 {
html.skin-theme-clientpref-night #mp-bottom .mp-h2 {
background-color: #3d2b3a;
    background-color: #4B423D;
border-color: #624b61;
    border-color: #7F5F53;
}
}


/* Button-like styling for "Read the full article" and "Explore More" links */
/* Styling for Explore more button */
.read-more a, .explore-more p a {
.explore-more {
    margin-top: auto; /* Pushes the button to the bottom */
    display: flex;
    justify-content: center;
}
 
.explore-more p a {
     font-size: 1.2em;
     font-size: 1.2em;
     font-weight: bold;
     font-weight: bold;
     color: #3b1052; /* Rich purple text color */
     color: #5a3b91; /* Rich purple */
     text-decoration: none;
     text-decoration: none;
     padding: 10px 15px;
     padding: 10px 15px;
     background-color: #d4cbe9; /* Light magical purple background */
     background-color: #dab4e3; /* Soft magical lavender background */
     border: 2px solid #7f679b; /* Darker purple border */
     border: 2px solid #804093; /* Darker purple border */
     border-radius: 10px; /* More pronounced rounded corners */
     border-radius: 10px; /* Pronounced rounded corners */
     display: inline-block;
     display: inline-block;
     text-align: center;
     text-align: center;
Line 208: Line 244:
}
}


.read-more a:hover, .explore-more p a:hover {
.explore-more p a:hover {
     background-color: #7f679b; /* Darker purple background on hover */
     background-color: #804093; /* Darker magical purple on hover */
     color: #ffffff; /* White text on hover */
     color: #ffffff; /* White text on hover */
}
/* Featured picture container styling */
#mp-tfp {
    border: 1px solid #8F7A66;
    padding: 10px;
    border-radius: 5px;
    background-color: #F3E6F7;
    text-align: center;
}
/* Featured caption styling */
.featured-caption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #4F3C28;
    text-align: center;
    font-style: italic;
}
/* Ensure layout stays in two columns */
@media (min-width: 875px) {
    #mp-upper {
        display: flex;
        justify-content: space-between;
    }
}
/* Specific styling for Read More button */
.read-more {
    margin-top: auto; /* Pushes the button to the bottom */
    display: flex;
    justify-content: center;
}
.read-more a {
    font-size: 1.2em;
    font-weight: bold;
    color: #4F3C28;
    text-decoration: none;
    padding: 10px 15px;
    background-color: #E9DAC1;
    border: 2px solid  #D4C5A0;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}
.read-more a:hover {
    background-color: #a89c88;
    color: #FFFFFF;
}
}

Latest revision as of 06:23, 8 September 2024

/* Ensure both the left and right boxes have equal heights */
#mp-left, #mp-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the content and buttons are properly spaced */
}

/* General styling for boxes and headings */
.mp-box {
    border: 1px solid #D4C5A0; /* A soft, warm border */
    padding: 0 0.5em 0.5em;
    margin-top: 2px;
    background-color: #F7EFE3; /* Light parchment-like background for a magical, old-world feel */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the button stays at the bottom */
    flex-grow: 1; /* Ensures boxes grow equally to fill available space */
}

.mp-h2,
.skin-timeless .mp-h2 {
    border: 1px solid #D4C5A0; /* Softer, lighter border */
    margin: 0.5em 0;
    padding: 0.4em 0.6em;
    font-size: 120%;
    font-weight: bold;
    color: #4F3C28; /* Dark brown for contrast */
    background-color: #E9DAC1; /* Softer, luminous gold */
}

/* Less prominent text */
.mp-later {
    font-size: 85%;
    font-weight: normal;
    color: #705D4E; /* Softer, warm brown for minor text */
}

/* Welcome text at the top */
#mp-welcomecount {
    text-align: center;
    margin: 0.4em;
}

#mp-welcome {
	text-align: center;
    font-size: 162%;
    padding: 0.1em;
    color: #4F3C28; /* Dark brown for welcome text */
}

#mp-welcome h1,
#mp-welcome .mw-heading1 {
    font-size: inherit;
    font-family: inherit;
    display: inline;
    border: none;
}

#mp-free {
    font-size: 95%;
    color: #4F3C28; /* Darker, neutral brown */
}

#articlecount {
    font-size: 85%;
    color: #705D4E; /* Softer warm brown */
}

/* Clear floats */
.mp-contains-float::after {
    content: "";
    display: block;
    clear: both;
}

/* Flexbox for layout on larger screens */
@media (min-width: 875px) {
    #mp-upper {
        display: flex;
        justify-content: space-between;
        align-items: stretch; /* Makes sure the boxes stretch to the same height */
    }

    #mp-left {
        flex: 1 1 55%;
        margin-right: 2px;
    }
    
    #mp-right {
        flex: 1 1 45%;
        margin-left: 2px;
    }
}

/* Color scheme for specific sections */
@media screen {
    #mp-topbanner {
        background-color: #f9f6f0; /* Light parchment background */
        border-color: #D4C5A0; /* Soft, warm border */
    }
    
    #mp-banner {
        background-color: #E9DAC1; /* Luminous gold background */
        border-color: #B0915A; /* Regal gold border */
    }
    
    #mp-left {
        background-color: #F4ECE3; /* Light cream for left column */
        border-color: #D4C5A0; /* Soft neutral border */
    }
    
    #mp-left .mp-h2 {
        background-color: #E9DAC1; /* Soft gold background */
        border-color: #D4C5A0; /* Warm neutral border */
        padding-left: 10px;
        border: 2px solid #D4C5A0;
        margin: 0.5em 0;
        font-size: 120%;
        font-weight: bold;
        color: #4F3C28; /* Dark brown text */
    }
    
    #mp-right {
        background-color: #F4E1E8; /* Soft pink for an enchanted look */
        border-color: #D4C5A0; /* Softer border */
    }
    
    #mp-right .mp-h2 {
        background-color: #D6B6E6; /* Muted lavender for a soft, magical feel */
        border-color: #804093; /* Darker purple for contrast */
        padding-left: 10px;
        border: 2px solid #D4C5A0;
        margin: 0.5em 0;
        font-size: 120%;
        font-weight: bold;
        color: #4F3C28; /* Dark brown */
    }
    
    #mp-middle {
        background-color: #F7EFE3;
        border-color: #B0915A;
    }
    
    #mp-middle .mp-h2 {
        background-color: #E9DAC1; /* Light parchment with contrast */
        border-color: #B0915A;
    }
    
    #mp-lower {
        background-color: #F3E6F7; /* Pale lavender for lower section */
        border-color: #B591D3; /* Subtle lavender */
    }
    
    #mp-lower .mp-h2 {
        background-color: #D6B6E6; /* Richer lavender for headings */
        border-color: #7F3B93; /* Darker purple */
        padding-left: 10px;
        border: 2px solid #D4C5A0;
        margin: 0.5em 0;
        font-size: 120%;
        font-weight: bold;
        color: #4F3C28; /* Dark brown for readability */
    }
    
    #mp-bottom {
        border-color: #D4C5A0; /* Neutral border for the bottom */
    }
    
    #mp-bottom .mp-h2 {
        background-color: #F0E6D8;
        border-color: #B09D84;
    }
}

/* Dark mode color scheme */
html.skin-theme-clientpref-night #mp-topbanner {
    background-color: #23282A;
    border-color: #5F5348;
}

html.skin-theme-clientpref-night #mp-banner {
    background-color: #5F3B63;
    border-color: #87638F;
}

html.skin-theme-clientpref-night #mp-left {
    background-color: #23342F;
    border-color: #2E573B;
}

html.skin-theme-clientpref-night #mp-left .mp-h2 {
    background-color: #2E573B;
    border-color: #416B51;
}

html.skin-theme-clientpref-night #mp-right {
    background-color: #362337;
    border-color: #7A497F;
}

html.skin-theme-clientpref-night #mp-right .mp-h2 {
    background-color: #7A497F;
    border-color: #9F65A4;
}

html.skin-theme-clientpref-night #mp-middle {
    background-color: #4F3B31;
    border-color: #75413D;
}

html.skin-theme-clientpref-night #mp-lower {
    background-color: #362744;
    border-color: #6A578D;
}

html.skin-theme-clientpref-night #mp-bottom {
    border-color: #5F5348;
}

html.skin-theme-clientpref-night #mp-bottom .mp-h2 {
    background-color: #4B423D;
    border-color: #7F5F53;
}

/* Styling for Explore more button */
.explore-more {
    margin-top: auto; /* Pushes the button to the bottom */
    display: flex;
    justify-content: center;
}

.explore-more p a {
    font-size: 1.2em;
    font-weight: bold;
    color: #5a3b91; /* Rich purple */
    text-decoration: none;
    padding: 10px 15px;
    background-color: #dab4e3; /* Soft magical lavender background */
    border: 2px solid #804093; /* Darker purple border */
    border-radius: 10px; /* Pronounced rounded corners */
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.explore-more p a:hover {
    background-color: #804093; /* Darker magical purple on hover */
    color: #ffffff; /* White text on hover */
}

/* Featured picture container styling */
#mp-tfp {
    border: 1px solid #8F7A66;
    padding: 10px;
    border-radius: 5px;
    background-color: #F3E6F7;
    text-align: center;
}

/* Featured caption styling */
.featured-caption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #4F3C28;
    text-align: center;
    font-style: italic;
}

/* Ensure layout stays in two columns */
@media (min-width: 875px) {
    #mp-upper {
        display: flex;
        justify-content: space-between;
    }
}

/* Specific styling for Read More button */
.read-more {
    margin-top: auto; /* Pushes the button to the bottom */
    display: flex;
    justify-content: center;
}

.read-more a {
    font-size: 1.2em;
    font-weight: bold;
    color: #4F3C28;
    text-decoration: none;
    padding: 10px 15px;
    background-color: #E9DAC1;
    border: 2px solid  #D4C5A0;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.read-more a:hover {
    background-color: #a89c88;
    color: #FFFFFF;
}