feat: nice css

This commit is contained in:
Ruidy 2021-10-22 13:01:48 +02:00
parent 07a9e021f3
commit e42def4f00

View file

@ -3,15 +3,24 @@
<head>
<style>
body {
max-width: 650px;
margin: 40px auto;
padding: 0 10px;
font: 18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
max-width: 70ch;
margin: auto;
padding: 3em 1em;
line-height: 1.75;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1.25em;
color: #444
}
h1, h2, h3 {
line-height: 1.2
h1, h2, h3, h4, h5, h6 {
line-height: 1.2;
margin: 3em 0 1em;
}
p, ul, ol {
margin-bottom: 2em;
color: #1d1d1d;
font-family: sans-serif;
}
@media (prefers-color-scheme: dark) {
@ -38,7 +47,9 @@
</head>
<body>
<h1>Rust client</h1>
<pre id="result"></pre>
<pre id="result">
hi
</pre>
</body>
<script>
const consoleSignatureStyle = "font-size: 16px;" +