2024-03-12 01:51:41 -04:00
|
|
|
:root {
|
2024-03-12 18:25:33 -04:00
|
|
|
--shadow-header: 0 2px 30px -1px rgba(0, 0, 0, 0.05);
|
|
|
|
--shadow-content: 0 10px 20px -1px rgba(0, 0, 0, 0.05);
|
|
|
|
|
|
|
|
--primary: #333;
|
|
|
|
--primary-50: #f7f8fa;
|
|
|
|
--primary-100: #eff2f5;
|
|
|
|
--primary-200: #e4e9ee;
|
|
|
|
--primary-300: #c9d2dd;
|
|
|
|
--primary-400: #aebccb;
|
|
|
|
--primary-500: #93a5ba;
|
|
|
|
--primary-600: #778fa9;
|
|
|
|
--primary-700: #5b7490;
|
|
|
|
--primary-800: #4e627a;
|
|
|
|
--primary-900: #344252;
|
|
|
|
|
|
|
|
--secondary: #fff;
|
|
|
|
|
|
|
|
--tertiary: #08c;
|
|
|
|
|
2024-03-13 13:16:07 -04:00
|
|
|
/* colors from the default dark discourse color scheme */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
--primary: #dddddd;
|
|
|
|
--primary-50: #282828;
|
|
|
|
--primary-100: #2c2c2c;
|
|
|
|
--primary-200: #313131;
|
|
|
|
--primary-300: #585858;
|
|
|
|
--primary-400: #7a7a7a;
|
|
|
|
--primary-500: #858585;
|
|
|
|
--primary-600: #909090;
|
|
|
|
--primary-700: #9b9b9b;
|
|
|
|
--primary-800: #a6a6a6;
|
|
|
|
--primary-900: #c7c7c7;
|
|
|
|
|
|
|
|
--secondary: #222222;
|
|
|
|
|
|
|
|
--tertiary: #099dd7;
|
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
--border-radius-large: 1em;
|
|
|
|
--border-radius-small: 0.33em;
|
|
|
|
|
|
|
|
--font-up-6: 2.296em;
|
|
|
|
--font-up-5: 2em;
|
|
|
|
--font-up-4: 1.7511em;
|
|
|
|
--font-up-3: 1.5157em;
|
|
|
|
--font-up-2: 1.3195em;
|
2024-03-13 05:52:33 -04:00
|
|
|
--font-up-1: 1.1487em;
|
2024-03-12 18:25:33 -04:00
|
|
|
--font-0: 1em;
|
2024-03-13 05:52:33 -04:00
|
|
|
--font-down-1: 0.8706em;
|
|
|
|
--font-down-2: 0.7579em;
|
2024-03-12 18:25:33 -04:00
|
|
|
--font-down-3: 0.6599em;
|
|
|
|
--font-down-4: 0.5745em;
|
|
|
|
--font-down-5: 0.5em;
|
|
|
|
--font-down-6: 0.4355em;
|
|
|
|
}
|
|
|
|
|
|
|
|
* { /* reset */
|
|
|
|
box-sizing: border-box;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
|
|
margin: 0;
|
2024-03-12 18:25:33 -04:00
|
|
|
font-size: 1.125em; /* root scale */
|
2024-03-12 01:51:41 -04:00
|
|
|
line-height: 1.8;
|
2024-03-12 18:25:33 -04:00
|
|
|
color: var(--primary);
|
|
|
|
background: var(--primary-50);
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.site-header {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto 1fr;
|
|
|
|
grid-template-areas: "logo site llm";
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
padding: 0 1em;
|
2024-03-12 01:51:41 -04:00
|
|
|
align-items: center;
|
2024-03-12 18:25:33 -04:00
|
|
|
background-color: var(--secondary);
|
|
|
|
box-shadow: var(--shadow-header);
|
|
|
|
z-index: 2;
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
grid-template-areas: "logo site" "logo llm";
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
gap: 0 1em;
|
|
|
|
align-items: start;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
position: relative;
|
|
|
|
grid-template-areas: "logo" "site" "llm";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ai-logo {
|
|
|
|
grid-area: logo
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.ai-logo .logo {
|
2024-03-12 18:25:33 -04:00
|
|
|
height: 3.75em;
|
|
|
|
width: auto;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
padding-bottom: 0;
|
|
|
|
max-width: 180px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-13 13:16:07 -04:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.d-logo-black {
|
|
|
|
fill: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
|
|
.ai-logo:hover #d-sparkles {
|
|
|
|
animation: d-rainbow-sparkles 1.5s forwards ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes d-rainbow-sparkles {
|
|
|
|
|
|
|
|
0% {
|
|
|
|
fill: #f15d22;
|
|
|
|
}
|
|
|
|
33% {
|
|
|
|
fill: #fff9ae;
|
|
|
|
}
|
|
|
|
66% {
|
|
|
|
fill: #00a94f;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
fill: #00aeef;
|
|
|
|
}
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-title {
|
2024-03-12 18:25:33 -04:00
|
|
|
grid-area: site;
|
|
|
|
font-size: var(--font-up-2);
|
|
|
|
color: var(--primary);
|
2024-03-12 01:51:41 -04:00
|
|
|
padding: 0 1em;
|
2024-03-12 18:25:33 -04:00
|
|
|
transition: color 0.25s ease-in-out;
|
2024-03-12 01:51:41 -04:00
|
|
|
text-decoration: none;
|
2024-03-12 18:25:33 -04:00
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
font-weight: bold;
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
margin-top: 0.8em;
|
|
|
|
line-height: 1.2;
|
|
|
|
text-align: right;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
font-size: var(--font-up-3);
|
|
|
|
text-align: left;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.llm-name {
|
2024-03-12 18:25:33 -04:00
|
|
|
grid-area: llm;
|
|
|
|
font-size: var(--font-down-1);
|
2024-03-12 01:51:41 -04:00
|
|
|
padding: 0.5em 1em;
|
|
|
|
text-decoration: none;
|
2024-03-12 18:25:33 -04:00
|
|
|
text-align: right;
|
|
|
|
line-height: 1.2;
|
|
|
|
color: var(--primary-600);
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
text-align: left;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
max-width: 900px;
|
|
|
|
margin: 4em auto 8em;
|
|
|
|
background-color: var(--secondary);
|
|
|
|
border-radius: var(--border-radius-large);
|
|
|
|
box-shadow: var(--shadow-content);
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
margin-top: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-header {
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1.2;
|
|
|
|
padding: 3em 2.5em;
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
padding: 2em 1em;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-header h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: var(--font-up-5);
|
|
|
|
font-weight: normal;
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
font-size: var(--font-up-3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-header time {
|
|
|
|
display: block;
|
|
|
|
color: var(--primary-500);
|
|
|
|
margin-top: 0.5em;
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
transition: border-color 0.25s ease-in-out;
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
border-top-color: var(--primary-100);
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
|
|
|
article:hover {
|
|
|
|
border-top-color: var(--primary-100);
|
|
|
|
border-bottom-color: var(--primary-100);
|
|
|
|
}
|
|
|
|
article:last-of-type:hover {
|
|
|
|
border-bottom-color: transparent;
|
2024-03-13 05:52:33 -04:00
|
|
|
}
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
pre, code {
|
|
|
|
font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace;
|
2024-03-12 18:25:33 -04:00
|
|
|
font-size: var(--font-down-1);
|
|
|
|
background-color: var(--primary-50);
|
|
|
|
font-size: inherit;
|
|
|
|
padding: 0;
|
|
|
|
background-color: transparent;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2024-03-12 18:25:33 -04:00
|
|
|
border-radius: var(--border-radius-small);
|
2024-03-12 01:51:41 -04:00
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding: 0.2em 0.4em;
|
2024-03-12 18:25:33 -04:00
|
|
|
border-radius: var(--border-radius-small);
|
|
|
|
background: var(--primary-50);
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
code.hljs {
|
|
|
|
background-color: var(--primary-50);
|
|
|
|
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 h2 h3 h4 h5 h6 {
|
|
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post {
|
2024-03-12 18:25:33 -04:00
|
|
|
padding: 1.5em 3em 1.5em;
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__header {
|
2024-03-12 01:51:41 -04:00
|
|
|
display: flex;
|
2024-03-12 18:25:33 -04:00
|
|
|
flex-wrap: wrap;
|
2024-03-12 01:51:41 -04:00
|
|
|
align-items: baseline;
|
|
|
|
justify-content: start;
|
2024-03-12 18:25:33 -04:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
gap: 0 0.5em;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__user {
|
2024-03-12 01:51:41 -04:00
|
|
|
font-weight: bold;
|
2024-03-12 18:25:33 -04:00
|
|
|
color: var(--primary);
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__date, .post__persona {
|
2024-03-12 01:51:41 -04:00
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__persona {
|
|
|
|
color: var(--primary-600);
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__content {
|
2024-03-12 01:51:41 -04:00
|
|
|
line-height: 1.4;
|
2024-03-12 18:25:33 -04:00
|
|
|
color: var(--primary-800);
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__content p:first-child {
|
|
|
|
margin-top: 0;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__content p:last-child {
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
}
|
2024-03-13 05:52:33 -04:00
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__date {
|
|
|
|
color: var(--primary-500);
|
|
|
|
margin-left: auto;
|
|
|
|
display: none; /* hiding for now */
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
summary {
|
2024-03-12 18:25:33 -04:00
|
|
|
padding: 1em;
|
|
|
|
border-radius: var(--border-radius-small);
|
2024-03-12 01:51:41 -04:00
|
|
|
cursor: pointer;
|
2024-03-12 18:25:33 -04:00
|
|
|
color: var(--tertiary);
|
|
|
|
outline: none;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
summary:hover {
|
|
|
|
background-color: var(--primary-100);
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
details {
|
|
|
|
background-color: var(--primary-50);
|
|
|
|
border-radius: var(--border-radius-small);
|
|
|
|
transition: background-color 0.3s ease;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
details[open] {
|
|
|
|
padding-bottom: 0.75em;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
details > *:not(summary) {
|
|
|
|
padding: 0 1em;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
.post__content details p:last-child {
|
|
|
|
margin-bottom: 0;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
details p {
|
|
|
|
margin-top: 10px;
|
|
|
|
color: var(--primary-800);
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
details[open] summary {
|
|
|
|
color: var(--tertiary);
|
|
|
|
border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--tertiary);
|
|
|
|
transition: color 0.25s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: var(--tertiary);
|
|
|
|
text-decoration: underline;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
ol, ul {
|
|
|
|
padding-left: 1.33em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: 0.75em;
|
|
|
|
line-height: 1.6;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
2024-03-12 18:25:33 -04:00
|
|
|
li:last-child {
|
|
|
|
margin-bottom: 0;
|
2024-03-12 01:51:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
li, p {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
2024-03-13 05:52:33 -04:00
|
|
|
.lightbox-wrapper .meta svg, .lightbox-wrapper .meta .informations {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-03-13 13:16:07 -04:00
|
|
|
|
2024-03-13 05:52:33 -04:00
|
|
|
.lightbox-wrapper .meta .filename {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
2024-03-13 13:16:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
custom code highlighting for dark mode support...
|
|
|
|
overrides highlightjs (https://highlightjs.org/) CSS colors.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.hljs{
|
|
|
|
--hljs-red: #c63c1b;
|
|
|
|
--hljs-salmon: #ec8972;
|
|
|
|
--hljs-lime: #4dff4d;
|
|
|
|
--hljs-green: #090;
|
|
|
|
--hljs-sky: #47c2ff;
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
--hljs-red: #af3719;
|
|
|
|
--hljs-salmon: #c7705c;
|
|
|
|
--hljs-lime: #3fcf3f;
|
|
|
|
--hljs-green: #048504;
|
|
|
|
--hljs-sky: #379ccf;
|
|
|
|
}
|
|
|
|
|
|
|
|
--hljs-blue: var(--tertiary); /* already has a dark variant at root */
|
|
|
|
|
|
|
|
background:var(--primary-50);
|
|
|
|
color:var(--primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code.hljs{
|
|
|
|
display:block;
|
|
|
|
overflow-x:auto;
|
|
|
|
padding:1em
|
|
|
|
}
|
|
|
|
|
|
|
|
code.hljs{
|
|
|
|
padding:3px 5px
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{
|
|
|
|
font-weight:700
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-emphasis{
|
|
|
|
font-style:italic
|
|
|
|
}
|
|
|
|
.hljs-strong{
|
|
|
|
font-weight:700
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-comment{
|
|
|
|
color: var(--hljs-comment);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-punctuation,.hljs-tag{
|
|
|
|
color:var(--primary-900);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-tag .hljs-attr,.hljs-tag .hljs-name{
|
|
|
|
color:var(--primary-900);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{
|
|
|
|
color: var(--hljs-red);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-section,.hljs-title{
|
|
|
|
color: var(--hljs-red);
|
|
|
|
font-weight:700
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{
|
|
|
|
color:var(--hljs-salmon);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-literal{
|
|
|
|
color: var(--hljs-lime);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{
|
|
|
|
color:var(--hljs-green);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-meta{
|
|
|
|
color:var(--hljs-blue);
|
|
|
|
}
|
2024-03-13 05:52:33 -04:00
|
|
|
|
2024-03-13 13:16:07 -04:00
|
|
|
.hljs-meta .hljs-string{
|
|
|
|
color:var(--hljs-sky);
|
2024-03-13 05:52:33 -04:00
|
|
|
}
|