Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Commit

Permalink
Fix #195, load external CSS last.
Browse files Browse the repository at this point in the history
  • Loading branch information
evancz committed Jun 26, 2016
1 parent fcab094 commit 54437f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/backend/Generate/Help.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ makeHtml title jsFile initCode =

H.body $ do
H.script $ H.preEscapedToMarkup initCode
H.link
! A.type_ "text/css"
! A.rel "stylesheet"
! A.href "https://fonts.googleapis.com/css?family=Source+Sans+Pro|Source+Code+Pro"


normalStyle :: H.Html
normalStyle =
H.toHtml $ unlines $
[ "@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro|Source+Code+Pro);"
, "html, head, body {"
[ "html, head, body {"
, " margin: 0;"
, " height: 100%;"
, "}"
Expand Down

0 comments on commit 54437f7

Please sign in to comment.