Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting margins and paddings #34

Closed
fluxxus opened this issue Jul 2, 2015 · 1 comment
Closed

Setting margins and paddings #34

fluxxus opened this issue Jul 2, 2015 · 1 comment

Comments

@fluxxus
Copy link

fluxxus commented Jul 2, 2015

Full disclosure; new to Sass and currently in the process of getting to know typography a lot better.

So, if I want to keep a consistent vertical rhythm, this is how I set my margins/paddings ?

margin-bottom: emRhythm(5)

Just a few quick questions more.

I see a variable called $base-line-multi, what is it its purpose and how can it be used ?

Can I change the modular scale ratio to some other ?

I don't quite get the logic behind the emRhythm function.

.test {
  margin-bottom: emRhythm(4, $ms-down1);
}

Shouldn't increasing the ms-down-1 to ms-up4, for example, be resulting in a bigger margin? Yet, the value decreases.

Also, in the source file you provide to see the styles applied to typesettings website, sometimes you use the emRhythm function with just one parameter, and sometimes with $ms-X.

That produces different results, what is the reasoning behind that usage ?

Sorry for all the simple questions !!

@fluxxus
Copy link
Author

fluxxus commented Jul 25, 2015

Figured it out all by myself, by playing with your source files for the demo page.

@fluxxus fluxxus closed this as completed Jul 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant