improve css, make site good on mobile
This commit is contained in:
parent
f1d4f4033d
commit
b00e742357
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue