ref: 6691d2889f548ec49931a0429543dce30ce752e0
parent: 70d490e974b04afce8b5b8ab1330754333e26b24
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Jan 14 17:40:26 EST 2021
css: improve styles (thanks james@biobuf.link) reportedly makes the site better on small screens and mobile devices.
--- a/index.html
+++ b/index.html
@@ -4,6 +4,7 @@
<head>
<style type="text/css">
body{
+ padding: 2em;
margin: 3em auto;
max-width: 50em;
font-family: sans-serif;
@@ -27,6 +28,7 @@
</style>
<link rel="alternate" type="application/rss+xml" href="feed.rss" title="rss">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width=device-width,initial-scale=1">
<title>Shithub</title>
</head>
<body>
--- a/shithub
+++ b/shithub
@@ -50,7 +50,8 @@
<head>
<style type="text/css">
body{
- margin: 3em auto;
+ padding: 3em;
+ margin: auto;
max-width: 50em;
font-family: sans-serif;
}
@@ -74,6 +75,7 @@
</style>
<link rel="alternate" type="application/rss+xml" href="feed.rss" title="rss">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width=device-width,initial-scale=1">
<title>Shithub: '$*'</title>
</head>
<body>