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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-29 09:50:28 -04:00
|
|
|
article.post {
|
2024-03-12 18:25:33 -04:00
|
|
|
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) {
|
2024-03-29 09:50:28 -04:00
|
|
|
article.post:hover {
|
2024-03-12 18:25:33 -04:00
|
|
|
border-top-color: var(--primary-100);
|
|
|
|
border-bottom-color: var(--primary-100);
|
|
|
|
}
|
2024-03-29 09:50:28 -04:00
|
|
|
article.post:last-of-type:hover {
|
2024-03-12 18:25:33 -04:00
|
|
|
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-04-30 09:47:21 -04:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post__content img {
|
|
|
|
max-width: 100%;
|
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-04-09 15:36:45 -04:00
|
|
|
.post__content blockquote p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
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-04-09 15:36:45 -04:00
|
|
|
padding: 0.5em;
|
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-04-09 15:36:45 -04:00
|
|
|
.lightbox-wrapper img {
|
2024-10-31 13:51:10 -04:00
|
|
|
width: auto;
|
2024-04-09 15:36:45 -04:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2024-06-11 12:06:57 -04:00
|
|
|
aside .title,
|
2024-04-09 15:36:45 -04:00
|
|
|
blockquote {
|
|
|
|
background-color: var(--primary-50);
|
|
|
|
border-left: 6px solid var(--primary-200);
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
2024-06-11 12:06:57 -04:00
|
|
|
aside .title + blockquote {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside .title {
|
|
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside .title .avatar {
|
|
|
|
border-radius: 100%;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2024-10-31 13:51:10 -04:00
|
|
|
.lightbox-wrapper .meta .filename,
|
|
|
|
.lightbox-wrapper .meta svg,
|
|
|
|
.lightbox-wrapper .meta .informations {
|
2024-03-13 05:52:33 -04:00
|
|
|
display: none;
|
|
|
|
}
|
2024-03-13 13:16:07 -04:00
|
|
|
|
2024-03-13 05:52:33 -04:00
|
|
|
.lightbox-wrapper .meta .filename {
|
2024-04-09 15:36:45 -04:00
|
|
|
overflow-wrap: anywhere;
|
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
|
|
|
}
|
2024-03-29 09:50:28 -04:00
|
|
|
|
|
|
|
aside.onebox {
|
|
|
|
border: 4px solid var(--primary-200);
|
|
|
|
padding: 1em;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside.onebox .source {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.5em;
|
|
|
|
font-size: 0.9em;
|
|
|
|
line-height: 1;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside.onebox .source a {
|
|
|
|
color: var(--primary-700);
|
|
|
|
}
|
|
|
|
|
|
|
|
aside.onebox .site-icon {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "avatar title" "avatar body";
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
align-items: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside.onebox h3 {
|
|
|
|
margin: 0 0 0.25em 0;
|
|
|
|
grid-area: title;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-avatar {
|
|
|
|
width: 5.5em;
|
|
|
|
height: auto;
|
|
|
|
grid-area: avatar;
|
|
|
|
margin: .5em 1.5em 0 0;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onebox-body p {
|
|
|
|
grid-area: body;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
font-size: 0.95em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lazy-video-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lazy-video-container a {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lazy-video-container img {
|
|
|
|
width: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lazy-video-container:hover:before{
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lazy-video-container:before {
|
|
|
|
/* video play button */
|
|
|
|
content:"";
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z' fill='white' /%3E%3C/svg%3E");
|
|
|
|
z-index: 2;
|
|
|
|
width: 5em;
|
|
|
|
height: 6.25em;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 32%;
|
|
|
|
pointer-events: none;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
opacity: 0.85;
|
|
|
|
transition: opacity 0.25s ease-in-out;
|
|
|
|
}
|