File: genhtml/__docs__/genhtml--STYLE.txt

<!--GENHTML INSERT====================================================================-->
<!--this insert serves two purposes: stylesheet and mobile viewport-->

Nov-15: CSS file, code in <HEAD>, for fonts, borders, navbars, code, etc.
This could also use an in-page <STYLE> sheet, as genhtml pastes any text.

<link rel="stylesheet" type="text/css" href="_main.css">

Feb-18: Add a mobile-friendly viewport tag to every page's HEAD.
Fits content to device width, no zoom (user may), impacts MANY formats.
Extend STYLE instead of adding a new insert to avoid all-page updates.
Mobile support required other redesign: toolbar, code blocks, images,... 
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--END INSERT========================================================================-->

[Home page] Books Code Blog Python Author Train Find ©M.Lutz