Jump to content

Adaris:Main Page/styles.css

From Adaris
Revision as of 02:43, 8 September 2024 by Oros (talk | contribs)
/* {{pp|small=yes}} */
/* General styling for boxes and headings */
.mp-box {
	border: 1px solid #8f7a66; /* Subtle, earthy border */
	padding: 0 0.5em 0.5em;
	margin-top: 4px;
	background-color: #f3f0e6; /* Light parchment-like background for a mystical feel */
}

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

/* Smaller text for lesser elements */
.mp-later {
	font-size: 85%;
	font-weight: normal;
	color: #6f4a8e; /* Dark lavender for less prominent text */
}

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

#mp-welcome {
	font-size: 162%;
	padding: 0.1em;
	color: #3b1052; /* A rich, magical purple 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: #3b1052; /* Same magical purple for the free encyclopedia text */
}

#articlecount {
	font-size: 85%;
	color: #4e3562; /* Slightly softer purple for the 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: #f3e6d8; /* Soft parchment-like background */
		border-color: #a68b69; /* Warm earthy border */
	}
	
	#mp-banner {
		background-color: #e0d4ba; /* Soft gold background */
		border-color: #a68b69; /* Same warm border */
	}
	
	#mp-left {
		background-color: #e6f0e6; /* Light green for the left column, representing nature */
		border-color: #8f7a66;
	}
	
	#mp-left .mp-h2 {
		background-color: #c9e2c9; /* Soft green for nature-themed headings */
		border-color: #7c987c;
	}
	
	#mp-right {
		background-color: #e8e5f9; /* Light lavender for the right column, representing magic */
		border-color: #8f7a66;
	}
	
	#mp-right .mp-h2 {
		background-color: #d4cbe9; /* Soft purple for magical sections */
		border-color: #7f679b;
	}
	
	#mp-middle {
		background-color: #f0e6e8; /* Soft pink for a gentle magical touch */
		border-color: #8b5a78;
	}
	
	#mp-middle .mp-h2 {
		background-color: #e6cbd4; /* Light pink for magical headings */
		border-color: #855770;
	}
	
	#mp-lower {
		background-color: #f0e8f9; /* Pale lavender for the lower section */
		border-color: #a68bcb; /* Soft purple border */
	}
	
	#mp-lower .mp-h2 {
		background-color: #d8c5e6; /* Slightly deeper lavender for the headings */
		border-color: #8862b5;
	}
	
	#mp-bottom {
		border-color: #d3c0b3; /* Subtle brownish border for the bottom section */
	}
	
	#mp-bottom .mp-h2 {
		background-color: #f0e8d8; /* Creamy background for the bottom heading */
		border-color: #c5a790;
	}
}

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

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

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

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

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

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

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

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

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

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

/* Button-like styling for "Read the full article" and "Explore More" links */
.read-more a, .explore-more p a {
    font-size: 1.2em;
    font-weight: bold;
    color: #3b1052; /* Rich purple text color */
    text-decoration: none;
    padding: 10px 15px;
    background-color: #d4cbe9; /* Light magical purple background */
    border: 2px solid #7f679b; /* Darker purple border */
    border-radius: 10px; /* More pronounced rounded corners */
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.read-more a:hover, .explore-more p a:hover {
    background-color: #7f679b; /* Darker purple background on hover */
    color: #ffffff; /* White text on hover */
}