Minor style update to index

This commit is contained in:
Nathan Upchurch 2024-01-20 14:45:26 -06:00
parent 1675646179
commit e60361f060
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,8 @@
header {
margin-bottom: 5rem;
}
main {
margin: auto;
width: 50rem;
width: 45rem;
}

View File

@ -6,8 +6,10 @@
</head>
<body>
<main>
<h1>Nathan's Web Components</h1>
<p>A bunch of web components for my own convenience.</p>
<header>
<h1>Nathan's Web Components</h1>
<p>A bunch of web components for my own convenience.</p>
</header>
<h2>Audio Player</h2>
<p>A handy audio player widget.<br><br>Attributes:</p>
<ul>
@ -30,6 +32,7 @@ audio=&quot;assets/audio/KARATE KID - TOXIC (ILLFD022).wav&quot;&gt;
&lt;h3 slot=&quot;title&quot;&gt;Toxic - Britney Spears (Karate Kid Bootleg)&lt;/h3&gt;
&lt;p slot=&quot;description&quot;&gt;A massive DnB roller bootleg of a Britney Spears classic: &lt;em&gt;Toxic&lt;/em&gt;.&lt;/p&gt;
&lt;/audio-player&gt;
</code>
</pre>
<audio-player
cover="/assets/images/doge.jpg"