Skip to content

Commit

Permalink
Update site.css
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Dec 7, 2023
1 parent c6ac8cd commit 93d2c77
Showing 1 changed file with 273 additions and 14 deletions.
287 changes: 273 additions & 14 deletions assets/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -521,28 +521,36 @@ blockquote {
font-style: italic;
}

code,
pre {
overflow-x: auto;
margin-bottom: 1rem;
padding: 1rem;
background-color: var(--line-color);
border-radius: 0.25rem;
}

code {
font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas,
"DejaVu Sans Mono", monospace;
font-weight: normal;
font-size: 0.9rem;
line-height: 1.5;
background-color: var(--line-color);
padding: 0.25rem 0.5rem;
white-space: pre-wrap;
word-break: break-word;
word-spacing: normal;
border-radius: 0.25rem;
font-size: 1rem;
background-color: #ddd;
}

pre {
max-height: 400px;
margin: 1em 0;
padding: 1em;
overflow: auto;
}

pre code {
background-color: transparent;
padding: 0;
background: none;
}

code {
padding: 0 0.25em;

a & {
color: inherit;
}
}

.prev-next-btns-container {
Expand Down Expand Up @@ -616,3 +624,254 @@ pre code {
background-position: center center;
background-size: cover;
}

/* https://github.com/dracula/pygments/blob/master/dracula.css */
.highlight .hll {
background-color: #f1fa8c;
}
.highlight {
background: #282a36;
color: #f8f8f2;
border-radius: 0.25rem;
}
.highlight code {
color: #f8f8f2;
}
.highlight .c {
color: #9db5ff;
} /* Comment */
.highlight .err {
color: #f8f8f2;
} /* Error */
.highlight .g {
color: #f8f8f2;
} /* Generic */
.highlight .k {
color: #ff79c6;
} /* Keyword */
.highlight .l {
color: #f8f8f2;
} /* Literal */
.highlight .n {
color: #f8f8f2;
} /* Name */
.highlight .o {
color: #ff79c6;
} /* Operator */
.highlight .x {
color: #f8f8f2;
} /* Other */
.highlight .p {
color: #f8f8f2;
} /* Punctuation */
.highlight .ch {
color: #6272a4;
} /* Comment.Hashbang */
.highlight .cm {
color: #6272a4;
} /* Comment.Multiline */
.highlight .cp {
color: #ff79c6;
} /* Comment.Preproc */
.highlight .cpf {
color: #6272a4;
} /* Comment.PreprocFile */
.highlight .c1 {
color: #6272a4;
} /* Comment.Single */
.highlight .cs {
color: #6272a4;
} /* Comment.Special */
.highlight .gd {
color: #8b080b;
} /* Generic.Deleted */
.highlight .ge {
color: #f8f8f2;
text-decoration: underline;
} /* Generic.Emph */
.highlight .gr {
color: #f8f8f2;
} /* Generic.Error */
.highlight .gh {
color: #f8f8f2;
font-weight: bold;
} /* Generic.Heading */
.highlight .gi {
color: #f8f8f2;
font-weight: bold;
} /* Generic.Inserted */
.highlight .go {
color: #44475a;
} /* Generic.Output */
.highlight .gp {
color: #f8f8f2;
} /* Generic.Prompt */
.highlight .gs {
color: #f8f8f2;
} /* Generic.Strong */
.highlight .gu {
color: #f8f8f2;
font-weight: bold;
} /* Generic.Subheading */
.highlight .gt {
color: #f8f8f2;
} /* Generic.Traceback */
.highlight .kc {
color: #ff79c6;
} /* Keyword.Constant */
.highlight .kd {
color: #8be9fd;
font-style: italic;
} /* Keyword.Declaration */
.highlight .kn {
color: #ff79c6;
} /* Keyword.Namespace */
.highlight .kp {
color: #ff79c6;
} /* Keyword.Pseudo */
.highlight .kr {
color: #ff79c6;
} /* Keyword.Reserved */
.highlight .kt {
color: #8be9fd;
} /* Keyword.Type */
.highlight .ld {
color: #f8f8f2;
} /* Literal.Date */
.highlight .m {
color: #bd93f9;
} /* Literal.Number */
.highlight .s {
color: #f1fa8c;
} /* Literal.String */
.highlight .na {
color: #50fa7b;
} /* Name.Attribute */
.highlight .nb {
color: #8be9fd;
font-style: italic;
} /* Name.Builtin */
.highlight .nc {
color: #50fa7b;
} /* Name.Class */
.highlight .no {
color: #f8f8f2;
} /* Name.Constant */
.highlight .nd {
color: #f8f8f2;
} /* Name.Decorator */
.highlight .ni {
color: #f8f8f2;
} /* Name.Entity */
.highlight .ne {
color: #f8f8f2;
} /* Name.Exception */
.highlight .nf {
color: #50fa7b;
} /* Name.Function */
.highlight .nl {
color: #8be9fd;
font-style: italic;
} /* Name.Label */
.highlight .nn {
color: #f8f8f2;
} /* Name.Namespace */
.highlight .nx {
color: #f8f8f2;
} /* Name.Other */
.highlight .py {
color: #f8f8f2;
} /* Name.Property */
.highlight .nt {
color: #ff79c6;
} /* Name.Tag */
.highlight .nv {
color: #8be9fd;
font-style: italic;
} /* Name.Variable */
.highlight .ow {
color: #ff79c6;
} /* Operator.Word */
.highlight .w {
color: #f8f8f2;
} /* Text.Whitespace */
.highlight .mb {
color: #bd93f9;
} /* Literal.Number.Bin */
.highlight .mf {
color: #bd93f9;
} /* Literal.Number.Float */
.highlight .mh {
color: #bd93f9;
} /* Literal.Number.Hex */
.highlight .mi {
color: #bd93f9;
} /* Literal.Number.Integer */
.highlight .mo {
color: #bd93f9;
} /* Literal.Number.Oct */
.highlight .sa {
color: #f1fa8c;
} /* Literal.String.Affix */
.highlight .sb {
color: #f1fa8c;
} /* Literal.String.Backtick */
.highlight .sc {
color: #f1fa8c;
} /* Literal.String.Char */
.highlight .dl {
color: #f1fa8c;
} /* Literal.String.Delimiter */
.highlight .sd {
color: #f1fa8c;
} /* Literal.String.Doc */
.highlight .s2 {
color: #f1fa8c;
} /* Literal.String.Double */
.highlight .se {
color: #f1fa8c;
} /* Literal.String.Escape */
.highlight .sh {
color: #f1fa8c;
} /* Literal.String.Heredoc */
.highlight .si {
color: #f1fa8c;
} /* Literal.String.Interpol */
.highlight .sx {
color: #f1fa8c;
} /* Literal.String.Other */
.highlight .sr {
color: #f1fa8c;
} /* Literal.String.Regex */
.highlight .s1 {
color: #f1fa8c;
} /* Literal.String.Single */
.highlight .ss {
color: #f1fa8c;
} /* Literal.String.Symbol */
.highlight .bp {
color: #f8f8f2;
font-style: italic;
} /* Name.Builtin.Pseudo */
.highlight .fm {
color: #50fa7b;
} /* Name.Function.Magic */
.highlight .vc {
color: #8be9fd;
font-style: italic;
} /* Name.Variable.Class */
.highlight .vg {
color: #8be9fd;
font-style: italic;
} /* Name.Variable.Global */
.highlight .vi {
color: #8be9fd;
font-style: italic;
} /* Name.Variable.Instance */
.highlight .vm {
color: #8be9fd;
font-style: italic;
} /* Name.Variable.Magic */
.highlight .il {
color: #bd93f9;
} /* Literal.Number.Integer.Long */

0 comments on commit 93d2c77

Please sign in to comment.