1
0
Fork 0
forked from github/pelican

feat: this is going live now

This commit is contained in:
Oliver Ladner 2024-12-19 09:56:25 +01:00
commit 06cac4589c
410 changed files with 4684 additions and 44715 deletions

59
static/css/in.css Normal file
View file

@ -0,0 +1,59 @@
@tailwind base; /* Preflight is injected here */
@tailwind components;
@tailwind utilities;
@layer base {
html {
/* text-lg == prose-lg */
/* text-xl == prose-xl */
@apply md:text-lg lg:text-xl font-texts text-rp-dawn-text dark:text-rp-moon-iris;
}
text {
@apply text-rp-dawn-text dark:text-rp-moon-iris;
}
a {
@apply underline decoration-2 underline-offset-4 decoration-rp-dawn-gold dark:decoration-rp-moon-pine;
}
a:hover {
@apply underline decoration-2 underline-offset-4 decoration-rp-dawn-foam dark:decoration-rp-moon-rose;
}
h1,
h2,
h3,
h4,
h5,
h6 {
@apply font-headings text-rp-dawn-text dark:text-rp-moon-love;
}
h1 {
@apply text-7xl mb-9;
}
h2 {
@apply text-5xl mb-9;
}
h3 {
@apply text-4xl;
}
h4 {
@apply text-3xl;
}
h5 {
@apply text-2xl;
}
h6 {
@apply text-xl;
}
img {
@apply drop-shadow-lg;
}
dd {
@apply ml-24;
}
}
@layer components {
/*This does not seem to affect prismjs which is good*/
code {
@apply bg-rp-dawn-highlight-low dark:bg-rp-moon-highlight-low;
}
}

2023
static/css/out.css Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,201 @@
/**
* MIT License
* Rosé Pine Theme
* https://github.com/rose-pine
* Ported for PrismJS by fvrests [@fvrests]
*/
code[class*="language-"],
pre[class*="language-"] {
color: #e0def4;
background: #2a273f;
font-family: "Cartograph CF", ui-monospace, SFMono-Regular, Menlo, Monaco,
Consolas, "Liberation Mono", "Courier New", monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
@media print {
text-shadow: none;
}
}
/* Selection */
code[class*="language-"]::-moz-selection,
pre[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection,
pre[class*="language-"] ::-moz-selection {
background: #44415a;
}
code[class*="language-"]::selection,
pre[class*="language-"]::selection,
code[class*="language-"] ::selection,
pre[class*="language-"] ::selection {
background: #44415a;
}
/* Code (block & inline) */
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
color: #e0def4;
background: #2a273f;
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: 0.5em 0;
overflow: auto;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
color: #e0def4;
background: #2a273f;
}
/* Text style & opacity */
.token.entity {
cursor: help;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic,
.token.selector,
.token.doctype,
.token.attr-name,
.token.inserted,
.token.deleted,
.token.comment,
.token.prolog,
.token.cdata,
.token.constant,
.token.parameter,
.token.url {
font-style: italic;
}
.token.url {
text-decoration: underline;
}
.namespace {
opacity: 0.7;
}
/* Syntax highlighting */
.token.constant {
color: #e0def4;
}
.token.comment,
.token.prolog,
.token.cdata,
.token.punctuation {
color: #908caa;
}
.token.delimiter,
.token.important,
.token.atrule,
.token.operator,
.token.keyword {
color: #3e8fb0;
}
.token.tag,
.token.tag .punctuation,
.token.doctype,
.token.variable,
.token.regex,
.token.class-name,
.token.selector,
.token.inserted {
color: #9ccfd8;
}
.token.boolean,
.token.entity,
.token.number,
.token.symbol,
.token.function {
color: #ea9a97;
}
.token.string,
.token.char,
.token.property,
.token.attr-value,
.token.attr-value .punctuation {
color: #f6c177;
}
.token.parameter,
.token.url,
.token.name,
.token.attr-name,
.token.builtin {
color: #c4a7e7;
}
.token.deleted {
color: #eb6f92;
}
/* Insertions & deletions */
.token.inserted {
background: rgba(156 207 216 0.12);
}
.token.deleted {
background: rgba(235 111 146 0.12);
}
/* Line highlighting */
pre[data-line] {
position: relative;
}
pre[class*="language-"] > code[class*="language-"] {
position: relative;
z-index: 1;
}
.line-highlight,
.highlight-lines .highlighted {
position: absolute;
left: 0;
right: 0;
padding: inherit 0;
margin-top: 1em;
background: #44415a;
box-shadow: inset 5px 0 0 #e0def4;
z-index: 0;
pointer-events: none;
line-height: inherit;
white-space: pre;
}

View file

@ -0,0 +1,201 @@
/**
* MIT License
* Rosé Pine Theme
* https://github.com/rose-pine
* Ported for PrismJS by fvrests [@fvrests]
*/
code[class*="language-"],
pre[class*="language-"] {
color: #e0def4;
background: #232136;
font-family: "Cartograph CF", ui-monospace, SFMono-Regular, Menlo, Monaco,
Consolas, "Liberation Mono", "Courier New", monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
@media print {
text-shadow: none;
}
}
/* Selection */
code[class*="language-"]::-moz-selection,
pre[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection,
pre[class*="language-"] ::-moz-selection {
background: #44415a;
}
code[class*="language-"]::selection,
pre[class*="language-"]::selection,
code[class*="language-"] ::selection,
pre[class*="language-"] ::selection {
background: #44415a;
}
/* Code (block & inline) */
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
color: #e0def4;
background: #232136;
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: 0.5em 0;
overflow: auto;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
color: #e0def4;
background: #232136;
}
/* Text style & opacity */
.token.entity {
cursor: help;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic,
.token.selector,
.token.doctype,
.token.attr-name,
.token.inserted,
.token.deleted,
.token.comment,
.token.prolog,
.token.cdata,
.token.constant,
.token.parameter,
.token.url {
font-style: italic;
}
.token.url {
text-decoration: underline;
}
.namespace {
opacity: 0.7;
}
/* Syntax highlighting */
.token.constant {
color: #e0def4;
}
.token.comment,
.token.prolog,
.token.cdata,
.token.punctuation {
color: #908caa;
}
.token.delimiter,
.token.important,
.token.atrule,
.token.operator,
.token.keyword {
color: #3e8fb0;
}
.token.tag,
.token.tag .punctuation,
.token.doctype,
.token.variable,
.token.regex,
.token.class-name,
.token.selector,
.token.inserted {
color: #9ccfd8;
}
.token.boolean,
.token.entity,
.token.number,
.token.symbol,
.token.function {
color: #ea9a97;
}
.token.string,
.token.char,
.token.property,
.token.attr-value,
.token.attr-value .punctuation {
color: #f6c177;
}
.token.parameter,
.token.url,
.token.name,
.token.attr-name,
.token.builtin {
color: #c4a7e7;
}
.token.deleted {
color: #eb6f92;
}
/* Insertions & deletions */
.token.inserted {
background: rgba(156 207 216 0.12);
}
.token.deleted {
background: rgba(235 111 146 0.12);
}
/* Line highlighting */
pre[data-line] {
position: relative;
}
pre[class*="language-"] > code[class*="language-"] {
position: relative;
z-index: 1;
}
.line-highlight,
.highlight-lines .highlighted {
position: absolute;
left: 0;
right: 0;
padding: inherit 0;
margin-top: 1em;
background: #44415a;
box-shadow: inset 5px 0 0 #e0def4;
z-index: 0;
pointer-events: none;
line-height: inherit;
white-space: pre;
}

3
static/css/prism.css Normal file
View file

@ -0,0 +1,3 @@
/* PrismJS 1.29.0
https://prismjs.com/download.html?themes#themes=prism&languages=markup+css+clike+javascript+bash+diff+django+dns-zone-file+docker+dot+elixir+erlang+git+go+go-module+hcl+ini+jq+lua+makefile+markdown+markup-templating+nginx+properties+python+r+rest+sql+toml+vim+yaml */
code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}

34
static/js/prism.js Normal file

File diff suppressed because one or more lines are too long