<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.golly.life/w/index.php?action=history&amp;feed=atom&amp;title=User%3ACh4zm%2FInitial_MediaWiki_Setup%2FMake_Common_CSS</id>
	<title>User:Ch4zm/Initial MediaWiki Setup/Make Common CSS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.golly.life/w/index.php?action=history&amp;feed=atom&amp;title=User%3ACh4zm%2FInitial_MediaWiki_Setup%2FMake_Common_CSS"/>
	<link rel="alternate" type="text/html" href="https://wiki.golly.life/w/index.php?title=User:Ch4zm/Initial_MediaWiki_Setup/Make_Common_CSS&amp;action=history"/>
	<updated>2026-06-05T22:41:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.golly.life/w/index.php?title=User:Ch4zm/Initial_MediaWiki_Setup/Make_Common_CSS&amp;diff=41&amp;oldid=prev</id>
		<title>Ch4zm at 03:31, 5 February 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.golly.life/w/index.php?title=User:Ch4zm/Initial_MediaWiki_Setup/Make_Common_CSS&amp;diff=41&amp;oldid=prev"/>
		<updated>2021-02-05T03:31:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:31, 5 February 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     print(css_template)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     print(css_template)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:MediaWiki]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-40:rev-41 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ch4zm</name></author>
	</entry>
	<entry>
		<id>https://wiki.golly.life/w/index.php?title=User:Ch4zm/Initial_MediaWiki_Setup/Make_Common_CSS&amp;diff=40&amp;oldid=prev</id>
		<title>Ch4zm: Created page with &quot;Python script to generate the sections of MediaWiki:Common.css that specify CSS classes for each Golly team:  &lt;pre&gt; import requests import json  teams = requests.get(&#039;http...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.golly.life/w/index.php?title=User:Ch4zm/Initial_MediaWiki_Setup/Make_Common_CSS&amp;diff=40&amp;oldid=prev"/>
		<updated>2021-02-05T03:31:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Python script to generate the sections of &lt;a href=&quot;/wiki/MediaWiki:Common.css&quot; title=&quot;MediaWiki:Common.css&quot;&gt;MediaWiki:Common.css&lt;/a&gt; that specify CSS classes for each Golly team:  &amp;lt;pre&amp;gt; import requests import json  teams = requests.get(&amp;#039;http...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Python script to generate the sections of [[MediaWiki:Common.css]] that specify CSS classes for each Golly team:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import requests&lt;br /&gt;
import json&lt;br /&gt;
&lt;br /&gt;
teams = requests.get(&amp;#039;https://api.golly.life/teams&amp;#039;).json()&lt;br /&gt;
&lt;br /&gt;
for team in teams:&lt;br /&gt;
    abbr = team[&amp;#039;teamAbbr&amp;#039;].lower()&lt;br /&gt;
    color = team[&amp;#039;teamColor&amp;#039;]&lt;br /&gt;
    css_template = f&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
.{abbr}_fg {{&lt;br /&gt;
    color: {color} !important;&lt;br /&gt;
}}&lt;br /&gt;
.{abbr}_border {{&lt;br /&gt;
    border: medium solid {color} !important;&lt;br /&gt;
}}&lt;br /&gt;
.{abbr}_bg {{&lt;br /&gt;
    background-color: {color} !important;&lt;br /&gt;
}}&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    print(css_template)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ch4zm</name></author>
	</entry>
</feed>