<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://commons.islamical.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AInformation%2Fstyles2.css</id>
	<title>Module:Information/styles2.css - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://commons.islamical.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AInformation%2Fstyles2.css"/>
	<link rel="alternate" type="text/html" href="https://commons.islamical.org/w/index.php?title=Module:Information/styles2.css&amp;action=history"/>
	<updated>2026-09-26T21:29:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://commons.islamical.org/w/index.php?title=Module:Information/styles2.css&amp;diff=3850&amp;oldid=prev</id>
		<title>Shahroudi: Created page with &quot;/**  * This is a derivative of Module:Information/styles.css  * Its purpose is that the main styles will switch to this as we unify the styles  * We are doing that in two steps to avoid disruption  *  * This EXPECTS the following structure:  * 1. There is one main information template on a page  * 2. This Template is generates a div with class: commons-file-information-table  *    It also carries class hproduct  *    Note: We probably don&#039;t really need this thing, but no...&quot;</title>
		<link rel="alternate" type="text/html" href="https://commons.islamical.org/w/index.php?title=Module:Information/styles2.css&amp;diff=3850&amp;oldid=prev"/>
		<updated>2025-11-05T02:46:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;/**  * This is a derivative of Module:Information/styles.css  * Its purpose is that the main styles will switch to this as we unify the styles  * We are doing that in two steps to avoid disruption  *  * This EXPECTS the following structure:  * 1. There is one main information template on a page  * 2. This Template is generates a div with class: commons-file-information-table  *    It also carries class hproduct  *    Note: We probably don&amp;#039;t really need this thing, but no...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * This is a derivative of Module:Information/styles.css&lt;br /&gt;
 * Its purpose is that the main styles will switch to this as we unify the styles&lt;br /&gt;
 * We are doing that in two steps to avoid disruption&lt;br /&gt;
 *&lt;br /&gt;
 * This EXPECTS the following structure:&lt;br /&gt;
 * 1. There is one main information template on a page&lt;br /&gt;
 * 2. This Template is generates a div with class: commons-file-information-table&lt;br /&gt;
 *    It also carries class hproduct&lt;br /&gt;
 *    Note: We probably don&amp;#039;t really need this thing, but not entirely sure yet.&lt;br /&gt;
 * 3. This contains a table with class fileinfotpl and fileinfotpl-type-subtype&lt;br /&gt;
 *    This object also might have dir attribute&lt;br /&gt;
 *    but it should not have things like: infobox or toccolours&lt;br /&gt;
 * 4. Additional (stacked/adjacent) templates generate ONLY a table, with class fileinfotpl&lt;br /&gt;
 *    and fileinfotpl-appendix.&lt;br /&gt;
 *&lt;br /&gt;
 * This also expects [[:Commons:Machine-readable data]] to be adhered to&lt;br /&gt;
 * 1. Each row in fileinfotpl, where the first cell carries the class fileinfo-paramfield&lt;br /&gt;
 *    denotes a type of meta information tuple.&lt;br /&gt;
 * 2. The header of such a row has an id (or class) with fileinfotpl_metadatatype&lt;br /&gt;
 * 3. This header has a human readable name of that metadata information type&lt;br /&gt;
 * 4. This cell immediately following this header has thel value of this metadata field type&lt;br /&gt;
 * 5. The first row is the header of the template&lt;br /&gt;
 *    TODO: This should probably become a caption for accessibility reasons&lt;br /&gt;
 * 6. Any THIRD cell is decorative.&lt;br /&gt;
 *    It is not important and it is not part of the machine readable data.&lt;br /&gt;
 * &lt;br /&gt;
 * Styling rules defined here should be rather specific and use descendant&lt;br /&gt;
 * class selectors and/or template specific prefixes.&lt;br /&gt;
 * This is because a lot of other templates get nested, but also because&lt;br /&gt;
 * this css is transcluded to many other wikis, with their own CSS that we need&lt;br /&gt;
 * to be compatible with.&lt;br /&gt;
 *&lt;br /&gt;
 * The &lt;br /&gt;
 */&lt;br /&gt;
.fileinfotpl {&lt;br /&gt;
	/* Old toccolours */&lt;br /&gt;
	border: 1px solid #a2a9b1;&lt;br /&gt;
	background-color: #f8f9fa;&lt;br /&gt;
	padding: 5px;&lt;br /&gt;
	font-size: 95%;&lt;br /&gt;
	/* end of toccolours */&lt;br /&gt;
	border-spacing: 2px;&lt;br /&gt;
	box-sizing: border-box;&lt;br /&gt;
	margin: 0;&lt;br /&gt;
	width: 100%;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.fileinfotpl &amp;gt; tbody &amp;gt; tr {&lt;br /&gt;
	vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.fileinfotpl &amp;gt; tbody &amp;gt; tr &amp;gt; td,&lt;br /&gt;
.fileinfotpl &amp;gt; tbody &amp;gt; tr &amp;gt; th {&lt;br /&gt;
	padding: 4px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* This should be removed from MediaWiki:Filepage.css and MediaWiki:Common.css */&lt;br /&gt;
.fileinfo-paramfield {&lt;br /&gt;
	background: #ccf;&lt;br /&gt;
	text-align: right;&lt;br /&gt;
	padding-right: 0.4em;&lt;br /&gt;
	width: 15%;&lt;br /&gt;
	font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.fileinfo-imagefield {&lt;br /&gt;
	width:200px;&lt;br /&gt;
	text-align: right&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* stack with additional adjacent templates */&lt;br /&gt;
.commons-file-information-table + .fileinfotpl,&lt;br /&gt;
.fileinfotpl + .fileinfotpl {&lt;br /&gt;
    border-top: 0;&lt;br /&gt;
    padding-top: 0;&lt;br /&gt;
    margin-top: -8px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Layout on mobile devices */&lt;br /&gt;
@media only screen and (max-width:719px)  {&lt;br /&gt;
	.fileinfotpl {&lt;br /&gt;
		border-spacing: 0;&lt;br /&gt;
		padding: 0;&lt;br /&gt;
		word-break: break-word;&lt;br /&gt;
		width: 100% !important;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	.fileinfotpl &amp;gt; tbody {&lt;br /&gt;
		display: block;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	.fileinfotpl &amp;gt; tbody &amp;gt; tr &amp;gt; td,&lt;br /&gt;
	.fileinfotpl &amp;gt; tbody &amp;gt; tr &amp;gt; th {&lt;br /&gt;
		padding: 0.2em 0.4em;&lt;br /&gt;
		text-align: left;&lt;br /&gt;
		text-align: start;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	.fileinfotpl &amp;gt; tbody &amp;gt; tr {&lt;br /&gt;
		display: flex;&lt;br /&gt;
		flex-direction: column;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	/* stack with additional adjacent templates */&lt;br /&gt;
	.commons-file-information-table + .fileinfotpl,&lt;br /&gt;
	.fileinfotpl + .fileinfotpl {&lt;br /&gt;
	    margin-top: -1px;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	.fileinfo-paramfield {&lt;br /&gt;
		box-sizing: border-box;&lt;br /&gt;
		flex: 1 0 100%;&lt;br /&gt;
		width: 100%;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Shahroudi</name></author>
	</entry>
</feed>