Aine Sherlock/Sandbox2: Difference between revisions
No edit summary |
No edit summary |
||
Line 121: | Line 121: | ||
|} | |} | ||
{{EndColumns}} | {{EndColumns}} | ||
Attempt at using individual ribbon templates. | |||
<!--{{StartColumns|50%}}--> | |||
{| style="margin:1em auto; text-align:center;" | |||
|colspan="3"|{{Ribbons|Denali Invitational Ribbon|200|3}} | |||
|- | |||
|{{Ribbons|Neelix Award|200|2}} | |||
|{{Ribbons|Vega Award|200|2}} | |||
|{{Ribbons|Natasha Yar Pin|200|1}} | |||
|- | |||
|{{Ribbons|Sheathed Sword|200|2}} | |||
|{{Ribbons|Okuda Award|200|1}} | |||
|{{Ribbons|1-year Member|200|1}} | |||
|- | |||
|} | |||
<!--{{Column}}--> | |||
<!--{{StartColumns|50%}}--> | |||
{| style="margin:1em auto; text-align:center;" | |||
|colspan="3"|{{Ribbons|UFP Medal of Freedom|200|1}} | |||
|- | |||
|{{Ribbons|Purple Heart|200|1}} | |||
|{{Ribbons|Captain's Commendation|200|2}} | |||
|{{Ribbons|Joint Meritorious Unit Award|200|2}} | |||
|- | |||
|{{Ribbons|Leadership Excellence Ribbon|200|1}} | |||
|{{Ribbons|Good Conduct Ribbon|200|2}} | |||
|{{Ribbons|First Contact Ribbon|200|2}} | |||
|- | |||
|{{Ribbons|Peacekeeper Service Ribbon|200|1}} | |||
|{{Ribbons|Explorer's Ribbon|200|4}} | |||
|{{Ribbons|Innovation Ribbon|200|1}} | |||
|- | |||
|{{Ribbons|Diplomacy Ribbon|200|1}} | |||
|{{Ribbons|Starfleet Investigation Ribbon|200|1}} | |||
|{{Ribbons|Defense of Temporal Flow Ribbon|200|3}} | |||
|- | |||
|{{Ribbons|Department Chief Ribbon|200|1}} | |||
|{{Ribbons|Legacy Ribbon|200|1}} | |||
|{{Ribbons|Starfleet Academy Graduate Ribbon|200|1}} | |||
|- | |||
|} | |||
<!--{{EndColumns}}--> |
Revision as of 21:43, 11 June 2024
My Ribbon Rack Experiments
Current single table.
Partial example to experiment with centering 2 ribbons on line. Got the columns, and now have stars overlaying ribbons with proper links to ribbon pages! Thanks Noa! Lower example shows ribbon removed from top row to show how it properly centers.
For 3 ribbons per row: Center star on ribbon 1 106px, on ribbon 2 306px, and on ribbon 3 506px. Put div style="position: absolute; left: px; top:12.5 etc after div style="position: relative etc. For 3 stars, plus or minus 56px from center star position. For two stars, first star is single star position minus 38, second star is previous formula but plus 38.
For 2 ribbons per row: Center star on ribbon 1 206, on ribbon 2 406 . Other formulas follow suite.
New Experiment Based Off Wikipedia Article
Using coding from wikipedia in order to make the display more friendly for both browser and mobile...still janky as the single top ribbon is huge on mobile turns out mobile just sucks and doesn't do columns and for whatever reason it doesn't size the single top ribbon (and probably won't with two either!) despite having all of the ribbons set to the same px! Able to get two columns, correct centering. Need to figure out if I can align to the bottom (so far no go) probably won't work. Next to find out how to get the stars in correctly. So far...janky.
Orders, decorations and medals
|
|