Difference between revisions of "MediaWiki:Vector.css"

From Nookipedia, the Animal Crossing wiki
(Adding topicon class)
(cleaning out outdated vector skin; all customization is now done via Mediawiki:Gadget-vector-themed.css)
Tag: Blanking
Line 1: Line 1:
#content {
 
background: #fafffe;
 
border: 0 solid;
 
margin-bottom: -5em;
 
margin-left: 12em;
 
margin-top: 156px;
 
padding-bottom: 50px;
 
}
 
  
#footer {
 
background-image: url(https://dodo.ac/np/images/a/af/Fence_Backdrop.png);
 
height: 100px;
 
margin-left: 12em;
 
margin-top: 50px;
 
}
 
 
#footer ul {
 
padding-top: .5em;
 
}
 
 
#left-navigation {
 
margin-left: 13em;
 
}
 
 
#left-navigation, #right-navigation {
 
font-family: Coustard, 'Linux Libertine', Georgia, Times, serif;
 
font-weight: 130;
 
margin-top: 196px;
 
}
 
 
#mw-page-base, #right-navigation div.menu ul li {
 
background: none;
 
}
 
 
#mw-panel {
 
margin-left: 10px;
 
top: 15px;
 
}
 
 
#mw-panel .vector-menu-portal .body {
 
background: #fafffe;
 
border-radius: 10px;
 
padding-bottom: .3em;
 
padding-left: 1.5em;
 
}
 
 
#mw-panel .vector-menu-portal .body ul {
 
list-style-image: url(https://dodo.ac/np/images/1/1c/Leaf_Icon_%28Nookipedia_Green%29.png);
 
}
 
 
#mw-panel .vector-menu-portal {
 
background: #67AD42;
 
background-image: none;
 
border-radius: 10px;
 
margin: 0 0 10px;
 
padding: .4em;
 
}
 
 
#mw-panel .vector-menu-portal .body {
 
margin: 0;
 
padding-top: 7px;
 
}
 
 
#mw-panel .vector-menu-portal h3 {
 
background: none;
 
border-radius: 0;
 
color: #fafffe;
 
font-family: Coustard, 'Linux Libertine', Georgia, Times, serif;
 
font-size: 1.2em;
 
margin: 0;
 
text-align: center;
 
}
 
 
#mw-head .vector-menu span, #mw-head .vector-menu-tabs a, #mw-head .vector-menu-tabs a:visited, #mw-head .vector-menu-dropdown a, #mw-head .vector-menu-dropdown a:visited {
 
color: #67AD42;
 
}
 
 
#p-logo a {
 
background-position: left;
 
height: 160px;
 
width: 179px;
 
}
 
 
#p-personal {
 
background-color: rgba(255, 255, 255, 0.5);
 
border-radius: 0 0 0 5px;
 
padding: 5px;
 
right: 0;
 
top: 0;
 
}
 
 
.mw-body h1, .mw-body h2 {
 
color: #67AD42;
 
font-family: Coustard, 'Linux Libertine', Georgia, Times, serif;
 
text-shadow: 0 1px #fafffe;
 
}
 
 
.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);
 
}
 
 
.vectorMenu li {
 
background: #D1E6C6;
 
border-radius: 0;
 
width: 100%;
 
margin: 0 4px 0 0;
 
}
 
 
body {
 
background-color: #84d6fe;
 
background-image: url(https://dodo.ac/np/images/7/7d/Nookipedia_-_Spring_Sky_Background.jpg);
 
background-position: right top;
 
background-repeat: no-repeat;
 
}
 
 
body.page-Main_Page h1.firstHeading, body.page-Main_Page #siteSub {
 
display: none;
 
}
 
 
.vector-menu-tabs .vector-menu-content ul li, #mw-head .vectorMenu h3 {
 
background: #D1E6C6;
 
border-radius: 10px 10px 0 0;
 
margin: 0 4px 0 0;
 
}
 
 
.vector-menu-tabs .vector-menu-content ul li.selected {
 
background: #fafffe;
 
}
 
 
/* Top icons */
 
.topicon {
 
position: absolute;
 
top: -3.8em;
 
margin-right: -10px;
 
display: block !important;
 
}
 
 
/* Hide beta social media icons */
 
#n-Discord, #n-Facebook, #n-Twitter, #n-Instagram {
 
display: none !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 */
 
#p-Community #n-Discord-Server {
 
list-style-image: none;
 
}
 
#p-Community #n-Discord-Server a {
 
background-color: #7289DA;
 
border-radius: 5px;
 
color: #fff !important;
 
display: block;
 
font-size: 12px;
 
font-weight: 700;
 
left: -18px;
 
padding: 6px 0 5px calc(21px + 5.5px * 2);
 
position: relative;
 
transition: .2s ease;
 
width: 103px;
 
}
 
#p-Community #n-Discord-Server a::before {
 
font-weight: 400;
 
}
 
#p-Community #n-Discord-Server a::after {
 
background: url(https://dodo.ac/np/images/2/26/Discord_icon_white.png) no-repeat;
 
background-size: 17px 13px;
 
content: '';
 
height: 13px;
 
left: 7px;
 
position: absolute;
 
top: 5px;
 
width: 25px;
 
}
 
#p-Community #n-Discord-Server a: hover {
 
background-color: #5C6EAB;
 
text-decoration: none;
 
}
 

Revision as of 19:42, March 31, 2022