add prose.css for manual prose styles

This commit is contained in:
Nate
2021-09-17 12:33:10 -04:00
parent f4d0225b75
commit cb34321d69
8 changed files with 197 additions and 28 deletions
+2
View File
@@ -3,6 +3,8 @@
<head>
<link rel="icon" href="/static/images/favicon.png">
<link rel="stylesheet" href="/static/styles.css">
<link rel="stylesheet" href="/static/prose.css">
<title>Zed – a lightning fast, collaborative code editor written natively in Rust</title>
<script>
+1 -1
View File
@@ -1,7 +1,7 @@
{{#> layout }}
<div class="container mx-auto max-w-screen-md p-10 pt-20">
<h1 class="text-white text-4xl font-display font-extralight mb-10">The Tech</h1>
<h1 class="text-white text-4xl font-display font-extralight mb-10">The Tech ~remove me~</h1>
<h2 class="font-display mt-10">Rust – wip</h2>
<p>wip</p>
+3 -4
View File
@@ -3,11 +3,10 @@
<div class="max-w-screen-lg mx-auto text-main font-extralight p-20">
{{#if releases}}
<h1 class="text-white text-4xl font-display font-extralight mb-10">Updates</h1>
<h1 class="font-display font-extralight mb-10">Updates</h1>
{{#each releases}}
<article id="{{name}}" class="mb-20">
<h2 class="text-white font-display font-extralight">Zed {{name}}</h2>
<a class="underline mt-5 leading-7" href="/releases/{{tag_name}}/{{assets.0.name}}">Download</a>
<article id="{{name}}" class="prose">
<h2 class="font-display font-extralight">{{name}}&mdash;<a class="underline mt-5 leading-7" href="/releases/{{tag_name}}/{{assets.0.name}}">Download</a></h2>
<div class="mt-5">
{{{body}}}
</div>