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)
No edit summary
Line 204: Line 204:
@media screen and (min-width: 1100px) {
@media screen and (min-width: 1100px) {


/** SIDE BAR **/
/** SIDEBAR styles for all desktops **/


#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;
background-color: #FFF3EB; /* Sidebar color */
padding: 1px;
margin: 0 1.5em 5px; /* Sidebar outer margin */
padding: 1px; /* Sidebar inner padding */
border: 3px solid #252570; /* Sidebar border styles */
border-radius: 10px; /* Sidebar border rounding */
}
}


/** CONTENT styles for desktops only **/
/* Remove MediaWiki default sidebar styles */
 
/* Margins around content box */
#mw-content {
margin-top: 1em;
}
 
.sidebar-inner .mw-portlet {
background-color: #fff3eb;
margin-bottom: 5px;
border: 3px solid #252570;
/*font-family: "Quantico",sans-serif;*/
}
 
#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
background: none;
background: none;
margin: 0;
padding: 0;
border: none;
border: none;
margin: 0;
box-shadow: none;
padding-top: 0;
}
}
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
background: none;
background: none;
Line 239: Line 231:
color: #000;
color: #000;
font-weight: 500;
font-weight: 500;
/*font-family: "Quantico",sans-serif;*/
   }
   }
/** CONTENT styles for desktops only **/
/* Margins around content box */
#mw-content {
margin-top: 1em;
}


}
}
Line 246: Line 246:
/* Large desktops */
/* Large desktops */
@media screen and (min-width: 1340px) {
@media screen and (min-width: 1340px) {
/*#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;*/
}


}
}

Revision as of 23:48, 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 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;
	}

	/** 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 5px; /* 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;
  }



	/** CONTENT styles for desktops only **/

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

}

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


}