Difference between revisions of "MediaWiki:Common.css"

From FloraWiki - das Wiki zur Schweizer Flora
Jump to: navigation, search
m (For template documentation)
m (inline definitions)
Line 25: Line 25:
 
   cursor:pointer;
 
   cursor:pointer;
 
}
 
}
 +
 +
/* inline definitions */
 +
.definition-inline dt { float:left; padding-right:0.5em; margin-bottom: 0px; line-height: 1.5em;}
 +
.definition-inline dd { margin-bottom: 0px;line-height: 1.5em;}

Revision as of 17:44, 19 January 2015

/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}

/* mw collapse: set display for switcher content → e.g. in span.up or span.down */
.mw-collapsible-toggle .up,
.mw-collapsed .mw-collapsible-toggle .down {
    display: none;
}
.mw-collapsible-toggle .down,
.mw-collapsed  .mw-collapsible-toggle .up {
     display: block;
}
/* emulate links, e.g. for span.mw-customtoggle-myTriggerKey1 */
span.pseudolink {
  color:#0645AD;
}
span.pseudolink:hover, span.pseudolink:focus, span.pseudolink:active { 
  text-decoration: underline;
  cursor:pointer;
}

/* inline definitions */
.definition-inline dt { float:left; padding-right:0.5em; margin-bottom: 0px; line-height: 1.5em;}
.definition-inline dd { margin-bottom: 0px;line-height: 1.5em;}