style: top section; footer typography, layout
This commit is contained in:
parent
4c05659bb2
commit
522e94b750
3 changed files with 107 additions and 110 deletions
|
@ -1,6 +1,8 @@
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<ul role="list" style="list-style:none">
|
<ul role="list" style="list-style:none">
|
||||||
<li>2022 © <a href="/">Ayo Ayco</a>. All Rights Reserved</li>
|
<li>2022 © <a href="/">Ayo Ayco</a>. All Rights Reserved</li>
|
||||||
|
<li>Ayo Ayco | Software Engineer + Web Developer</li>
|
||||||
<li>Missing old content? I moved <a href="https://classic.ayco.io">my previous site</a></li>
|
<li>Missing old content? I moved <a href="https://classic.ayco.io">my previous site</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -12,7 +14,9 @@
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
color: #888;
|
color: #888;
|
||||||
margin-left: -40px;
|
font-size: small;
|
||||||
|
margin: 40px 0 0 -40px;
|
||||||
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer a {
|
footer a {
|
||||||
|
|
|
@ -6,12 +6,18 @@ import Footer from "../components/Footer.astro";
|
||||||
|
|
||||||
<Layout title="Ayo Ayco | Software Engineer + Web Developer">
|
<Layout title="Ayo Ayco | Software Engineer + Web Developer">
|
||||||
<main>
|
<main>
|
||||||
<h1>Hi, I'm <span class="text-gradient">Ayo!</span></h1>
|
<div class="highlighted-section">
|
||||||
<ul role="list" class="highlighted-content">
|
<div class="top-content">
|
||||||
|
<h1>Ayo Ayco</h1>
|
||||||
|
<ul role="list">
|
||||||
<li>👨🏻💻 Software Extraordinaire</li>
|
<li>👨🏻💻 Software Extraordinaire</li>
|
||||||
<li>🕵🏻♂️ Frontend Detective Consultant</li>
|
<li>🕵🏻♂️ Frontend Detective Consultant</li>
|
||||||
<li>📚 BS Computer Science</li>
|
<li>📚 BS Computer Science</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="main-content">
|
||||||
<ul role="list" class="link-card-grid">
|
<ul role="list" class="link-card-grid">
|
||||||
<Card
|
<Card
|
||||||
href="https://blog.ayco.io/"
|
href="https://blog.ayco.io/"
|
||||||
|
@ -35,62 +41,50 @@ import Footer from "../components/Footer.astro";
|
||||||
/>
|
/>
|
||||||
</ul>
|
</ul>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--astro-gradient: linear-gradient(0deg, #4f39fa, #da62c4);
|
--astro-gradient: linear-gradient(0deg, #4f39fa, #da62c4);
|
||||||
|
--content-width: 800px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 2rem 0;
|
margin: 0 0 2rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
.top-content {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
max-width: 60ch;
|
max-width: var(--content-width);
|
||||||
}
|
font-weight: bold;
|
||||||
|
font-size: x-large;
|
||||||
.text-gradient {
|
color: var(--color-bg);
|
||||||
font-weight: 900;
|
|
||||||
background: var(--astro-gradient);
|
|
||||||
animation: pulse 4s ease-in-out infinite;
|
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-size: 100% 200%;
|
|
||||||
background-position-y: 100%;
|
|
||||||
border-radius: 0.4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes pulse {
|
|
||||||
0%,
|
|
||||||
100% {
|
|
||||||
background-position-y: 0%;
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
background-position-y: 80%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlighted-content {
|
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin: 1rem 0 1.75rem;
|
}
|
||||||
|
|
||||||
|
.top-content ul {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-content {
|
||||||
|
margin: auto;
|
||||||
|
padding: 1em;
|
||||||
|
max-width: var(--content-width);
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlighted-section {
|
||||||
background: var(--astro-gradient);
|
background: var(--astro-gradient);
|
||||||
background-size: 400% 400%;
|
background-size: 400% 400%;
|
||||||
background-color: var(--);
|
background-color: var(--);
|
||||||
animation: gradient 15s ease-in-out infinite;
|
animation: gradient 15s ease-in-out infinite;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
border-radius: 0.4rem;
|
|
||||||
color: var(--color-bg);
|
|
||||||
list-style-type: none;
|
|
||||||
font-size: x-large;
|
|
||||||
font-weight: bold;
|
|
||||||
box-shadow: 0 8px 8px -4px lightblue;
|
box-shadow: 0 8px 8px -4px lightblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlighted-content code {
|
.highlighted-section code {
|
||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
border: 0.1em solid var(--color-border);
|
border: 0.1em solid var(--color-border);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -119,8 +113,7 @@ import Footer from "../components/Footer.astro";
|
||||||
@media only screen
|
@media only screen
|
||||||
and (min-device-width: 360px)
|
and (min-device-width: 360px)
|
||||||
and (max-device-width: 812px) {
|
and (max-device-width: 812px) {
|
||||||
|
.section-content {
|
||||||
.highlighted-content {
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ import Footer from '../components/Footer.astro';
|
||||||
body="Some music I made as a hobby"
|
body="Some music I made as a hobby"
|
||||||
/>
|
/>
|
||||||
</ul>
|
</ul>
|
||||||
<Footer></Footer>
|
<Footer />
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue