<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AStatic_row_numbers%2Fstyles.css</id>
	<title>Template:Static row numbers/styles.css - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AStatic_row_numbers%2Fstyles.css"/>
	<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:Static_row_numbers/styles.css&amp;action=history"/>
	<updated>2026-12-01T00:00:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://battleint.net/index.php?title=Template:Static_row_numbers/styles.css&amp;diff=170620&amp;oldid=prev</id>
		<title>imported&gt;Deadfire: creation</title>
		<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:Static_row_numbers/styles.css&amp;diff=170620&amp;oldid=prev"/>
		<updated>2024-11-08T20:26:00Z</updated>

		<summary type="html">&lt;p&gt;creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* {{pp-template}} */&lt;br /&gt;
/**&lt;br /&gt;
 * Add a static (unsortable) column of numbers to the left of a table.&lt;br /&gt;
 * Optionally disable numbers on specific rows for headers (no borders) or data&lt;br /&gt;
 * (borders). Optionally display column header text: &amp;quot;No.&amp;quot; or hash (&amp;quot;#&amp;quot;).&lt;br /&gt;
 *&lt;br /&gt;
 * Classes:&lt;br /&gt;
 * - table.static-row-numbers&lt;br /&gt;
 * - table.static-row-header-text&lt;br /&gt;
 * - table.static-row-header-hash&lt;br /&gt;
 * - tr.static-row-header&lt;br /&gt;
 * - tr.static-row-numbers-norank&lt;br /&gt;
 *&lt;br /&gt;
 * Tested:&lt;br /&gt;
 * - Windows 10: (all skins) Chrome, Firefox, Edge.&lt;br /&gt;
 * - Android Galaxy S21 (MinervaNeue): Chrome, Firefox.&lt;br /&gt;
 * - Wikipedia Android app.&lt;br /&gt;
 * - Print.&lt;br /&gt;
 * - No JavaScript.&lt;br /&gt;
 * - Sticky gadget in Windows browsers (default skin).&lt;br /&gt;
 * - Dark Reader browser extention in Windows browsers (default skin).&lt;br /&gt;
 *&lt;br /&gt;
 * Notes:&lt;br /&gt;
 * - Sortable moves to thead any header rows and (after sort) sorttop rows.&lt;br /&gt;
 * - Sticky gadget (.mw-sticky-header) moves to thead any wikitable header rows.&lt;br /&gt;
 */&lt;br /&gt;
.static-row-numbers {&lt;br /&gt;
  counter-reset: rowNumber;&lt;br /&gt;
}&lt;br /&gt;
.static-row-numbers tr::before {&lt;br /&gt;
  content: &amp;quot;&amp;quot;;&lt;br /&gt;
  display: table-cell;&lt;br /&gt;
  padding-right: 0.5em;&lt;br /&gt;
  padding-left: 0.5em;&lt;br /&gt;
  text-align: right;&lt;br /&gt;
  vertical-align: inherit;&lt;br /&gt;
}&lt;br /&gt;
.static-row-numbers.static-row-numbers-left tr::before {&lt;br /&gt;
	text-align: left;&lt;br /&gt;
}&lt;br /&gt;
.static-row-numbers.static-row-numbers-center tr::before {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
.static-row-numbers.wikitable tr::before {&lt;br /&gt;
  background-color: #eaecf0;&lt;br /&gt;
}&lt;br /&gt;
body.skin-minerva .static-row-numbers.wikitable tr::before {&lt;br /&gt;
  background-color: #eaecf0;&lt;br /&gt;
  color: #202122;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Add count to all tbody rows except for two classes. If no thead, skip the&lt;br /&gt;
 * first tbody row which may not have one of the two classes:&lt;br /&gt;
 */&lt;br /&gt;
.static-row-numbers thead + tbody tr:first-child:not(.static-row-header):not(.static-row-numbers-norank)::before,&lt;br /&gt;
.static-row-numbers tbody tr:not(:first-child):not(.static-row-header):not(.static-row-numbers-norank)::before {&lt;br /&gt;
  counter-increment: rowNumber;&lt;br /&gt;
  content: counter(rowNumber);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Add column label to first row in thead or, if no thead, in tbody:&lt;br /&gt;
 */&lt;br /&gt;
.static-row-header-text.static-row-numbers thead tr:first-child::before,&lt;br /&gt;
.static-row-header-text.static-row-numbers caption + tbody tr:first-child::before,&lt;br /&gt;
.static-row-header-text.static-row-numbers tbody:first-child tr:first-child::before {&lt;br /&gt;
  content: &amp;quot;No.&amp;quot;;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
.static-row-header-hash.static-row-numbers thead tr:first-child::before,&lt;br /&gt;
.static-row-header-hash.static-row-numbers caption + tbody tr:first-child::before,&lt;br /&gt;
.static-row-header-hash.static-row-numbers tbody:first-child tr:first-child::before {&lt;br /&gt;
  content: &amp;quot;#&amp;quot;;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Add borders in numbers column.&lt;br /&gt;
 *&lt;br /&gt;
 * Windows Firefox tr::before doesn&amp;#039;t inherit color, so hard set.&lt;br /&gt;
 * Plain table borders on Timeless {{row hover highlight}} mw-datatable.&lt;br /&gt;
 */&lt;br /&gt;
/* Wikitable. */&lt;br /&gt;
.static-row-numbers.wikitable tr::before {&lt;br /&gt;
  border: 0 solid #a2a9b1;&lt;br /&gt;
}&lt;br /&gt;
.static-row-numbers.wikitable thead + tbody tr:first-child:not(.static-row-header)::before,&lt;br /&gt;
.static-row-numbers.wikitable tbody tr:not(:first-child):not(.static-row-header)::before {&lt;br /&gt;
  border-width: 1px;&lt;br /&gt;
}&lt;br /&gt;
body.skin-monobook .static-row-numbers.wikitable tr::before {&lt;br /&gt;
  border-color: #aaaaaa;&lt;br /&gt;
}&lt;br /&gt;
body.skin-timeless .static-row-numbers.wikitable tr::before {&lt;br /&gt;
  border-color: #c8ccd1;&lt;br /&gt;
}&lt;br /&gt;
body.skin-minerva .static-row-numbers.wikitable tr::before {&lt;br /&gt;
  border-color: rgba(84,89,93,.3);&lt;br /&gt;
}&lt;br /&gt;
/* Plain with border. */&lt;br /&gt;
table[border].static-row-numbers:not(.wikitable) tr::before {&lt;br /&gt;
  border: 0 inset #202122;&lt;br /&gt;
}&lt;br /&gt;
table[border].static-row-numbers:not(.wikitable) thead + tbody tr:first-child:not(.static-row-header)::before,&lt;br /&gt;
table[border].static-row-numbers:not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before {&lt;br /&gt;
  border-width: 1px;&lt;br /&gt;
}&lt;br /&gt;
body.skin-monobook table[border].static-row-numbers:not(.wikitable) tr::before,&lt;br /&gt;
body.skin-timeless table[border].static-row-numbers:not(.wikitable):not(.mw-datatable) tr::before {&lt;br /&gt;
  border-color: #000000;&lt;br /&gt;
}&lt;br /&gt;
/* Plain with optional border + .mw-datatable. */&lt;br /&gt;
body.skin-timeless .static-row-numbers.mw-datatable:not(.wikitable) tr::before {&lt;br /&gt;
  border: 0 solid #c8ccd1;&lt;br /&gt;
}&lt;br /&gt;
body.skin-timeless .static-row-numbers.mw-datatable:not(.wikitable) thead + tbody tr:first-child:not(.static-row-header)::before,&lt;br /&gt;
body.skin-timeless .static-row-numbers.mw-datatable:not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before {&lt;br /&gt;
  border-width: 1px;&lt;br /&gt;
}&lt;br /&gt;
/* Minerva mobile. */&lt;br /&gt;
@media all and (max-width: 720px) {&lt;br /&gt;
  /* Wikitable. */&lt;br /&gt;
  body.skin-minerva .static-row-numbers.wikitable tr::before {&lt;br /&gt;
    border-left-width: 1px;&lt;br /&gt;
  }&lt;br /&gt;
  body.skin-minerva .static-row-numbers.wikitable thead tr:first-child::before,&lt;br /&gt;
  body.skin-minerva .static-row-numbers.wikitable caption + tbody tr:first-child::before,&lt;br /&gt;
  body.skin-minerva .static-row-numbers.wikitable tbody:first-child tr:first-child::before {&lt;br /&gt;
    border-top-width: 1px;&lt;br /&gt;
  }&lt;br /&gt;
  body.skin-minerva .static-row-numbers.wikitable tbody tr:last-child::before,&lt;br /&gt;
  body.skin-minerva .static-row-numbers.wikitable tfoot tr:last-child::before {&lt;br /&gt;
    border-bottom-width: 1px;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>imported&gt;Deadfire</name></author>
	</entry>
</feed>