Jump to content

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

From Adaris
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
/* General styling for boxes and headings */
/* General styling for boxes and headings */
.mp-box {
.mp-box {
border: 1px solid #a39171; /* A soft, warm earthy border */
border: 1px solid #d9c6a3; /* Softer warm border to match the theme */
padding: 0 0.5em 0.5em;
padding: 0 0.5em 0.5em;
margin-top: 2px;
margin-top: 2px;
background-color: #faf3e3; /* Light parchment-like background for a magical, old-world feel */
background-color: #F7EFE3; /* Base parchment-like background */
}
}


.mp-h2,
.mp-h2,
.skin-timeless .mp-h2 {
.skin-timeless .mp-h2 {
border: 1px solid #a39171; /* Soft earthy borders */
border: 1px solid #d9c6a3; /* Softer borders */
margin: 0.5em 0;
margin: 0.5em 0;
padding: 0.4em 0.6em;
padding: 0.2em 0.4em;
font-size: 120%;
font-size: 120%;
font-weight: bold;
font-weight: bold;
font-family: inherit;
font-family: inherit;
color: #594a35; /* A deep, brownish text color */
color: #5a4632; /* Rich brown for better contrast */
background-color: #e1d3b5; /* Muted gold for heading backgrounds */
background-color: #EADCC5; /* Subtle gold background for headers */
}
}


Line 23: Line 23:
font-size: 85%;
font-size: 85%;
font-weight: normal;
font-weight: normal;
color: #7d6f54; /* Muted brown for minor text */
color: #8c7a65; /* Softer brown for minor text */
}
}


Line 35: Line 35:
font-size: 162%;
font-size: 162%;
padding: 0.1em;
padding: 0.1em;
color: #594a35; /* Deep brown for the welcome text */
color: #5a4632; /* Rich brown */
}
}


Line 48: Line 48:
#mp-free {
#mp-free {
font-size: 95%;
font-size: 95%;
color: #7a6a50; /* Muted brown to suggest nature and harmony */
color: #6c5d4b; /* Medium brown for secondary text */
}
}


#articlecount {
#articlecount {
font-size: 85%;
font-size: 85%;
color: #7d6f54; /* Slightly softer brown for article count */
color: #8c7a65; /* Softer brown */
}
}


Line 83: Line 83:
@media screen {
@media screen {
#mp-topbanner {
#mp-topbanner {
background-color: #faf3e3; /* Light parchment background */
background-color: #F7EFE3; /* Base parchment */
border-color: #a39171; /* Soft earthy border */
border-color: #d9c6a3; /* Softer border */
}
}
#mp-banner {
#mp-banner {
background-color: #e1d3b5; /* Muted gold background */
background-color: #EADCC5; /* Lighter gold */
border-color: #c7b28e; /* Soft gold border */
border-color: #c3b19a; /* Warm, subtle brown */
}
}
#mp-left {
#mp-left {
background-color: #f7efe3; /* Lighter beige for the left column */
background-color: #F6E4CC; /* Soft cream for left box */
border-color: #a39171; /* Soft earthy border */
border-color: #d2b893; /* Muted tan border */
}
}
#mp-left .mp-h2 {
#mp-left .mp-h2 {
background-color: #e9ddc3; /* Soft beige for a natural vibe */
background-color: #E5CBA8; /* Soft tan for headers */
border-color: #b9a583; /* Darker beige border */
border-color: #bca187; /* Deeper tan */
color: #594a35; /* Deep brown for text */
padding-left: 10px;
border: 2px solid #d9c6a3;
    margin: 0.5em 0;
    padding: 0.4em 0.6em;
    font-size: 120%;
    font-weight: bold;
    color: #5a4632; /* Rich brown */
}
}
#mp-right {
#mp-right {
background-color: #faf3e3; /* Muted parchment for an enchanted look */
background-color: #F7D9C4; /* Soft coral for the right column */
border-color: #a39171; /* Soft gold for contrast */
border-color: #d9b8a4; /* Matching coral border */
}
}
#mp-right .mp-h2 {
#mp-right .mp-h2 {
background-color: #e1d3b5; /* Muted gold for a soft, readable feel */
background-color: #E7BFA6; /* Warm coral for headers */
border-color: #b09d7b; /* Darker beige for contrast */
border-color: #C3967C; /* Deeper coral */
padding-left: 10px;
border: 2px solid #d9c6a3;
    margin: 0.5em 0;
    padding: 0.4em 0.6em;
    font-size: 120%;
    font-weight: bold;
    color: #5a4632;
}
}
#mp-middle {
#mp-lower {
background-color: #f4f0e6; /* Parchment-like background for a classic fantasy vibe */
background-color: #F8E7D0; /* Light peach for the lower section */
border-color: #a39171; /* Warm earthy touch */
border-color: #dbc2a6; /* Softer peach border */
}
}
#mp-lower {
#mp-lower .mp-h2 {
background-color: #f7efe3; /* Pale beige for the lower section */
background-color: #e6c9ad; /* Richer peach for headings */
border-color: #c7b28e; /* Soft beige border */
border-color: #bca17c; /* Deeper peach */
padding-left: 10px;
border: 2px solid #d9c6a3;
    margin: 0.5em 0;
    padding: 0.4em 0.6em;
    font-size: 120%;
    font-weight: bold;
    color: #5a4632;
}
}
#mp-bottom {
#mp-bottom {
border-color: #a39171; /* Soft brownish border for the bottom */
border-color: #d9c6a3;
}
}
#mp-bottom .mp-h2 {
#mp-bottom .mp-h2 {
background-color: #f0e6d8; /* Soft parchment background */
background-color: #F7EFE3;
border-color: #b09d7b; /* Warm brown border */
border-color: #d9c6a3;
}
}
}
}
Line 135: Line 155:
/* Dark mode color scheme */
/* Dark mode color scheme */
html.skin-theme-clientpref-night #mp-topbanner {
html.skin-theme-clientpref-night #mp-topbanner {
background-color: #333333;
background-color: #2d2b28;
border-color: #676767;
border-color: #554f47;
}
}


html.skin-theme-clientpref-night #mp-banner {
html.skin-theme-clientpref-night #mp-banner {
background-color: #3b3b3b;
background-color: #4f453f;
border-color: #5c5c5c;
border-color: #6e6359;
}
}


html.skin-theme-clientpref-night #mp-left {
html.skin-theme-clientpref-night #mp-left {
background-color: #2f2f2f;
background-color: #3e3a36;
border-color: #4a4a4a;
border-color: #554f47;
}
 
html.skin-theme-clientpref-night #mp-left .mp-h2 {
background-color: #5a534b;
border-color: #766e63;
}
}


html.skin-theme-clientpref-night #mp-right {
html.skin-theme-clientpref-night #mp-right {
background-color: #2f2f2f;
background-color: #3f3633;
border-color: #4a4a4a;
border-color: #6b5e57;
}
 
html.skin-theme-clientpref-night #mp-right .mp-h2 {
background-color: #6b5e57;
border-color: #8e7e76;
}
}


html.skin-theme-clientpref-night #mp-lower {
html.skin-theme-clientpref-night #mp-lower {
background-color: #3b3b3b;
background-color: #4a413b;
border-color: #5c5c5c;
border-color: #756a60;
}
 
html.skin-theme-clientpref-night #mp-bottom {
border-color: #554f47;
}
 
html.skin-theme-clientpref-night #mp-bottom .mp-h2 {
background-color: #4f453f;
border-color: #6e6359;
}
}


/* Button-like styling for "Read the full article" and "Explore More" links */
/* Button-like styling for "Read the full article" and "Explore More" links */
.explore-more {
.explore-more {
margin-top: 15px;
    margin-top: 15px;
clear: both;
    clear: both;
display: flex;
    display: flex;
justify-content: center;
    justify-content: center;
}
 
 
.explore-more p a {
    font-size: 1.2em;
    font-weight: bold;
    color: #4f3c28; /* Darker brown for links */
    text-decoration: none;
    padding: 10px 15px;
    background-color: #F5D1B8; /* Softer peach background */
    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 {
    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;
}
}


.explore-more p a,
.read-more a {
.read-more a {
font-size: 1.2em;
    font-size: 1.2em;
font-weight: bold;
    font-weight: bold;
color: #594a35; /* Deep brown for links */
    color: #4f3c28; /* Darker brown */
text-decoration: none;
    text-decoration: none;
padding: 10px 15px;
    padding: 10px 15px;
background-color: #e1d3b5; /* Soft parchment background */
    background-color: #F5D1B8; /* Softer peach */
border: 2px solid #b09d7b; /* Darker brown border */
    border: 2px solid #C3967C;
border-radius: 10px;
    border-radius: 10px;
display: inline-block;
    text-align: center;
text-align: center;
    transition: background-color 0.3s, color 0.3s;
transition: background-color 0.3s, color 0.3s;
}
}


.explore-more p a:hover,
.read-more a:hover {
.read-more a:hover {
background-color: #b09d7b; /* Darker beige on hover */
    background-color: #C3967C;
color: #ffffff; /* White text on hover */
    color: #ffffff;
}
}


/* Featured picture container styling */
/* Featured picture container styling */
#mp-tfp {
#mp-tfp {
border: 1px solid #b09d7b; /* Border for the featured image container */
    border: 1px solid #8f7a66;
padding: 10px;
    padding: 10px;
border-radius: 5px;
    border-radius: 5px;
background-color: #faf3e3; /* Light parchment background */
    background-color: #F7EFE3;
text-align: center;
    text-align: center;
}
}


/* Featured caption styling */
/* Featured caption styling */
.featured-caption {
.featured-caption {
margin-top: 10px;
    margin-top: 10px;
font-size: 0.9em;
    font-size: 0.9em;
color: #594a35; /* Deep brown */
    color: #5a4632;
text-align: center;
    text-align: center;
font-style: italic;
    font-style: italic;
}
}


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

Revision as of 04:25, 8 September 2024

/* General styling for boxes and headings */
.mp-box {
	border: 1px solid #d9c6a3; /* Softer warm border to match the theme */
	padding: 0 0.5em 0.5em;
	margin-top: 2px;
	background-color: #F7EFE3; /* Base parchment-like background */
}

.mp-h2,
.skin-timeless .mp-h2 {
	border: 1px solid #d9c6a3; /* Softer borders */
	margin: 0.5em 0;
	padding: 0.2em 0.4em;
	font-size: 120%;
	font-weight: bold;
	font-family: inherit;
	color: #5a4632; /* Rich brown for better contrast */
	background-color: #EADCC5; /* Subtle gold background for headers */
}

/* Less prominent text */
.mp-later {
	font-size: 85%;
	font-weight: normal;
	color: #8c7a65; /* Softer 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: #5a4632; /* Rich brown */
}

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

#mp-free {
	font-size: 95%;
	color: #6c5d4b; /* Medium brown for secondary text */
}

#articlecount {
	font-size: 85%;
	color: #8c7a65; /* Softer 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;
	}
	
	#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; /* Base parchment */
		border-color: #d9c6a3; /* Softer border */
	}
	
	#mp-banner {
		background-color: #EADCC5; /* Lighter gold */
		border-color: #c3b19a; /* Warm, subtle brown */
	}
	
	#mp-left {
		background-color: #F6E4CC; /* Soft cream for left box */
		border-color: #d2b893; /* Muted tan border */
	}
	
	#mp-left .mp-h2 {
		background-color: #E5CBA8; /* Soft tan for headers */
		border-color: #bca187; /* Deeper tan */
		padding-left: 10px;
		border: 2px solid #d9c6a3;
    	margin: 0.5em 0;
    	padding: 0.4em 0.6em;
    	font-size: 120%;
    	font-weight: bold;
    	color: #5a4632; /* Rich brown */
	}
	
	#mp-right {
		background-color: #F7D9C4; /* Soft coral for the right column */
		border-color: #d9b8a4; /* Matching coral border */
	}
	
	#mp-right .mp-h2 {
		background-color: #E7BFA6; /* Warm coral for headers */
		border-color: #C3967C; /* Deeper coral */
		padding-left: 10px;
		border: 2px solid #d9c6a3;
    	margin: 0.5em 0;
    	padding: 0.4em 0.6em;
    	font-size: 120%;
    	font-weight: bold;
    	color: #5a4632;
	}
	
	#mp-lower {
		background-color: #F8E7D0; /* Light peach for the lower section */
		border-color: #dbc2a6; /* Softer peach border */
	}
	
	#mp-lower .mp-h2 {
		background-color: #e6c9ad; /* Richer peach for headings */
		border-color: #bca17c; /* Deeper peach */
		padding-left: 10px;
		border: 2px solid #d9c6a3;
    	margin: 0.5em 0;
    	padding: 0.4em 0.6em;
    	font-size: 120%;
    	font-weight: bold;
    	color: #5a4632;
	}
	
	#mp-bottom {
		border-color: #d9c6a3;
	}
	
	#mp-bottom .mp-h2 {
		background-color: #F7EFE3;
		border-color: #d9c6a3;
	}
}

/* Dark mode color scheme */
html.skin-theme-clientpref-night #mp-topbanner {
	background-color: #2d2b28;
	border-color: #554f47;
}

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

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

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

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

html.skin-theme-clientpref-night #mp-right .mp-h2 {
	background-color: #6b5e57;
	border-color: #8e7e76;
}

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

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

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

/* 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 {
    font-size: 1.2em;
    font-weight: bold;
    color: #4f3c28; /* Darker brown for links */
    text-decoration: none;
    padding: 10px 15px;
    background-color: #F5D1B8; /* Softer peach background */
    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 {
    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;
    color: #ffffff;
}

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

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

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