Hacker News new | ask | show | jobs
by maskros 2547 days ago
You don't need JS to get a website that behaves properly on mobile. Just add one meta tag to set the viewport scaling and text will scale properly:

<meta name="viewport" content="width=device-width, initial-scale=1.0">

1 comments

i did that for a while, ill have to look into finer details, there were issues with screen rotation breaking the formatting, so i might have to redo the CSS; im looking at gridding the pages, as this seems to be the direction to go for the next version of the page. I basically want to make the navigation UX a first person RPG themed frontend. so that the files are accessed by e.g. moving to the library, talking to the librarian for help or searching for a document etc. finding the sword of git! slaying the maldragon [not necessary but if you want to side quest for fun it would be there]

and thanx BTW