A CSS theme that changes the style of a website to match the look and feel of the text web browser Lynx.
Lynx is the oldest web browser (released in 1992) that is still commonly used and in active development. For more information on what Lynx is and what it looks like, visit its wikipedia article.
Lynx’s behavior added via CSS:
- Monospace font for all elements.
- Matching color scheme.
- Matching text and element alignment.
- Block cursor next to focused link.
- Top bar with back button.
- Top bar with pager showing title, current page and number of pages of the document.
- Bottom bar with help message.
- Bottom bar with URL of focused link.
<img>HTML tags to links pointing to image file.
<video>HTML tags to links pointing to media file.
<iframe>HTML tags to links pointing to IFRAME content.
Lynx’s behavior that was improved:
- Preserve alignment of table cells.
Get the source code: https://gitlab.com/aguslr/lynx.css
To change the style of your website, download both the CSS (
lynx.js) files into your website’s root directory. Then just add the following HTML code between the
</head> tags in each of your web pages:
<link rel="stylesheet" href="lynx.css"> <script src="lynx.js"></script>
It’s also recommended to add a good monospaced CSS font along with the previous code so that everything lines up:
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Fira+Mono:500&display=swap">
You can see a comparison between Lynx running in a terminal (left) and Firefox (right), both displaying the demo page: