User:It's moon/common.css: Difference between revisions

From Splatoon Fanon
It's moon (talk | contribs)
No edit summary
It's moon (talk | contribs)
mNo edit summary
Line 163: Line 163:
}
}
/* Personal dropdown arrow color */
/* User dropdown arrow color */
#personal .dropdown::after {
#personal .dropdown::after {
border-bottom-color:#5E70F2;
border-bottom-color:#5E70F2;

Revision as of 22:05, 23 October 2026

/* Rewritting the wiki skin from the ground up for a cleaner, smoother,
   bug-free, fast and optimized user experience, with no visual changes.
   Current code at [[MediaWiki:Gadget-timeless-fruitsalad.css]] */

/* { Disable the entire CSS document - only for the testing phase */

/* All screens */
@media screen {
	
	/* User dropdown */
	#personal .dropdown {
		padding: 2em 2.5em .5em;
		background: #5E70f2EE;
		border: 3px solid #252570;
		border-radius: 10px;
	}

	#personal .dropdown li {
		padding: 0.4em 0;
	}

	#personal .dropdown h3, #personal .dropdown li a, #personal .dropdown li .new {
		color: #FFF; /* Dropdown text color */
	}
	#personal .dropdown li a:hover {
		color: #BBFE9B; /* Dropdown links hover color */
	}
	#personal .dropdown li .new:hover, #personal .dropdown #pt-logout a:hover {
		color:#FF9750; /* Dropdown red links & logout hover color */
	}

	/* Header wordmark and username centering to be added later */

	/* Unsorted styles */

	/* Header navy line */
	.color-middle, .color-left, .color-right {
		background: #252570;
	}

	/* Mint footer line */
	#mw-content-container {
		border-bottom: solid 0.35em #BBFE9B; 
	}

	/* Content box styling */
	#mw-content {
		background-color: #F8FFF5;
	}
}

/* Mobile */
@media screen and (max-width: 850px) {

	/* Header color */
	#mw-header-container {
		background: #C7649A;
	}

	/* Footer color */
	body {
		background: #252570
	}

}

/* Tablet */
@media screen and (min-width: 851px) and (max-width: 1099px) {

	/* Subheader styling */
	#mw-header-nav-hack {
		background: #C7649ADD;
		border-top: none;
		margin-top: .35em;
		z-index: 196;
	}
	#mw-header-hack {
		box-shadow: none;
	}
	
	
	/* Content box margins */
	#mw-content {
		margin: 7.5em 1em 1em;
	}
	#mw-site-navigation, #mw-related-navigation {
		margin-top: -2.075em; /* Content box margins header displacement fix */
		z-index: 196;
	}
	
	/* Navigation and tools dropdowns arrow color */
	#mw-site-navigation .sidebar-chunk h2 span::after, #mw-related-navigation .sidebar-inner::after {
		border-bottom-color:#5E70F2;
		}
	#mw-site-navigation .sidebar-chunk h2 span::before, #mw-related-navigation .sidebar-inner::before {
		border-bottom-color:#252570;
	}

}

/* Mobile & tablet */
@media screen and (max-width: 1099px) {
	
	/* Navigation and tools dropdowns */
	#mw-site-navigation .sidebar-inner, #mw-related-navigation .sidebar-inner {
		padding: 2em 2.5em .5em;
		background: #5E70f2EE;
		border: 3px solid #252570;
		border-radius: 10px;
	}
	
	#mw-site-navigation .sidebar-inner li, #mw-related-navigation .sidebar-inner li {
		padding: 0.4em 0;
	}

	#mw-site-navigation .sidebar-inner h3, #mw-site-navigation .sidebar-inner li a, #mw-site-navigation .sidebar-inner li .new,
	#mw-related-navigation .sidebar-inner h3, #mw-related-navigation .sidebar-inner li a, #mw-related-navigation .sidebar-inner li .new {
		color: #FFF; /* Dropdown text color */
	}
	#mw-site-navigation .sidebar-inner li a:hover,
	#mw-related-navigation .sidebar-inner li a:hover {
		color: #BBFE9B; /* Dropdown links hover color */
	}
	#mw-site-navigation .sidebar-inner li .new:hover,
	#mw-related-navigation .sidebar-inner li .new:hover {
		color:#FF9750; /* Dropdown red links & logout hover color */
	}

}

/* Tablet & all desktops */
@media screen and (min-width: 851px) {

	/* Background color */
	body {
		background: linear-gradient(to bottom, #5E70F2, #C7649A) no-repeat 0 -5px, linear-gradient(#252570, #252570) repeat;
	}
	
	#mw-footer-container {
		background: #252570;
	}
	
	/* Background fix */
	#mw-content-container {
		background: none;
	}

	/* Header styling */
	#mw-header-container {
		background: #C7649ADD; /* Header background color */
	}
	#personal h2, #mw-site-navigation h2, #mw-related-navigation h2 {
		color: #FFF; /* Header text color */
		text-shadow: 1px 1px #252570; /* Header text shadow */
		background-image: none; /* Remove icons */
		font-family: "Quantico", sans-serif; /* Header text font */
	}
	#personal h2:hover, #mw-site-navigation h2:hover, #mw-related-navigation h2:hover {
		color: #FF9750; /* Header text hover color */
	}
	#user-tools {
		margin-top: -4px; /* Username centering, affects wordmark too */
	}
	
	/* User dropdown arrow color */
	#personal .dropdown::after {
		border-bottom-color:#5E70F2;
		}
	#personal .dropdown::before {
		border-bottom-color:#252570;
	}

	/* Content box styling */
	#mw-content {
		border: 3px solid #252570;
		border-radius: 10px;
	}

}

/* All desktops */
@media screen and (min-width: 1100px) {

	/* Side bar */
	#mw-site-navigation .sidebar-inner .mw-portlet, #mw-related-navigation .sidebar-inner .mw-portlet {
		border-radius: 10px;
		padding: 1px;
	}

	/* Content box top margin */
	#mw-content {
		margin-top: 1em;
	}

}

/* Large desktops */
@media screen and (min-width: 1340px) {
	
}