Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ind.ie Projects
Responsive Pixels
Commits
f2331af9
Commit
f2331af9
authored
Oct 16, 2015
by
Aral Balkan
Browse files
Reverted the HalfLineHeight value.
parent
09685f7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
index.styl
View file @
f2331af9
...
...
@@ -244,15 +244,11 @@ hyphens(value)
// Helpers (using line height as your unit of scale for vertical/horizontal rhythm.)
//
dividePixels(a,b)
r = (a / b)
return unit(r, 'px')
// This is the default root line height
baseLineHeight = 24
QuarterLineHeight = baseLineHeight/4 px
HalfLineHeight =
dividePixels(
baseLineHeight
, 2)
HalfLineHeight = baseLineHeight
/2 px
ThreeQuartersLineHeight = baseLineHeight*3/4 px
OneLineHeight = baseLineHeight px
OneAndAHalfLineHeights = baseLineHeight*1.5 px
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment