Skip to content
Permalink
Browse files
Add minimal styles
- System font
- Line length
- Constrained images and code blocks
  • Loading branch information
kylegach committed May 6, 2020
1 parent 09999f9 commit cae108d120aa565a465b5348a6d2bbdfb346dbea
Showing 3 changed files with 21 additions and 0 deletions.
@@ -6,6 +6,7 @@ module.exports = function(config) {
});

config.addPassthroughCopy('./src/img');
config.addPassthroughCopy('./src/styles');

return {
dir: {
@@ -8,6 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ pageTitle }}</title>
<link href="/styles/site.css" rel="stylesheet">
</head>
<body>
{{content | safe}}
@@ -0,0 +1,19 @@
html {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
margin: 0 auto;
max-width: 60ch;
padding: 1rem;
}

img {
height: auto;
max-width: 100%;
}

pre {
max-width: 100%;
overflow: auto;
}

0 comments on commit cae108d

Please sign in to comment.