User:Sharparam: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions 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 10: Line 10:
<br>
<br>


<!-- It seems line height has to be overridden otherwise the overlaid quality icon looks weird at smaller sizes -->
64 pixel size test (native size of most icons):
<div style="position: relative; width: 64px; line-height: 1;"><!--
 
--><div style="position: absolute; width: 50%; left: 0; bottom: 0;"><!--
{{User:Sharparam/Template/IconQuality|Signal-A|quality=rare}}
-->[[File:Quality rare.png|class=sharparam-icon-full]]<!--
 
--></div><!--
28 pixels:
-->[[File:Signal-A.png|class=sharparam-icon-full]]<!--
 
--></diV>
{{User:Sharparam/Template/IconQuality|Signal-A|size=28px|quality=rare}}
 
(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.)