Difference between revisions of "MediaWiki:Monobook.css"

From Animal Crossing Mods Wiki
(adding drop shadow to sidebar)
(making sidebar a bit wider and more ACNH like)
Line 4: Line 4:
.mw-wiki-logo {
.mw-wiki-logo {
     background-image: url(/images/logos/acmods.png?9a2e7);
     background-image: url(/images/logos/acmods.png?9a2e7);
     background-size: 150px;
}
#p-logo a, #p-logo a:hover {
     width: 15.3em;
}
#column-content {
    margin-left: -196px !important;
}
}
body {
body {
Line 20: Line 25:
     border: none;
     border: none;
     margin-top: 3.5em;
     margin-top: 3.5em;
    margin-left: 15em;
}
#column-content {
    margin-left: -196px !important;
}
}


Line 33: Line 42:


/* Sidebar changes */
/* Sidebar changes */
.portlet {
    width: 187px;
}
.pBody {
.pBody {
     border: none !important;
     border: none !important;
     border-radius: 2em;
     border-radius: 2em;
     background-color: #ECE6CC;
     background-color: #ECE6CC;
     margin: 0.5em;
     margin: 0.6em;
}
}
#sidebar > .portlet > .pBody {
#sidebar > .portlet > .pBody {
Line 61: Line 73:
     border-bottom: none;
     border-bottom: none;
     text-transform: unset;
     text-transform: unset;
}
.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 a {
    text-align: center;
    padding: 0.25em 0;
    display: block;
    color: #000;
    cursor: pointer !important;
    font-family: 'Varela Round',sans-serif;
}
#sidebar > .portlet ul {
margin: 0 0 0 0.5em;
}
}


Line 70: Line 101:
     font-family: 'Varela Round',sans-serif;
     font-family: 'Varela Round',sans-serif;
     border: none;
     border: none;
    width: auto;
}
}
#searchButton {
#searchButton {
Line 127: Line 159:
     background: none;
     background: none;
     border-color: transparent;
     border-color: transparent;
}
#p-cactions .pBody {
    margin-left: 3em;
}
}



Revision as of 02:08, 22 September 2021

/* All CSS here will be loaded for users of the MonoBook skin */

/* Main skin adjustments */
.mw-wiki-logo {
    background-image: url(/images/logos/acmods.png?9a2e7);
}
#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;
}

/* 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: #ECE6CC;
    margin: 0.6em;
}
#sidebar > .portlet > .pBody {
    box-shadow: 0 0.22em 0.9em 0.1em #805216;
}
.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;
}
.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 a {
    text-align: center;
    padding: 0.25em 0;
    display: block;
    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;
}
#searchButton:active, input.searchButton:active {
	background-color: #216663;
}

/* 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;
}
#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 1s;
}
#p-personal li a {
    color: #796732;
}