2023-06-23 00:19:26 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
OS Component Website
|
|
|
|
====================
|
|
|
|
|
2023-07-18 08:25:47 +00:00
|
|
|
shamelessly stolen CSS from systemd
|
2023-06-23 00:19:26 +00:00
|
|
|
https://github.com/systemd/systemd/tree/main/docs
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* GNOME Color Palette */
|
|
|
|
:root {
|
2023-08-11 11:30:13 +00:00
|
|
|
--blue1: rgb(153, 193, 241);
|
|
|
|
--blue2: rgb(98, 160, 234);
|
|
|
|
--blue3: rgb(53, 132, 228);
|
|
|
|
--blue4: rgb(28, 113, 216);
|
|
|
|
--blue5: rgb(26, 95, 180);
|
|
|
|
--green1: rgb(143, 240, 164);
|
|
|
|
--green2: rgb(87, 227, 137);
|
|
|
|
--green3: rgb(51, 209, 122);
|
|
|
|
--green4: rgb(46, 194, 126);
|
|
|
|
--green5: rgb(38, 162, 105);
|
|
|
|
--yellow1: rgb(249, 240, 107);
|
|
|
|
--yellow2: rgb(248, 228, 92);
|
|
|
|
--yellow3: rgb(246, 211, 45);
|
|
|
|
--yellow4: rgb(245, 194, 17);
|
|
|
|
--yellow5: rgb(229, 165, 10);
|
|
|
|
--orange1: rgb(255, 190, 111);
|
|
|
|
--orange2: rgb(255, 163, 72);
|
|
|
|
--orange3: rgb(255, 120, 0);
|
|
|
|
--orange4: rgb(230, 97, 0);
|
|
|
|
--orange5: rgb(198, 70, 0);
|
|
|
|
--red1: rgb(246, 97, 81);
|
|
|
|
--red2: rgb(237, 51, 59);
|
|
|
|
--red3: rgb(224, 27, 36);
|
|
|
|
--red4: rgb(192, 28, 40);
|
|
|
|
--red5: rgb(165, 29, 45);
|
|
|
|
--purple1: rgb(220, 138, 221);
|
|
|
|
--purple2: rgb(192, 97, 203);
|
|
|
|
--purple3: rgb(145, 65, 172);
|
|
|
|
--purple4: rgb(129, 61, 156);
|
|
|
|
--purple5: rgb(97, 53, 131);
|
|
|
|
--brown1: rgb(205, 171, 143);
|
|
|
|
--brown2: rgb(181, 131, 90);
|
|
|
|
--brown3: rgb(152, 106, 68);
|
|
|
|
--brown4: rgb(134, 94, 60);
|
|
|
|
--brown5: rgb(99, 69, 44);
|
|
|
|
--light1: rgb(255, 255, 255);
|
|
|
|
--light2: rgb(246, 245, 244);
|
|
|
|
--light3: rgb(222, 221, 218);
|
|
|
|
--light4: rgb(192, 191, 188);
|
|
|
|
--light5: rgb(154, 153, 150);
|
|
|
|
--dark1: rgb(119, 118, 123);
|
|
|
|
--dark2: rgb(94, 92, 100);
|
|
|
|
--dark3: rgb(61, 56, 70);
|
|
|
|
--dark4: rgb(36, 31, 49);
|
|
|
|
--dark5: rgb(0, 0, 0);
|
|
|
|
|
|
|
|
/* General Setup */
|
|
|
|
--rounded-corner: 12px; /* Set how rounded the corners will be */
|
|
|
|
--primary-color: var(--purple2); /* Set your project primary color */
|
|
|
|
--secondary-color: var(--blue2); /* Set your project secondary color */
|
|
|
|
--background-color: var(--light-bg1); /* Set site background color */
|
|
|
|
--background-color-dark: var(--dark-bg3); /* Set site background color (dark mode) */
|
2023-08-11 13:57:28 +00:00
|
|
|
--container-width: 720px; /* Set content width */
|
2023-08-11 11:30:13 +00:00
|
|
|
|
|
|
|
/* Custom Color Palette */
|
2023-06-23 00:19:26 +00:00
|
|
|
--borders: var(--light3);
|
2023-08-10 03:31:47 +00:00
|
|
|
|
2023-08-11 11:30:13 +00:00
|
|
|
--light-op01: rgba(255, 255, 255, 0.01);
|
|
|
|
--light-op03: rgba(255, 255, 255, 0.03);
|
|
|
|
--light-op05: rgba(255, 255, 255, 0.05);
|
|
|
|
--light-op07: rgba(255, 255, 255, 0.07);
|
|
|
|
--light-op09: rgba(255, 255, 255, 0.09);
|
|
|
|
--light-op40: rgba(255, 255, 255, 0.4);
|
|
|
|
--light-op50: rgba(255, 255, 255, 0.5);
|
|
|
|
|
|
|
|
--dark-op01: rgba(0, 0, 0, 0.01);
|
|
|
|
--dark-op03: rgba(0, 0, 0, 0.03);
|
|
|
|
--dark-op05: rgba(0, 0, 0, 0.05);
|
|
|
|
--dark-op07: rgba(0, 0, 0, 0.07);
|
|
|
|
--dark-op09: rgba(0, 0, 0, 0.09);
|
|
|
|
--dark-op40: rgba(0, 0, 0, 0.4);
|
|
|
|
--dark-op50: rgba(0, 0, 0, 0.5);
|
|
|
|
|
|
|
|
--light-bg1: rgb(250, 250, 250);
|
|
|
|
--light-bg2: rgb(255, 255, 255);
|
|
|
|
--light-bg3: rgb(75, 75, 75);
|
|
|
|
|
|
|
|
--dark-bg1: rgb(36, 36, 36);
|
|
|
|
--dark-bg2: rgb(30, 30, 30);
|
|
|
|
--dark-bg3: rgb(11, 11, 11);
|
|
|
|
|
|
|
|
/* Custom Variables */
|
2023-08-10 23:58:37 +00:00
|
|
|
--shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 1px 3px 1px rgba(0, 0, 0, 0.07), 0 2px 6px 2px rgba(0, 0, 0, 0.03);
|
|
|
|
--shadow-raised: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 6px 2px rgba(0, 0, 0, 0.09), 0 4px 12px 4px rgba(0, 0, 0, 0.06);
|
|
|
|
--glow: var(--primary-color) -6px 0 12px, var(--secondary-color) 6px 0 12px;
|
2023-08-11 11:30:13 +00:00
|
|
|
|
|
|
|
--transition: 200ms;
|
|
|
|
--transition-longer: 400ms;
|
|
|
|
--transition-long: 800ms;
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Typography */
|
2023-06-23 15:07:23 +00:00
|
|
|
@font-face {
|
2023-07-17 02:51:28 +00:00
|
|
|
font-family: "InterVar";
|
2023-06-23 15:07:23 +00:00
|
|
|
font-weight: 100 900;
|
|
|
|
font-display: swap;
|
2023-07-18 12:58:30 +00:00
|
|
|
font-style: oblique italic 0deg 10deg;
|
2023-07-17 02:51:28 +00:00
|
|
|
src: url("fonts/Inter.var.woff2?v=4.0") format("woff2");
|
2023-06-23 15:07:23 +00:00
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
* {
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
2023-06-23 00:19:26 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 16px;
|
2023-07-17 02:51:28 +00:00
|
|
|
font-family: "InterVar", sans-serif;
|
2023-06-23 00:19:26 +00:00
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.6;
|
|
|
|
scroll-behavior: smooth;
|
2023-08-10 17:07:56 +00:00
|
|
|
scrollbar-color: var(--dark-op50) transparent;
|
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
scrollbar-color: var(--light-op50) transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
body {
|
|
|
|
color: var(--dark4);
|
2023-08-10 02:27:31 +00:00
|
|
|
background-color: var(--background-color);
|
2023-06-23 00:19:26 +00:00
|
|
|
/* ⇩⇩ put footer at the bottom for short pages, such as the 404 ⇩⇩ */
|
|
|
|
display: grid;
|
|
|
|
min-height: 100vh;
|
2023-07-16 12:09:22 +00:00
|
|
|
grid-template-rows: auto minmax(auto, 1fr) auto; /* header, stuff, footer */
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
|
|
|
color: var(--light2);
|
|
|
|
background-color: var(--background-color-dark);
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
background-color: var(--dark5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-16 12:09:22 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2023-06-23 00:19:26 +00:00
|
|
|
margin: 3rem 0 1rem;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 1.25;
|
2023-08-01 23:30:28 +00:00
|
|
|
font-variation-settings: "wght" 600; /* needed for webkit */
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: 100;
|
|
|
|
font-style: normal;
|
|
|
|
margin: 3rem 0 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 650px) {
|
|
|
|
h1 {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
h2 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: 600;
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--primary-color);
|
|
|
|
cursor: pointer;
|
2023-08-01 23:30:28 +00:00
|
|
|
font-variation-settings: "wght" 600; /* needed for webkit */
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
b {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
small {
|
2023-08-03 03:59:47 +00:00
|
|
|
color: var(--dark-op50);
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
small {
|
|
|
|
color: var(--light-op50);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-18 12:58:30 +00:00
|
|
|
dl {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl dt {
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 1rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl dd {
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
hr {
|
|
|
|
margin: 3rem auto 4rem;
|
|
|
|
width: 40%;
|
|
|
|
opacity: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin: 2rem auto;
|
|
|
|
max-width: 100%;
|
2023-07-16 12:09:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
img.full {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.pixels {
|
|
|
|
image-rendering: crisp-edges; /* older firefox browsers */
|
|
|
|
image-rendering: pixelated;
|
|
|
|
}
|
2023-06-23 00:19:26 +00:00
|
|
|
|
2023-08-13 12:20:37 +00:00
|
|
|
video {
|
|
|
|
display: block;
|
|
|
|
margin: 2rem auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-styled {
|
2023-08-10 00:18:16 +00:00
|
|
|
border-radius: var(--rounded-corner);
|
2023-08-13 12:20:37 +00:00
|
|
|
box-shadow: var(--shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-styled.hover {
|
|
|
|
transition: var(--transition-longer);
|
2023-08-10 00:18:16 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 12:20:37 +00:00
|
|
|
.media-styled.hover:hover {
|
2023-08-10 00:18:16 +00:00
|
|
|
transform: scale(125%);
|
|
|
|
border-radius: unset;
|
2023-08-13 12:20:37 +00:00
|
|
|
box-shadow: var(--shadow-raised);
|
2023-08-10 00:18:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-device-width: 480px) {
|
|
|
|
/*mobile*/
|
2023-08-13 12:20:37 +00:00
|
|
|
.media-styled.hover:hover {
|
2023-08-10 00:18:16 +00:00
|
|
|
transform: scale(110%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-18 12:58:30 +00:00
|
|
|
blockquote {
|
|
|
|
padding: 0 1rem;
|
|
|
|
margin-left: 0;
|
2023-08-03 03:59:47 +00:00
|
|
|
color: var(--dark-op40);
|
2023-08-07 00:56:50 +00:00
|
|
|
border-left: 0.3rem solid var(--dark-op07);
|
2023-07-18 12:58:30 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
blockquote {
|
|
|
|
color: var(--light-op40);
|
|
|
|
border-left: 0.3rem solid var(--light-op07);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-07 00:56:50 +00:00
|
|
|
blockquote > :first-child {
|
2023-07-18 12:58:30 +00:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-07 00:56:50 +00:00
|
|
|
blockquote > :last-child {
|
2023-07-18 12:58:30 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-11 16:11:23 +00:00
|
|
|
abbr {
|
|
|
|
cursor: help;
|
|
|
|
}
|
|
|
|
|
2023-08-06 19:20:16 +00:00
|
|
|
.ascii {
|
|
|
|
line-height: normal;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow-x: auto;
|
|
|
|
padding: 1rem 1rem;
|
2023-08-10 23:58:37 +00:00
|
|
|
transition: var(--transition-long);
|
2023-08-06 19:20:16 +00:00
|
|
|
|
2023-08-07 00:56:50 +00:00
|
|
|
background: linear-gradient(
|
|
|
|
to top,
|
|
|
|
rgba(36, 31, 49, 1) 0%,
|
|
|
|
rgba(36, 31, 49, 0) 100%
|
|
|
|
);
|
2023-08-06 19:20:16 +00:00
|
|
|
background-clip: text;
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
-moz-background-clip: text;
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
-moz-text-fill-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ascii:hover {
|
|
|
|
-webkit-text-fill-color: var(--dark4);
|
|
|
|
-moz-text-fill-color: var(--dark4);
|
2023-08-10 23:58:37 +00:00
|
|
|
text-shadow: var(--glow);
|
2023-08-06 19:20:16 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.ascii {
|
|
|
|
background: linear-gradient(
|
|
|
|
to top,
|
|
|
|
rgba(246, 245, 244, 1) 0%,
|
|
|
|
rgba(246, 245, 244, 0) 100%
|
|
|
|
);
|
|
|
|
background-clip: text;
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
-moz-background-clip: text;
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
-moz-text-fill-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ascii:hover {
|
|
|
|
-webkit-text-fill-color: var(--light2);
|
|
|
|
-moz-text-fill-color: var(--light2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-07 00:56:50 +00:00
|
|
|
@media only screen and (max-device-width: 480px) {
|
2023-08-06 19:20:16 +00:00
|
|
|
/*mobile*/
|
|
|
|
.ascii {
|
|
|
|
max-width: 90vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-18 12:58:30 +00:00
|
|
|
kbd {
|
2023-08-03 03:59:47 +00:00
|
|
|
background-color: var(--dark-op05);
|
|
|
|
border: 1px solid var(--dark-op07);
|
2023-07-18 18:33:12 +00:00
|
|
|
border-radius: 4px;
|
2023-08-03 03:59:47 +00:00
|
|
|
box-shadow: inset 0 -1px 0 var(--dark-op09);
|
2023-07-18 12:58:30 +00:00
|
|
|
color: var(--dark4);
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 10px;
|
|
|
|
padding: 3px 5px;
|
|
|
|
vertical-align: middle;
|
2023-07-19 23:25:06 +00:00
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd:active {
|
2023-08-03 03:59:47 +00:00
|
|
|
box-shadow: inset 0 0px 0 var(--dark-op09);
|
2023-07-19 23:25:06 +00:00
|
|
|
vertical-align: bottom;
|
|
|
|
filter: contrast(0.2);
|
2023-07-18 12:58:30 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
kbd {
|
|
|
|
background-color: var(--light-op05);
|
|
|
|
border: 1px solid var(--light-op07);
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: inset 0 -1px 0 var(--light-op09);
|
|
|
|
color: var(--light2);
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd:active {
|
|
|
|
box-shadow: inset 0 0px 0 var(--light-op09);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
/* Layout */
|
|
|
|
.container {
|
|
|
|
width: 80%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2023-08-11 13:57:28 +00:00
|
|
|
max-width: var(--container-width);
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
|
|
|
|
2023-08-07 00:56:50 +00:00
|
|
|
@media only screen and (max-device-width: 480px) {
|
2023-08-05 01:49:50 +00:00
|
|
|
/*mobile*/
|
|
|
|
.container {
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-11 22:24:16 +00:00
|
|
|
:target {
|
|
|
|
animation: glow-in-out var(--transition-long);
|
|
|
|
animation-delay: 1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes glow-in-out {
|
|
|
|
0% {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
text-shadow: var(--glow);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
/* Singletons */
|
|
|
|
#logo {
|
|
|
|
display: block;
|
2023-07-29 16:55:47 +00:00
|
|
|
width: 130px;
|
2023-07-16 12:09:22 +00:00
|
|
|
height: 26px;
|
2023-08-07 00:56:50 +00:00
|
|
|
background: url("assets/page-logo.svg") no-repeat center;
|
2023-06-23 00:19:26 +00:00
|
|
|
padding: 5rem 0 3rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
position: relative;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
|
|
|
#logo a {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
color: rgba(0, 0, 0, 0); /* make text transparent */
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-08-07 00:56:50 +00:00
|
|
|
.page-logo > img {
|
2023-06-23 00:19:26 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2023-07-16 12:09:22 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
#logo {
|
2023-08-07 00:56:50 +00:00
|
|
|
background-image: url("assets/page-logo-i.svg");
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
}
|
2023-06-23 00:19:26 +00:00
|
|
|
|
|
|
|
.brand-white {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.brand-green {
|
2023-08-07 00:56:50 +00:00
|
|
|
background-color: #30d475;
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.brand-black {
|
2023-08-07 00:56:50 +00:00
|
|
|
background-color: #201a26;
|
2023-06-23 00:19:26 +00:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-link::after {
|
2023-07-29 19:19:45 +00:00
|
|
|
content: " →";
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-link::after {
|
|
|
|
content: " ↗";
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Footer */
|
2023-08-10 23:58:37 +00:00
|
|
|
.site-footer {
|
2023-06-23 00:19:26 +00:00
|
|
|
text-align: center;
|
|
|
|
padding: 3em 0 3em;
|
|
|
|
font-size: 1em;
|
|
|
|
margin-top: 4rem;
|
|
|
|
}
|
|
|
|
|
2023-07-18 12:58:30 +00:00
|
|
|
/* Table */
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
word-break: normal;
|
|
|
|
word-break: keep-all;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th,
|
|
|
|
table td {
|
|
|
|
padding: 0.5rem 1rem;
|
2023-08-03 03:59:47 +00:00
|
|
|
border: 1px solid var(--dark-op05);
|
2023-07-18 12:58:30 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
table th,
|
|
|
|
table td {
|
|
|
|
border: 1px solid var(--light-op05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-18 12:58:30 +00:00
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
/* Make tables vertically aligned to the top */
|
|
|
|
tbody td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Github Code Highlighting */
|
2023-07-16 12:09:22 +00:00
|
|
|
.highlight table td {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight table pre {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .cm {
|
|
|
|
color: #999988;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .cp {
|
|
|
|
color: #999999;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .c1 {
|
|
|
|
color: #999988;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .cs {
|
|
|
|
color: #999999;
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-08-06 12:52:05 +00:00
|
|
|
.highlight .c,
|
|
|
|
.highlight .cd {
|
2023-06-23 00:19:26 +00:00
|
|
|
color: #999988;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .err {
|
|
|
|
color: #a61717;
|
|
|
|
background-color: #e3d2d2;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .gd {
|
|
|
|
color: #000000;
|
|
|
|
background-color: #ffdddd;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .ge {
|
|
|
|
color: #000000;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .gr {
|
|
|
|
color: #aa0000;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .gh {
|
|
|
|
color: #999999;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .gi {
|
|
|
|
color: #000000;
|
|
|
|
background-color: #ddffdd;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .go {
|
|
|
|
color: #888888;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .gp {
|
|
|
|
color: #555555;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .gs {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .gu {
|
|
|
|
color: #aaaaaa;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .gt {
|
|
|
|
color: #aa0000;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .kc {
|
|
|
|
color: #000000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .kd {
|
|
|
|
color: #000000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .kn {
|
|
|
|
color: #000000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .kp {
|
|
|
|
color: #000000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .kr {
|
|
|
|
color: #000000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .kt {
|
|
|
|
color: #445588;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-08-06 12:52:05 +00:00
|
|
|
.highlight .k,
|
|
|
|
.highlight .kv {
|
2023-06-23 00:19:26 +00:00
|
|
|
color: #000000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .mf {
|
|
|
|
color: #009999;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .mh {
|
|
|
|
color: #009999;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .il {
|
|
|
|
color: #009999;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .mi {
|
|
|
|
color: #009999;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .mo {
|
|
|
|
color: #009999;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-08-06 12:52:05 +00:00
|
|
|
.highlight .m,
|
|
|
|
.highlight .mb,
|
|
|
|
.highlight .mx {
|
2023-06-23 00:19:26 +00:00
|
|
|
color: #009999;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .sb {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .sc {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .sd {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .s2 {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .se {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .sh {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .si {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .sx {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .sr {
|
|
|
|
color: #009926;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .s1 {
|
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .ss {
|
|
|
|
color: #990073;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-07-18 12:58:30 +00:00
|
|
|
.highlight .s {
|
2023-06-23 00:19:26 +00:00
|
|
|
color: #d14;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .na {
|
|
|
|
color: #008080;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .bp {
|
|
|
|
color: #999999;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .nb {
|
2023-08-07 00:56:50 +00:00
|
|
|
color: #0086b3;
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .nc {
|
|
|
|
color: #445588;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .no {
|
|
|
|
color: #008080;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .nd {
|
|
|
|
color: #3c5d5d;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .ni {
|
|
|
|
color: #800080;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .ne {
|
|
|
|
color: #990000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-07-18 12:58:30 +00:00
|
|
|
.highlight .nf {
|
2023-06-23 00:19:26 +00:00
|
|
|
color: #990000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .nl {
|
|
|
|
color: #990000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .nn {
|
|
|
|
color: #555555;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .nt {
|
|
|
|
color: #000080;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .vc {
|
|
|
|
color: #008080;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .vg {
|
|
|
|
color: #008080;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .vi {
|
|
|
|
color: #008080;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-07-18 12:58:30 +00:00
|
|
|
.highlight .nv {
|
2023-06-23 00:19:26 +00:00
|
|
|
color: #008080;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .ow {
|
|
|
|
color: #000000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .o {
|
|
|
|
color: #000000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight .w {
|
|
|
|
color: #bbbbbb;
|
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlight {
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.highlight {
|
|
|
|
filter: contrast(0.4) saturate(2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
/* Code Blocks */
|
|
|
|
.highlighter-rouge {
|
2023-07-18 08:25:47 +00:00
|
|
|
line-height: normal;
|
2023-07-18 18:33:12 +00:00
|
|
|
margin: 1rem 0 1rem;
|
2023-06-23 00:19:26 +00:00
|
|
|
padding: 2px 1rem;
|
2023-08-06 12:52:05 +00:00
|
|
|
border-radius: 8px;
|
2023-08-10 23:58:37 +00:00
|
|
|
background-color: var(--light-bg2);
|
2023-06-23 00:19:26 +00:00
|
|
|
max-width: 100%;
|
|
|
|
overflow-x: auto;
|
2023-08-10 03:31:47 +00:00
|
|
|
box-shadow: var(--shadow);
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.highlighter-rouge {
|
|
|
|
background-color: var(--dark-bg2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-07 00:56:50 +00:00
|
|
|
@media only screen and (max-device-width: 480px) {
|
2023-06-23 00:19:26 +00:00
|
|
|
/*mobile*/
|
2023-07-16 12:09:22 +00:00
|
|
|
.highlighter-rouge {
|
2023-08-05 01:49:50 +00:00
|
|
|
max-width: 90vw;
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
2023-07-16 12:09:22 +00:00
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
.highlighter-rouge * {
|
2023-08-10 00:18:16 +00:00
|
|
|
background-color: transparent;
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Inline Code */
|
|
|
|
code.highlighter-rouge {
|
|
|
|
padding: 2px 6px;
|
2023-08-03 03:59:47 +00:00
|
|
|
background-color: var(--dark-op07);
|
2023-08-06 12:52:05 +00:00
|
|
|
box-shadow: none;
|
2023-06-23 00:19:26 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
code.highlighter-rouge {
|
|
|
|
background-color: var(--light-op07);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-23 00:19:26 +00:00
|
|
|
/* Buttons */
|
|
|
|
.dialog-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: baseline;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-button {
|
|
|
|
display: inline-block;
|
2023-08-01 23:30:19 +00:00
|
|
|
font-weight: 900;
|
2023-06-23 00:19:26 +00:00
|
|
|
font-size: 90%;
|
2023-08-07 00:56:50 +00:00
|
|
|
padding: 0.4rem 1rem;
|
2023-06-23 00:19:26 +00:00
|
|
|
border-radius: var(--rounded-corner);
|
2023-08-03 03:59:47 +00:00
|
|
|
background-color: var(--dark-op05);
|
2023-06-23 00:19:26 +00:00
|
|
|
color: var(--dark5);
|
2023-08-03 03:59:47 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.inline-button {
|
|
|
|
background-color: var(--light-op05);
|
|
|
|
color: var(--light2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-03 03:59:47 +00:00
|
|
|
/* Comments */
|
|
|
|
.avatar {
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
2023-08-06 13:37:35 +00:00
|
|
|
border-radius: var(--rounded-corner);
|
2023-08-10 03:31:47 +00:00
|
|
|
box-shadow: var(--shadow);
|
2023-08-03 03:59:47 +00:00
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar img {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment time,
|
|
|
|
section#comments .comment footer {
|
|
|
|
font-size: smaller;
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment {
|
|
|
|
display: grid;
|
|
|
|
column-gap: 1rem;
|
|
|
|
grid-template-areas: "avatar name" "avatar time" "avatar post" "...... card" "...... interactions";
|
|
|
|
grid-template-columns: min-content;
|
|
|
|
justify-items: start;
|
|
|
|
margin: 2em auto 2em -1em;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .avatar-link {
|
|
|
|
grid-area: avatar;
|
|
|
|
height: 4rem;
|
|
|
|
position: relative;
|
|
|
|
width: 4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .avatar-link .avatar {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .avatar-link.op::after {
|
2023-08-10 23:58:37 +00:00
|
|
|
background-color: var(--primary-color);
|
2023-08-03 03:59:47 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
bottom: -0.25rem;
|
|
|
|
color: var(--light2);
|
|
|
|
content: "✓";
|
|
|
|
display: block;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: bold;
|
|
|
|
height: 1.5rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
position: absolute;
|
|
|
|
right: -0.25rem;
|
|
|
|
text-align: center;
|
|
|
|
width: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .author {
|
|
|
|
align-items: center;
|
|
|
|
cursor: default;
|
|
|
|
display: flex;
|
|
|
|
font-weight: bold;
|
|
|
|
gap: 0.5em;
|
|
|
|
grid-area: name;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .author img {
|
|
|
|
margin: unset;
|
|
|
|
max-width: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .author .instance {
|
|
|
|
background-color: var(--light3);
|
|
|
|
border-radius: 9999px;
|
|
|
|
color: var(--dark4);
|
|
|
|
font-size: smaller;
|
|
|
|
font-weight: normal;
|
|
|
|
padding: 0.2em 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .author .instance:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .author .instance.op {
|
2023-08-10 23:58:37 +00:00
|
|
|
background-color: var(--primary-color);
|
2023-08-03 03:59:47 +00:00
|
|
|
color: var(--light2);
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .author .instance.op::before {
|
|
|
|
content: "✓";
|
|
|
|
font-weight: bold;
|
|
|
|
margin-inline-end: 0.25em;
|
|
|
|
margin-inline-start: -0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment time {
|
|
|
|
grid-area: time;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment time.edited::after {
|
|
|
|
content: " *";
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment main {
|
|
|
|
grid-area: post;
|
|
|
|
justify-self: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment main p:first-child {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment main p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .card,
|
|
|
|
section#comments .comment .qr,
|
|
|
|
section#comments .comment .app-badge,
|
|
|
|
section#comments .comment .products .product,
|
|
|
|
.products section#comments .comment .product {
|
|
|
|
color: inherit;
|
|
|
|
grid-area: card;
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .card:hover,
|
|
|
|
section#comments .comment .qr:hover,
|
|
|
|
section#comments .comment .app-badge:hover,
|
|
|
|
section#comments .comment .products .product:hover,
|
|
|
|
.products section#comments .comment .product:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .card figure,
|
|
|
|
section#comments .comment .qr figure,
|
|
|
|
section#comments .comment .app-badge figure,
|
|
|
|
section#comments .comment .products .product figure,
|
|
|
|
.products section#comments .comment .product figure {
|
|
|
|
border-radius: inherit;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .card figure {
|
2023-08-10 23:58:37 +00:00
|
|
|
background-color: var(--light-bg1);
|
2023-08-06 12:52:05 +00:00
|
|
|
border-radius: var(--rounded-corner);
|
2023-08-03 03:59:47 +00:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2023-08-10 03:31:47 +00:00
|
|
|
box-shadow: var(--shadow);
|
2023-08-10 23:58:37 +00:00
|
|
|
transition: var(--transition);
|
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
section#comments .comment .card figure {
|
|
|
|
background-color: var(--dark-bg1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-10 23:58:37 +00:00
|
|
|
section#comments .comment .card figure:hover {
|
|
|
|
transform: translateY(-0.5rem);
|
|
|
|
box-shadow: var(--shadow-raised);
|
2023-08-03 03:59:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .card figure img {
|
|
|
|
margin: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .card figcaption,
|
|
|
|
section#comments .comment .qr figcaption,
|
|
|
|
section#comments .comment .app-badge figcaption,
|
|
|
|
section#comments .comment .products .product figcaption,
|
|
|
|
.products section#comments .comment .product figcaption {
|
|
|
|
display: grid;
|
|
|
|
gap: 0.5em;
|
|
|
|
margin: 0;
|
|
|
|
padding: 1em;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .card figcaption *,
|
|
|
|
section#comments .comment .qr figcaption *,
|
|
|
|
section#comments .comment .app-badge figcaption *,
|
|
|
|
section#comments .comment .products .product figcaption *,
|
|
|
|
.products section#comments .comment .product figcaption * {
|
|
|
|
display: -webkit-box;
|
|
|
|
line-height: 1.25;
|
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment:first-of-type .card,
|
|
|
|
section#comments .comment:first-of-type .qr,
|
|
|
|
section#comments .comment:first-of-type .app-badge,
|
|
|
|
section#comments .comment:first-of-type .products .product,
|
|
|
|
.products section#comments .comment:first-of-type .product {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment footer {
|
|
|
|
display: flex;
|
|
|
|
gap: 1.25em;
|
|
|
|
grid-area: interactions;
|
|
|
|
margin-top: 0.925rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment footer .faves {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment footer .faves::before {
|
|
|
|
color: var(--red2);
|
|
|
|
content: "❤️";
|
|
|
|
margin-inline-end: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment footer .boosts {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment footer .boosts::before {
|
|
|
|
color: var(--orange2);
|
|
|
|
content: "🔁";
|
|
|
|
margin-inline-end: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .emoji {
|
2023-08-13 13:23:30 +00:00
|
|
|
margin: unset;
|
|
|
|
max-width: unset;
|
2023-08-03 03:59:47 +00:00
|
|
|
display: inline;
|
|
|
|
height: 1.25em;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 1.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .invisible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment .ellipsis::after {
|
|
|
|
content: "…";
|
|
|
|
}
|
|
|
|
|
|
|
|
section#comments .comment details summary {
|
2023-08-07 00:56:50 +00:00
|
|
|
background-image: linear-gradient(
|
|
|
|
90deg,
|
|
|
|
transparent,
|
|
|
|
transparent 0.4rem,
|
|
|
|
var(--light1) 0.4rem,
|
|
|
|
var(--light1) calc(100% - 0.4rem),
|
|
|
|
transparent calc(100% - 0.4rem),
|
|
|
|
transparent
|
|
|
|
),
|
|
|
|
repeating-linear-gradient(
|
|
|
|
45deg,
|
|
|
|
var(--dark4),
|
|
|
|
var(--dark4) 0.3rem,
|
2023-08-10 23:58:37 +00:00
|
|
|
var(--primary-color) 0.3rem,
|
|
|
|
var(--primary-color) 0.6rem
|
2023-08-07 00:56:50 +00:00
|
|
|
);
|
2023-08-03 03:59:47 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
color: inherit;
|
|
|
|
cursor: default;
|
|
|
|
margin-top: 0.925rem;
|
|
|
|
padding: 1em;
|
2023-08-06 12:52:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Navbar */
|
2023-08-09 05:44:57 +00:00
|
|
|
nav {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2023-08-06 12:52:05 +00:00
|
|
|
.nav-container {
|
|
|
|
display: block;
|
|
|
|
width: 80%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2023-08-11 13:57:28 +00:00
|
|
|
max-width: var(--container-width);
|
2023-08-06 12:52:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav {
|
2023-08-13 23:48:19 +00:00
|
|
|
background-color: var(--light-op50);
|
2023-08-09 05:44:57 +00:00
|
|
|
backdrop-filter: blur(32px) saturate(180%);
|
2023-08-13 23:48:19 +00:00
|
|
|
border-bottom: 1px solid var(--dark-op07);
|
2023-08-10 03:31:47 +00:00
|
|
|
box-shadow: var(--shadow);
|
2023-08-06 12:52:05 +00:00
|
|
|
overflow: auto;
|
2023-08-13 23:48:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.nav {
|
|
|
|
background-color: var(--dark-op50);
|
|
|
|
border-bottom: 1px solid var(--light-op07);
|
|
|
|
}
|
2023-08-10 17:07:56 +00:00
|
|
|
}
|
|
|
|
|
2023-08-06 12:52:05 +00:00
|
|
|
.nav-container {
|
2023-08-10 00:18:16 +00:00
|
|
|
margin: 0.5rem auto;
|
2023-08-06 12:52:05 +00:00
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-title {
|
|
|
|
color: var(--dark-op50);
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
2023-08-08 13:56:03 +00:00
|
|
|
/* padding-right: 0.2rem; */
|
2023-08-06 12:52:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.nav-title {
|
|
|
|
color: var(--light-op50);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-10 02:27:31 +00:00
|
|
|
.nav-title:hover {
|
2023-08-06 12:52:05 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 1rem 0 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav li {
|
|
|
|
color: var(--dark-op50);
|
|
|
|
display: inline-block;
|
2023-08-08 13:56:03 +00:00
|
|
|
/* padding: 0 1rem 0 0; */
|
2023-08-06 12:52:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.nav li {
|
|
|
|
color: var(--light-op50);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-09 05:44:57 +00:00
|
|
|
/* .nav li:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
} */
|
2023-08-06 12:52:05 +00:00
|
|
|
|
|
|
|
.nav a {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: 900;
|
|
|
|
font-size: 90%;
|
2023-08-07 00:56:50 +00:00
|
|
|
padding: 0.4rem 1rem;
|
2023-08-06 12:52:05 +00:00
|
|
|
border-radius: var(--rounded-corner);
|
|
|
|
background-color: transparent;
|
|
|
|
color: var(--dark-op50);
|
2023-08-10 23:58:37 +00:00
|
|
|
/* transition: var(--transition); */
|
2023-08-06 12:52:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.nav a {
|
|
|
|
color: var(--light-op50);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-06 12:52:05 +00:00
|
|
|
.nav a:hover {
|
|
|
|
background-color: var(--dark-op05);
|
2023-08-10 23:58:37 +00:00
|
|
|
/* box-shadow: var(--glow); */
|
2023-08-06 12:52:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.nav a:hover {
|
|
|
|
background-color: var(--light-op05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-07 00:56:50 +00:00
|
|
|
.nav svg {
|
|
|
|
fill: var(--dark-op50);
|
|
|
|
}
|
|
|
|
|
2023-08-13 23:48:19 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.nav svg {
|
|
|
|
fill: var(--light-op50);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-09 05:44:57 +00:00
|
|
|
.nav .feed-icon {
|
|
|
|
transform: translateY(0.125em);
|
|
|
|
}
|
|
|
|
|
2023-08-06 12:52:05 +00:00
|
|
|
@media (min-width: 650px) {
|
|
|
|
.nav-container {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav ul {
|
|
|
|
bottom: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
2023-08-07 00:56:50 +00:00
|
|
|
}
|
2023-08-10 00:18:16 +00:00
|
|
|
|
|
|
|
@media only screen and (max-device-width: 650px) {
|
|
|
|
/*mobile*/
|
|
|
|
nav {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-container {
|
|
|
|
margin: 1rem auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav {
|
2023-08-13 23:48:19 +00:00
|
|
|
background-color: unset;
|
2023-08-10 00:18:16 +00:00
|
|
|
backdrop-filter: unset;
|
2023-08-13 23:48:19 +00:00
|
|
|
border-bottom: unset;
|
2023-08-10 00:18:16 +00:00
|
|
|
box-shadow: unset;
|
|
|
|
}
|
|
|
|
}
|