Skip to content

Commit

Permalink
Fix abstract header
Browse files Browse the repository at this point in the history
- change abstract h5 to h2
- remove some horizontal margins
  • Loading branch information
vincentdoerig committed Jun 2, 2020
1 parent 746ac4c commit 5a5fe70
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -28,7 +28,7 @@ <h1><span class="latex">L<span>a</span>T<span>e</span>X</span>.css</h1>
</header>

<div class="abstract">
<h5>Abstract</h5>
<h2>Abstract</h2>
<p>
This almost class-less CSS library turns your HTML document into a
website that looks like a
Expand Down Expand Up @@ -108,7 +108,7 @@ <h3 id="author-abstract">Author and Abstract</h3>
<pre><code>&lt;p class="author"&gt;John Doe &lt;br&gt; December 7, 2020&lt;/p&gt;

&lt;div class="abstract"&gt;
&lt;h5&gt;Abstract&lt;/h5&gt;
&lt;h2&gt;Abstract&lt;/h2&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;/div&gt;</code></pre>

Expand Down
5 changes: 5 additions & 0 deletions style.css
Expand Up @@ -295,10 +295,15 @@ dl dd {
.abstract,
.abstract p {
text-align: center;
margin-top: 0;
}
.abstract {
margin: 2.25rem 0;
}
.abstract > h2 {
font-size: 1rem;
margin-bottom: -0.2rem;
}

/* Format the LaTeX symbol correctly (a higher up, e lower) */
.latex span:nth-child(1) {
Expand Down
2 changes: 1 addition & 1 deletion style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 5a5fe70

@vercel
Copy link

@vercel vercel bot commented on 5a5fe70 Jun 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.