MediaWiki:Monobook.css: Difference between revisions

From Pikmin Fanon
(Corrected external link icons.)
m (Inset?)
Line 168: Line 168:
     -moz-border-radius: 15px 0;
     -moz-border-radius: 15px 0;
     border-radius: 15px 0;
     border-radius: 15px 0;
     border: 2px inset #CCCCCC;
     border: 2px outset #CCCCCC;
     padding: 0 3px;
     padding: 0 3px;
}
}

Revision as of 14:34, 29 August 2020

/* Don't display some stuff on the main page */
body.page-Main_Page #lastmod, 
body.page-Main_Page #siteSub, 
body.page-Main_Page #contentSub, 
body.page-Main_Page h1.firstHeading {
    display: none !important;
}

.editsimilar {
    background: #d0f0c0;
    border: 2px outset #cbd;
    -webkit-border-radius: 40px 0 / 40px 0;
    -moz-border-radius: 40px 0;
    border-radius: 40px 0;
}

/*Watchlist edit message*/
.usermessage {
    background: #d0f0c0;
    font-weight: bold;
    margin: 20px 0 10px 0;
    padding: 5px 10px;
    vertical-align: middle;
    border: 2px outset #000000;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

/*Content area*/
#footer {
    border: outset #CCCCCC;
    border-width: 2px 0;
    background: url(/w/images/W80.png);
    background: rgba(255, 255, 255, 0.8);
}
html body.skin-monobook ul {list-style-image: url(/w/images/Bullet.png);}
#toc {
    background: #d0f0c0;
    -webkit-border-radius: 60px 0 40px 0 / 60px 0 40px 0;
    -moz-border-radius: 60px 0 40px 0;
    border-radius: 60px 0 40px 0;
    border: 2px outset #cbd;
}
#toc li {list-style: none;}
body {background: url(/w/images/9/97/Green-grass_w.jpg) no-repeat center fixed;}
#content {
    border: 2px outset #CCCCCC !important;
    -webkit-border-radius: 15px;
    -moz-border-radius: 20px;
    border-radius: 15px;
    background: url(/w/images/W80.png);
    background: rgba(255, 255, 255, 0.8);
}
table, td, table.diff, td.diff-otitle, td.diff-ntitle {background: none;}
pre {background: rgba(249, 249, 249, .7);}
div.thumb {border: none;}
div.tright {
   border: none;
   margin: 5px 0 5px 10px;
}
div.tleft {
   border: none;
   margin: 5px 15px 5px 0;
}
.wikia-gallery-item .thumb {border-color: #aca;}
#catlinks {
   border: 2px outset #cbd;
   background: #ccffcc;
    -webkit-border-radius: 30px 0 / 30px 0;
   -moz-border-radius: 30px 0;
    border-radius: 30px 0;
    padding-bottom: 0;
    padding-top: 0;
}

/*Sidebar*/
.portlet {width: 150px;}
.portlet h3 {
    color: black;
    background: #48a627;
    border: 2px outset #000;
    padding: 1px 0 3px 10px;
    font-family:"Helvetica", Helvetica, serif;
    font-weight: bold;
    display: block;
    -webkit-border-radius: 11px 0 / 11px 0;
    -moz-border-radius: 11px 0;
    border-radius: 11px 0;
}
.portlet h3 label {cursor: auto;}
.pBody {
    background: #a3d293;
    border: 2px outset #cbd;
    padding-left: 0;
    margin: 2px 20px 0 5px;
    -webkit-border-radius: 25px 0 / 25px 0;
    -moz-border-radius: 25px 0;
    border-radius: 25px 0;
}
.portlet ul {list-style-type: none;}

/* increase sidebar width */
#column-content { margin-left: -14em }
#column-content #content { margin-left: 14em }
#p-logo a, #p-logo a:hover { width: 14em }
#p-cactions { left: 13.5em }
.portlet { width: 13em }
div#column-content { margin-left: -13em }
div#content { margin-left: 13em }

/*Search*/
input[type="submit"]:hover,
input[type="button"]:hover {
    background: none;
}
#searchInput {width: 100px;}
#p-search .pBody {padding: 4px 6px 5px 6px;}
#searchGoButton, #mw-searchButton {
    padding: 0 2px;
    -moz-border-radius: 11px 0;
    -webkit-border-radius: 11px 0 / 11px 0;
    border-radius: 11px 0;
}

/*Tabs*/
#p-cactions .pBody:hover {opacity: 1;}
#p-cactions li:hover {opacity: 0.8;}
#p-cactions li {
    border: 2px outset #CCCCCC;
    border-bottom: 1px solid #fff;
    -webkit-border-radius: 10px 0 / 10px 0;
    -moz-border-radius: 10px 0;
    border-radius: 10px 0;
}
#p-cactions li a {
    border: none;
    -webkit-border-radius: 10px 0 / 10px 0;
    -moz-border-radius: 10px 0;
    border-radius: 10px 0;
}

/*Hover*/
.usermessage:hover,
#toc:hover,
#catlinks:hover {background: none;}
.portlet .pBody:hover,
.portlet h3:hover {
    background: #fff;
    opacity: 0.85;
}
.portlet h3:hover {color: #050;}

/*Input boxes*/
input[type="submit"],
input[type="button"] {
    color: #000;
    cursor: pointer;
    background: #d0f0c0;
    border: 2px outset #CCCCCC;
}
input[type="submit"],
input[type="button"],
input[type="text"],
input[type="password"],
input[type="search"] {
    -webkit-border-radius: 15px 0 / 15px 0;
    -moz-border-radius: 15px 0;
    border-radius: 15px 0;
    border: 2px outset #CCCCCC;
    padding: 0 3px;
}
textarea {
    border: 2px inset #CCCCCC;
    background: none;
    padding: 0;
    margin-bottom: 3px;
}

/*Links*/
a,
#p-personal li a,
#p-cactions li a,
#bodyContent a.extiw,
#bodyContent a.external {
    color: #084;
}
a:visited,
#bodyContent a.extiw:visited,
#bodyContent a.external:visited {
    color: #084;
}
a:hover,
#p-personal li a:hover,
#bodyContent a.extiw:hover,
#bodyContent a.external:hover {
    color: #cbd;
}
a:visited:hover,
#bodyContent a.extiw:visited:hover,
#bodyContent a.external:visited:hover {
    color: #0b4;
}
a.new:link,
a.new:visited,
#p-personal li a.new,
#p-cactions .new a,
#p-personal li a.new:visited,
#p-cactions .new a:visited {
    color: #bb0;
}
.mw-parser-output a.external {
    background: url(/w/images/External.png) center right no-repeat;
    padding-right: 15px;
}
#p-personal li a:hover {background: none;}

#new_edit_page_preview_notice {display: none;}
#wikiPreview>*:first-child {display: block;}
#editform {margin-top: 15px;}

#p-personal ul {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0 0 0 10px;
    float: right;
    padding: 2px 1em 2px 0;
}
#p-personal li a {color: #efe;}
#p-personal li a:hover {color: #bfb; background: none; text-decoration: underline;}

code {
  border: 1px solid #ddd;
}