switch to unitless line-heights

original commit: bfa5e72816e455a976e3d1458dd9abaa50d60a8e
This commit is contained in:
Matthew Butterick 2013-12-21 11:49:00 -08:00 committed by Matthew Flatt
parent 4014cb57b6
commit ee3118c5f1
2 changed files with 10 additions and 10 deletions

View File

@ -43,7 +43,7 @@ span.RktValDef, span.RktStxDef, span.RktSymDef
.inherited td { .inherited td {
font-size: 82%; font-size: 82%;
padding-left: 0.5rem; padding-left: 0.5rem;
line-height: 1.3em; line-height: 1.3;
text-indent: 0; text-indent: 0;
padding-right: 0; padding-right: 0;
} }

View File

@ -85,7 +85,7 @@ h3 .stt, h4 .stt, h5 .stt {
p, .SIntrapara { p, .SIntrapara {
display: block; display: block;
margin: 0 0 1em 0; margin: 0 0 1em 0;
line-height: 140%; line-height: 1.4;
} }
@ -101,7 +101,7 @@ h1, h2, h3, h4, h5, h6, h7, h8 {
color: #333; color: #333;
margin-top: inherit; margin-top: inherit;
margin-bottom: 1rem; margin-bottom: 1rem;
line-height: 125%; line-height: 1.25;
-moz-font-feature-settings: 'tnum=1'; -moz-font-feature-settings: 'tnum=1';
-moz-font-feature-settings: 'tnum' 1; -moz-font-feature-settings: 'tnum' 1;
-webkit-font-feature-settings: 'tnum' 1; -webkit-font-feature-settings: 'tnum' 1;
@ -122,7 +122,7 @@ h2 { /* per-page main title */
font-weight: bold; font-weight: bold;
margin-top: 4rem; margin-top: 4rem;
font-size: 3rem; font-size: 3rem;
line-height: 110%; line-height: 1.1;
width: 90%; width: 90%;
} }
@ -280,7 +280,7 @@ a:hover {
/* ---------------------------------------- */ /* ---------------------------------------- */
/* Margin notes */ /* Margin notes */
/* cancel scribvle.css styles: */ /* cancel scribble.css styles: */
.refpara, .refelem { .refpara, .refelem {
position: static; position: static;
float: none; float: none;
@ -305,7 +305,7 @@ a:hover {
} }
.refcontent p { .refcontent p {
line-height: 1.5rem; line-height: 1.5;
margin: 0; margin: 0;
} }
@ -343,7 +343,7 @@ a:hover {
.refcontent { .refcontent {
font-family: 'Fira'; font-family: 'Fira';
font-size: 1rem; font-size: 1rem;
line-height: 160%; line-height: 1.6;
margin: 0 0 0 0; margin: 0 0 0 0;
} }
@ -387,7 +387,7 @@ a:hover {
vertical-align: text-top; vertical-align: text-top;
padding-bottom: 0.4rem; padding-bottom: 0.4rem;
padding-left: 0.2rem; padding-left: 0.2rem;
line-height: 110%; line-height: 1.1;
font-family: 'Fira'; font-family: 'Fira';
-moz-font-feature-settings: 'tnum=1'; -moz-font-feature-settings: 'tnum=1';
-moz-font-feature-settings: 'tnum' 1; -moz-font-feature-settings: 'tnum' 1;
@ -411,7 +411,7 @@ a:hover {
.tocview td, .tocsub td { .tocview td, .tocsub td {
line-height: 1.3em; line-height: 1.3;
} }
@ -556,7 +556,7 @@ blockquote {
margin-left: 0em; margin-left: 0em;
margin-right: 2em; margin-right: 2em;
white-space: nowrap; white-space: nowrap;
line-height: 1.4em; line-height: 1.4;
} }
.SCodeFlow img { .SCodeFlow img {