new rgb guide & small homepage restructure #9

Merged
dario merged 10 commits from new-rgb-guide into main 2025-12-19 18:46:19 +01:00
77 changed files with 932 additions and 75 deletions

65
3d-printables.html Normal file
View file

@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/style.css" />
<link rel="me" href="https://chaos.social/@c3cat" />
<title>c3cat</title>
<style>
@layer per-site {
.resources-container {
display: flex;
flex-direction: column;
align-items: center;
row-gap: 1rem;
&>li {
display: block;
&>a {
display: inline flex;
flex-direction: column;
align-items: center;
row-gap: 4px;
&>img {
aspect-ratio: 1/1;
width: 250px;
}
}
}
}
}
</style>
</head>
<body class="container">
<main>
<h1 class="title">3D Printables</h1>
<a href="./">
<picture>
<source srcset="assets/img/c3cat-c3sign-cccamp23-transparent-for-dark.webp" media="(prefers-color-scheme: dark)"/>
<img src="assets/img/c3cat-c3sign-cccamp23-transparent.webp" alt="C3CAT with a cat ear headband around the 'A'" class="hero-img"/>
</picture>
</a>
<ul class="resources-container">
<li>
<a href="https://www.printables.com/de/model/35076-cat-ears" rel="external">
<img alt="A picture of a catear 3D model" src="assets/img/3d-printables/catears-printables.webp">
<span>The original catear model from <i>printables.com</i></span>
</a>
</li>
</ul>
</main>
<footer>
<p>
Don't feel pressured to wear cat ears &ndash; you're perfectly fine without them.<br>
And remember: Trans rights are human rights.
</p>
<p>
Find us in the fediverse at <a href="https://chaos.social/@c3cat">c3cat@chaos.social</a>.
</p>
</footer>
</body>
</html>

View file

@ -1,3 +1,6 @@
@layer base, per-site;
@layer base {
:root { :root {
/* Use a shade of the c3cat logos pink, which works nicely as a link color. */ /* Use a shade of the c3cat logos pink, which works nicely as a link color. */
--accent-color-light: #DC049B; --accent-color-light: #DC049B;
@ -10,17 +13,22 @@ body {
font-family: system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,Helvetica,Arial,"Helvetica Neue",sans-serif; font-family: system-ui,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,Helvetica,Arial,"Helvetica Neue",sans-serif;
text-align: left; text-align: left;
line-height: 1.4;
/* Use dark grey instead of black to be lighter on the eyes. But also a grey /* Use dark grey instead of black to be lighter on the eyes. But also a grey
* which still works with the link color nicely. */ * which still works with the link color nicely. */
background-color: #ffffff; --bg-color: #ffffff;
color: #2B2B2B; --fg-color: #2b2b2b;
--accent-color: var(--accent-color-light);
background-color: var(--bg-color);
color: var(--fg-color);
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
/* Colors for dark theme, which have enough contrast, but also aren't too harsh on the eyes. */ /* Colors for dark theme, which have enough contrast, but also aren't too harsh on the eyes. */
/* See: https://seirdy.one/posts/2020/11/23/website-best-practices/#dark-themes */ /* See: https://seirdy.one/posts/2020/11/23/website-best-practices/#dark-themes */
background-color: #1b1b1b; --bg-color: #1b1b1b;
color: #ebebeb; --fg-color: #ebebeb;
--accent-color: var(--accent-color-dark);
} }
} }
@ -38,14 +46,24 @@ img {
width: 100%; width: 100%;
} }
a:link, a:visited { a:link, a:visited {
color: var(--accent-color-light); color: var(--accent-color);
@media (prefers-color-scheme: dark) { padding-inline: 0.1ch;
color: var(--accent-color-dark); &:hover:not(:has(img)) {
background-color: var(--accent-color);
color: white;
text-decoration: none;
} }
} }
u {
text-decoration-color: var(--accent-color);
}
ul li::marker {
color: color-mix(in hsl, var(--accent-color) 50%, var(--fg-color) 50%);
font-size: larger;
}
.title { .title {
text-align: center; text-align: center;
@ -60,3 +78,34 @@ a:link, a:visited {
p.bigger { p.bigger {
font-size: 1.2rem; font-size: 1.2rem;
} }
section {
margin-top: 3rem;
}
details {
border: 1px solid var(--accent-color);
border-radius: 8px;
background-color: color-mix(in hsl, var(--accent-color) 20%, var(--bg-color) 80%);
& > * {
padding: 0.5rem 1ch;
}
& > summary {
cursor: pointer;
user-select: none;
}
&[open] > summary {
border-bottom: 1px solid var(--accent-color);
margin-left: 0;
margin-right: 0;
}
}
pre {
overflow-x: scroll;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 KiB

Some files were not shown because too many files have changed in this diff Show more