User:Sharparam: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
== Icon testing ==
== Icon testing ==


For some of this to work properly it uses [[User:Sharparam/common.css|custom CSS]].
For some of this to work properly it uses [[User:Sharparam/Template/IconQuality|my test template]] and [[User:Sharparam/common.css|custom CSS]].


[[File:Signal-A.png]]
[[File:Signal-A.png]]
Line 12: Line 12:
64 pixel size test (native size of most icons):
64 pixel size test (native size of most icons):


<!-- It seems line height has to be overridden otherwise the overlaid quality icon looks weird at smaller sizes -->
{{User:Sharparam/Template/IconQuality|Signal-A|quality=rare}}
<div style="position: relative; width: 64px; line-height: 1;"><!--
--><div style="position: absolute; width: 50%; left: 0; bottom: 0;"><!--
-->[[File:Quality rare.png|class=sharparam-icon-full|link=]]<!--
--></div><!--
-->[[File:Signal-A.png|class=sharparam-icon-full|link=]]<!--
--></div>


28 pixels:
28 pixels:


<div style="position: relative; width: 28px; line-height: 1;"><!--
{{User:Sharparam/Template/IconQuality|Signal-A|size=28px|quality=rare}}
--><div style="position: absolute; width: 50%; left: 0; bottom: 0;"><!--
-->[[File:Quality rare.png|class=sharparam-icon-full|link=]]<!--
--></div><!--
-->[[File:Signal-A.png|class=sharparam-icon-full|link=]]<!--
--></div>


(Note that with the custom CSS, overlaid quality icon resizes automatically.)
(Note that with the custom CSS, overlaid quality icon resizes automatically.)

Latest revision as of 18:29, 23 October 2024

Visit my website or GitHub profile to learn more about me!

Icon testing

For some of this to work properly it uses my test template and custom CSS.

Signal-A.png Quality rare.png


64 pixel size test (native size of most icons):

Quality rare.pngSignal-A.png

28 pixels:

Quality rare.pngSignal-A.png

(Note that with the custom CSS, overlaid quality icon resizes automatically.)