improve css, make site good on mobile

This commit is contained in:
opfez 2021-08-06 17:47:40 +02:00
parent f1d4f4033d
commit b00e742357
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../resources/style.css">
<title>Codex</title>
<body>

View File

@ -12,8 +12,9 @@ body {
background: var(--bg);
font-family: serif;
margin: 2em;
max-width: 40%;
max-width: 50em;
margin-left: 4em;
margin-right: 4em;
}
a {
@ -27,7 +28,6 @@ a:hover {
}
pre {
font-size: 14px;
background: var(--pre-bg);
padding: 0.5em;
}