Carousel layout done
This commit is contained in:
parent
37be212f47
commit
c19a8f4c56
4 changed files with 54 additions and 27 deletions
|
@ -33,7 +33,19 @@
|
||||||
<img src="/portfolio/punkfairie.net.png"
|
<img src="/portfolio/punkfairie.net.png"
|
||||||
alt="Screenshot of punkfairie.net" class="Carousel-img">
|
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>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,12 @@
|
||||||
.Carousel {
|
.Carousel {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
gap: var(--space-xs);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
block-size: 100%;
|
block-size: 100%;
|
||||||
inline-size: 60%;
|
inline-size: 60%;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Carousel-img {
|
.Carousel-img {
|
||||||
|
|
10
src/style/base.css
Normal file
10
src/style/base.css
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
@layer base {
|
||||||
|
a {
|
||||||
|
color: var(--c-pink);
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover, a:focus {
|
||||||
|
color: var(--c-purple);
|
||||||
|
transition: color 300ms;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,5 +1,8 @@
|
||||||
|
@layer reset, base, layout, components;
|
||||||
|
|
||||||
@import url('@punkfairie/modern-css-reset');
|
@import url('@punkfairie/modern-css-reset');
|
||||||
@import url('theme.css');
|
@import url('theme.css');
|
||||||
|
@import url('base.css');
|
||||||
@import url('layout/Body.css');
|
@import url('layout/Body.css');
|
||||||
@import url('layout/Site.css');
|
@import url('layout/Site.css');
|
||||||
@import url('layout/Header.css');
|
@import url('layout/Header.css');
|
||||||
|
|
Loading…
Reference in a new issue