Jump to content

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

From Adaris
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
/* {{pp|small=yes}} */
/* {{pp|small=yes}} */
 
/* General styling for boxes and headings */
.mp-box {
.mp-box {
border: 1px solid #aaa; /* all colors overriden on specific elements in @media screen */
border: 1px solid #8f7a66; /* Subtle, earthy border */
padding: 0 0.5em 0.5em;
padding: 0 0.5em 0.5em;
margin-top: 4px;
margin-top: 4px;
background-color: #f3f0e6; /* Light parchment-like background for a mystical feel */
}
}


.mp-h2,
.mp-h2,
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
body.skin-timeless .mp-h2 {
border: 1px solid #aaa; /* all colors overriden on specific elements in @media screen */
border: 1px solid #8f7a66; /* Border matches the box outline */
margin: 0.5em 0;
margin: 0.5em 0;
padding: 0.2em 0.4em;
padding: 0.2em 0.4em;
Line 15: Line 16:
font-weight: bold;
font-weight: bold;
font-family: inherit;
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 {
.mp-later {
font-size: 85%;
font-size: 85%;
font-weight: normal;
font-weight: normal;
color: #6f4a8e; /* Dark lavender for less prominent text */
}
}


/* Welcome text at the top */
#mp-welcomecount {
#mp-welcomecount {
text-align: center;
text-align: center;
Line 30: Line 36:
font-size: 162%;
font-size: 162%;
padding: 0.1em;
padding: 0.1em;
color: #3b1052; /* A rich, magical purple for the welcome text */
}
}


Line 42: Line 49:
#mp-free {
#mp-free {
font-size: 95%;
font-size: 95%;
color: #3b1052; /* Same magical purple for the free encyclopedia text */
}
}


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


/* clear fix */
/* Clear floats */
.mp-contains-float::after {
.mp-contains-float::after {
content: "";
content: "";
Line 55: Line 64:
}
}


@media (max-width: 875px) {
/* Flexbox for layout on larger screens */
/* We need to improve Template:POTD as used on the main page so that these
* hacks aren't necessary */
#mp-tfp table,
#mp-tfp tr,
#mp-tfp td,
#mp-tfp tbody {
display: block !important;
width: 100% !important;
box-sizing: border-box;
}
 
#mp-tfp tr:first-child td:first-child a.mw-file-description {
text-align: center;
display: table;
margin: 0 auto;
}
}
 
@media (min-width: 875px) {
@media (min-width: 875px) {
#mp-upper {
#mp-upper {
Line 90: Line 81:
}
}


/* Color scheme for specific sections */
@media screen {
@media screen {
#mp-topbanner {
#mp-topbanner {
background-color: #f9f9f9;
background-color: #f3e6d8; /* Soft parchment-like background */
border-color: #ddd;
border-color: #a68b69; /* Warm earthy border */
}
}
#mp-banner {
#mp-banner {
background-color: #fffaf5;
background-color: #e0d4ba; /* Soft gold background */
border-color: #f2e0ce;
border-color: #a68b69; /* Same warm border */
}
}
#mp-left {
#mp-left {
background-color: #f5fffa;
background-color: #e6f0e6; /* Light green for the left column, representing nature */
border-color: #cef2e0;
border-color: #8f7a66;
}
}
#mp-left .mp-h2 {
#mp-left .mp-h2 {
background-color: #cef2e0;
background-color: #c9e2c9; /* Soft green for nature-themed headings */
border-color: #a3bfb1;
border-color: #7c987c;
}
}
#mp-right {
#mp-right {
background-color: #f5faff;
background-color: #e8e5f9; /* Light lavender for the right column, representing magic */
border-color: #cedff2;
border-color: #8f7a66;
}
}
#mp-right .mp-h2 {
#mp-right .mp-h2 {
background-color: #cedff2;
background-color: #d4cbe9; /* Soft purple for magical sections */
border-color: #a3b0bf;
border-color: #7f679b;
}
}
#mp-middle {
#mp-middle {
background-color: #fff5fa;
background-color: #f0e6e8; /* Soft pink for a gentle magical touch */
border-color: #f2cedd;
border-color: #8b5a78;
}
}
#mp-middle .mp-h2 {
#mp-middle .mp-h2 {
background-color: #f2cedd;
background-color: #e6cbd4; /* Light pink for magical headings */
border-color: #bfa3af;
border-color: #855770;
}
}
#mp-lower {
#mp-lower {
background-color: #faf5ff;
background-color: #f0e8f9; /* Pale lavender for the lower section */
border-color: #ddcef2;
border-color: #a68bcb; /* Soft purple border */
}
}
#mp-lower .mp-h2 {
#mp-lower .mp-h2 {
background-color: #ddcef2;
background-color: #d8c5e6; /* Slightly deeper lavender for the headings */
border-color: #afa3bf;
border-color: #8862b5;
}
}
#mp-bottom {
#mp-bottom {
/* no background */
border-color: #d3c0b3; /* Subtle brownish border for the bottom section */
border-color: #e2e2e2;
}
}
#mp-bottom .mp-h2 {
#mp-bottom .mp-h2 {
background-color: #eee;
background-color: #f0e8d8; /* Creamy background for the bottom heading */
border-color: #ddd;
border-color: #c5a790;
}
}
}
/* Dark mode color scheme */
html.skin-theme-clientpref-night #mp-topbanner {
background-color: #1b1a29;
border-color: #624b61;
}


/* night mode */
html.skin-theme-clientpref-night #mp-banner {
html.skin-theme-clientpref-night #mp-topbanner {
background-color: #4b2a3e;
background-color: #171a1d;
border-color: #6f546e;
border-color: #676767;
}
}
 
html.skin-theme-clientpref-night #mp-left {
html.skin-theme-clientpref-night #mp-banner {
background-color: #273728;
background-color: #431107;
border-color: #426042;
border-color: #663428;
}
}
 
html.skin-theme-clientpref-night #mp-left .mp-h2 {
html.skin-theme-clientpref-night #mp-left {
background-color: #426042;
background-color: #0b1e1c;
border-color: #5f775f;
border-color: #104437;
}
}
 
html.skin-theme-clientpref-night #mp-right {
html.skin-theme-clientpref-night #mp-left .mp-h2 {
background-color: #29243d;
background-color: #104437;
border-color: #473c57;
border-color: #2f4d41;
}
}
 
html.skin-theme-clientpref-night #mp-right .mp-h2 {
html.skin-theme-clientpref-night #mp-right {
background-color: #473c57;
background-color: #0d1a27;
border-color: #6a5784;
border-color: #082849;
}
}
 
html.skin-theme-clientpref-night #mp-middle {
html.skin-theme-clientpref-night #mp-right .mp-h2 {
background-color: #412d3c;
background-color: #082849;
border-color: #6a4a5b;
border-color: #a3b0bf;
}
html.skin-theme-clientpref-night #mp-middle {
background-color: #270e1a;
border-color: #882c43;
}
html.skin-theme-clientpref-night #mp-middle .mp-h2 {
background-color: #882c43;
border-color: #926c80;
}
html.skin-theme-clientpref-night #mp-lower {
background-color: #130e20;
border-color: #7545ab;
}
html.skin-theme-clientpref-night #mp-lower .mp-h2 {
background-color: #7545ab;
border-color: #afa3bf;
}
html.skin-theme-clientpref-night #mp-bottom {
/* no background */
border-color: #676767;
}
html.skin-theme-clientpref-night #mp-bottom .mp-h2 {
background-color: #3d3d3d;
border-color: #676767;
}
}
}


/* OS night mode */
html.skin-theme-clientpref-night #mp-lower {
@media screen and ( prefers-color-scheme: dark ) {
background-color: #352846;
html.skin-theme-clientpref-os #mp-topbanner {
border-color: #5c4383;
background-color: #171a1d;
border-color: #676767;
}
html.skin-theme-clientpref-os #mp-banner {
background-color: #431107;
border-color: #663428;
}
html.skin-theme-clientpref-os #mp-left {
background-color: #0b1e1c;
border-color: #104437;
}
html.skin-theme-clientpref-os #mp-left .mp-h2 {
background-color: #104437;
border-color: #2f4d41;
}
html.skin-theme-clientpref-os #mp-right {
background-color: #0d1a27;
border-color: #082849;
}
html.skin-theme-clientpref-os #mp-right .mp-h2 {
background-color: #082849;
border-color: #a3b0bf;
}
html.skin-theme-clientpref-os #mp-middle {
background-color: #270e1a;
border-color: #882c43;
}
html.skin-theme-clientpref-os #mp-middle .mp-h2 {
background-color: #882c43;
border-color: #926c80;
}
html.skin-theme-clientpref-os #mp-lower {
background-color: #130e20;
border-color: #7545ab;
}
html.skin-theme-clientpref-os #mp-lower .mp-h2 {
background-color: #7545ab;
border-color: #afa3bf;
}
html.skin-theme-clientpref-os #mp-bottom {
/* no background */
border-color: #676767;
}
html.skin-theme-clientpref-os #mp-bottom .mp-h2 {
background-color: #3d3d3d;
border-color: #676767;
}
}
}


/* Style for "Read the full article" link */
html.skin-theme-clientpref-night #mp-bottom {
.read-more a {
border-color: #624b61;
    font-size: 1.2em; /* Larger text */
    font-weight: bold; /* Bold text */
    color: #0645ad; /* Wikipedia link blue */
    text-decoration: none; /* Remove underline */
    padding: 10px 15px; /* Add padding */
    background-color: #f0f8ff; /* Light blue background */
    border: 2px solid #0645ad; /* Blue border */
    border-radius: 5px; /* Rounded corners */
    display: inline-block; /* Display as block */
    text-align: center; /* Center the text */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover */
}
}


.read-more a:hover {
html.skin-theme-clientpref-night #mp-bottom .mp-h2 {
    background-color: #0645ad; /* Darker blue on hover */
background-color: #3d2b3a;
    color: #ffffff; /* White text on hover */
border-color: #624b61;
}
}


/* Style for "Explore More" link */
/* Button-like styling for "Read the full article" and "Explore More" links */
.explore-more p {
.read-more a, .explore-more p a {
     font-size: 1.2em; /* Larger text */
     font-size: 1.2em;
     font-weight: bold; /* Bold text */
     font-weight: bold;
     color: #0645ad; /* Wikipedia link blue */
     color: #3b1052; /* Rich purple text color */
     text-decoration: none; /* Remove underline */
     text-decoration: none;
     padding: 10px 15px; /* Add padding */
     padding: 10px 15px;
     background-color: #f0f8ff; /* Light blue background */
     background-color: #d4cbe9; /* Light magical purple background */
     border: 2px solid #0645ad; /* Blue border */
     border: 2px solid #7f679b; /* Darker purple border */
     border-radius: 5px; /* Rounded corners */
     border-radius: 10px; /* More pronounced rounded corners */
     display: inline-block; /* Display as block */
     display: inline-block;
     text-align: center; /* Center the text */
     text-align: center;
     transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover */
     transition: background-color 0.3s, color 0.3s;
}
}


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

Revision as of 02:43, 8 September 2024

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