MediaWiki:Common.css: Difference between revisions
From lurkmore wiki
Jump to navigationJump to search
en>Kyrio No edit summary |
No edit summary |
||
(326 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | |||
body | body {background:#fff;} | ||
# | |||
# | 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;} | ||
#p-personal div {display:inline;position:absolute;top:0;left:0;background:0;} | |||
#p-personal-label {display:inline;} | |||
. | #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 div {background:0;} | |||
#sidebar div.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:#fff2f4;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;} | ||
.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; | |||
} |
Latest revision as of 12:48, 2 April 2022
/* CSS placed here will be applied to all skins */
body {background:#fff;}
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;}
#p-personal div {display:inline;position:absolute;top:0;left:0;background:0;}
#p-personal-label {display:inline;}
#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 div {background:0;}
#sidebar div.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:#fff2f4;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;}
.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;
}