style: alignment adjust

This commit is contained in:
Ayo 2022-09-17 12:34:51 +02:00
parent 6c7c5a4230
commit 4f0d3b57a3
2 changed files with 24 additions and 18 deletions

View file

@ -14,6 +14,7 @@
footer { footer {
color: #888; color: #888;
margin-left: -40px;
} }
footer a { footer a {

View file

@ -8,6 +8,7 @@ import Footer from '../components/Footer.astro';
<main> <main>
<nav><a href="/">Back</a></nav> <nav><a href="/">Back</a></nav>
<h1>Social <span class="text-gradient">Links</span></h1> <h1>Social <span class="text-gradient">Links</span></h1>
<div class="content">
<ul role="list" style="list-style:none"> <ul role="list" style="list-style:none">
<Card <Card
href="https://twitter.com/ayoayco/" href="https://twitter.com/ayoayco/"
@ -24,8 +25,8 @@ import Footer from '../components/Footer.astro';
title="SoundCloud" title="SoundCloud"
body="Yes, I make music... until I moved to a new contry this year" body="Yes, I make music... until I moved to a new contry this year"
/> />
</ul> </ul>
</div>
<Footer></Footer> <Footer></Footer>
</main> </main>
</Layout> </Layout>
@ -35,6 +36,10 @@ import Footer from '../components/Footer.astro';
--astro-gradient: linear-gradient(0deg, #4f39fa, #da62c4); --astro-gradient: linear-gradient(0deg, #4f39fa, #da62c4);
} }
div.content {
margin-left: -40px;
}
h1 { h1 {
margin: 2rem 0; margin: 2rem 0;
} }