Skip to content

Commit

Permalink
Style main content
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Jun 8, 2024
1 parent ef94c32 commit 73e0fbb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
</style>
</head>
<body>
{{ content | safe }}
<main>
<article>
{{ content | safe }}
</article>
</main>
</body>
</html>
12 changes: 7 additions & 5 deletions layouts/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ body {
justify-content: center;
align-items: center;
flex-direction: column;
height: 98vh;
background-color: white;
background-image: radial-gradient(rgb(189, 189, 189) 1px, white 1px);
background-size: 20px 20px;
font-weight: 100;
background: #fff;
color: #1f1f1f;
}

main {
max-width: 600px;
padding: 2rem;
}

0 comments on commit 73e0fbb

Please sign in to comment.