Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My personal page has a front end font size range in 30s and 40s.

ive done that because mobile reading the page would see microdots instead of characters at 14 pt font.

i read and access at the ass end, the front is for mobies i havnt wanted to use JS to check and set font as i really dont want to build a JS site.



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">


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: