new rgb guide & small homepage restructure #9
65
3d-printables.html
Normal 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 – 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>
|
||||||
|
|
@ -1,62 +1,111 @@
|
||||||
:root {
|
@layer base, per-site;
|
||||||
|
|
||||||
|
@layer base {
|
||||||
|
: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;
|
||||||
/* A modified version of accent-color-light, which works nicely as a link color
|
/* A modified version of accent-color-light, which works nicely as a link color
|
||||||
* and with the dark theme */
|
* and with the dark theme */
|
||||||
--accent-color-dark: #dc49b0;
|
--accent-color-dark: #dc49b0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
margin-top: 4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
a:link, a:visited {
|
|
||||||
color: var(--accent-color-light);
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
color: var(--accent-color-dark);
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
footer {
|
||||||
|
margin-top: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
.title {
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link, a:visited {
|
||||||
|
color: var(--accent-color);
|
||||||
|
padding-inline: 0.1ch;
|
||||||
|
&: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 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-img {
|
.hero-img {
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.bigger {
|
||||||
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p.bigger {
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
BIN
assets/img/3d-printables/catears-printables.webp
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
assets/img/rgb-ears-39c3/10_1280.webp
Normal file
|
After Width: | Height: | Size: 205 KiB |
BIN
assets/img/rgb-ears-39c3/10_1920.webp
Normal file
|
After Width: | Height: | Size: 546 KiB |
BIN
assets/img/rgb-ears-39c3/10_4960.webp
Normal file
|
After Width: | Height: | Size: 4.6 MiB |
BIN
assets/img/rgb-ears-39c3/11_1280.webp
Normal file
|
After Width: | Height: | Size: 131 KiB |
BIN
assets/img/rgb-ears-39c3/11_1920.webp
Normal file
|
After Width: | Height: | Size: 284 KiB |
BIN
assets/img/rgb-ears-39c3/11_5984.webp
Normal file
|
After Width: | Height: | Size: 5 MiB |
BIN
assets/img/rgb-ears-39c3/12_1280.webp
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
assets/img/rgb-ears-39c3/12_1920.webp
Normal file
|
After Width: | Height: | Size: 237 KiB |
BIN
assets/img/rgb-ears-39c3/12_6133.webp
Normal file
|
After Width: | Height: | Size: 4.8 MiB |
BIN
assets/img/rgb-ears-39c3/13_1280.webp
Normal file
|
After Width: | Height: | Size: 117 KiB |
BIN
assets/img/rgb-ears-39c3/13_1920.webp
Normal file
|
After Width: | Height: | Size: 251 KiB |
BIN
assets/img/rgb-ears-39c3/13_5888.webp
Normal file
|
After Width: | Height: | Size: 4.2 MiB |
BIN
assets/img/rgb-ears-39c3/14_1280.webp
Normal file
|
After Width: | Height: | Size: 324 KiB |
BIN
assets/img/rgb-ears-39c3/14_1920.webp
Normal file
|
After Width: | Height: | Size: 796 KiB |
BIN
assets/img/rgb-ears-39c3/14_2641.webp
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/img/rgb-ears-39c3/15_1280.webp
Normal file
|
After Width: | Height: | Size: 251 KiB |
BIN
assets/img/rgb-ears-39c3/15_1920.webp
Normal file
|
After Width: | Height: | Size: 604 KiB |