Add a "Type" heading on second column of syntax tables.

CSS generated content, using `:before`.
This commit is contained in:
Lou Quillio 2017-08-03 12:37:10 -07:00
parent df02f874ec
commit f0b0d1f6cf

View File

@ -40,6 +40,11 @@ div.draco-syntax pre
line-height: 1.3
margin-left: 1em
width: 740px
// Generate a "Type" heading above 2nd column.
&:before
content: "Type\A"
font-weight: bold
padding-left: 594px
// Specifically override Bootstrap defaults
code, kbd, pre, samp