Compare commits
14 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c73749678b | |||
| e70c83bdb4 | |||
| e063b2fa5c | |||
| de6e1a98bc | |||
| c49f2280f4 | |||
| 46e7d2660b | |||
| 64a50ccd10 | |||
| 6e5aad77dd | |||
| 81ab7856c6 | |||
|
|
04951a75d5 | ||
|
|
f06119c9a4 | ||
|
|
800f67a04f | ||
|
|
6f6c0c3a6d | ||
|
|
d112d7ae63 |
26
.forgejo/workflows/deploy.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
env:
|
||||||
|
REMOTE: ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}
|
||||||
|
PORT: ${{ secrets.SSH_PORT }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Set up SSH keys
|
||||||
|
run: |
|
||||||
|
mkdir -m 700 -p ~/.ssh
|
||||||
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_deploy
|
||||||
|
chmod 600 ~/.ssh/id_deploy
|
||||||
|
|
||||||
|
- name: Pull latest branch to production
|
||||||
|
run: |
|
||||||
|
ssh-keyscan -p $PORT ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
|
||||||
|
ssh -i ~/.ssh/id_deploy -p $PORT ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} <<EOF
|
||||||
|
cd ${{ secrets.SSH_DIRECTORY }}
|
||||||
|
git pull
|
||||||
|
EOF
|
||||||
5
.gitignore
vendored
|
|
@ -1,3 +1,2 @@
|
||||||
**/.DS_Store
|
.DS_Store
|
||||||
docker-compose.yml
|
*.tar.gz
|
||||||
.vscode/
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
# 🏕️ bliss.town
|
# 🏕️ bliss.town
|
||||||
|
|
||||||
|
<a href="https://bliss.town"><img alt="Made with love by Bliss Town" src="https://bliss.town/img/badges/bliss-town.svg"/></a>
|
||||||
|
<img alt="Trans rights" src="https://bliss.town/img/badges/trans-rights.svg"/>
|
||||||
|
|
||||||
a cool source for a cool website!
|
a cool source for a cool website!
|
||||||
|
|
|
||||||
BIN
public/img/avatars/arispacegirl.avif
Normal file
|
After Width: | Height: | Size: 101 KiB |
BIN
public/img/avatars/karakara.avif
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
public/img/avatars/loudar.avif
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
public/img/avatars/vimae.avif
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/img/avatars/zaire.avif
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
1
public/img/badges/bliss-town.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="197" height="20" role="img" aria-label="Made with love by: Bliss Town"><title>Made with love by: Bliss Town</title><a target="_blank" href="https://bliss.town"><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="197" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="128" height="20" fill="#555"/><rect x="128" width="69" height="20" fill="#92a40a"/><rect width="197" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVyb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xzY3JpcHQvPjwvc3ZnPg=="/><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="735" y="150" fill-opacity=".8" filter="url(#blur)" textLength="1010">Made with love by</text><text x="735" y="150" fill-opacity=".3" textLength="1010">Made with love by</text></g><text x="735" y="140" textLength="1010">Made with love by</text></g><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="1615" y="150" fill-opacity=".8" filter="url(#blur)" textLength="590">Bliss Town</text><text x="1615" y="150" fill-opacity=".3" textLength="590">Bliss Town</text></g><text x="1615" y="140" textLength="590">Bliss Town</text></g></g></a><script xmlns=""/></svg>
|
||||||
|
After Width: | Height: | Size: 3.7 KiB |
1
public/img/badges/trans-rights.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="107" height="20" role="img" aria-label="Trans rights"><title>Trans rights</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="107" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="77" height="20" fill="#555"/><rect x="77" width="6" height="20" fill="#5bcefa"/><rect x="83" width="6" height="20" fill="#f5a9b8"/><rect x="89" width="6" height="20" fill="#ffffff"/><rect x="95" width="6" height="20" fill="#f5a9b8"/><rect x="101" width="6" height="20" fill="#5bcefa"/><rect width="107" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="395" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="670">Trans rights</text><text x="395" y="140" transform="scale(.1)" fill="#fff" textLength="670">Trans rights</text></g><script xmlns=""/></svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
BIN
public/img/projects/campfire.avif
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
|
@ -4,7 +4,7 @@
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" value="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>bliss town</title>
|
<title>bliss town</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/img/favicon.png">
|
<link rel="icon" type="image/x-icon" href="/img/favicon.png">
|
||||||
|
|
||||||
|
|
@ -16,28 +16,27 @@
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/style/main.css">
|
<link rel="stylesheet" type="text/css" href="/style/main.css">
|
||||||
<link rel="stylesheet" type="text/css" href="/style/index.css">
|
<link rel="stylesheet" type="text/css" href="/style/index.css">
|
||||||
<script type="module" src="/script/index.js" defer></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<span class="nav-title">
|
<span class="nav-title">
|
||||||
<span class="title-icon">
|
<div class="title-icon">
|
||||||
<img src="/img/icon-light.svg" class="only-light" width=26 height=26 />
|
<img src="/img/icon-light.svg" class="only-light" width=26 height=26 />
|
||||||
<img src="/img/icon-dark.svg" class="only-dark" width=26 height=26 />
|
<img src="/img/icon-dark.svg" class="only-dark" width=26 height=26 />
|
||||||
</span>
|
</div>
|
||||||
<strong>bliss<span class="col-on-primary">.</span>town</strong>
|
<strong>bliss<span class="col-on-primary">.</span>town</strong>
|
||||||
</span>
|
</span>
|
||||||
<a href="/">home</a>
|
<a href="/">home</a>
|
||||||
<a href="https://git.arimelody.me/ari/bliss.town">source</a>
|
<a href="https://forge.bliss.town/blisstown/bliss.town">source</a>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<h1>
|
<h1>
|
||||||
<span class="title-icon">
|
<div class="title-icon">
|
||||||
<img src="/img/icon-light.svg" class="only-light" width=64 height=64 />
|
<img src="/img/icon-light.svg" class="only-light" width=64 height=64 />
|
||||||
<img src="/img/icon-dark.svg" class="only-dark" width=64 height=64 />
|
<img src="/img/icon-dark.svg" class="only-dark" width=64 height=64 />
|
||||||
</span>
|
</div>
|
||||||
welcome to bliss<span class="col-on-primary">.</span>town!
|
welcome to bliss<span class="col-on-primary">.</span>town!
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
|
@ -52,41 +51,63 @@
|
||||||
|
|
||||||
<div id="crew-list">
|
<div id="crew-list">
|
||||||
<div class="crew-item">
|
<div class="crew-item">
|
||||||
<img src="https://arimelody.space/img/favicon.png" alt="ari melody photo" class="avatar" width=64 height=64>
|
<div class="crew-avatar">
|
||||||
|
<img src="/img/avatars/arispacegirl.avif"
|
||||||
|
alt="ari melody photo"
|
||||||
|
class="avatar"
|
||||||
|
width=128 height=128>
|
||||||
|
</div>
|
||||||
<div class="crew-info">
|
<div class="crew-info">
|
||||||
<h3>ari</h3>
|
<h3>ari</h3>
|
||||||
<p><a href="https://arimelody.space" class="handle">@arispacegirl</a></p>
|
<p><a href="https://arimelody.space" class="handle">@arispacegirl</a></p>
|
||||||
<div class="crew-tags">
|
|
||||||
<span class="crew-tag">she/her</span>
|
|
||||||
<span class="crew-tag">developer</span>
|
|
||||||
<span class="crew-tag">musician</span>
|
|
||||||
<span class="crew-tag">artist</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="crew-item">
|
<div class="crew-item">
|
||||||
<img src="https://media.wetdry.world/accounts/avatars/107/412/233/663/540/779/original/9e4353266869a4cd.jpeg" alt="vimae photo" class="avatar" width=64 height=64>
|
<div class="crew-avatar">
|
||||||
|
<img src="/img/avatars/vimae.avif"
|
||||||
|
alt="vimae photo"
|
||||||
|
class="avatar"
|
||||||
|
width=128 height=128>
|
||||||
|
</div>
|
||||||
<div class="crew-info">
|
<div class="crew-info">
|
||||||
<h3>mae</h3>
|
<h3>mae</h3>
|
||||||
<p><a href="https://mae.wtf" class="handle">@vimae</a></p>
|
<p><a href="https://mae.wtf" class="handle">@vimae</a></p>
|
||||||
<div class="crew-tags">
|
|
||||||
<span class="crew-tag">she/they</span>
|
|
||||||
<span class="crew-tag">musician</span>
|
|
||||||
<span class="crew-tag">artist</span>
|
|
||||||
<span class="crew-tag">developer</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="crew-item">
|
<div class="crew-item">
|
||||||
<img src="https://44.media.tumblr.com/feb33c9c0151a46d09a55a6e0d7fa0f3/34631bc4c40620ff-2c/s128x128u_c1_f1/b06e02240d23dacddf257fe50cfe3a9c6dbee537.gif" alt="claire photo" class="avatar" width=64 height=64>
|
<div class="crew-avatar">
|
||||||
|
<img src="/img/avatars/zaire.avif"
|
||||||
|
alt="claire photo"
|
||||||
|
class="avatar"
|
||||||
|
width=128 height=128>
|
||||||
|
</div>
|
||||||
<div class="crew-info">
|
<div class="crew-info">
|
||||||
<h3>claire</h3>
|
<h3>claire</h3>
|
||||||
<p><a href="https://supitszaire.com" class="handle">@zaire</a></p>
|
<p><a href="https://supitszaire.com" class="handle">@zaire</a></p>
|
||||||
<div class="crew-tags">
|
</div>
|
||||||
<span class="crew-tag">she/her</span>
|
</div>
|
||||||
<span class="crew-tag">musician</span>
|
<div class="crew-item">
|
||||||
<span class="crew-tag">artist</span>
|
<div class="crew-avatar">
|
||||||
</div>
|
<img src="/img/avatars/karakara.avif"
|
||||||
|
alt="julia photo"
|
||||||
|
class="avatar"
|
||||||
|
width=128 height=128>
|
||||||
|
</div>
|
||||||
|
<div class="crew-info">
|
||||||
|
<h3>julia</h3>
|
||||||
|
<p><a href="https://insertdomain.name" class="handle">@karakara</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="crew-item">
|
||||||
|
<div class="crew-avatar">
|
||||||
|
<img src="/img/avatars/loudar.avif"
|
||||||
|
alt="alex photo"
|
||||||
|
class="avatar"
|
||||||
|
width=128 height=128>
|
||||||
|
</div>
|
||||||
|
<div class="crew-info">
|
||||||
|
<h3>alex</h3>
|
||||||
|
<p><a href="https://illegal.trading" class="handle">@loudar</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -100,12 +121,15 @@
|
||||||
<div id="project-list">
|
<div id="project-list">
|
||||||
<div class="project-item">
|
<div class="project-item">
|
||||||
<div class="project-item-banner">
|
<div class="project-item-banner">
|
||||||
<img src="/img/projects/campfire.png" alt="screenshot of the campfire timeline" width=256>
|
<img src="/img/projects/campfire.avif" alt="screenshot of the campfire timeline" width=256>
|
||||||
</div>
|
</div>
|
||||||
<div class="project-info">
|
<div class="project-info">
|
||||||
<h3>campfire</h3>
|
<h3>
|
||||||
|
<a href="https://campfire.bliss.town" class="col-on-primary">
|
||||||
|
campfire
|
||||||
|
</a>
|
||||||
|
</h3>
|
||||||
<p>a pretty, modern web client for the fediverse!</p>
|
<p>a pretty, modern web client for the fediverse!</p>
|
||||||
<a href="https://campfire.bliss.town" class="col-on-primary">campfire.bliss.town</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -113,8 +137,10 @@
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
made with <span role="img" aria-label="love">♥</span> by <a href="https://arimelody.space">ari</a>, 2025.
|
made with <span role="img" aria-label="love">♥</span> by bliss town, 2026.
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<script type="module" src="/script/index.js" defer></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,8 @@
|
||||||
import { hijackClickEvent } from './main.js';
|
import { hijackClickEvent } from "./main.js";
|
||||||
|
|
||||||
document.addEventListener('readystatechange', () => {
|
document.addEventListener("readystatechange", () => {
|
||||||
document.querySelectorAll("#project-list .project-item").forEach(projectItem => {
|
document.querySelectorAll(".project-item").forEach(container => {
|
||||||
const link = projectItem.querySelector('a');
|
const link = container.querySelector("a");
|
||||||
hijackClickEvent(projectItem, link);
|
hijackClickEvent(container, link);
|
||||||
});
|
|
||||||
|
|
||||||
document.querySelectorAll("#crew-list .crew-item .crew-info").forEach(crewItem => {
|
|
||||||
const link = crewItem.querySelector('a.handle');
|
|
||||||
hijackClickEvent(crewItem, link);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
export function hijackClickEvent(container, link) {
|
export function hijackClickEvent(container, link) {
|
||||||
container.addEventListener('click', event => {
|
container.addEventListener('click', event => {
|
||||||
if (event.target.tagName.toLowerCase() === 'a') return;
|
if (event.target.tagName.toLowerCase() === 'a') return;
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
|
||||||
|
|
@ -8,110 +8,113 @@
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
background-color: var(--primary);
|
background-color: var(--primary);
|
||||||
transition: background-color .2s linear;
|
box-shadow: 4px 4px 0 color-mix(in srgb, var(--background), #0008 50%);
|
||||||
box-shadow: 2px 2px 2px #0004;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
|
||||||
.project-item:hover {
|
|
||||||
outline: 1px solid var(--on-primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-item-banner {
|
.project-item-banner {
|
||||||
width: 256px;
|
width: 256px;
|
||||||
height: 128px;
|
height: 128px;
|
||||||
}
|
|
||||||
.project-item-banner img {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.project-info {
|
img {
|
||||||
padding: .4em .5em;
|
width: 100%;
|
||||||
}
|
height: 100%;
|
||||||
.project-info h3 {
|
object-fit: cover;
|
||||||
margin: 0;
|
}
|
||||||
}
|
}
|
||||||
.project-info p {
|
|
||||||
font-size: .8em;
|
.project-info {
|
||||||
margin: 0;
|
padding: .4em .5em;
|
||||||
}
|
|
||||||
.project-info a {
|
h3 {
|
||||||
font-style: italic;
|
margin: 0 0 .2em 0;
|
||||||
font-size: .8em;
|
|
||||||
color: var(--on-background);
|
a {
|
||||||
opacity: .75;
|
color: var(--on-background);
|
||||||
transition: color .2s linear;
|
}
|
||||||
text-decoration: none;
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: .8em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
outline: 1px solid var(--on-primary);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#crew-list {
|
#crew-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1em;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 2em 4em;
|
||||||
|
|
||||||
|
.crew-item {
|
||||||
|
width: 10em;
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: 8em 4em;
|
||||||
|
gap: .5em;
|
||||||
|
text-align: center;
|
||||||
|
transform: rotate(2deg);
|
||||||
|
|
||||||
|
&:nth-child(even) {
|
||||||
|
transform: rotate(-2deg);
|
||||||
|
|
||||||
|
&:hover .crew-avatar img.avatar {
|
||||||
|
transform: rotate(-4deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.crew-avatar img.avatar, .crew-info {
|
||||||
|
box-shadow: 4px 4px 0 color-mix(in srgb, var(--background), #0008 50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover .crew-avatar img.avatar {
|
||||||
|
transform: rotate(2deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.crew-avatar {
|
||||||
|
img.avatar {
|
||||||
|
width: 8em;
|
||||||
|
height: 8em;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: var(--primary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.crew-item:nth-child(even) .crew-avatar img.avatar {
|
||||||
|
transform: rotate(-2deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.crew-info {
|
||||||
|
padding: .5em;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
background-color: var(--primary);
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
|
h3, p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: .8em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.crew-item:nth-child(odd) .crew-info:before {
|
||||||
|
transform: skew(0, 2deg) translate(1.3em, -.2em);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.crew-item {
|
@media screen and (max-width: 900px) {
|
||||||
display: flex;
|
#crew-list {
|
||||||
flex-direction: row;
|
#grid-template-columns: repeat(2, 1fr);
|
||||||
gap: .5em;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.crew-item img.avatar {
|
|
||||||
width: 64px;
|
|
||||||
height: 64px;
|
|
||||||
object-fit: cover;
|
|
||||||
border-radius: 8px;
|
|
||||||
background-color: #101010;
|
|
||||||
}
|
|
||||||
|
|
||||||
.crew-item .crew-info {
|
|
||||||
padding: .5em;
|
|
||||||
background-color: var(--primary);
|
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 2px 2px 2px #0004;
|
|
||||||
transition: background-color .2s linear;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.crew-info:hover {
|
|
||||||
outline: 1px solid var(--on-primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.crew-item h3 {
|
|
||||||
display: block;
|
|
||||||
margin: 0 0 -.2em 0;
|
|
||||||
transition: inherit;
|
|
||||||
}
|
|
||||||
.crew-item h3 a {
|
|
||||||
display: block;
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.crew-item a.handle {
|
|
||||||
display: block;
|
|
||||||
font-style: italic;
|
|
||||||
font-size: .8em;
|
|
||||||
color: var(--on-background);
|
|
||||||
opacity: .75;
|
|
||||||
transition: color .2s linear;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.crew-item p {
|
|
||||||
margin: .2em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.crew-item .crew-tags {
|
|
||||||
margin: .5em 0 0 0;
|
|
||||||
display: flex;
|
|
||||||
gap: .2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.crew-item .crew-tag {
|
|
||||||
font-size: .75em;
|
|
||||||
padding: .2em .5em;
|
|
||||||
border-radius: 4px;
|
|
||||||
text-wrap: nowrap;
|
|
||||||
color: var(--on-primary);
|
|
||||||
border: 1px solid var(--on-primary);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,11 @@ body {
|
||||||
|
|
||||||
color: var(--on-background);
|
color: var(--on-background);
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
|
}
|
||||||
|
|
||||||
transition: color .2s linear, background-color .2s linear;
|
*, *::before, *::after {
|
||||||
|
transition-property: background-color, color, box-shadow, border-color, opacity;
|
||||||
|
transition-duration: .2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
|
@ -38,7 +41,6 @@ header {
|
||||||
border-bottom: 1px solid var(--primary);
|
border-bottom: 1px solid var(--primary);
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
transition: background-color .2s linear, box-shadow .2s linear, border-color .2s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
header nav {
|
header nav {
|
||||||
|
|
@ -78,12 +80,10 @@ main {
|
||||||
|
|
||||||
.only-light {
|
.only-light {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: opacity .2s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.only-dark {
|
.only-dark {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity .2s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
|
@ -99,14 +99,12 @@ hr::after {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
color: var(--on-background);
|
color: var(--on-background);
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
transition: color .2s linear, background-color .2s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--on-primary);
|
color: var(--on-primary);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
transition: color .2s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
|
|
@ -123,7 +121,6 @@ button {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 2em;
|
border-radius: 2em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color .2s linear, background-color .2s linear, transform .1s ease-out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
|
|
@ -140,7 +137,6 @@ footer {
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
transition: opacity .1s ease-out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer:hover {
|
footer:hover {
|
||||||
|
|
@ -153,13 +149,15 @@ footer:hover {
|
||||||
|
|
||||||
.title-icon {
|
.title-icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 1.2em;
|
width: 1.3em;
|
||||||
|
height: 1.1em;
|
||||||
margin: 0 .1em;
|
margin: 0 .1em;
|
||||||
padding-right: 1.6em;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-icon img {
|
.title-icon img {
|
||||||
|
width: 1.4em;
|
||||||
|
height: 1.4em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -179,3 +177,9 @@ footer:hover {
|
||||||
box-shadow: 0 2px 8px #0c03116e;
|
box-shadow: 0 2px 8px #0c03116e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 500px) {
|
||||||
|
h1 {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||