Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hightemp committed Jan 13, 2023
1 parent 11af72a commit fadf8f4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
9 changes: 9 additions & 0 deletions static/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
body, html {
height: 100%;
display: flex;
justify-content: center;
}

.markdown-body {
width: 960px;
}
11 changes: 2 additions & 9 deletions templates/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<link rel="stylesheet" href="{{STATIC_PATH}}/github-markdown-css/github-markdown.css">
<link rel="stylesheet" href="{{STATIC_PATH}}/styles.css">
</head>
<body>
<div class="markdown-body">
{{ mdhtml|safe }}
</div>
</body>
</html>

<style>
.markdown-body {
margin-left: auto;
margin-right: auto;
width: 960px;
}
</style>
</html>

0 comments on commit fadf8f4

Please sign in to comment.