line-height: 3.692307692; ??? [twentytwelve]
-
I understand the basic concept of how the line-heights are normally assigned. But the explanation in the notes section of style.css does not really do a great job of explaining why this is necessary…
line-height: 3.692307692;
This is, of course, from
article.sticky .featured-post {
border-top: 4px double #ededed;
border-bottom: 4px double #ededed;
color: #757575;
font-size: 13px;
font-size: 0.928571429rem;
line-height: 3.692307692;
margin-bottom: 24px;
margin-bottom: 1.714285714rem;
text-align: center;
}and…
.main-navigation li a {
border-bottom: 0;
color: #6a6a6a;
line-height: 3.692307692;
text-transform: uppercase;
white-space: nowrap;
}—
I am assuming that this has something to do with preserving the vertical rhythm. That’s all fine, but how does one arrive at this number? I understand there is this 12px variable having to do with the font size, and the number 24, which is the base value for $line-height… But what I don’t understand his how the formula works here. I’ve tried it a couple of ways and I can get back to the number, but it still doesn’t make sense totally. If someone could just show me how it’s done, I would really, really appreciate it. I’ve search Google and it’s not turning up anything except one other frustrated seeker of answers from Twitter.
- The topic ‘line-height: 3.692307692; ??? [twentytwelve]’ is closed to new replies.