MediaWiki:Common.css: Difference between revisions

From lurkmore wiki
Jump to navigationJump to search
en>Kyrio
No edit summary
No edit summary
 
(333 intermediate revisions by 2 users not shown)
Line 1: Line 1:
tt {border:1px dotted #000;padding:0px 2px 0px 2px;}
/* CSS placed here will be applied to all skins */
body {background:#fff;}


body.page-Main_Page h1.firstHeading { display:none; }
body.page-Main_Page #firstHeading, #editpage-copywarn {display:none;}


/* Make the list of references smaller */
tt {border:1px dotted #000;padding:0 2px;}
ol.references {
 
     font-size: 100%;
.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;
}
}
.references-small {  
.infobox.bordered .borderless td,
     font-size: 90%;
.infobox.bordered .borderless th {
     border: 0;
}
}
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
.infobox.sisterproject {
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
    width: 20em;
/* Please ignore any validator errors caused by these two lines */
.references-2column {
     font-size: 90%;
     font-size: 90%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}
}
   
   
.same-bg { background: none; }
.infobox.standard-talk {
    border: 1px solid #c0c090;
/* Highlight clicked reference in blue to help navigation */
    background-color: #f8eaba;
ol.references > li:target {
}
     background-color: #DEF;
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
     border: 1px solid #c0c090;
}
}
   
   
sup.reference:target {
/* styles for bordered infobox with merged rows */
     background-color: #DEF;
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    /* @noflip */
     border-right: 1px solid #aaa;
}
}
   
   
/* Styling for citations */
.infobox.bordered .mergedrow td,
cite {
.infobox.bordered .mergedrow th {
     font-style: normal;
     border: 0;
     word-wrap: break-word;
     /* @noflip */
    border-right: 1px solid #aaa;
}
}
   
   
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
/* Styles for geography infoboxes, eg countries,
cite:target {
  country subdivisions, cities, etc.            */
    background-color: #DEF;
.infobox.geography {
}
 
/* replace the book in the background with something else */
body { background: #ffffff; }
/* don't use any logo, move the boxes onto that area instead */
#p-logo { display: none }
#column-one { padding-top: 0px; }
 
/* Transform the user toolbar into a sidebox */
#p-personal {
    position:relative;
    z-index:3;
    width: 11.6em;
}
 
#p-personal .pBody {
    width: 11.6em;
    border: none;
    margin: 0 0 0.1em 0em;
    float: none;
    overflow: hidden;
    font-size: 95%;
    background: White;
     border-collapse: collapse;
     border-collapse: collapse;
     border: 1px solid #aaaaaa;
     line-height: 1.2em;
     padding: 0.3em 0.5em 0.3em 0.3em;
     font-size: 90%;
}
}
 
#p-personal ul {
.infobox.geography  td,
    line-height: 1.5em;
.infobox.geography  th {
    list-style-type: square;
     border-top: 1px solid #aaa;
    list-style-image: url("/w/skins/monobook/bullet.gif");
     padding: 0.4em 0.6em 0.4em 0.6em;
 
     font-size:95%;
     margin: 0 0 0 1.5em;
    padding:0;
    text-align:left;
    text-transform: none;
}
}
 
.infobox.geography .mergedtoprow td,
#p-personal li {
.infobox.geography .mergedtoprow th {
     display: list-item;
     border-top: 1px solid #aaa;
     padding:0;
     padding: 0.4em 0.6em 0.2em 0.6em;
    margin: 0 0 0 0;
    margin-bottom: 0.1em;
}
}
 
/* suppress the person icon by your username and by anon IP */
.infobox.geography .mergedrow td,
/* needed if not already in place */
.infobox.geography .mergedrow th {
li#pt-userpage { background: none }
    border: 0;
li#pt-anonuserpage { background: none }
    padding: 0 0.6em 0.2em 0.6em;
li#pt-login { background: none }
 
/* move the catlinks box */
#catlinks {
  position:absolute;
  z-index:1;
/*  border: 1px solid #aaaaaa;
  background: #fafaff; */
  right:1em;
  top:-0.25em;
  width:30%;
  float:right;
  margin: 0.2em;
  padding:0.2em;
}
}
 
/* format the catlinks itself */
.infobox.geography .mergedbottomrow td,
p.catlinks {
.infobox.geography .mergedbottomrow th {
  color: #aaaaaa;
    border-top: 0;
  font-family: Verdana,sans-serif;
    border-bottom: 1px solid #aaa;
  font-size:67%;
    padding: 0 0.6em 0.4em 0.6em;
  line-height: 1.5em;
  text-align:left;
  text-indent:0;
  text-transform: none;
  white-space:normal;
  margin: 0.2em;
}
}
 
#p-personal h5 {
.infobox.geography .maptable td,
    display: inline;
.infobox.geography .maptable th {
}
     border: 0;
 
     padding: 0;
/* format links in the catlinks (as distinguished from ":" and "|") */
p.catlinks a {
  color:#888888;
}
 
/* don't use a smaller font */
td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 90%; }
 
#f-poweredbyico { display: none; }
 
.collapseButton {        /* 'show'/'hide' buttons created dynamically by the        */
    float: right;        /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
    font-weight: normal;  /* are styled here so they can be customised.             */
     text-align: right;
     width: auto;
}
 
#editpage-copywarn { display:none; }
 
#p-cactions ul li, #p-cactions ul li a { 
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}
#content {
  border-top-left-radius: 1em;
  border-botton-left-radius: 1em;
}
div.pBody {
  border-top-right-radius: 1em;
  border-bottom-right-radius: 1em;
}
}

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;
}