Carousel layout done

This commit is contained in:
marleyrae 2023-07-02 11:18:18 -07:00
parent 37be212f47
commit c19a8f4c56
4 changed files with 54 additions and 27 deletions

View file

@ -33,7 +33,19 @@
<img src="/portfolio/punkfairie.net.png"
alt="Screenshot of punkfairie.net" class="Carousel-img">
<div class="Carousel-title">
<a href="https://github.com/punkfairie/punkfairie-site"
target="_blank"><i class="fa-brands fa-github"
title="Github"></i></a> /
punkfairie.net /
<a href="https://punkfairie.net/" target="_blank"><i
class="fa-solid fa-link" title="Visit project"></i></a>
</div>
<p class="Carousel-text">A personal site; includes blinkie
collections and a diary (blog).</p>
<p class="Carousel-text">Made with Eleventy and SCSS.</p>
</div>
</main>

View file

@ -2,10 +2,12 @@
.Carousel {
display: flex;
flex-direction: column;
gap: var(--space-xs);
align-items: center;
margin: auto;
block-size: 100%;
inline-size: 60%;
text-align: center;
}
.Carousel-img {

10
src/style/base.css Normal file
View file

@ -0,0 +1,10 @@
@layer base {
a {
color: var(--c-pink);
}
a:hover, a:focus {
color: var(--c-purple);
transition: color 300ms;
}
}

View file

@ -1,5 +1,8 @@
@layer reset, base, layout, components;
@import url('@punkfairie/modern-css-reset');
@import url('theme.css');
@import url('base.css');
@import url('layout/Body.css');
@import url('layout/Site.css');
@import url('layout/Header.css');