Closed winstonyin closed 8 months ago
- The biggest text on the top left should be
Mathlib4
rather than the non-descriptiveDocumentation
. Size adjusted toh2
.- The file name shown at the top is now grey to reduce visual fatigue. Size adjusted to
h4
h1
-h6
shouldn't be chosen based on size, but on hierarchy. Size is a style consideration best left of CSS
Apart from the mathlib specific changes this looks fine to me (but feel free to bikeshed on frontend as much as you like, I have no idea what's correct here). As for my opinion on the mathlib specific changes, I already explained that over here yesterday: https://github.com/leanprover/doc-gen4/pull/172#issuecomment-1879116753
h1, h2
, etc. elements is important. I remove the17px
fixedfont-size
for section title elements and adjust codefont-size
to a relative92%
. I also adjust the spacing a little.Mentionmathlib4
on the home page. Add link to point to community page andmathlib3
docs.The biggest text on the top left should beMathlib4
rather than the non-descriptiveDocumentation
. Size adjusted toh2
.h2
, centre aligned. Line height changed to 95% to fit better when wrapped..header
is used in the CSS selector instead ofheader
.