نسخ من khaledmahfouz5/Maqtaa
Upgrade JS and Go deps versions (#517)
هذا الالتزام موجود في:
2
public/css/auto.css
مباع
Normal file
2
public/css/auto.css
مباع
Normal file
@@ -0,0 +1,2 @@
|
||||
@import "./light.css" (prefers-color-scheme: light);
|
||||
@import "./dark.css" (prefers-color-scheme: dark);
|
||||
251
public/css/catppuccin-latte.css
مباع
Normal file
251
public/css/catppuccin-latte.css
مباع
Normal file
@@ -0,0 +1,251 @@
|
||||
.chroma .cl {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .err {
|
||||
color: #d20f39;
|
||||
}
|
||||
.chroma .x {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .hl {
|
||||
background-color: #bcc0cc;
|
||||
}
|
||||
.chroma .lnt {
|
||||
color: #8c8fa1;
|
||||
}
|
||||
.chroma .ln {
|
||||
color: #8c8fa1;
|
||||
}
|
||||
.chroma .k {
|
||||
color: #8839ef;
|
||||
}
|
||||
.chroma .kr {
|
||||
color: #8839ef;
|
||||
}
|
||||
.chroma .kp {
|
||||
color: #8839ef;
|
||||
}
|
||||
.chroma .kc {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .kd {
|
||||
color: #d20f39;
|
||||
}
|
||||
.chroma .kn {
|
||||
color: #179299;
|
||||
}
|
||||
.chroma .kt {
|
||||
color: #d20f39;
|
||||
}
|
||||
.chroma .n {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .nc {
|
||||
color: #df8e1d;
|
||||
}
|
||||
.chroma .no {
|
||||
color: #df8e1d;
|
||||
}
|
||||
.chroma .nd {
|
||||
color: #1e66f5;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .ni {
|
||||
color: #179299;
|
||||
}
|
||||
.chroma .ne {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .nf {
|
||||
color: #1e66f5;
|
||||
}
|
||||
.chroma .fm {
|
||||
color: #1e66f5;
|
||||
}
|
||||
.chroma .nl {
|
||||
color: #04a5e5;
|
||||
}
|
||||
.chroma .nn {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .py {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .nt {
|
||||
color: #8839ef;
|
||||
}
|
||||
.chroma .nv {
|
||||
color: #dc8a78;
|
||||
}
|
||||
.chroma .vc {
|
||||
color: #dc8a78;
|
||||
}
|
||||
.chroma .vg {
|
||||
color: #dc8a78;
|
||||
}
|
||||
.chroma .vi {
|
||||
color: #dc8a78;
|
||||
}
|
||||
.chroma .vm {
|
||||
color: #dc8a78;
|
||||
}
|
||||
.chroma .na {
|
||||
color: #1e66f5;
|
||||
}
|
||||
.chroma .nb {
|
||||
color: #04a5e5;
|
||||
}
|
||||
.chroma .bp {
|
||||
color: #04a5e5;
|
||||
}
|
||||
.chroma .nx {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .l {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .ld {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .s {
|
||||
color: #40a02b;
|
||||
}
|
||||
.chroma .sc {
|
||||
color: #40a02b;
|
||||
}
|
||||
.chroma .s1 {
|
||||
color: #40a02b;
|
||||
}
|
||||
.chroma .s2 {
|
||||
color: #40a02b;
|
||||
}
|
||||
.chroma .sb {
|
||||
color: #40a02b;
|
||||
}
|
||||
.chroma .sx {
|
||||
color: #40a02b;
|
||||
}
|
||||
.chroma .ss {
|
||||
color: #40a02b;
|
||||
}
|
||||
.chroma .si {
|
||||
color: #40a02b;
|
||||
}
|
||||
.chroma .sa {
|
||||
color: #d20f39;
|
||||
}
|
||||
.chroma .dl {
|
||||
color: #1e66f5;
|
||||
}
|
||||
.chroma .se {
|
||||
color: #1e66f5;
|
||||
}
|
||||
.chroma .sr {
|
||||
color: #179299;
|
||||
}
|
||||
.chroma .sd {
|
||||
color: #9ca0b0;
|
||||
}
|
||||
.chroma .sh {
|
||||
color: #9ca0b0;
|
||||
}
|
||||
.chroma .m {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .mb {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .mh {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .mi {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .mf {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .il {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .mo {
|
||||
color: #fe640b;
|
||||
}
|
||||
.chroma .o {
|
||||
color: #04a5e5;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .ow {
|
||||
color: #04a5e5;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .c {
|
||||
color: #9ca0b0;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .c1 {
|
||||
color: #9ca0b0;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .cm {
|
||||
color: #9ca0b0;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .cs {
|
||||
color: #9ca0b0;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .ch {
|
||||
color: #acb0be;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .cp {
|
||||
color: #9ca0b0;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .cpf {
|
||||
color: #9ca0b0;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .g {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .gi {
|
||||
color: #40a02b;
|
||||
background-color: #ccd0da;
|
||||
}
|
||||
.chroma .gd {
|
||||
color: #d20f39;
|
||||
background-color: #ccd0da;
|
||||
}
|
||||
.chroma .ge {
|
||||
color: #4c4f69;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .gs {
|
||||
color: #4c4f69;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .gl {
|
||||
color: #4c4f69;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.chroma .gh {
|
||||
color: #fe640b;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .gu {
|
||||
color: #fe640b;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .go {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .gp {
|
||||
color: #4c4f69;
|
||||
}
|
||||
.chroma .gr {
|
||||
color: #d20f39;
|
||||
}
|
||||
.chroma .gt {
|
||||
color: #d20f39;
|
||||
}
|
||||
251
public/css/catppuccin-macchiato.css
مباع
Normal file
251
public/css/catppuccin-macchiato.css
مباع
Normal file
@@ -0,0 +1,251 @@
|
||||
.chroma .cl {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .err {
|
||||
color: #ed8796;
|
||||
}
|
||||
.chroma .x {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .hl {
|
||||
background-color: #494d64;
|
||||
}
|
||||
.chroma .lnt {
|
||||
color: #8087a2;
|
||||
}
|
||||
.chroma .ln {
|
||||
color: #8087a2;
|
||||
}
|
||||
.chroma .k {
|
||||
color: #c6a0f6;
|
||||
}
|
||||
.chroma .kr {
|
||||
color: #c6a0f6;
|
||||
}
|
||||
.chroma .kp {
|
||||
color: #c6a0f6;
|
||||
}
|
||||
.chroma .kc {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .kd {
|
||||
color: #ed8796;
|
||||
}
|
||||
.chroma .kn {
|
||||
color: #8bd5ca;
|
||||
}
|
||||
.chroma .kt {
|
||||
color: #ed8796;
|
||||
}
|
||||
.chroma .n {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .nc {
|
||||
color: #eed49f;
|
||||
}
|
||||
.chroma .no {
|
||||
color: #eed49f;
|
||||
}
|
||||
.chroma .nd {
|
||||
color: #8aadf4;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .ni {
|
||||
color: #8bd5ca;
|
||||
}
|
||||
.chroma .ne {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .nf {
|
||||
color: #8aadf4;
|
||||
}
|
||||
.chroma .fm {
|
||||
color: #8aadf4;
|
||||
}
|
||||
.chroma .nl {
|
||||
color: #91d7e3;
|
||||
}
|
||||
.chroma .nn {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .py {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .nt {
|
||||
color: #c6a0f6;
|
||||
}
|
||||
.chroma .nv {
|
||||
color: #f4dbd6;
|
||||
}
|
||||
.chroma .vc {
|
||||
color: #f4dbd6;
|
||||
}
|
||||
.chroma .vg {
|
||||
color: #f4dbd6;
|
||||
}
|
||||
.chroma .vi {
|
||||
color: #f4dbd6;
|
||||
}
|
||||
.chroma .vm {
|
||||
color: #f4dbd6;
|
||||
}
|
||||
.chroma .na {
|
||||
color: #8aadf4;
|
||||
}
|
||||
.chroma .nb {
|
||||
color: #91d7e3;
|
||||
}
|
||||
.chroma .bp {
|
||||
color: #91d7e3;
|
||||
}
|
||||
.chroma .nx {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .l {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .ld {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .s {
|
||||
color: #a6da95;
|
||||
}
|
||||
.chroma .sc {
|
||||
color: #a6da95;
|
||||
}
|
||||
.chroma .s1 {
|
||||
color: #a6da95;
|
||||
}
|
||||
.chroma .s2 {
|
||||
color: #a6da95;
|
||||
}
|
||||
.chroma .sb {
|
||||
color: #a6da95;
|
||||
}
|
||||
.chroma .sx {
|
||||
color: #a6da95;
|
||||
}
|
||||
.chroma .ss {
|
||||
color: #a6da95;
|
||||
}
|
||||
.chroma .si {
|
||||
color: #a6da95;
|
||||
}
|
||||
.chroma .sa {
|
||||
color: #ed8796;
|
||||
}
|
||||
.chroma .dl {
|
||||
color: #8aadf4;
|
||||
}
|
||||
.chroma .se {
|
||||
color: #8aadf4;
|
||||
}
|
||||
.chroma .sr {
|
||||
color: #8bd5ca;
|
||||
}
|
||||
.chroma .sd {
|
||||
color: #6e738d;
|
||||
}
|
||||
.chroma .sh {
|
||||
color: #6e738d;
|
||||
}
|
||||
.chroma .m {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .mb {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .mh {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .mi {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .mf {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .il {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .mo {
|
||||
color: #f5a97f;
|
||||
}
|
||||
.chroma .o {
|
||||
color: #91d7e3;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .ow {
|
||||
color: #91d7e3;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .c {
|
||||
color: #6e738d;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .c1 {
|
||||
color: #6e738d;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .cm {
|
||||
color: #6e738d;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .cs {
|
||||
color: #6e738d;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .ch {
|
||||
color: #5b6078;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .cp {
|
||||
color: #6e738d;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .cpf {
|
||||
color: #6e738d;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .g {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .gi {
|
||||
color: #a6da95;
|
||||
background-color: #363a4f;
|
||||
}
|
||||
.chroma .gd {
|
||||
color: #ed8796;
|
||||
background-color: #363a4f;
|
||||
}
|
||||
.chroma .ge {
|
||||
color: #cad3f5;
|
||||
font-style: italic;
|
||||
}
|
||||
.chroma .gs {
|
||||
color: #cad3f5;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .gl {
|
||||
color: #cad3f5;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.chroma .gh {
|
||||
color: #f5a97f;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .gu {
|
||||
color: #f5a97f;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chroma .go {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .gp {
|
||||
color: #cad3f5;
|
||||
}
|
||||
.chroma .gr {
|
||||
color: #ed8796;
|
||||
}
|
||||
.chroma .gt {
|
||||
color: #ed8796;
|
||||
}
|
||||
4
public/css/dark.css
مباع
Normal file
4
public/css/dark.css
مباع
Normal file
@@ -0,0 +1,4 @@
|
||||
@import "highlight.js/styles/github-dark.css";
|
||||
@import "@catppuccin/highlightjs/css/catppuccin-macchiato.css";
|
||||
@import "github-markdown-css/github-markdown-dark.css";
|
||||
@import './catppuccin-macchiato.css';
|
||||
53
public/css/embed.css
مباع
Normal file
53
public/css/embed.css
مباع
Normal file
@@ -0,0 +1,53 @@
|
||||
@plugin "@tailwindcss/typography";
|
||||
@plugin "@tailwindcss/forms";
|
||||
|
||||
@custom-variant dark (&:where(.dark, .dark *));
|
||||
|
||||
@source "../../templates/pages/gist_embed.html";
|
||||
|
||||
@theme {
|
||||
/* Custom gray palette */
|
||||
--color-gray-50: #EEEFF1;
|
||||
--color-gray-100: #DEDFE3;
|
||||
--color-gray-200: #BABCC5;
|
||||
--color-gray-300: #999CA8;
|
||||
--color-gray-400: #75798A;
|
||||
--color-gray-500: #585B68;
|
||||
--color-gray-600: #464853;
|
||||
--color-gray-700: #363840;
|
||||
--color-gray-800: #232429;
|
||||
--color-gray-900: #131316;
|
||||
|
||||
/* Primary color palette */
|
||||
--color-primary-50: #d6e1ff;
|
||||
--color-primary-100: #d1dfff;
|
||||
--color-primary-200: #b9d2fe;
|
||||
--color-primary-300: #84b1fb;
|
||||
--color-primary-400: #74a4f6;
|
||||
--color-primary-500: #588fee;
|
||||
--color-primary-600: #3c79e2;
|
||||
--color-primary-700: #356fc0;
|
||||
--color-primary-800: #2b5da3;
|
||||
--color-primary-900: #1f4b8c;
|
||||
--color-primary-950: #192b57;
|
||||
|
||||
/* Border width extension */
|
||||
--border-width-1: 1px;
|
||||
}
|
||||
|
||||
.opengist-embed {
|
||||
@import "tailwindcss";
|
||||
@layer base {
|
||||
ul, ol {
|
||||
list-style: revert;
|
||||
}
|
||||
|
||||
button:not(:disabled),
|
||||
[role="button"]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@import './ipynb.css';
|
||||
@import "./style.css";
|
||||
}
|
||||
}
|
||||
17
public/css/ipynb.css
مباع
Normal file
17
public/css/ipynb.css
مباع
Normal file
@@ -0,0 +1,17 @@
|
||||
@import "katex/dist/katex.min.css";
|
||||
|
||||
.jupyter.notebook {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.jupyter.notebook pre {
|
||||
font-size: 0.8em !important;
|
||||
}
|
||||
|
||||
.jupyter.notebook .jupyter-cell {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.jupyter.notebook .jupyter-cell.code-cell {
|
||||
filter: drop-shadow(0 0 0.1rem rgba(0, 0, 0, 0.5));
|
||||
}
|
||||
4
public/css/light.css
مباع
Normal file
4
public/css/light.css
مباع
Normal file
@@ -0,0 +1,4 @@
|
||||
@import "highlight.js/styles/github.min.css";
|
||||
@import "@catppuccin/highlightjs/css/catppuccin-latte.css";
|
||||
@import "github-markdown-css/github-markdown.css";
|
||||
@import './catppuccin-latte.css';
|
||||
192
public/css/style.css
مباع
Normal file
192
public/css/style.css
مباع
Normal file
@@ -0,0 +1,192 @@
|
||||
:root {
|
||||
--red-diff: rgba(255, 0, 0, .1);
|
||||
--green-diff: rgba(0, 255, 128, .1);
|
||||
--git-diff: rgba(143, 143, 143, 0.38);
|
||||
}
|
||||
|
||||
html {
|
||||
@apply bg-gray-50 dark:bg-gray-800;
|
||||
}
|
||||
|
||||
p a:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
|
||||
@apply underline;
|
||||
}
|
||||
|
||||
input {
|
||||
@apply placeholder-gray-300 dark:placeholder-gray-400;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"], pre[class*="language-"] {
|
||||
@apply bg-white dark:bg-gray-900 mt-1 pt-1;
|
||||
}
|
||||
|
||||
pre {
|
||||
font-size: 0.8em !important;
|
||||
}
|
||||
|
||||
.code {
|
||||
font-family: Menlo,Consolas,Liberation Mono,monospace;
|
||||
}
|
||||
|
||||
.code .line-num {
|
||||
width: 4%;
|
||||
text-align: right;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
code.hljs {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
|
||||
.red-diff {
|
||||
background-color: var(--red-diff);
|
||||
}
|
||||
|
||||
.green-diff {
|
||||
background-color: var(--green-diff);
|
||||
}
|
||||
|
||||
.gray-diff {
|
||||
background-color: var(--git-diff);
|
||||
@apply py-4;
|
||||
}
|
||||
|
||||
#logged-button:hover .username {
|
||||
@apply hidden;
|
||||
}
|
||||
|
||||
#logged-button:hover .logout {
|
||||
@apply block;
|
||||
}
|
||||
|
||||
.cm-line, .cm-gutter {
|
||||
@apply bg-white dark:bg-gray-900 dark:caret-white caret-slate-700 px-1;
|
||||
}
|
||||
|
||||
.cm-activeLine, .cm-activeLineGutter {
|
||||
@apply bg-gray-50 dark:bg-gray-800;
|
||||
}
|
||||
|
||||
.cm-gutters {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.cm-gutterElement {
|
||||
@apply text-gray-700 dark:text-gray-300 px-4;
|
||||
}
|
||||
|
||||
.code td {
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.code tbody {
|
||||
line-height: 18.2px;
|
||||
}
|
||||
|
||||
#editor {
|
||||
height: 337px;
|
||||
max-height: 337px;
|
||||
}
|
||||
|
||||
.cm-editor {
|
||||
height: 337px;
|
||||
max-height: 337px;
|
||||
}
|
||||
|
||||
.line-code.selected {
|
||||
background-color: rgb(255, 247, 190) !important;
|
||||
box-shadow: inset 4px 0 0 rgb(255, 213, 65) !important;
|
||||
}
|
||||
|
||||
.dark .line-code.selected {
|
||||
background-color: rgb(54, 49, 32) !important;
|
||||
box-shadow: inset 4px 0 0 rgb(161, 128, 21) !important;
|
||||
}
|
||||
|
||||
.line-code {
|
||||
@apply pl-2 dark:text-slate-300 text-slate-700;
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
.line-num {
|
||||
@apply cursor-pointer text-slate-600 dark:text-slate-400 hover:text-black dark:hover:text-white;
|
||||
}
|
||||
|
||||
table.csv-table {
|
||||
@apply w-full whitespace-pre text-xs;
|
||||
}
|
||||
|
||||
table.csv-table thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.csv-table thead tr {
|
||||
@apply bg-slate-100 dark:bg-slate-800;
|
||||
}
|
||||
|
||||
table.csv-table thead tr th {
|
||||
@apply border py-2 px-1 border-slate-300 dark:border-slate-700;
|
||||
}
|
||||
|
||||
table.csv-table tbody td {
|
||||
@apply border py-1.5 px-1 border-slate-200 dark:border-slate-800;
|
||||
}
|
||||
|
||||
dl.dl-config {
|
||||
@apply grid grid-cols-3 text-sm;
|
||||
}
|
||||
|
||||
dl.dl-config dt {
|
||||
@apply col-span-1 text-gray-700 dark:text-slate-300 font-bold;
|
||||
}
|
||||
|
||||
dl.dl-config dd {
|
||||
@apply ml-1 col-span-2 break-words;
|
||||
}
|
||||
|
||||
.markdown-body {
|
||||
@apply dark:bg-gray-900;
|
||||
}
|
||||
|
||||
.markdown-body pre {
|
||||
@apply flex relative items-start p-0;
|
||||
}
|
||||
|
||||
.markdown-body .code-div {
|
||||
@apply p-4 max-w-full overflow-x-auto;
|
||||
}
|
||||
|
||||
.markdown-body code {
|
||||
@apply overflow-auto whitespace-pre;
|
||||
}
|
||||
|
||||
.markdown-body img {
|
||||
@apply bg-transparent dark:bg-transparent;
|
||||
}
|
||||
|
||||
.chroma.preview.markdown pre code {
|
||||
@apply p-4;
|
||||
}
|
||||
|
||||
.mermaid {
|
||||
background: #f6f8fa !important;
|
||||
}
|
||||
|
||||
.hidden-important {
|
||||
@apply hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
* A hack to ensure that Jupyter output images are always rendered with a
|
||||
* neutral background color, even if the image itself does not have one, since
|
||||
* Jupyter usually outputs images with transparent or light backgrounds.
|
||||
*/
|
||||
.dark .jupyter-output img {
|
||||
background-color: #888;
|
||||
}
|
||||
|
||||
.pdfobject-container {
|
||||
@apply min-h-[700px] h-[700px];
|
||||
}
|
||||
57
public/css/tailwind.css
مباع
Normal file
57
public/css/tailwind.css
مباع
Normal file
@@ -0,0 +1,57 @@
|
||||
@import "tailwindcss";
|
||||
@import './ipynb.css';
|
||||
|
||||
@plugin "@tailwindcss/typography";
|
||||
@plugin "@tailwindcss/forms";
|
||||
|
||||
@custom-variant dark (&:where(.dark, .dark *));
|
||||
|
||||
@source "../../templates/**/*.html";
|
||||
|
||||
@theme {
|
||||
/* Custom gray palette */
|
||||
--color-gray-50: #EEEFF1;
|
||||
--color-gray-100: #DEDFE3;
|
||||
--color-gray-200: #BABCC5;
|
||||
--color-gray-300: #999CA8;
|
||||
--color-gray-400: #75798A;
|
||||
--color-gray-500: #585B68;
|
||||
--color-gray-600: #464853;
|
||||
--color-gray-700: #363840;
|
||||
--color-gray-800: #232429;
|
||||
--color-gray-900: #131316;
|
||||
|
||||
/* Primary color palette */
|
||||
--color-primary-50: #d6e1ff;
|
||||
--color-primary-100: #d1dfff;
|
||||
--color-primary-200: #b9d2fe;
|
||||
--color-primary-300: #84b1fb;
|
||||
--color-primary-400: #74a4f6;
|
||||
--color-primary-500: #588fee;
|
||||
--color-primary-600: #3c79e2;
|
||||
--color-primary-700: #356fc0;
|
||||
--color-primary-800: #2b5da3;
|
||||
--color-primary-900: #1f4b8c;
|
||||
--color-primary-950: #192b57;
|
||||
|
||||
/* Border width extension */
|
||||
--border-width-1: 1px;
|
||||
}
|
||||
|
||||
|
||||
@layer base {
|
||||
ul, ol {
|
||||
list-style: revert;
|
||||
}
|
||||
|
||||
a {
|
||||
@apply text-primary-500;
|
||||
}
|
||||
|
||||
button:not(:disabled),
|
||||
[role="button"]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@import "./style.css";
|
||||
}
|
||||
المرجع في مشكلة جديدة
حظر مستخدم