MediaWiki:Common.css: Difference between revisions

From lurkmore wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
#sidebar div, li#pt-userpage, li#pt-anonuserpage, li#pt-login {background:0;}
#sidebar div, li#pt-userpage, li#pt-anonuserpage, li#pt-login {background:0;}


#p-personal div {position:relative;width:12em;z-index:1;}
#p-personal div {width:12em;z-index:1;}
#p-personal-label {display:inline;height:1em;width:1em;}
#p-personal-label {display:inline;height:1em;width:12em;}
#p-personal ul {list-style-type:square;margin:0 0 0 2em;padding:0;text-align:left;text-transform:none;}
#p-personal ul {list-style-type:square;margin:0 0 0 2em;padding:0;text-align:left;text-transform:none;}
#p-personal li {display:list-item;margin:0;margin-bottom:0.1em;padding:0;}
#p-personal li {display:list-item;margin:0;margin-bottom:0.1em;padding:0;}

Revision as of 12:22, 2 April 2022

/* CSS placed here will be applied to all skins */
body {background:#ededed;}
body.page-Main_Page #firstHeading, #editpage-copywarn {display:none;}
tt {border:1px dotted #000;padding:0 2px;}

.asciiart {background:none;border:none;font-family:serif;}

#p-cactions ul li, #p-cactions ul li a {border-top-left-radius:0.5em;border-top-right-radius:0.5em;padding-top:3px;}

#sidebar div, li#pt-userpage, li#pt-anonuserpage, li#pt-login {background:0;}

#p-personal div {width:12em;z-index:1;}
#p-personal-label {display:inline;height:1em;width:12em;}
#p-personal ul {list-style-type:square;margin:0 0 0 2em;padding:0;text-align:left;text-transform:none;}
#p-personal li {display:list-item;margin:0;margin-bottom:0.1em;padding:0;}
#p-personal div.pBody {background:#fff2f4;}
#sidebar .pBody {background:#fff2f4;border:1px solid #aaa;border-left:0;border-bottom-right-radius:0.5em;border-top-right-radius:0.5em;line-height:1em;margin:0 0 0.1em 0;overflow:hidden;padding:0.3em 0.5em 0.3em 0.3em;}

#catlinks {background:#fafaff;border:1px solid #aaa;border-bottom-left-radius:0.5em;border-bottom-right-radius:0.5em;float:right;max-width:50em;margin:0.2em;padding:3px;position:absolute;right:1em;top:-0.25em;z-index:1;}
p.catlinks {margin:0.2em;text-align:left;text-indent:0;text-transform:none;white-space:normal;}

ol.references {font-size:1em;}
.references-small {font-size:0.9em;}
.references-2column {font-size:0.9em;-moz-column-count:2;-webkit-column-count:2;column-count:2;}
cite:target, ol.references > li:target, sup.reference:target {background:#def;}
cite {font-style:normal;word-wrap:break-word;}

input.searchButton {background:#efefef !important;border:1px outset !important;}
#searchInput {border:1px inset !important;}

.mainpagetblg {background:#f5fffa;border:1px solid #cef2e0;border-radius:0.5em;color:#000;}
.mainpagetblr {background:#fff5fa;border:1px solid #f2ced9;border-radius:0.5em;color:#000;}
.mainpagetblb {background:#f5faff;border:1px solid #cedff2;border-radius:0.5em;color:#000;}
.mainpageH2g {background:#cef2e0;border:1px solid #a3bfb1;font:bold 1.2em;margin:0;padding:0.2em 0.4em;text-align:left;}
.mainpageH2r {background:#f2ced9;border:1px solid #bfa3b1;font-weight:bold;margin:0;padding:0.2em 0.4em;text-align:left;}
.mainpageH2b {background:#cedff2;border:1px solid #a3b0bf;font:bold 1.2em;margin:0;padding:0.2em 0.4em;text-align:left;}

#cryptoinfo td, #cryptoinfo th {padding-left:8px;padding-right:8px;}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    /* @noflip */
    text-align: left;
    font-size: 88%;
    line-height: 1.5em;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    /* @noflip */
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    /* @noflip */
    border-right: 1px solid #aaa;
}
 
/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
    border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}
 
.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #aaa;
    padding: 0 0.6em 0.4em 0.6em;
}
 
.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
    padding: 0;
}