MediaWiki:Common.css

m
m
 
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
<script type="text/javascript">
+
/** Collapsible tables *********************************************************
 
+
*
  var _gaq = _gaq || [];
+
*  Description: Allows tables to be collapsed, showing only the header. See
  _gaq.push(['_setAccount', 'UA-26266376-1']);
+
*                        http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
  _gaq.push(['_trackPageview']);
+
*  Maintainers: [[en:User:R. Koot]]
 
+
*/
  (function() {
+
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+
table.collapsed tr.collapsible {
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+
        display: none;
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+
}
  })();
+
 
+
.collapseButton {                /* 'show'/'hide' buttons created dynamically by the              */
</script>
+
        float: right;              /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
 +
        font-weight: normal;        /* are styled here so they can be customised.               */
 +
        text-align: right;
 +
        width: auto;
 +
}

Latest revision as of 10:43, 2 December 2011

/* CSS placed here will be applied to all skins */
/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */
 
table.collapsed tr.collapsible {
        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;
}
rss feed for my website