mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-18 07:17:49 +00:00
@@ -2,7 +2,7 @@ title = "Writing an OS in Rust"
|
|||||||
base_url = "https://os.phil-opp.com"
|
base_url = "https://os.phil-opp.com"
|
||||||
|
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
highlight_theme = "monokai"
|
highlight_theme = "visual-studio-dark"
|
||||||
generate_rss = true
|
generate_rss = true
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
|
|||||||
@@ -49,14 +49,8 @@ body {
|
|||||||
|
|
||||||
html {
|
html {
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-size: 16px;
|
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
@media (min-width: 38rem) {
|
|
||||||
html {
|
|
||||||
font-size: 17px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
color: #515151;
|
color: #515151;
|
||||||
@@ -161,7 +155,7 @@ pre {
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
font-size: .8rem;
|
font-size: .85rem;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -260,7 +254,7 @@ tbody tr:nth-child(odd) th {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 42rem;
|
max-width: 45rem;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
|||||||
@@ -1,65 +0,0 @@
|
|||||||
.highlight .hll { background-color: #ffc; }
|
|
||||||
.highlight .c { color: #999; font-style: italic } /* Comment */
|
|
||||||
.highlight .err { color: #a00; background-color: #faa } /* Error */
|
|
||||||
.highlight .k { color: #069; font-weight: bold } /* Keyword */
|
|
||||||
.highlight .o { color: #555 } /* Operator */
|
|
||||||
.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
|
|
||||||
.highlight .cp { color: #099 } /* Comment.Preproc */
|
|
||||||
.highlight .c1, .c-Doc { color: #09f; font-style: italic } /* Comment.Single */
|
|
||||||
.highlight .cs { color: #09f; font-weight: bold; font-style: italic } /* Comment.Special */
|
|
||||||
.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
|
|
||||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
|
||||||
.highlight .gr { color: #f00 } /* Generic.Error */
|
|
||||||
.highlight .gh { color: #030; font-weight: bold } /* Generic.Heading */
|
|
||||||
.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
|
|
||||||
.highlight .go { color: #aaa } /* Generic.Output */
|
|
||||||
.highlight .gp { color: #009; font-weight: bold } /* Generic.Prompt */
|
|
||||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
|
||||||
.highlight .gu { color: #030; font-weight: bold } /* Generic.Subheading */
|
|
||||||
.highlight .gt { color: #9c6 } /* Generic.Traceback */
|
|
||||||
.highlight .kc { color: #069; font-weight: bold } /* Keyword.Constant */
|
|
||||||
.highlight .kd { color: #069; font-weight: bold } /* Keyword.Declaration */
|
|
||||||
.highlight .kn { color: #069; font-weight: bold } /* Keyword.Namespace */
|
|
||||||
.highlight .kp { color: #069 } /* Keyword.Pseudo */
|
|
||||||
.highlight .kr { color: #069; font-weight: bold } /* Keyword.Reserved */
|
|
||||||
.highlight .kt { color: #078; font-weight: bold } /* Keyword.Type */
|
|
||||||
.highlight .m { color: #f60 } /* Literal.Number */
|
|
||||||
.highlight .s { color: #c30 } /* Literal.String */
|
|
||||||
.highlight .na { color: #309 } /* Name.Attribute */
|
|
||||||
.highlight .nb { color: #366 } /* Name.Builtin */
|
|
||||||
.highlight .nc { color: #0a8; font-weight: bold } /* Name.Class */
|
|
||||||
.highlight .no { color: #360 } /* Name.Constant */
|
|
||||||
.highlight .nd { color: #99f } /* Name.Decorator */
|
|
||||||
.highlight .ni { color: #999; font-weight: bold } /* Name.Entity */
|
|
||||||
.highlight .ne { color: #c00; font-weight: bold } /* Name.Exception */
|
|
||||||
.highlight .nf { color: #c0f } /* Name.Function */
|
|
||||||
.highlight .nl { color: #99f } /* Name.Label */
|
|
||||||
.highlight .nn { color: #0cf; font-weight: bold } /* Name.Namespace */
|
|
||||||
.highlight .nt { color: #309; font-weight: bold } /* Name.Tag */
|
|
||||||
.highlight .nv { color: #033 } /* Name.Variable */
|
|
||||||
.highlight .ow { color: #000; font-weight: bold } /* Operator.Word */
|
|
||||||
.highlight .w { color: #bbb } /* Text.Whitespace */
|
|
||||||
.highlight .mf { color: #f60 } /* Literal.Number.Float */
|
|
||||||
.highlight .mh { color: #f60 } /* Literal.Number.Hex */
|
|
||||||
.highlight .mi { color: #f60 } /* Literal.Number.Integer */
|
|
||||||
.highlight .mo { color: #f60 } /* Literal.Number.Oct */
|
|
||||||
.highlight .sb { color: #c30 } /* Literal.String.Backtick */
|
|
||||||
.highlight .sc { color: #c30 } /* Literal.String.Char */
|
|
||||||
.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */
|
|
||||||
.highlight .s2 { color: #c30 } /* Literal.String.Double */
|
|
||||||
.highlight .se { color: #c30; font-weight: bold } /* Literal.String.Escape */
|
|
||||||
.highlight .sh { color: #c30 } /* Literal.String.Heredoc */
|
|
||||||
.highlight .si { color: #a00 } /* Literal.String.Interpol */
|
|
||||||
.highlight .sx { color: #c30 } /* Literal.String.Other */
|
|
||||||
.highlight .sr { color: #3aa } /* Literal.String.Regex */
|
|
||||||
.highlight .s1 { color: #c30 } /* Literal.String.Single */
|
|
||||||
.highlight .ss { color: #fc3 } /* Literal.String.Symbol */
|
|
||||||
.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */
|
|
||||||
.highlight .vc { color: #033 } /* Name.Variable.Class */
|
|
||||||
.highlight .vg { color: #033 } /* Name.Variable.Global */
|
|
||||||
.highlight .vi { color: #033 } /* Name.Variable.Instance */
|
|
||||||
.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */
|
|
||||||
|
|
||||||
.css .o,
|
|
||||||
.css .o + .nt,
|
|
||||||
.css .nt + .nt { color: #999; }
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<h2 class="post-title"><a href="/{{ page.path | safe }}">{{ page.title }}</a></h2>
|
<h2 class="post-title"><a href="/{{ page.path | safe }}">{{ page.title }}</a></h2>
|
||||||
<div class="post-summary">
|
<div class="post-summary">
|
||||||
{{ page.summary | safe}}
|
{{ page.summary | safe}}
|
||||||
<a class="read-more" href="/{{ page.path | safe }}">read more…</a>
|
<a class="read-more" href="/{{ page.path | safe }}">read more…</a>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{% endmacro post_link %}
|
{% endmacro post_link %}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
command = "python before_build.py && gutenberg build"
|
command = "python before_build.py && gutenberg build"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
GUTENBERG_VERSION = "0.3.0"
|
GUTENBERG_VERSION = "0.3.3"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "python before_build.py && gutenberg build --base-url $DEPLOY_PRIME_URL"
|
command = "python before_build.py && gutenberg build --base-url $DEPLOY_PRIME_URL"
|
||||||
|
|||||||
Reference in New Issue
Block a user