Skip to content

Commit

Permalink
Update font and code block theme
Browse files Browse the repository at this point in the history
  • Loading branch information
amirkarimi committed Aug 8, 2023
1 parent 2d43a50 commit c3f731b
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 150 deletions.
156 changes: 83 additions & 73 deletions content/assets/css/highlight.css
Original file line number Diff line number Diff line change
@@ -1,74 +1,84 @@
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #f8f8f8; }
.codehilite .c { color: #3D7B7B; font-style: italic } /* Comment */
.codehilite .err { border: 1px solid #FF0000 } /* Error */
.codehilite .k { color: #008000; font-weight: bold } /* Keyword */
.codehilite .o { color: #666666 } /* Operator */
.codehilite .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #9C6500 } /* Comment.Preproc */
.codehilite .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #A00000 } /* Generic.Deleted */
.codehilite .ge { font-style: italic } /* Generic.Emph */
.codehilite .gr { color: #E40000 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #008400 } /* Generic.Inserted */
.codehilite .go { color: #717171 } /* Generic.Output */
.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.codehilite .gs { font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #0044DD } /* Generic.Traceback */
.codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #008000 } /* Keyword.Pseudo */
.codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #B00040 } /* Keyword.Type */
.codehilite .m { color: #666666 } /* Literal.Number */
.codehilite .s { color: #BA2121 } /* Literal.String */
.codehilite .na { color: #687822 } /* Name.Attribute */
.codehilite .nb { color: #008000 } /* Name.Builtin */
.codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.codehilite .no { color: #880000 } /* Name.Constant */
.codehilite .nd { color: #AA22FF } /* Name.Decorator */
.codehilite .ni { color: #717171; font-weight: bold } /* Name.Entity */
.codehilite .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.codehilite .nf { color: #0000FF } /* Name.Function */
.codehilite .nl { color: #767600 } /* Name.Label */
.codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */
.codehilite .nv { color: #19177C } /* Name.Variable */
.codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
.codehilite .mb { color: #666666 } /* Literal.Number.Bin */
.codehilite .mf { color: #666666 } /* Literal.Number.Float */
.codehilite .mh { color: #666666 } /* Literal.Number.Hex */
.codehilite .mi { color: #666666 } /* Literal.Number.Integer */
.codehilite .mo { color: #666666 } /* Literal.Number.Oct */
.codehilite .sa { color: #BA2121 } /* Literal.String.Affix */
.codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */
.codehilite .sc { color: #BA2121 } /* Literal.String.Char */
.codehilite .dl { color: #BA2121 } /* Literal.String.Delimiter */
.codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.codehilite .s2 { color: #BA2121 } /* Literal.String.Double */
.codehilite .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */
.codehilite .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.codehilite .sx { color: #008000 } /* Literal.String.Other */
.codehilite .sr { color: #A45A77 } /* Literal.String.Regex */
.codehilite .s1 { color: #BA2121 } /* Literal.String.Single */
.codehilite .ss { color: #19177C } /* Literal.String.Symbol */
.codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #0000FF } /* Name.Function.Magic */
.codehilite .vc { color: #19177C } /* Name.Variable.Class */
.codehilite .vg { color: #19177C } /* Name.Variable.Global */
.codehilite .vi { color: #19177C } /* Name.Variable.Instance */
.codehilite .vm { color: #19177C } /* Name.Variable.Magic */
.codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */
td.linenos .normal { color: #D8DEE9; background-color: #242933; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #D8DEE9; background-color: #242933; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #242933; background-color: #D8DEE9; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #242933; background-color: #D8DEE9; padding-left: 5px; padding-right: 5px; }
.codehilite .hll { background-color: #3B4252 }
.codehilite { background: #2E3440; color: #d8dee9 }
.codehilite .c { color: #616e87; font-style: italic } /* Comment */
.codehilite .err { color: #bf616a } /* Error */
.codehilite .esc { color: #d8dee9 } /* Escape */
.codehilite .g { color: #d8dee9 } /* Generic */
.codehilite .k { color: #81a1c1; font-weight: bold } /* Keyword */
.codehilite .l { color: #d8dee9 } /* Literal */
.codehilite .n { color: #d8dee9 } /* Name */
.codehilite .o { color: #81a1c1; font-weight: bold } /* Operator */
.codehilite .x { color: #d8dee9 } /* Other */
.codehilite .p { color: #eceff4 } /* Punctuation */
.codehilite .ch { color: #616e87; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #616e87; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #5e81ac; font-style: italic } /* Comment.Preproc */
.codehilite .cpf { color: #616e87; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #616e87; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #616e87; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #bf616a } /* Generic.Deleted */
.codehilite .ge { color: #d8dee9; font-style: italic } /* Generic.Emph */
.codehilite .gr { color: #bf616a } /* Generic.Error */
.codehilite .gh { color: #88c0d0; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #a3be8c } /* Generic.Inserted */
.codehilite .go { color: #d8dee9 } /* Generic.Output */
.codehilite .gp { color: #616e88; font-weight: bold } /* Generic.Prompt */
.codehilite .gs { color: #d8dee9; font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #88c0d0; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #bf616a } /* Generic.Traceback */
.codehilite .kc { color: #81a1c1; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #81a1c1; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #81a1c1; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #81a1c1 } /* Keyword.Pseudo */
.codehilite .kr { color: #81a1c1; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #81a1c1 } /* Keyword.Type */
.codehilite .ld { color: #d8dee9 } /* Literal.Date */
.codehilite .m { color: #b48ead } /* Literal.Number */
.codehilite .s { color: #a3be8c } /* Literal.String */
.codehilite .na { color: #8fbcbb } /* Name.Attribute */
.codehilite .nb { color: #81a1c1 } /* Name.Builtin */
.codehilite .nc { color: #8fbcbb } /* Name.Class */
.codehilite .no { color: #8fbcbb } /* Name.Constant */
.codehilite .nd { color: #d08770 } /* Name.Decorator */
.codehilite .ni { color: #d08770 } /* Name.Entity */
.codehilite .ne { color: #bf616a } /* Name.Exception */
.codehilite .nf { color: #88c0d0 } /* Name.Function */
.codehilite .nl { color: #d8dee9 } /* Name.Label */
.codehilite .nn { color: #8fbcbb } /* Name.Namespace */
.codehilite .nx { color: #d8dee9 } /* Name.Other */
.codehilite .py { color: #d8dee9 } /* Name.Property */
.codehilite .nt { color: #81a1c1 } /* Name.Tag */
.codehilite .nv { color: #d8dee9 } /* Name.Variable */
.codehilite .ow { color: #81a1c1; font-weight: bold } /* Operator.Word */
.codehilite .pm { color: #eceff4 } /* Punctuation.Marker */
.codehilite .w { color: #d8dee9 } /* Text.Whitespace */
.codehilite .mb { color: #b48ead } /* Literal.Number.Bin */
.codehilite .mf { color: #b48ead } /* Literal.Number.Float */
.codehilite .mh { color: #b48ead } /* Literal.Number.Hex */
.codehilite .mi { color: #b48ead } /* Literal.Number.Integer */
.codehilite .mo { color: #b48ead } /* Literal.Number.Oct */
.codehilite .sa { color: #a3be8c } /* Literal.String.Affix */
.codehilite .sb { color: #a3be8c } /* Literal.String.Backtick */
.codehilite .sc { color: #a3be8c } /* Literal.String.Char */
.codehilite .dl { color: #a3be8c } /* Literal.String.Delimiter */
.codehilite .sd { color: #616e87 } /* Literal.String.Doc */
.codehilite .s2 { color: #a3be8c } /* Literal.String.Double */
.codehilite .se { color: #ebcb8b } /* Literal.String.Escape */
.codehilite .sh { color: #a3be8c } /* Literal.String.Heredoc */
.codehilite .si { color: #a3be8c } /* Literal.String.Interpol */
.codehilite .sx { color: #a3be8c } /* Literal.String.Other */
.codehilite .sr { color: #ebcb8b } /* Literal.String.Regex */
.codehilite .s1 { color: #a3be8c } /* Literal.String.Single */
.codehilite .ss { color: #a3be8c } /* Literal.String.Symbol */
.codehilite .bp { color: #81a1c1 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #88c0d0 } /* Name.Function.Magic */
.codehilite .vc { color: #d8dee9 } /* Name.Variable.Class */
.codehilite .vg { color: #d8dee9 } /* Name.Variable.Global */
.codehilite .vi { color: #d8dee9 } /* Name.Variable.Instance */
.codehilite .vm { color: #d8dee9 } /* Name.Variable.Magic */
.codehilite .il { color: #b48ead } /* Literal.Number.Integer.Long */
4 changes: 2 additions & 2 deletions content/assets/scss/main.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,300;0,400;0,600;1,100;1,300;1,400;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import "../../../node_modules/bootstrap/scss/bootstrap";

body, .navbar {
font-family: "Roboto Slab", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
font-family: "Rubik", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

footer {
Expand Down
Loading

0 comments on commit c3f731b

Please sign in to comment.