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

From Splatoon Fanon
It's moon (talk | contribs)
m Removing test-only content
It's moon (talk | contribs)
No edit summary
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Rewritting the wiki skin from the ground up for a cleaner, smoother,
/* Rewritting the wiki skin from the ground up for a cleaner, smoother,
   bug-free, fast and optimized user experience, with no visual changes. */
   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 */
/* { Disable the entire CSS document - only for the testing phase */


/* All screens */
/* All screens */
@media screen {
@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 */
}
 
/* Table of contents */
 
/* #toc ul a {
color: #000; /* TOC section links color
} */
.mw-body .toctitle {
border: none;
}
.mw-toc-heading h2 {
font-family: "Quantico", sans-serif;
}
.toc ul {
padding: 0 10px; border: none;
}
.toctitle {
margin: 5px;
border-radius: 5px 5px 0 0;
text-align: center;
font-family:"Quantico",sans-serif;
}
#filetoc, .toc, .toccolours {
padding: 5px;
border:none;
background:none;
}
#toc .toc {
background-color:#D7C6DD97;
border: 2px solid #0A0A0A;
}
 
/* Headings */
/*.mw-body .mw-heading,*/ #firstHeading, .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
font-family: sans-serif; /* Headings font */
border-bottom: solid 2px #000; /* Headings underline style */
}
 
}


/* Mobile */
/* Mobile */
@media (max-width: 850px) {
@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 */
/* Tablet */
@media (min-width: 851px) and (max-width: 1099px) {
@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 for 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 */
/* Mobile & tablet */
@media (max-width: 1099px) {
@media screen and (max-width: 1099px) {
 
/** DROPDOWN styles for mobile & tablets 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 */
/* Tablet & all desktops */
@media (min-width: 851px) {
@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 for 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;
}
#firstHeading {
margin: 0 0 10px; /* First heading top and bottom margins adjustment */
}
/** 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 */
/* All desktops */
@media (min-width: 1100px) {
@media screen and (min-width: 1100px) {
 
/** SIDEBAR styles for all desktops **/
 
#mw-site-navigation .sidebar-inner .mw-portlet, #mw-related-navigation .sidebar-inner .mw-portlet {
background-color: #FFF3EB; /* Sidebar color */
margin:  0 1.5em .35em; /* Sidebar outer margin */
padding: 1px; /* Sidebar inner padding */
border: 3px solid #252570; /* Sidebar border styles */
border-radius: 10px; /* Sidebar border rounding */
}
 
/* Remove MediaWiki default sidebar styles */
#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
background: none;
margin: 0;
padding: 0;
border: none;
box-shadow: none;
}
 
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
/* background: none; */
border: none;
text-align: center;
margin: 0;
/* text-transform: capitalize; */
/* color: #000; */
/* font-weight: 500; */
}
 
#mw-site-navigation .sidebar-chunk .mw-portlet > div, #mw-related-navigation .sidebar-chunk .mw-portlet > div {
margin-bottom: 1px;
}
 
/** CONTENT styles for desktops only **/
 
/* Margins around content box */
#mw-content {
margin-top: 1em;
}
 
}
}


/* Large desktops */
/* Large desktops */
@media (min-width: 1340px) {
@media screen and (min-width: 1340px) {
 
}
/** SIDEBAR styles for large desktops **/
#mw-content-block {
display: grid;
}
#mw-content {
margin-left: 14em;
}
#mw-content-wrapper {
grid-row-start: 1;
grid-row-end: 99;
grid-column: 1;
order: unset;
}
#mw-site-navigation {
grid-row: 1;
grid-column: 1;
order: unset;
}
#mw-related-navigation {
grid-row: 2;
grid-column: 1;
width: 14em;
padding: 0 1em 0 0;
order: unset;
}
 
}
}

Latest revision as of 23:54, 26 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 */
	}

	/* Table of contents */

	/* #toc ul a {
		color: #000; /* TOC section links color
	} */
	.mw-body .toctitle {
		border: none;
	}
	.mw-toc-heading h2 {
		font-family: "Quantico", sans-serif;
	}
	.toc ul {
		padding: 0 10px; border: none;
	}
	.toctitle {
		margin: 5px;
		border-radius: 5px 5px 0 0;
		text-align: center;
		font-family:"Quantico",sans-serif;
	}
	#filetoc, .toc, .toccolours {
		padding: 5px;
		border:none;
		background:none;
	}
	#toc .toc {
		background-color:#D7C6DD97;
		border: 2px solid #0A0A0A;
	}

	/* Headings */
	/*.mw-body .mw-heading,*/ #firstHeading, .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
		font-family: sans-serif; /* Headings font */
		border-bottom: solid 2px #000; /* Headings underline style */
	}

}

/* 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 for 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 for mobile & tablets 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 for 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;
	}
	
	#firstHeading {
		margin: 0 0 10px; /* First heading top and bottom margins adjustment */
	}

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

	/** SIDEBAR styles for all desktops **/

	#mw-site-navigation .sidebar-inner .mw-portlet, #mw-related-navigation .sidebar-inner .mw-portlet {
		background-color: #FFF3EB; /* Sidebar color */
		margin:  0 1.5em .35em; /* Sidebar outer margin */
		padding: 1px; /* Sidebar inner padding */
		border: 3px solid #252570; /* Sidebar border styles */
		border-radius: 10px; /* Sidebar border rounding */
	}

	/* Remove MediaWiki default sidebar styles */
	#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
		background: none;
		margin: 0;
		padding: 0;
		border: none;
		box-shadow: none;
	}

	#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
		/* background: none; */
		border: none;
		text-align: center;
		margin: 0;
		/* text-transform: capitalize; */
		/* color: #000; */
		/* font-weight: 500; */
	}

	#mw-site-navigation .sidebar-chunk .mw-portlet > div, #mw-related-navigation .sidebar-chunk .mw-portlet > div {
		margin-bottom: 1px;
	}

	/** CONTENT styles for desktops only **/

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

}

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

	/** SIDEBAR styles for large desktops **/
	#mw-content-block {
		display: grid;
	}
	#mw-content {
		margin-left: 14em;
	}
	#mw-content-wrapper {
		grid-row-start: 1;
		grid-row-end: 99;
		grid-column: 1;
		order: unset;
	}
	#mw-site-navigation {
		grid-row: 1;
		grid-column: 1;
		order: unset;
	}
	#mw-related-navigation {
		grid-row: 2;
		grid-column: 1;
		width: 14em;
		padding: 0 1em 0 0;
		order: unset;
	}

}