openzim / mindtouch

libretexts.org to ZIM scraper
GNU General Public License v3.0
0 stars 0 forks source link

Apply proper CSS for proper page display #8

Closed benoit74 closed 1 week ago

benoit74 commented 3 weeks ago

Once #7 is implemented, we need to find a solution to apply proper CSS for proper content display.

It looks like there is only two important CSS to retrieve:

<link media="screen" type="text/css" rel="stylesheet" href="https://a.mtstatic.com/@cache/layout/anonymous.css?_=ef44df81294a27ae1883222f0b386038_Z2VvLmxpYnJldGV4dHMub3Jn:site_4038" id="mt-screen-css">

and

<link media="print" type="text/css" rel="stylesheet" href="https://a.mtstatic.com/@cache/layout/print.css?_=7cb5490395b8ed95b0d2f06424a09473:site_4038" id="mt-print-css">
benoit74 commented 2 weeks ago

For the record, we need to: