Jump to content

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

From Adaris
No edit summary
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 #6e6543; /* A warm earthy border */
border: 1px solid #a39171; /* A soft, warm earthy border */
padding: 0 0.5em 0.5em;
padding: 0 0.5em 0.5em;
margin-top: 2px;
margin-top: 2px;
background-color: #f4f0e6; /* Light parchment-like background for a magical, old-world feel */
background-color: #faf3e3; /* Light parchment-like background for a magical, old-world feel */
}
}


.mp-h2,
.mp-h2,
.skin-timeless .mp-h2 {
.skin-timeless .mp-h2 {
border: 1px solid #6e6543; /* Earthy borders */
border: 1px solid #a39171; /* Soft earthy borders */
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;
font-family: inherit;
color: #5a3b91; /* Deep magical purple for headings */
color: #594a35; /* A deep, brownish text color */
background-color: #e2c084; /* Luminous gold for heading backgrounds */
background-color: #e1d3b5; /* Muted gold for heading backgrounds */
}
}


Line 23: Line 23:
font-size: 85%;
font-size: 85%;
font-weight: normal;
font-weight: normal;
color: #9159b3; /* Light magical lavender for minor text */
color: #7d6f54; /* Muted brown for minor text */
}
}


Line 35: Line 35:
font-size: 162%;
font-size: 162%;
padding: 0.1em;
padding: 0.1em;
color: #5a3b91; /* The same deep magical purple for the welcome text */
color: #594a35; /* Deep brown for the welcome text */
}
}


Line 48: Line 48:
#mp-free {
#mp-free {
font-size: 95%;
font-size: 95%;
color: #3b6e47; /* Rich green to suggest nature and magic */
color: #7a6a50; /* Muted brown to suggest nature and harmony */
}
}


#articlecount {
#articlecount {
font-size: 85%;
font-size: 85%;
color: #9159b3; /* Slightly softer lavender for article count */
color: #7d6f54; /* Slightly softer brown for article count */
}
}


Line 83: Line 83:
@media screen {
@media screen {
#mp-topbanner {
#mp-topbanner {
background-color: #f4f0e6; /* Light parchment background */
background-color: #faf3e3; /* Light parchment background */
border-color: #6e6543; /* Warm earthy border */
border-color: #a39171; /* Soft earthy border */
}
}
#mp-banner {
#mp-banner {
background-color: #e2c084; /* Luminous gold background */
background-color: #e1d3b5; /* Muted gold background */
border-color: #b0915a; /* Regal gold border */
border-color: #c7b28e; /* Soft gold border */
}
}
#mp-left {
#mp-left {
background-color: #e6f7ee; /* Soft teal for the left column, reflecting tranquility and nature */
background-color: #f7efe3; /* Lighter beige for the left column */
border-color: #3b6e47; /* Rich green border */
border-color: #a39171; /* Soft earthy border */
}
}
#mp-left .mp-h2 {
#mp-left .mp-h2 {
background-color: #c4e6d0; /* Soft green for a natural vibe */
background-color: #e9ddc3; /* Soft beige for a natural vibe */
border-color: #2e573b; /* Darker green border */
border-color: #b9a583; /* Darker beige border */
padding-left: 10px; /* Adds space to the left */
color: #594a35; /* Deep brown for text */
border: 2px solid #6e6543; /* Adds a thicker border */
    margin: 0.5em 0;
    padding: 0.4em 0.6em;
    font-size: 120%;
    font-weight: bold;
    color: #5a3b91; /* Deep magical purple */
}
}
#mp-right {
#mp-right {
background-color: #f4e1e8; /* Soft pink for an enchanted look */
background-color: #faf3e3; /* Muted parchment for an enchanted look */
border-color: #9159b3; /* Deep lavender for a magical touch */
border-color: #a39171; /* Soft gold for contrast */
}
}
#mp-right .mp-h2 {
#mp-right .mp-h2 {
background-color: #dab4e3; /* Muted lavender for a soft, magical feel */
background-color: #e1d3b5; /* Muted gold for a soft, readable feel */
border-color: #804093; /* Darker purple for contrast */
border-color: #b09d7b; /* Darker beige for contrast */
padding-left: 10px; /* Adds space to the left */
border: 2px solid #6e6543; /* Adds a thicker border */
    margin: 0.5em 0;
    padding: 0.4em 0.6em;
    font-size: 120%;
    font-weight: bold;
    color: #5a3b91; /* Deep magical purple */
}
}
#mp-middle {
#mp-middle {
background-color: #f4f0e6; /* Parchment-like background for a classic fantasy vibe */
background-color: #f4f0e6; /* Parchment-like background for a classic fantasy vibe */
border-color: #8b5a2f; /* Warm brown for an earthy touch */
border-color: #a39171; /* Warm earthy touch */
}
#mp-middle .mp-h2 {
background-color: #e2c084; /* Rich gold background */
border-color: #b0915a; /* Deep gold border */
}
}
#mp-lower {
#mp-lower {
background-color: #f3e6f7; /* Pale lavender for the lower section */
background-color: #f7efe3; /* Pale beige for the lower section */
border-color: #b591d3; /* Softer purple border */
border-color: #c7b28e; /* Soft beige border */
}
#mp-lower .mp-h2 {
background-color: #d6b6e6; /* Richer lavender for headings */
border-color: #7f3b93; /* Darker purple for a magical touch */
padding-left: 10px; /* Adds space to the left */
border: 2px solid #6e6543; /* Adds a thicker border */
    margin: 0.5em 0;
    padding: 0.4em 0.6em;
    font-size: 120%;
    font-weight: bold;
    color: #5a3b91; /* Deep magical purple */
}
}
#mp-bottom {
#mp-bottom {
border-color: #6e6543; /* Earthy brownish border for the bottom */
border-color: #a39171; /* Soft brownish border for the bottom */
}
}
#mp-bottom .mp-h2 {
#mp-bottom .mp-h2 {
background-color: #f0e6d8; /* Soft parchment background */
background-color: #f0e6d8; /* Soft parchment background */
border-color: #b09d84; /* Warm brown border */
border-color: #b09d7b; /* Warm brown border */
}
}
}
}
Line 165: Line 135:
/* Dark mode color scheme */
/* Dark mode color scheme */
html.skin-theme-clientpref-night #mp-topbanner {
html.skin-theme-clientpref-night #mp-topbanner {
background-color: #23282a;
background-color: #333333;
border-color: #5f5348;
border-color: #676767;
}
}


html.skin-theme-clientpref-night #mp-banner {
html.skin-theme-clientpref-night #mp-banner {
background-color: #5f3b63;
background-color: #3b3b3b;
border-color: #87638f;
border-color: #5c5c5c;
}
}


html.skin-theme-clientpref-night #mp-left {
html.skin-theme-clientpref-night #mp-left {
background-color: #23342f;
background-color: #2f2f2f;
border-color: #2e573b;
border-color: #4a4a4a;
}
 
html.skin-theme-clientpref-night #mp-left .mp-h2 {
background-color: #2e573b;
border-color: #416b51;
}
}


html.skin-theme-clientpref-night #mp-right {
html.skin-theme-clientpref-night #mp-right {
background-color: #362337;
background-color: #2f2f2f;
border-color: #7a497f;
border-color: #4a4a4a;
}
 
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 {
html.skin-theme-clientpref-night #mp-lower {
background-color: #362744;
background-color: #3b3b3b;
border-color: #6a578d;
border-color: #5c5c5c;
}
 
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 */
/* Button-like styling for "Read the full article" and "Explore More" links */
.explore-more {
.explore-more {
    margin-top: 15px;
margin-top: 15px;
    clear: both; /* Ensures it clears any floating elements */
clear: both;
    display: flex;
display: flex;
    justify-content: center;
justify-content: center;
}
 
 
.explore-more p a {
    font-size: 1.2em;
    font-weight: bold;
    color: #5a3b91; /* Rich purple for links */
    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 */
}
 
/* Button styling for Read the full article */
.read-more {
    margin-top: 15px;
    clear: both; /* Ensures it clears any floating elements */
    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: #5a3b91; /* Rich purple */
color: #594a35; /* Deep brown for links */
    text-decoration: none;
text-decoration: none;
    padding: 10px 15px;
padding: 10px 15px;
    background-color: #dab4e3; /* Soft lavender */
background-color: #e1d3b5; /* Soft parchment background */
    border: 2px solid #804093; /* Darker purple */
border: 2px solid #b09d7b; /* Darker brown border */
    border-radius: 10px;
border-radius: 10px;
    text-align: center;
display: inline-block;
    transition: background-color 0.3s, color 0.3s;
text-align: center;
transition: background-color 0.3s, color 0.3s;
}
}


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


/* Featured picture container styling */
/* Featured picture container styling */
#mp-tfp {
#mp-tfp {
    border: 1px solid #8f7a66; /* Border for the featured image container */
border: 1px solid #b09d7b; /* Border for the featured image container */
    padding: 10px;
padding: 10px;
    border-radius: 5px;
border-radius: 5px;
    background-color: #f3e6f7; /* Pale lavender background */
background-color: #faf3e3; /* Light parchment background */
    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: #5a3b91; /* Magical purple */
color: #594a35; /* Deep brown */
    text-align: center;
text-align: center;
    font-style: italic; /* Italic for captions */
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:10, 8 September 2024

/* General styling for boxes and headings */
.mp-box {
	border: 1px solid #a39171; /* A soft, warm earthy border */
	padding: 0 0.5em 0.5em;
	margin-top: 2px;
	background-color: #faf3e3; /* Light parchment-like background for a magical, old-world feel */
}

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

/* Less prominent text */
.mp-later {
	font-size: 85%;
	font-weight: normal;
	color: #7d6f54; /* Muted 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: #594a35; /* Deep brown for the 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: #7a6a50; /* Muted brown to suggest nature and harmony */
}

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

/* 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: #faf3e3; /* Light parchment background */
		border-color: #a39171; /* Soft earthy border */
	}
	
	#mp-banner {
		background-color: #e1d3b5; /* Muted gold background */
		border-color: #c7b28e; /* Soft gold border */
	}
	
	#mp-left {
		background-color: #f7efe3; /* Lighter beige for the left column */
		border-color: #a39171; /* Soft earthy border */
	}
	
	#mp-left .mp-h2 {
		background-color: #e9ddc3; /* Soft beige for a natural vibe */
		border-color: #b9a583; /* Darker beige border */
		color: #594a35; /* Deep brown for text */
	}
	
	#mp-right {
		background-color: #faf3e3; /* Muted parchment for an enchanted look */
		border-color: #a39171; /* Soft gold for contrast */
	}
	
	#mp-right .mp-h2 {
		background-color: #e1d3b5; /* Muted gold for a soft, readable feel */
		border-color: #b09d7b; /* Darker beige for contrast */
	}
	
	#mp-middle {
		background-color: #f4f0e6; /* Parchment-like background for a classic fantasy vibe */
		border-color: #a39171; /* Warm earthy touch */
	}
	
	#mp-lower {
		background-color: #f7efe3; /* Pale beige for the lower section */
		border-color: #c7b28e; /* Soft beige border */
	}
	
	#mp-bottom {
		border-color: #a39171; /* Soft brownish border for the bottom */
	}
	
	#mp-bottom .mp-h2 {
		background-color: #f0e6d8; /* Soft parchment background */
		border-color: #b09d7b; /* Warm brown border */
	}
}

/* Dark mode color scheme */
html.skin-theme-clientpref-night #mp-topbanner {
	background-color: #333333;
	border-color: #676767;
}

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

html.skin-theme-clientpref-night #mp-left {
	background-color: #2f2f2f;
	border-color: #4a4a4a;
}

html.skin-theme-clientpref-night #mp-right {
	background-color: #2f2f2f;
	border-color: #4a4a4a;
}

html.skin-theme-clientpref-night #mp-lower {
	background-color: #3b3b3b;
	border-color: #5c5c5c;
}

/* 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: #594a35; /* Deep brown for links */
	text-decoration: none;
	padding: 10px 15px;
	background-color: #e1d3b5; /* Soft parchment background */
	border: 2px solid #b09d7b; /* Darker brown 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: #b09d7b; /* Darker beige on hover */
	color: #ffffff; /* White text on hover */
}

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

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

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