improve css, make site good on mobile
This commit is contained in:
parent
f1d4f4033d
commit
b00e742357
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
<link rel="stylesheet" href="../resources/style.css">
|
<link rel="stylesheet" href="../resources/style.css">
|
||||||
<title>Codex</title>
|
<title>Codex</title>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -12,8 +12,9 @@ body {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
font-family: serif;
|
font-family: serif;
|
||||||
margin: 2em;
|
margin: 2em;
|
||||||
max-width: 40%;
|
max-width: 50em;
|
||||||
margin-left: 4em;
|
margin-left: 4em;
|
||||||
|
margin-right: 4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -27,7 +28,6 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-size: 14px;
|
|
||||||
background: var(--pre-bg);
|
background: var(--pre-bg);
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue