MediaWiki:Common.css: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
Guillom (talk | contribs)
m + Language navigation links
MZMcBride (talk | contribs)
+code, from http://en.wikipedia.org/w/index.php?oldid=314810801
Line 119: Line 119:
margin-left: 0;
margin-left: 0;
padding-left: 0;
padding-left: 0;
}

/* For the show/hide link; see also [[MediaWiki:Common.js]] and [[w:Wikipedia:NAVFRAME]] */
.collapseButton { /* 'show'/'hide' buttons created dynamically */
float: right; /* by the CollapsibleTables javascript in */
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */
text-align: right; /* so they can be customised. */
width: auto;
}
}

Revision as of 22:58, 20 October 2009

/* CSS placed here will be applied to all skins */
.editsection {display:none;}

/* To facilitate rtl translations */
.table-FA {
font-family: Tahoma;
}
 
#bodyContent .table-FA a{
background:none;
padding-right:0;
}

#bodyContent .table-FA UL{
margin-right:10px;
display:table;
}
 
#bodyContent .table-AR a{
background:none;
padding-right:0;
}

#bodyContent .table-AR UL{
margin-right:10px;
display:table;
}

.persian {
direction: rtl;
font-family: Tahoma;
text-align: right;
}
 
#bodyContent .persian a, #bodyContent .persian a.external {
background:none;
padding-right:0;
}
 
.persian #toctitle {
direction:ltr;
}
 
.persian .toclevel-1, .persian .toclevel-2, .persian .toclevel-3, .persian .toclevel-4 {
text-align:right;
}
 
.persian .toclevel-2 {
margin-right:10px;
}
 
.persian .toclevel-3 {
margin-right:20px;
}
 
.persian .toclevel-4 {
margin-right:30px;
}
 
.persian .editsection {
float:left;
}
 
.persian UL {
margin-right:16px;
display:table;
}
 
.persian OL {
margin-right:16px;
display:table;
}

/* To make redirects show up in italics on [[Special:Allpages]]. */
.allpagesredirect a, .watchlistredir a {
font-style:italic;
}

/* Default style for PrettyTextBox and InformationBox class of templates */
 .InformationBox {
   width: 80%; 
   border: solid #999999 1px; 
   background: #F8F8F8; 
   margin: 0.5em auto; 
   clear: both; 
   color: #000000; 
   padding: 3px;
 }

/* Language navigation links (moved from monobook.css */

.divlang {
    background: #F9F9F9;
    border: 1px solid #E9E9E9;
    font-size: 0.85em;
    margin: 0 0 1em 0;
    padding: 0.5em 1em;
    text-align: left;
}

.divlang ul {
    display: inline;
    margin-left: 0;
    padding-left: 0;
}

.divlang ul li {
    border-left: 1px solid #E4E4E4;
    display: inline;
    list-style: none;
    margin-left: 0;
    padding: 0 0.5em;
}

.divlang ul li.firstlang {
    border-left: none;
    display: inline;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

/* For the show/hide link; see also [[MediaWiki:Common.js]] and [[w:Wikipedia:NAVFRAME]] */
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;
}