vikramrojo / fortune

🔮Fortune is your friendly CSS properties framework.
MIT License
16 stars 2 forks source link

Mobile dimensions & positionining #43

Closed vikramrojo closed 5 years ago

vikramrojo commented 6 years ago

Since there's only support for mobileish, suggesting adding h-sm-1 across dimensions & maybe positioning?

vikramrojo commented 6 years ago

m-reset is not enough, requires a m-mobile-50 to half or alter the distances

vikramrojo commented 6 years ago

Solved with adding a --media: 1 variable and updating all positionings to calc(var(--space-2)*var(--media)). Then adding a media class that changes --media:0.25 locally.

vikramrojo commented 6 years ago

Calling multiple --media will result in pad-lg overwriting mar-sm & h-sm etc.

vikramrojo commented 5 years ago

Created a --media & --media-hdg to keep spacing & typography separate concerns

vikramrojo commented 5 years ago

Fixed with #51