Make font size consistent within .defmodule

Merge to v6.0

original commit: c5f5d0e0ac174475bd3c6c85a776e96fcdc9fb68
This commit is contained in:
Matthew Butterick 2013-11-26 16:53:26 -08:00 committed by Matthew Flatt
parent e51f4827c9
commit da928bc69d

View File

@ -196,7 +196,7 @@ tbody > tr:first-child > td > .together {
.defmodule { .defmodule {
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
padding: 0.25rem 0.75rem 0.5rem 0.5rem; padding: 0.25rem 0.75rem 0.25rem 0.5rem;
margin-bottom: 1rem; margin-bottom: 1rem;
width: 100%; width: 100%;
background-color: hsl(60, 29%, 94%); background-color: hsl(60, 29%, 94%);
@ -206,11 +206,18 @@ tbody > tr:first-child > td > .together {
color: #444; color: #444;
} }
.defmodule td span.hspace:first-child { .defmodule td span.hspace:first-child {
position: absolute; position: absolute;
width: 0; width: 0;
} }
.defmodule .RpackageSpec .Smaller,
.defmodule .RpackageSpec .stt {
font-size: 1rem;
}
.specgrammar { .specgrammar {
float: none; float: none;
padding-left: 1em; padding-left: 1em;