Aine Sherlock/Sandbox2: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
Line 83: Line 83:
{{StartColumns|50%}}
{{StartColumns|50%}}
{| style="margin:1em auto; text-align:center;"
{| style="margin:1em auto; text-align:center;"
|colspan="3"|<div style="position: relative; width:200px"></div>[[File:Denali_Invitational_Ribbon.png|200px|link=Denali_Invitational_Ribbon|Denali Invitational Ribbon]]
|colspan="3"|[[File:Denali_Invitational_Ribbon.png|200px|link=Denali_Invitational_Ribbon|Denali Invitational Ribbon]]
|-
|-
|[[File:Awards_General_Neelix_2011.jpg|200px|link=Neelix_Award|Neelix Award]]
|[[File:Awards_General_Neelix_2011.jpg|200px|link=Neelix_Award|Neelix Award]]

Revision as of 20:03, 11 June 2024

My Ribbon Rack Experiments

Current single table.

Awards ServiceRibbons PurpleHeart 2011.jpg
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons Commendation.jpg
Awards ServiceRibbons JointMeritoriousUnit 2011.jpg
Awards General Neelix 2011.jpg
Award-goldstar.png
Vega Award.png
Awards DutyPost NatashaYarPinAward 2011.jpg
Award-goldstar.png
Awards ServiceRibbons FirstContact 2011.jpg
Awards ServiceRibbons Peacekeeper 2011.jpg
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons Explorers 2011.jpg
Awards General SheathedSword 2011.jpg
Okuda Award.png
Awards General 1Year.jpg
Awards ServiceRibbons TemporalFlow 2011.jpg
Legacy Ribbon.png
Awards ServiceRibbons Graduate.jpg

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.

Award-goldstar.png
Neelix AwardVega AwardNatasha Yar Pin
Sheathed SwordOkuda Award1 Year Member
Award-goldstar.png
Award-goldstar.png
Purple HeartCaptain's CommendationJoint Meritorious Unit Award
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
First Contact RibbonPeacekeeper RibbonExplorer's Ribbon
Defense of Temporal Flow RibbonLegacy RibbonStarfleet Academy Graduate Ribbon


Award-goldstar.png
Neelix AwardVega AwardNatasha Yar Pin
Sheathed SwordOkuda Award1 Year Member
Award-goldstar.png
Award-goldstar.png
Captain's CommendationJoint Meritorious Unit Award
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
First Contact RibbonPeacekeeper RibbonExplorer's Ribbon
Defense of Temporal Flow RibbonLegacy RibbonStarfleet Academy Graduate Ribbon


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! Able to get two columns, correct centering. Need to figure out if I can align to the bottom (so far no go). Next to find out how to get the stars in correctly. So far...janky.

Orders, decorations and medals

Denali Invitational Ribbon
Neelix Award Vega Award Natasha Yar Pin
Sheathed Sword Okuda Award 1 Year Member
UFP Medal of Freedom
Purple Heart Captain's Commendation Joint Meritorious Unit Award
Leadership Excellence Ribbon Good Conduct Ribbon First Contact Ribbon
Peacekeeper Ribbon Explorer's Ribbon Innovation Ribbon
Diplomacy Ribbon Starfleet Investigation Ribbon Defense of Temporal Flow Ribbon
Department Chief Ribbon Legacy Ribbon Starfleet Academy Graduate Ribbon