On Friday, September 30, 2016 at 2:18:55 PM UTC-5, Edward K. Ream wrote: On Fri, Sep 30, 2016 at 2:01 PM, Chris George <[email protected]> wrote: >
> I would like to know how to style the http://localhost:8130/ page. Is >> there a .css file or such that could pretty it up? >> > > The format_leo_node > > method creates the html. The <head> element should contain something > like: [snip] > Actually, a <link> element would be clumsy. Instead, rev 849c8e3 adds support for inline <style> elements using @data http_stylesheet. >From the checkin log: QQQ - The body should contain the verbatim desired contents of an inline <style> element. Don't add the <style> and </style> tags themselves: that's done automatically. - Like all other mod_http settings, you *must *define it in myLeoSettings.leo. - See mod_http.py itself (or Firebug) for the elements that mod_http.py generates. QQQ Here is an example of the body of the @data node: h1, h2 { color: blue; } Don't put # comments or Leo directives in the body text: they won't be deleted. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
