Jump to content

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

From Adaris
No edit summary
No edit summary
Line 1: Line 1:
/* General link styling */
a {
    color: #4F3C28; /* Dark brown for unvisited links */
    text-decoration: none; /* Remove underline for a cleaner look */
}
a:visited {
    color: #705D4E; /* Softer brown for visited links */
}
a:hover {
    color: #C3967C; /* Coral for hover effect */
    text-decoration: underline; /* Add underline on hover for clarity */
}
a:focus {
    outline: 2px solid #C3967C; /* Highlight links when focused for accessibility */
}
/* Button-like styling for "Read the full article" and "Explore More" links */
.explore-more p a, .read-more a {
    font-size: 1.2em;
    font-weight: bold;
    color: #4F3C28; /* Dark brown for the button text */
    text-decoration: none;
    padding: 10px 15px;
    background-color: #F5D1B8; /* Softer peach background */
    border: 2px solid #C3967C; /* Coral border */
    border-radius: 10px;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}
.explore-more p a:hover, .read-more a:hover {
    background-color: #C3967C; /* Deeper coral on hover */
    color: #ffffff; /* White text on hover */
}
/* General styling for boxes and headings */
/* General styling for boxes and headings */
.mp-box {
.mp-box {
border: 1px solid #d9c6a3; /* Softer warm border to match the theme */
    border: 1px solid #D4C5A0; /* Light, soft border */
padding: 0 0.5em 0.5em;
    padding: 0 0.5em 0.5em;
margin-top: 2px;
    margin-top: 2px;
background-color: #F7EFE3; /* Base parchment-like background */
    background-color: #F7EFE3; /* Light parchment background */
}
}


.mp-h2,
.mp-h2,
.skin-timeless .mp-h2 {
.skin-timeless .mp-h2 {
border: 1px solid #d9c6a3; /* Softer borders */
    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: #5a4632; /* Rich brown for better contrast */
    background-color: #E9DAC1; /* Softer, luminous gold */
background-color: #EADCC5; /* Subtle gold background for headers */
}
}


/* Less prominent text */
/* Less prominent text */
.mp-later {
.mp-later {
font-size: 85%;
    font-size: 85%;
font-weight: normal;
    font-weight: normal;
color: #8c7a65; /* Softer brown for minor 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%;
    font-size: 162%;
padding: 0.1em;
    padding: 0.1em;
color: #5a4632; /* Rich brown */
    color: #4F3C28; /* The same 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: #6c5d4b; /* Medium brown for secondary text */
    color: #4F3C28; /* Darker, neutral brown for contrast */
}
}


#articlecount {
#articlecount {
font-size: 85%;
    font-size: 85%;
color: #8c7a65; /* Softer brown */
    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;
    }
#mp-left {
   
flex: 1 1 55%;
    #mp-left {
margin-right: 2px;
        flex: 1 1 55%;
}
        margin-right: 2px;
    }
#mp-right {
   
flex: 1 1 45%;
    #mp-right {
margin-left: 2px;
        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: #F7EFE3; /* Base parchment */
        background-color: #F7EFE3; /* Light parchment background */
border-color: #d9c6a3; /* Softer border */
        border-color: #D4C5A0; /* Soft, warm border */
}
    }
   
#mp-banner {
    #mp-banner {
background-color: #EADCC5; /* Lighter gold */
        background-color: #E9DAC1; /* Luminous gold background */
border-color: #c3b19a; /* Warm, subtle brown */
        border-color: #B0915A; /* Regal gold border */
}
    }
   
#mp-left {
    #mp-left {
background-color: #F6E4CC; /* Soft cream for left box */
        background-color: #F4ECE3; /* Light cream for left column */
border-color: #d2b893; /* Muted tan border */
        border-color: #D4C5A0; /* Soft neutral border */
}
    }
   
#mp-left .mp-h2 {
    #mp-left .mp-h2 {
background-color: #E5CBA8; /* Soft tan for headers */
        background-color: #E9DAC1; /* Soft gold background */
border-color: #bca187; /* Deeper tan */
        border-color: #D4C5A0; /* Warm neutral border */
padding-left: 10px;
        padding-left: 10px;
border: 2px solid #d9c6a3;
        border: 2px solid #D4C5A0;
    margin: 0.5em 0;
        margin: 0.5em 0;
    padding: 0.4em 0.6em;
        font-size: 120%;
    font-size: 120%;
        font-weight: bold;
    font-weight: bold;
        color: #4F3C28; /* Dark brown text */
    color: #5a4632; /* Rich brown */
    }
}
   
    #mp-right {
#mp-right {
        background-color: #F4E1E8; /* Soft pink for an enchanted look */
background-color: #F7D9C4; /* Soft coral for the right column */
        border-color: #D4C5A0; /* Softer border */
border-color: #d9b8a4; /* Matching coral border */
    }
}
   
    #mp-right .mp-h2 {
#mp-right .mp-h2 {
        background-color: #E9DAC1; /* Soft parchment feel */
background-color: #E7BFA6; /* Warm coral for headers */
        border-color: #D4C5A0;
border-color: #C3967C; /* Deeper coral */
        padding-left: 10px;
padding-left: 10px;
        border: 2px solid #D4C5A0;
border: 2px solid #d9c6a3;
        margin: 0.5em 0;
    margin: 0.5em 0;
        font-size: 120%;
    padding: 0.4em 0.6em;
        font-weight: bold;
    font-size: 120%;
        color: #4F3C28; /* Dark brown */
    font-weight: bold;
    }
    color: #5a4632;
   
}
    #mp-middle {
        background-color: #F7EFE3;
#mp-lower {
        border-color: #B0915A;
background-color: #F8E7D0; /* Light peach for the lower section */
    }
border-color: #dbc2a6; /* Softer peach border */
   
}
    #mp-middle .mp-h2 {
        background-color: #E9DAC1; /* Light parchment with contrast */
#mp-lower .mp-h2 {
        border-color: #B0915A;
background-color: #e6c9ad; /* Richer peach for headings */
    }
border-color: #bca17c; /* Deeper peach */
   
padding-left: 10px;
    #mp-lower {
border: 2px solid #d9c6a3;
        background-color: #F3E6F7; /* Pale lavender for lower section */
    margin: 0.5em 0;
        border-color: #B591D3; /* Subtle lavender */
    padding: 0.4em 0.6em;
    }
    font-size: 120%;
   
    font-weight: bold;
    #mp-lower .mp-h2 {
    color: #5a4632;
        background-color: #D6B6E6; /* Richer lavender for headings */
}
        border-color: #7F3B93; /* Darker purple */
        padding-left: 10px;
#mp-bottom {
        border: 2px solid #D4C5A0;
border-color: #d9c6a3;
        margin: 0.5em 0;
}
        font-size: 120%;
        font-weight: bold;
#mp-bottom .mp-h2 {
        color: #4F3C28; /* Dark brown for readability */
background-color: #F7EFE3;
    }
border-color: #d9c6a3;
   
}
    #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: #2d2b28;
    background-color: #23282A;
border-color: #554f47;
    border-color: #5F5348;
}
}


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


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


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


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


html.skin-theme-clientpref-night #mp-right .mp-h2 {
html.skin-theme-clientpref-night #mp-right .mp-h2 {
background-color: #6b5e57;
    background-color: #7A497F;
border-color: #8e7e76;
    border-color: #9F65A4;
}
 
html.skin-theme-clientpref-night #mp-middle {
    background-color: #4F3B31;
    border-color: #75413D;
}
}


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


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


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


Line 246: Line 218:
}
}


 
.explore-more p a, .read-more a {
.explore-more p a {
     font-size: 1.2em;
     font-size: 1.2em;
     font-weight: bold;
     font-weight: bold;
     color: #4f3c28; /* Darker brown for links */
     color: #4F3C28;
     text-decoration: none;
     text-decoration: none;
     padding: 10px 15px;
     padding: 10px 15px;
     background-color: #F5D1B8; /* Softer peach background */
     background-color: #E9DAC1;
     border: 2px solid #C3967C;
     border: 2px solid #C3967C;
     border-radius: 10px;
     border-radius: 10px;
Line 261: Line 232:
}
}


.explore-more p a:hover {
.explore-more p a:hover, .read-more a:hover {
    background-color: #C3967C; /* Deeper peach on hover */
    color: #ffffff; /* White text on hover */
}
 
/* Button styling for Read the full article */
.read-more {
    margin-top: 15px;
    clear: both;
    display: flex;
    justify-content: center;
}
 
.read-more a {
    font-size: 1.2em;
    font-weight: bold;
    color: #4f3c28; /* Darker brown */
    text-decoration: none;
    padding: 10px 15px;
    background-color: #F5D1B8; /* Softer peach */
    border: 2px solid #C3967C;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}
 
.read-more a:hover {
     background-color: #C3967C;
     background-color: #C3967C;
     color: #ffffff;
     color: #FFFFFF;
}
}


/* Featured picture container styling */
/* Featured picture container styling */
#mp-tfp {
#mp-tfp {
     border: 1px solid #8f7a66;
     border: 1px solid #8F7A66;
     padding: 10px;
     padding: 10px;
     border-radius: 5px;
     border-radius: 5px;
     background-color: #F7EFE3;
     background-color: #F3E6F7;
     text-align: center;
     text-align: center;
}
}
Line 305: Line 250:
     margin-top: 10px;
     margin-top: 10px;
     font-size: 0.9em;
     font-size: 0.9em;
     color: #5a4632;
     color: #4F3C28;
     text-align: center;
     text-align: center;
     font-style: italic;
     font-style: italic;
}
/* Ensure layout stays in two columns */
@media (min-width: 875px) {
    #mp-upper {
        display: flex;
        justify-content: space-between;
    }
}
}

Revision as of 04:39, 8 September 2024

/* General styling for boxes and headings */
.mp-box {
    border: 1px solid #D4C5A0; /* Light, soft border */
    padding: 0 0.5em 0.5em;
    margin-top: 2px;
    background-color: #F7EFE3; /* Light parchment background */
}

.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 {
    font-size: 162%;
    padding: 0.1em;
    color: #4F3C28; /* The same 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 for contrast */
}

#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;
    }
    
    #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: #F7EFE3; /* 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: #E9DAC1; /* Soft parchment feel */
        border-color: #D4C5A0;
        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;
}

/* Button-like styling for "Read the full article" and "Explore More" links */
.explore-more {
    margin-top: 15px;
    clear: both;
    display: flex;
    justify-content: center;
}

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

.explore-more p a:hover, .read-more a:hover {
    background-color: #C3967C;
    color: #FFFFFF;
}

/* 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;
}