Difference between revisions of "MediaWiki:Gadget-vector-themed.css"

From Nookipedia, the Animal Crossing wiki
(Rm unused selector)
(More specificity to override w/o !important)
Line 171: Line 171:
  
 
#left-navigation div.vectorTabs span, #right-navigation div.vectorTabs span {
 
#left-navigation div.vectorTabs span, #right-navigation div.vectorTabs span {
     background-image: none !important;
+
     background-image: none;
 
}
 
}
  
Line 184: Line 184:
 
}
 
}
  
#footer-info{
+
#footer ul {
    padding-top: .8em !important;
 
}
 
 
 
#footer-places, #footer-icons {
 
 
     padding-top: .5em !important;
 
     padding-top: .5em !important;
 
}
 
}

Revision as of 05:44, March 13, 2021

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

#mw-panel #p-logo + .portal .body {	
    margin-left: 0;	
}

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

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

#p-logo a {
    height: 160px;
    width: 179px;
    background-position: left;
}

#p-namespaces, #p-views, #p-cactions {
    background: none;
    border: 0px solid;
    border-bottom: 0px;
    padding: 0px;
    position: relative;
    margin-top: -1px;
    margin-left: 25px;
}

#p-cactions {
    background: #D1E6C6;
    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;
}

div.vectorTabs ul li, .vectorMenu li, #mw-head .vectorMenu h3 {
    background: #D1E6C6;
    border-radius: 10px 10px 0px 0px;
    margin: 0px 4px 0px 0px;
}

.vectorMenu li a, .vectorMenu li a:visited, .vectorTabs span a, .vectorTabs span a:visited, .vectorTabs li.selected a, .vectorTabs li.selected a:visited {
	color: #67AD42;
}

.body {
   margin-top: 10px;
}

#mw-panel div.portal h3 {
    background: none;
    border-radius: 0px;
    margin: 0;
    font-family: 'Coustard', 'Linux Libertine', Georgia, Times, serif;
    font-size: 1.2em;
    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');
}

.vectorTabs li.selected {
    background: #fafffe;
}

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

#footer {
    margin-top: 50px;
    margin-left: 12em;
}

#footer {
    background-image: url('https://dodo.ac/np/images/a/af/Fence_Backdrop.png');
    height: 100px;
}

#footer ul {
    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;
}