MediaWiki:Monobook.css: Difference between revisions

From Protochroma Wiki
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* -- Wiki fundamentals -- */
body
{
    background-image: url(https://protochroma.wiki/w/images/2/26/Background.png);
    background-repeat: repeat;
    font-family: 'Open Sans', sans-serif;
}
.mw-body
{
    background-color: #D0D0D0;
}
.mw-body:not(.toc) a:not(.new):not(.mw-collapsible-text) {
    color: #042229;
    text-decoration: underline;
    font-weight: bold;
}
.mw-body a.new {
    text-decoration: underline;
    font-weight: bold;
}
h1, h2 {
    border-bottom: 1px solid #000000;
}
#footer, .mw-footer {
    border-top: 1px dotted white;
    border-bottom: 1px dotted white;
    background-color: #a9a9a9;
    font-size: 13px;
}
a, a:visited {
    color: #000080;
}
a:hover:not(.new) {
    color: #0000CD;
}
hr {
    color: #99815f;
    background-color: #99815f;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #042229;
}
a.mw-collapsible-text {
    color: #46eded;
}
.mbmainpagecpadding {
    padding-top: 22px;
}
/* removes Monobook white banner at the top. Not sure if still needed. */
div#globalWrapper
{
    font-size: 130%;
    width: 100%;
    margin: 0; padding: 0;
    background-image: none;
}
/* -- PC-style wiki sidebar -- */
#sidebar div.pBody {
    background-image: linear-gradient(to right, #181a1b, #42484b);
    border-left: 5px solid #1e90ff;
    border-right: transparent;
    border-top: transparent;
    border-bottom: transparent;
}
#sidebar h3 {
    color: #ffffff;
}
#sidebar a {
    color: #1affff;
    font-size: 13px;
}
#sidebar a:hover {
    color: white;
}
/* -- Mobile -- */
@media screen and (max-width: 550px){
@media screen and (max-width: 550px){


Line 8: Line 104:
}
}


body.skin--responsive .monobook-body table.border {
body.skin--responsive .monobook-body table.border img {


     height: unset !important;
     height: unset !important;

Latest revision as of 06:59, 30 January 2023

/* -- Wiki fundamentals -- */
body 
{
    background-image: url(https://protochroma.wiki/w/images/2/26/Background.png);
    background-repeat: repeat;
    font-family: 'Open Sans', sans-serif;
}

.mw-body
{
    background-color: #D0D0D0;
}

.mw-body:not(.toc) a:not(.new):not(.mw-collapsible-text) {
    color: #042229;
    text-decoration: underline;
    font-weight: bold;
}

.mw-body a.new {
    text-decoration: underline;
    font-weight: bold;
}

h1, h2 {
    border-bottom: 1px solid #000000;
}

#footer, .mw-footer {
    border-top: 1px dotted white;
    border-bottom: 1px dotted white;
    background-color: #a9a9a9;
    font-size: 13px;
}

a, a:visited {
    color: #000080;
}

a:hover:not(.new) {
    color: #0000CD;
}

hr {
    color: #99815f;
    background-color: #99815f;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #042229;
}

a.mw-collapsible-text {
    color: #46eded;
}

.mbmainpagecpadding {
    padding-top: 22px;
}


/* removes Monobook white banner at the top. Not sure if still needed. */
div#globalWrapper
{
    font-size: 130%;
    width: 100%;
    margin: 0; padding: 0;
    background-image: none;
}

/* -- PC-style wiki sidebar -- */

#sidebar div.pBody {
    background-image: linear-gradient(to right, #181a1b, #42484b);
    border-left: 5px solid #1e90ff;
    border-right: transparent;
    border-top: transparent;
    border-bottom: transparent;
}

#sidebar h3 {
    color: #ffffff;
}

#sidebar a {
    color: #1affff;
    font-size: 13px;
}

#sidebar a:hover {
    color: white;
}

/* -- Mobile -- */

@media screen and (max-width: 550px){

body.skin--responsive .monobook-body .scrollbox img {

    height: unset !important;
    max-width: unset !important;

}

body.skin--responsive .monobook-body table.border img {

    height: unset !important;
    max-width: unset !important;

}
}