Carousel layout done
This commit is contained in:
parent
37be212f47
commit
c19a8f4c56
4 changed files with 54 additions and 27 deletions
|
@ -1,45 +1,57 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Marley Rae</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Marley Rae</title>
|
||||
|
||||
<link rel="preconnect" href="https://fonts.bunny.net">
|
||||
<link href="https://fonts.bunny.net/css?family=delius-swash-caps:400"
|
||||
rel="stylesheet"/>
|
||||
<link rel="preconnect" href="https://fonts.bunny.net">
|
||||
<link href="https://fonts.bunny.net/css?family=delius-swash-caps:400"
|
||||
rel="stylesheet"/>
|
||||
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js" type="module"></script>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script src="/main.js" type="module"></script>
|
||||
|
||||
<script src="/fontawesome/fontawesome.min.js" defer></script>
|
||||
<script src="/fontawesome/regular.min.js" defer></script>
|
||||
<script src="/fontawesome/solid.min.js" defer></script>
|
||||
<script src="/fontawesome/brands.min.js" defer></script>
|
||||
<script src="/fontawesome/fontawesome.min.js" defer></script>
|
||||
<script src="/fontawesome/regular.min.js" defer></script>
|
||||
<script src="/fontawesome/solid.min.js" defer></script>
|
||||
<script src="/fontawesome/brands.min.js" defer></script>
|
||||
</head>
|
||||
<body class="Body">
|
||||
|
||||
<div class="Site">
|
||||
|
||||
<header class="Header">
|
||||
<h1 class="Header-title" id="headerTitle">Marley Rae</h1>
|
||||
<div class="Header-email">marleyrae@protonmail.com</div>
|
||||
</header>
|
||||
<header class="Header">
|
||||
<h1 class="Header-title" id="headerTitle">Marley Rae</h1>
|
||||
<div class="Header-email">marleyrae@protonmail.com</div>
|
||||
</header>
|
||||
|
||||
<main class="Main">
|
||||
<div class="Carousel">
|
||||
<img src="/portfolio/punkfairie.net.png"
|
||||
alt="Screenshot of punkfairie.net" class="Carousel-img">
|
||||
<main class="Main">
|
||||
<div class="Carousel">
|
||||
<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>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<p class="Carousel-text">A personal site; includes blinkie
|
||||
collections and a diary (blog).</p>
|
||||
|
||||
<footer class="Footer" id="footer">
|
||||
© 2023
|
||||
</footer>
|
||||
<p class="Carousel-text">Made with Eleventy and SCSS.</p>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="Footer" id="footer">
|
||||
© 2023
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -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
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('theme.css');
|
||||
@import url('base.css');
|
||||
@import url('layout/Body.css');
|
||||
@import url('layout/Site.css');
|
||||
@import url('layout/Header.css');
|
||||
|
|
Loading…
Reference in a new issue