User:It's moon/common.css: Difference between revisions
From Splatoon Fanon
No edit summary |
m Adding dropdown styles |
||
| Line 6: | Line 6: | ||
/* All screens */ | /* All screens */ | ||
@media screen { | @media screen { | ||
/* Header wordmark and username centering to be added later */ | /* Header wordmark and username centering to be added later */ | ||
| Line 48: | Line 32: | ||
background: none; | background: none; | ||
} | } | ||
/* Dropdowns */ | |||
#personal .dropdown li a { | |||
color: #FFF; /* Dropdown text color */ | |||
} | |||
#personal .dropdown li a:hover { | |||
color: #BBFE9B; /* Dropdown text hover color */ | |||
} | |||
#personal .dropdown #pt-logout a:hover { | |||
color: #FF9750; /* Logout text hover color */ | |||
} | |||
} | } | ||
| Line 86: | Line 84: | ||
/* Tablet & all desktops */ | /* Tablet & all desktops */ | ||
@media screen and (min-width: 851px) { | @media screen and (min-width: 851px) { | ||
/* 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 */ | |||
} | |||
.color-middle, .color-left, .color-right { | |||
background:#252570; /* Header navy line */ | |||
} | |||
/* Content box styling */ | /* Content box styling */ | ||
#mw-content { | #mw-content { | ||
| Line 91: | Line 107: | ||
border-radius: 10px; | border-radius: 10px; | ||
} | } | ||
} | } | ||
Revision as of 15:13, 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. */
/* { Disable the entire CSS document - only for the testing phase */
/* All screens */
@media screen {
/* Header wordmark and username centering to be added later */
/* Unsorted styles */
#mw-content-container {
border-bottom: solid 0.35em #bbfe9b; /* Mint footer line */
}
/* Content box styling */
#mw-content {
background-color: #F8FFF5;
}
/* 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;
}
/* Dropdowns */
#personal .dropdown li a {
color: #FFF; /* Dropdown text color */
}
#personal .dropdown li a:hover {
color: #BBFE9B; /* Dropdown text hover color */
}
#personal .dropdown #pt-logout a:hover {
color: #FF9750; /* Logout text hover color */
}
}
/* Mobile */
@media screen and (max-width: 850px) {
}
/* Tablet */
@media screen and (min-width: 851px) and (max-width: 1099px) {
/* Subheader styling */
#mw-header-nav-hack {
background: #C7649ADD;
border-top: none;
margin-top: 2px;
}
#mw-header-hack {
z-index: 200;
box-shadow: none;
}
/* Content box margins */
#mw-content {
margin: 7.5em 1em 1em;
}
#mw-site-navigation, #mw-related-navigation {
margin-top: -2.075em;
}
}
/* Mobile & tablet */
@media screen and (max-width: 1099px) {
}
/* Tablet & all desktops */
@media screen and (min-width: 851px) {
/* 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 */
}
.color-middle, .color-left, .color-right {
background:#252570; /* Header navy line */
}
/* Content box styling */
#mw-content {
border: 3px solid #252570;
border-radius: 10px;
}
}
/* All desktops */
@media screen and (min-width: 1100px) {
/* Content box top margin */
#mw-content {
margin-top: 1em;
}
}
/* Large desktops */
@media screen and (min-width: 1340px) {
}