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

From Splatoon Fanon
It's moon (talk | contribs)
mNo edit summary
It's moon (talk | contribs)
No edit summary
Line 7: Line 7:
/* All screens */
/* All screens */
@media screen {
@media screen {
 
/* User dropdown */
/** HEADER styles for all screens **/
 
/* Header navy line */
.color-middle, .color-left, .color-right {
background: #252570;
}
 
/** FOOTER styles for all screens **/
 
/* Footer mint line */
#mw-content-container {
border-bottom: solid 0.35em #BBFE9B;
}
 
/** DROPDOWN styles for all screens **/
 
/* User dropdown styles, visible on all screens */
#personal .dropdown {
#personal .dropdown {
padding: 2em 2.5em .5em;
padding: 2em 2.5em .5em; /* Dropdown padding */
background: #5E70f2EE;
background: #5E70F2EE; /* Dropdown color */
border: 3px solid #252570;
border: 3px solid #252570; /* Dropdown border styles */
border-radius: 10px;
border-radius: 10px; /* Dropdown border rounding */
}
}
#personal .dropdown li {
#personal .dropdown li {
padding: 0.4em 0;
padding: 0.4em 0; /* Dropdown line height */
}
}
#personal .dropdown h3, #personal .dropdown li a, #personal .dropdown li .new {
#personal .dropdown h3, #personal .dropdown li a, #personal .dropdown li .new {
color: #FFF; /* Dropdown text color */
color: #FFF; /* Dropdown text color */
Line 30: Line 44:
}
}


/* Header wordmark and username centering to be added later */
/** CONTENT styles for all screens **/
 
/* 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 */
/* Content box styling */
#mw-content {
#mw-content {
background-color: #F8FFF5;
background-color: #F8FFF5; /* Content box light mint color */
}
}
}
}


Line 53: Line 56:
@media screen and (max-width: 850px) {
@media screen and (max-width: 850px) {


/* Header color */
/** HEADER styles for mobile **/
 
#mw-header-container {
#mw-header-container {
background: #C7649A;
background: #C7649A; /* Header background color */
}
}


/* Footer color */
/** FOOTER styles for mobile **/
 
body {
body {
background: #252570
background: #252570 /* Footer color */
}
}


Line 68: Line 73:
@media screen and (min-width: 851px) and (max-width: 1099px) {
@media screen and (min-width: 851px) and (max-width: 1099px) {


/* Subheader styling */
/** HEADER styles for tablets **/
 
/* Header */
#mw-header-hack {
box-shadow: none; /* Remove navy line shadow */
}
 
/* Subheader */
#mw-header-nav-hack {
#mw-header-nav-hack {
background: #C7649ADD;
background: #C7649ADD; /* Subheader background color */
border-top: none;
border-top: none;
margin-top: .35em;
margin-top: .35em;
z-index: 196;
z-index: 196;
}
}
#mw-header-hack {
 
box-shadow: none;
/** DROPDOWN styles visible on tablets only **/
 
/* Navigation and tools dropdowns arrow color, visible on tablets only */
#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;
}
}
 
/** CONTENT styles for tablets **/
/* Content box margins */
 
/* Margins around content box */
#mw-content {
#mw-content {
margin: 7.5em 1em 1em;
margin: 7.5em 1em 1em;
}
}
#mw-site-navigation, #mw-related-navigation {
#mw-site-navigation, #mw-related-navigation {
margin-top: -2.075em; /* Content box margins header displacement fix */
margin-top: -2.075em; /* Header displacement fix */
z-index: 196;
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;
}
}


Line 101: Line 113:
/* Mobile & tablet */
/* Mobile & tablet */
@media screen and (max-width: 1099px) {
@media screen and (max-width: 1099px) {
 
/* Navigation and tools dropdowns */
/** DROPDOWN styles visible on mobile & tablet only **/
 
#mw-site-navigation .sidebar-inner, #mw-related-navigation .sidebar-inner {
#mw-site-navigation .sidebar-inner, #mw-related-navigation .sidebar-inner {
padding: 2em 2.5em .5em;
padding: 2em 2.5em .5em; /* Dropdown padding */
background: #5E70f2EE;
background: #5E70F2EE; /* Dropdown color */
border: 3px solid #252570;
border: 3px solid #252570; /* Dropdown border styles */
border-radius: 10px;
border-radius: 10px; /* Dropdown border rounding */
}
}
#mw-site-navigation .sidebar-inner li, #mw-related-navigation .sidebar-inner li {
#mw-site-navigation .sidebar-inner li, #mw-related-navigation .sidebar-inner li {
padding: 0.4em 0;
padding: 0.4em 0; /* Dropdown line height */
}
}


Line 132: Line 144:
@media screen and (min-width: 851px) {
@media screen and (min-width: 851px) {


/* Background color */
/** HEADER styles for tablet & desktop **/
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 {
#mw-header-container {
background: #C7649ADD; /* Header background color */
background: #C7649ADD; /* Header background color */
Line 162: Line 161:
margin-top: -4px; /* Username centering, affects wordmark too */
margin-top: -4px; /* Username centering, affects wordmark too */
}
}
 
/** FOOTER styles for tablet & desktop **/
 
/* Footer color */
#mw-footer-container {
background: #252570;
}
 
/** DROPDOWN styles visible on tablet & desktop only **/
 
/* User dropdown arrow color */
/* User dropdown arrow color */
#personal .dropdown::after {
#personal .dropdown::after {
Line 170: Line 178:
border-bottom-color:#252570;
border-bottom-color:#252570;
}
}
/** CONTENT styles for tablet & desktop **/


/* Content box styling */
/* Content box styling */
Line 175: Line 185:
border: 3px solid #252570;
border: 3px solid #252570;
border-radius: 10px;
border-radius: 10px;
}
/** BACKGROUND styles for tablet & desktop **/
/* Background gradient + past-footer color */
body {
background: linear-gradient(to bottom, #5E70F2, #C7649A) no-repeat 0 -5px, linear-gradient(#252570, #252570) repeat;
}
/* Background fix */
#mw-content-container {
background: none;
}
}


Line 182: Line 204:
@media screen and (min-width: 1100px) {
@media screen and (min-width: 1100px) {


/* Side bar */
/** SIDE BAR **/
 
#mw-site-navigation .sidebar-inner .mw-portlet, #mw-related-navigation .sidebar-inner .mw-portlet {
#mw-site-navigation .sidebar-inner .mw-portlet, #mw-related-navigation .sidebar-inner .mw-portlet {
border-radius: 10px;
border-radius: 10px;
Line 188: Line 211:
}
}


/* Content box top margin */
/** CONTENT styles for desktops only **/
 
/* Margins around content box */
#mw-content {
#mw-content {
margin-top: 1em;
margin-top: 1em;

Revision as of 22:59, 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 {

	/** HEADER styles for all screens **/

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

	/** FOOTER styles for all screens **/

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

	/** DROPDOWN styles for all screens **/

	/* User dropdown styles, visible on all screens */
	#personal .dropdown {
		padding: 2em 2.5em .5em; /* Dropdown padding */
		background: #5E70F2EE; /* Dropdown color */
		border: 3px solid #252570; /* Dropdown border styles */
		border-radius: 10px; /* Dropdown border rounding */
	}
	#personal .dropdown li {
		padding: 0.4em 0; /* Dropdown line height */
	}
	#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 */
	}

	/** CONTENT styles for all screens **/

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

}

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

	/** HEADER styles for mobile **/

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

	/** FOOTER styles for mobile **/

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

}

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

	/** HEADER styles for tablets **/

	/* Header */
	#mw-header-hack {
		box-shadow: none; /* Remove navy line shadow */
	}

	/* Subheader */
	#mw-header-nav-hack {
		background: #C7649ADD; /* Subheader background color */
		border-top: none;
		margin-top: .35em;
		z-index: 196;
	}

	/** DROPDOWN styles visible on tablets only **/

	/* Navigation and tools dropdowns arrow color, visible on tablets only */
	#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;
	}

	/** CONTENT styles for tablets **/

	/* Margins around content box */
	#mw-content {
		margin: 7.5em 1em 1em;
	}
	#mw-site-navigation, #mw-related-navigation {
		margin-top: -2.075em; /* Header displacement fix */
		z-index: 196;
	}

}

/* Mobile & tablet */
@media screen and (max-width: 1099px) {

	/** DROPDOWN styles visible on mobile & tablet only **/

	#mw-site-navigation .sidebar-inner, #mw-related-navigation .sidebar-inner {
		padding: 2em 2.5em .5em; /* Dropdown padding */
		background: #5E70F2EE; /* Dropdown color */
		border: 3px solid #252570; /* Dropdown border styles */
		border-radius: 10px; /* Dropdown border rounding */
	}
	#mw-site-navigation .sidebar-inner li, #mw-related-navigation .sidebar-inner li {
		padding: 0.4em 0; /* Dropdown line height */
	}

	#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) {

	/** HEADER styles for tablet & desktop **/

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

	/** FOOTER styles for tablet & desktop **/

	/* Footer color */
	#mw-footer-container {
		background: #252570;
	}

	/** DROPDOWN styles visible on tablet & desktop only **/

	/* User dropdown arrow color */
	#personal .dropdown::after {
		border-bottom-color:#5E70F2;
		}
	#personal .dropdown::before {
		border-bottom-color:#252570;
	}

	/** CONTENT styles for tablet & desktop **/

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

	/** BACKGROUND styles for tablet & desktop **/

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

	/* Background fix */
	#mw-content-container {
		background: none;
	}

}

/* 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 styles for desktops only **/

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

}

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