Center content on page; limit image width

This commit is contained in:
Chandler Swift 2021-10-18 18:02:43 -05:00
parent d2fce5a876
commit 64a446d04d
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -91,8 +91,9 @@ func generateHTML(sites []HatsSite, w io.Writer) error {
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{n}hats.com domains</title> <title>{n}hats.com domains</title>
<style> <style>
body { max-width: 800px; font-family: sans-serif; } body { max-width: 800px; font-family: sans-serif; margin: auto; }
dt { font-weight: bold; } dt { font-weight: bold; }
img { max-width: 100%; }
</style> </style>
</head> </head>
<body> <body>