MediaWiki:Gadget-vector-themed.css

From Nookipedia, the Animal Crossing wiki
Revision as of 19:28, October 4, 2020 by Jake (talk | contribs) (Remove leaf icon from Discord button in sidebar)

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/4/4e/Nookipedia_-_Autumn_Sky_Background.png");
    background-color: #F7B67C;
    background-position: 112% 0%;
    background-repeat: repeat-x;
}

div.body {	
    margin-left: 0 !important;	
}

.mw-wiki-logo {
    background-image: url("https://dodo.ac/np/images/thumb/9/99/Nookipedia_Leaf_%26_Text_%28Autumn%29.png/179px-Nookipedia_Leaf_%26_Text_%28Autumn%29.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 #E7D5A6;
    color: #8E5710;
}

#content {
    border: 0px solid;
    background: #FEF9E7;
    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: #8E5710;
    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: #E7D5A6 !important;
    border-radius: 10px 10px 0px 0px;
    margin-left: 15px;
}

#p-cactions span {
    color: #6E3F1B;
}

#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: #E7D5A6;
    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: #6e3f1b !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: #E7D5A6;
}

.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: #FEF9E7;
    border-radius: 10px;
    padding-left: 1.5em;
    padding-bottom: .3em;
}

#mw-panel div.portal {
    background: #8E5710;
    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: #FEF9E7;
}

.portal .body ul {
    list-style-image: url('https://dodo.ac/np/images/8/80/Leaf_Icon_%28Brown%29.png') !important;
}

.selected {
    background: #FEF9E7 !important;
}

#right-navigation div.menu ul li {
    background: none;
}

#right-navigation div.menu ul li a:link {
    color: #6e3f1b;
}

#right-navigation div.menu ul li a:visited {
    color: #6e3f1b;
}

div.vectorMenu div.menu {
    background-color: #FEF9E7;	
}

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;
}