Open beauvais opened 8 years ago
Where is the code that reproduces this error?
So, I'm setting the variable:
$base-font-size: $ms-base; // using modular-scale to establish ems and ratios.
However, I get the same error if I set it to: $base-font-size: 1em;
It seems to only want pixels?
I still don't see any code here that reproduces any errors. I should be able to copy your code into my editor and get the exact error you're seeing.
So, the problem is in this directory: https://github.com/beauvais/zachbeauvais.com-pelican/tree/master/themes/zb
I'm using the mixin:
@import "compass/typography/vertical_rhythm";
I've got compass watching the sass directory, so when it compiles with that variable set to either an em or a $ms-base (which is set to 1em already), I get that error in the compiled css.
$base-font-size: 1em; //causes the error when compass compiles
Using the typography/vertical rhythm mixin, I get the error: Error: 6.25%*em/px isn't a valid CSS value. on line 107 of /usr/local/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/typography/_vertical_rhythm.scss, in `establish-baseline'
I can't for the life of me figure out why, or where the problem is happening.