MediaWiki:Common.css: Difference between revisions

From FamilySearch Wiki
mNo edit summary
(Add style used by other languages)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */  
 
.collapseButton {         /* 'show'/'hide' buttons created dynamically */
.collapseButton { /* 'show'/'hide' buttons created dynamically */  
 
     float: right;          /* by the CollapsibleTables javascript in    */
     float: right;          /* by the CollapsibleTables javascript in    */
     font-weight: normal;  /* [[MediaWiki:Common.js]]are styled here    */
     font-weight: normal;  /* [[MediaWiki:Common.js]] styled here    */
     text-align: right;    /* so they can be customised.                */
     text-align: right;    /* so they can be customised.                */
     width: auto;
     width: auto;
}
/* [[template:other languages]] */
#otherlangs {
    margin:0.5em;
    padding:2px;
    border:1px solid #CCC;
    background:#FAFAFA;
    font-size:0.9em;
}
#otherlangs span {
    margin:0 2px;
    padding-left:2px;
    border-left:1px solid gray;
}
#otherlangs span.firstlang {
    border:none;
}
}

Revision as of 22:03, 5 May 2010

/* CSS placed here will be applied to all skins */ 

.collapseButton { /* 'show'/'hide' buttons created dynamically */ 

    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]] styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;

}

/* [[template:other languages]] */
#otherlangs {
    margin:0.5em;
    padding:2px;
    border:1px solid #CCC;
    background:#FAFAFA;
    font-size:0.9em;
}
#otherlangs span {
    margin:0 2px;
    padding-left:2px;
    border-left:1px solid gray;
}
#otherlangs span.firstlang {
    border:none;
}