MediaWiki:Gadget-vector-themed.css
From Nookipedia, the Animal Crossing wiki
Revision as of 03:41, March 13, 2021 by SuperHamster (talk | contribs) (Mores specificity to override w/o !important)
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Hide Main Page Title */
body.page-Main_Page h1.firstHeading { display:none; }
body.page-Main_Page #siteSub { display:none; }
body {
background-image: url("https://dodo.ac/np/images/7/7d/Nookipedia_-_Spring_Sky_Background.jpg");
background-color: #84d6fe;
background-position: right top;
background-repeat: no-repeat;
}
div.body {
margin-left: 0 !important;
}
.mw-wiki-logo {
background-image: url("https://dodo.ac/np/images/thumb/6/68/Nookipedia_Leaf_%26_Text.png/179px-Nookipedia_Leaf_%26_Text.png");
}
#mw-panel {
margin-left: 10px;
}
#mw-panel {
top: 15px !important;
}
#mw-page-base {
background: none;
}
.mw-body h1, .mw-body h2 {
font-family: 'Coustard', 'Linux Libertine', Georgia, Times, serif;
text-shadow: 0px 1px #fafffe;
color: #67AD42;
}
#content {
border: 0px solid;
background: #fafffe;
margin-top: 156px;
margin-left: 12em;
margin-bottom: -5em;
padding-bottom: 50px;
}
#left-navigation, #right-navigation {
font-family: 'Coustard', 'Linux Libertine', Georgia, Times, serif;
font-weight: 130;
color: #67AD42;
margin-top: 197px !important;
}
#p-logo a {
height: 160px;
width: 179px;
background-position: left;
}
#p-namespaces, #p-views, #p-cactions {
background: none !important;
border: 0px solid;
border-bottom: 0px;
padding: 0px !important;
position: relative;
margin-top: -1px;
margin-left: 25px;
}
#p-cactions {
background: #D1E6C6 !important;
border-radius: 10px 10px 0px 0px;
margin-left: 15px;
}
#p-cactions span {
color: #67AD42;
}
#p-personal {
background-color: #fff;
background-color: rgba(255,255,255,0.5);
border-radius: 0px 0px 0px 5px;
top: 0em;
right: 0em;
padding: 5px;
}
#p-logo {
background: none !important;
}
#p- {
display: none;
}
[id^="ca-"], #p-cactions-label {
background: #D1E6C6;
background-image: none !important;
border-bottom: 0px !important;
border-radius: 10px 10px 0px 0px;
display: block;
margin: 0px 4px 0px 0px !important;
}
[id^="ca-delete"], [id^="ca-move"], [id^="ca-protect"], [id^="ca-unprotect"] {
border-radius: 0px;
display: block;
margin: 0px 0px 0px 0px !important;
}
[id^="ca-"] a:link, #p-cactions-label a:link, [id^="ca-"] a:visited, #p-cactions-label a:visited {
color: #67AD42 !important;
}
[id^="ca-"].new span a:link, [id^="ca-"].new span a:visited {
color: #ba0000 !important;
}
.selected, div.vectorTabs ul li {
background-image: none !important;
background-color: #D1E6C6;
}
.body {
margin-top: 10px;
}
.portal h3 {
background: none;
border-radius: 0px;
margin: 0 !important;
font-family: 'Coustard', 'Linux Libertine', Georgia, Times, serif;
font-size: 1.2em !important;
text-align: center;
}
#p-socialsidebar .body {
padding-left: .4em;
}
.portal .body {
background: #fafffe;
border-radius: 10px;
padding-left: 1.5em;
padding-bottom: .3em;
}
#mw-panel div.portal {
background: #67AD42;
background-image: none;
border-radius: 10px;
margin: 0px 0px 10px 0px;
padding: .4em;
}
#mw-panel div.portal div.body {
margin: 0em;
padding-top: 7px;
}
#mw-panel div.portal h3 {
color: #fafffe;
}
#mw-panel .portal .body ul {
list-style-image: url('https://dodo.ac/np/images/1/1c/Leaf_Icon_%28Nookipedia_Green%29.png');
}
.selected {
background: #fafffe !important;
}
#right-navigation div.menu ul li {
background: none;
}
#right-navigation div.menu ul li a:link {
color: #67AD42;
}
#right-navigation div.menu ul li a:visited {
color: #67AD42;
}
div.vectorMenu div.menu {
background-color: #fafffe;
}
div.vectorTabs ul {
background-image: none;
}
div.vectorMenu h3 span {
margin-right: 15px;
}
#left-navigation div.vectorTabs span, #right-navigation div.vectorTabs span {
background-image: none !important;
}
#footer {
margin-top: 50px;
margin-left: 12em;
}
#footer {
background-image: url('https://dodo.ac/np/images/a/af/Fence_Backdrop.png');
height: 100px;
}
#footer-info{
padding-top: .8em !important;
}
#footer-places, #footer-icons {
padding-top: .5em !important;
}
/* Style Discord link in sidebar
Adapted with permission from Runescape Wiki implementation by User:JaydenKieran
https://runescape.wiki/w/MediaWiki:Vector.css
https://runescape.wiki/w/User:JaydenKieran */
#n-Discord a {
display: block;
position: relative;
left: -18px;
color: white !important;
font-size: 12px;
font-weight: bold;
border-radius: 5px;
background-color: #7289DA;
padding: 6px 0 5px calc(21px + 5.5px * 2);
width: 103px;
transition: 0.2s ease;
}
#n-Discord a::before {
content: 'Chat on ';
font-weight: normal;
}
#n-Discord a::after {
position: absolute;
top: 5px;
left: 7px;
width: 25px;
height: 13px;
content: '';
background: url('https://dodo.ac/np/images/2/26/Discord_icon_white.png') no-repeat;
background-size: 17px 13px;
}
#n-Discord a:hover {
background-color: #5C6EAB;
text-decoration: none;
}
/* Remove round borders from Purge cache button in overflow menu */
.vectorMenu li {
border-radius: 0;
width: 100%;
}
/* Remove leaf icon from Discord button in sidebar */
#n-Discord {
list-style-image: none;
}