MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Medical-Software - WIKI
Wechseln zu: Navigation, Suche
Zeile 48: Zeile 48:
 
vertical-align: top;
 
vertical-align: top;
 
}
 
}
 +
 +
<!-- No [view source] tab for anonymous users -->
 +
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 +
      <style type="text/css">
 +
        #ca-viewsource { display: none !important; }
 +
      </style>
 +
    <?php } ?>

Version vom 11. Juni 2013, 11:09 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
    /* @noflip */
    float: right;
    font-weight: normal;
    /* @noflip */
    margin-left: 0.5em;
    /* @noflip */
    text-align: right;
    width: auto;

/* Zebra-Tabellen */
table.wikitable.zebra > tbody > :nth-child(even):not([class*="hintergrundfarbe"]) {
	background: white;
}
 
.nogrid th,
.nogrid td {
	border: none;
}
/* @noflip */div.float-left,
table.float-left,
ul.float-left,
.float-left {
	clear: left;
	float: left;
	margin: 1em 1em 1em 0;
}
/* @noflip */div.float-right,
table.float-right,
ul.float-right,
.float-right {
	clear: right;
	float: right;
	margin: 1em 0 1em 1em;
}
div.centered,
table.centered,
ul.centered,
.centered {
	margin-left: auto;
	margin-right: auto;
}
.toptextcells td {
	vertical-align: top;
}

<!-- No [view source] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
      <style type="text/css">
        #ca-viewsource { display: none !important; }
      </style> 
    <?php } ?>