Center content on page; limit image width
This commit is contained in:
parent
d2fce5a876
commit
64a446d04d
3
main.go
3
main.go
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue