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 */
.mp-box {
.mp-box {
border: 1px solid #aaa; /* all colors overriden on specific elements in @media screen */
border: 1px solid #6e6543; /* A warm earthy border */
padding: 0 0.5em 0.5em;
padding: 0 0.5em 0.5em;
margin-top: 4px;
margin-top: 4px;
background-color: #f4f0e6; /* Light parchment-like background for a magical, old-world 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 #6e6543; /* Earthy borders */
margin: 0.5em 0;
margin: 0.5em 0;
padding: 0.2em 0.4em;
padding: 0.2em 0.4em;
Line 13: Line 15:
font-weight: bold;
font-weight: bold;
font-family: inherit;
font-family: inherit;
color: #5a3b91; /* Deep magical purple for headings */
background-color: #e2c084; /* Luminous gold for heading backgrounds */
}
}


/* Less prominent text */
.mp-later {
.mp-later {
font-size: 85%;
font-size: 85%;
font-weight: normal;
font-weight: normal;
color: #9159b3; /* Light magical lavender for minor text */
}
}


/* Welcome text at the top */
#mp-welcomecount {
#mp-welcomecount {
text-align: center;
text-align: center;
Line 28: 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 */
}
}


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


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


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


@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 88: Line 80:
}
}


/* Color scheme for specific sections */
@media screen {
@media screen {
#mp-topbanner {
#mp-topbanner {
background-color: #f9f9f9;
background-color: #f4f0e6; /* Light parchment background */
border-color: #ddd;
border-color: #6e6543; /* Warm earthy border */
}
}
#mp-banner {
#mp-banner {
background-color: #fffaf5;
background-color: #e2c084; /* Luminous gold background */
border-color: #f2e0ce;
border-color: #b0915a; /* Regal gold border */
}
}
#mp-left {
#mp-left {
background-color: #f5fffa;
background-color: #e6f7ee; /* Soft teal for the left column, reflecting tranquility and nature */
border-color: #cef2e0;
border-color: #3b6e47; /* Rich green border */
}
}
#mp-left .mp-h2 {
#mp-left .mp-h2 {
background-color: #cef2e0;
background-color: #c4e6d0; /* Soft green for a natural vibe */
border-color: #a3bfb1;
border-color: #2e573b; /* Darker green border */
}
}
#mp-right {
#mp-right {
background-color: #f5faff;
background-color: #f4e1e8; /* Soft pink for an enchanted look */
border-color: #cedff2;
border-color: #9159b3; /* Deep lavender for a magical touch */
}
}
#mp-right .mp-h2 {
#mp-right .mp-h2 {
background-color: #cedff2;
background-color: #dab4e3; /* Muted lavender for a soft, magical feel */
border-color: #a3b0bf;
border-color: #804093; /* Darker purple for contrast */
}
}
#mp-middle {
#mp-middle {
background-color: #fff5fa;
background-color: #f4f0e6; /* Parchment-like background for a classic fantasy vibe */
border-color: #f2cedd;
border-color: #8b5a2f; /* Warm brown for an earthy touch */
}
}
#mp-middle .mp-h2 {
#mp-middle .mp-h2 {
background-color: #f2cedd;
background-color: #e2c084; /* Rich gold background */
border-color: #bfa3af;
border-color: #b0915a; /* Deep gold border */
}
}
#mp-lower {
#mp-lower {
background-color: #faf5ff;
background-color: #f3e6f7; /* Pale lavender for the lower section */
border-color: #ddcef2;
border-color: #b591d3; /* Softer purple border */
}
}
#mp-lower .mp-h2 {
#mp-lower .mp-h2 {
background-color: #ddcef2;
background-color: #d6b6e6; /* Richer lavender for headings */
border-color: #afa3bf;
border-color: #7f3b93; /* Darker purple for a magical touch */
}
}
#mp-bottom {
#mp-bottom {
/* no background */
border-color: #6e6543; /* Earthy brownish border for the bottom */
border-color: #e2e2e2;
}
}
#mp-bottom .mp-h2 {
#mp-bottom .mp-h2 {
background-color: #eee;
background-color: #f0e6d8; /* Soft parchment background */
border-color: #ddd;
border-color: #b09d84; /* Warm brown border */
}
}
}
/* 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;
}


/* night mode */
html.skin-theme-clientpref-night #mp-middle {
html.skin-theme-clientpref-night #mp-topbanner {
background-color: #4f3b31;
background-color: #171a1d;
border-color: #75413d;
border-color: #676767;
}
html.skin-theme-clientpref-night #mp-banner {
background-color: #431107;
border-color: #663428;
}
html.skin-theme-clientpref-night #mp-left {
background-color: #0b1e1c;
border-color: #104437;
}
html.skin-theme-clientpref-night #mp-left .mp-h2 {
background-color: #104437;
border-color: #2f4d41;
}
html.skin-theme-clientpref-night #mp-right {
background-color: #0d1a27;
border-color: #082849;
}
html.skin-theme-clientpref-night #mp-right .mp-h2 {
background-color: #082849;
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: #362744;
html.skin-theme-clientpref-os #mp-topbanner {
border-color: #6a578d;
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: #5f5348;
    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: #4b423d;
    color: #ffffff; /* White text on hover */
border-color: #7f5f53;
}
}


/* 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: #5a3b91; /* Rich purple for links */
     text-decoration: none; /* Remove underline */
     text-decoration: none;
     padding: 10px 15px; /* Add padding */
     padding: 10px 15px;
     background-color: #f0f8ff; /* Light blue background */
     background-color: #dab4e3; /* Soft magical lavender background */
     border: 2px solid #0645ad; /* Blue border */
     border: 2px solid #804093; /* Darker purple border */
     border-radius: 5px; /* Rounded corners */
     border-radius: 10px; /* 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: #804093; /* Darker magical purple on hover */
     color: #ffffff; /* White text on hover */
     color: #ffffff; /* White text on hover */
}
}

Revision as of 02:50, 8 September 2024

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

.mp-h2,
body.skin-timeless .mp-h2 {
	border: 1px solid #6e6543; /* Earthy borders */
	margin: 0.5em 0;
	padding: 0.2em 0.4em;
	font-size: 120%;
	font-weight: bold;
	font-family: inherit;
	color: #5a3b91; /* Deep magical purple for headings */
	background-color: #e2c084; /* Luminous gold for heading backgrounds */
}

/* Less prominent text */
.mp-later {
	font-size: 85%;
	font-weight: normal;
	color: #9159b3; /* Light magical lavender 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: #5a3b91; /* The same deep 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: #3b6e47; /* Rich green to suggest nature and magic */
}

#articlecount {
	font-size: 85%;
	color: #9159b3; /* Slightly softer lavender 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: #f4f0e6; /* Light parchment background */
		border-color: #6e6543; /* Warm earthy border */
	}
	
	#mp-banner {
		background-color: #e2c084; /* Luminous gold background */
		border-color: #b0915a; /* Regal gold border */
	}
	
	#mp-left {
		background-color: #e6f7ee; /* Soft teal for the left column, reflecting tranquility and nature */
		border-color: #3b6e47; /* Rich green border */
	}
	
	#mp-left .mp-h2 {
		background-color: #c4e6d0; /* Soft green for a natural vibe */
		border-color: #2e573b; /* Darker green border */
	}
	
	#mp-right {
		background-color: #f4e1e8; /* Soft pink for an enchanted look */
		border-color: #9159b3; /* Deep lavender for a magical touch */
	}
	
	#mp-right .mp-h2 {
		background-color: #dab4e3; /* Muted lavender for a soft, magical feel */
		border-color: #804093; /* Darker purple for contrast */
	}
	
	#mp-middle {
		background-color: #f4f0e6; /* Parchment-like background for a classic fantasy vibe */
		border-color: #8b5a2f; /* Warm brown for an earthy touch */
	}
	
	#mp-middle .mp-h2 {
		background-color: #e2c084; /* Rich gold background */
		border-color: #b0915a; /* Deep gold border */
	}
	
	#mp-lower {
		background-color: #f3e6f7; /* Pale lavender for the lower section */
		border-color: #b591d3; /* Softer purple border */
	}
	
	#mp-lower .mp-h2 {
		background-color: #d6b6e6; /* Richer lavender for headings */
		border-color: #7f3b93; /* Darker purple for a magical touch */
	}
	
	#mp-bottom {
		border-color: #6e6543; /* Earthy brownish border for the bottom */
	}
	
	#mp-bottom .mp-h2 {
		background-color: #f0e6d8; /* Soft parchment background */
		border-color: #b09d84; /* Warm brown border */
	}
}

/* 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 */
.read-more a, .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;
}

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