MediaWiki:Monobook.css
From Animal Crossing Mods Wiki
Revision as of 01:08, 23 September 2021 by PanchamBro (talk | contribs) (adding transparency in sidebar)
Note: After publishing, 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: Press Ctrl-F5.
/* All CSS here will be loaded for users of the MonoBook skin */
/* Main skin adjustments */
#p-logo a, #p-logo a:hover {
width: 15.3em;
}
#column-content {
margin-left: -196px !important;
}
body {
background: url(https://acmods.org/images/7/7e/ACMods_Background.png);
background-size: auto;
font-family: 'Open Sans',sans-serif !important;
background-size: 350px;
}
.mw-body {
background-color: #ECE6CC;
border: none;
border-right-width: 0;
box-shadow: 0 0.22em 0.9em 0.1em #805216;
border-radius: 2em;
border: none;
margin-top: 3.5em;
margin-left: 15em;
}
#column-content {
margin-left: -196px !important;
}
p img {
width: -moz-available;
height: -moz-available;
width: available;
height: available;
}
/* Header changes */
.firstHeading {
font-family: 'Varela Round',sans-serif;
color: #805216;
}
h1, h2 {
border-bottom: 2px dashed #805216;
}
/* Sidebar changes */
.portlet {
width: 187px;
}
.pBody {
border: none !important;
border-radius: 2em;
background-color: transparent;
margin: 0.6em;
}
.portlet h3 {
font-weight: normal;
font-size: 1em;
background-color: #805216;
justify-content: center;
display: flex;
padding: 0.5em 0;
text-align: center;
transition: color 0.3s,background-color 0.3s;
box-sizing: inherit;
color: #fff !important;
margin: 0;
margin-bottom: 0px;
border-radius: 10em;
font-family: 'Varela Round',sans-serif;
box-shadow: rgb(89,75,62) 0px 3px 0px 0px;
margin-bottom: 5px;
border-bottom: none;
text-transform: unset;
}
#sidebar > .portlet li {
list-style: none;
padding: 0.25em 0;
background-color: #DAC783;
border-radius: 10em;
margin-bottom: 5px;
box-shadow: rgb(162,144,115) 0px 3px 0px 0px;
}
#sidebar > .portlet li:hover {
background: #FFF1C3;
transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
#sidebar > .portlet li:active {
background: #B3A163;
transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
#sidebar > .portlet li a {
text-align: center;
padding: 0.25em 0;
display: grid;
color: #000;
cursor: pointer !important;
font-family: 'Varela Round',sans-serif;
}
#sidebar > .portlet ul {
margin: 0 0 0 0.5em;
}
/* Search input */
#searchInput {
background-color: #fdfbe6;
color: #7c7056;
border-radius: 2em;
font-family: 'Varela Round',sans-serif;
border: none;
width: auto;
}
#searchButton {
font-weight: bold;
border-radius: 5em;
font-family: 'Varela Round',sans-serif !important;
background-color: #03B2AB;
border: none;
padding: 0.25em 0.5em;
color: #fff;
}
input.searchButton {
border-radius: 5em;
font-family: 'Varela Round',sans-serif !important;
background-color: #03B2AB;
border: none;
padding: 0.25em 0.5em;
color: #fff;
}
#searchButton:hover, input.searchButton:hover {
background-color: #0D9B95;
transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
#searchButton:active, input.searchButton:active {
background-color: #216663;
transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
/* Monobook tabs */
#p-cactions li.selected {
border-color: transparent;
}
#p-cactions li.selected a {
z-index: 3;
background: #F6F6DF;
background-image: none;
border-radius: 5em;
color: #F39802;
}
#p-cactions li a {
z-index: 3;
background: #F6F6DF;
background-image: none;
border-radius: 5em;
color: #53524D;
text-transform: unset;
}
#p-cactions li a:hover {
z-index: 3;
background: #FFF;
background-image: none;
border-radius: 5em;
transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
#p-cactions li {
border: none;
margin: 0 0.5em 0 0;
padding: 0 0 1em 0;
overflow: visible;
background: none;
border-color: transparent;
}
#p-cactions .pBody {
margin-left: 3em;
}
/* Footer & category */
.mw-footer {
background-color: #ECE6CC;
border-top: none;
border-bottom: none;
box-shadow: 0 0.22em 0.9em 0.1em #805216;
}
.catlinks {
background-color: #E7E0C3;
border-radius: 5em;
}
/* Personal bar changes */
#p-personal li a:hover {
background-color: transparent;
text-decoration: underline;
color: #b99b43;
transition: color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
#p-personal li a {
color: #796732;
}