:root {
    --column-width: 768px;

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;

    --article-line-height: 1.8;

    --color-text: #333333;
    --color-accent: #0077CC;
    --color-gray: #F5F5F5;
    --color-background-header: #333333;
    --color-border: #DDDDDD;
    --color-code: #000000;
    --color-link: #1d70b8;
    --color-link-focus: #000000;
    --color-link-focus-bg: #fd0;
}

/* Reset */
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
/* End Reset */

body {
    font-size: 16px;
    color: var(--color-text);
    max-width: var(--column-width);
    margin: 0 auto;
    background-color: var(--color-gray);
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

main {
    padding: var(--space-2);
    line-height: var(--article-line-height);
    max-width: var(--column-width);
}

.header {
    padding: var(--space-2);
}

.header a {
    text-decoration: none;
    color: var(--color-text);
}

a {
    color: var(--color-link);
}

a:hover,
a:focus {
    color: var(--color-link-focus);
    background-color: var(--color-link-focus-bg);
    outline: 3px solid rgba(0,0,0,0);
}

article h1,
article h2,
article h3,
article h4 {
    font-weight: bold;
    border-bottom: 1px solid var(--color-border);
}

article h1 a,
article h2 a,
article h3 a,
article h4 a {
    text-decoration: none;
    color: var(--color-text);
}

article h1 {
    margin-bottom: var(--space-1);
    font-size: 1.5rem;
}

article h2 {
    margin-top: var(--space-2);
    margin-bottom: var(--space-1);
    font-size: 1.25rem;
}

article h3 {
    margin-top: var(--space-2);
    margin-bottom: var(--space-1);
    font-size: 1.125rem;
}

article h4 {
    margin-top: var(--space-2);
    margin-bottom: var(--space-1);
    font-size: 1rem;
}

article img {
    max-width: 100%;
    height: auto;
}

article p,
article ul,
article ol,
article pre {
    margin-top: var(--space-2);
    margin-bottom: var(--space-2);
}

article ul,
article ol {
    margin-left: var(--space-2);
    list-style-type: '- ';
}

article pre {
    padding: var(--space-2);
    border: 1px solid var(--color-border);
    overflow-x: auto;
    font-family: monospace;
}

article pre code {
    padding: 0;
}

article code {
    font-family: 'Roboto Mono', monospace;
    color: var(--color-code);
    padding: 0.25rem;
}

/* Emphasized blocks */
article code,
article pre,
article blockquote,
article aside,
article table {
    background-color: white;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: var(--space-1);
}

th {
    font-weight: bold;
    background-color: var(--color-gray);
}

td, th {
    border: 1px solid var(--color-border);
    padding: var(--space-1);
}

blockquote {
    margin: var(--space-1);
    padding: var(--space-1);
    background-color: var(--color-gray);
    font-style: italic;
    border-left: 4px solid var(--color-accent);
    border-right: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

blockquote:after {
    content: "\2013 \2003" attr(cite);
    display: block;
    text-align: right;
    font-size: 0.875em;
}

aside {
    padding: var(--space-1);
    border: 1px solid var(--color-border);
}

aside p {
    margin-top: var(--space-1);
    margin-bottom: var(--space-1);
}

figcaption {
    padding: var(--space-1);
    text-align: center;
    font-size: 0.875rem;
    font-style: italic;
}

.hll { background-color: #ffffcc }
.c { color: #0099FF; font-style: italic } /* Comment */
.err { color: #AA0000; background-color: #FFAAAA } /* Error */
.k { color: #006699; font-weight: bold } /* Keyword */
.o { color: #555555 } /* Operator */
.ch { color: #0099FF; font-style: italic } /* Comment.Hashbang */
.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
.cp { color: #009999 } /* Comment.Preproc */
.cpf { color: #0099FF; font-style: italic } /* Comment.PreprocFile */
.c1 { color: #0099FF; font-style: italic } /* Comment.Single */
.cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: #FF0000 } /* Generic.Error */
.gh { color: #003300; font-weight: bold } /* Generic.Heading */
.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
.go { color: #AAAAAA } /* Generic.Output */
.gp { color: #000099; font-weight: bold } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: #003300; font-weight: bold } /* Generic.Subheading */
.gt { color: #99CC66 } /* Generic.Traceback */
.kc { color: #006699; font-weight: bold } /* Keyword.Constant */
.kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
.kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
.kp { color: #006699 } /* Keyword.Pseudo */
.kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
.kt { color: #007788; font-weight: bold } /* Keyword.Type */
.m { color: #FF6600 } /* Literal.Number */
.s { color: #CC3300 } /* Literal.String */
.na { color: #330099 } /* Name.Attribute */
.nb { color: #336666 } /* Name.Builtin */
.nc { color: #00AA88; font-weight: bold } /* Name.Class */
.no { color: #336600 } /* Name.Constant */
.nd { color: #9999FF } /* Name.Decorator */
.ni { color: #999999; font-weight: bold } /* Name.Entity */
.ne { color: #CC0000; font-weight: bold } /* Name.Exception */
.nf { color: #CC00FF } /* Name.Function */
.nl { color: #9999FF } /* Name.Label */
.nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
.nt { color: #330099; font-weight: bold } /* Name.Tag */
.nv { color: #003333 } /* Name.Variable */
.ow { color: #000000; font-weight: bold } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mb { color: #FF6600 } /* Literal.Number.Bin */
.mf { color: #FF6600 } /* Literal.Number.Float */
.mh { color: #FF6600 } /* Literal.Number.Hex */
.mi { color: #FF6600 } /* Literal.Number.Integer */
.mo { color: #FF6600 } /* Literal.Number.Oct */
.sa { color: #CC3300 } /* Literal.String.Affix */
.sb { color: #CC3300 } /* Literal.String.Backtick */
.sc { color: #CC3300 } /* Literal.String.Char */
.dl { color: #CC3300 } /* Literal.String.Delimiter */
.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
.s2 { color: #CC3300 } /* Literal.String.Double */
.se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
.sh { color: #CC3300 } /* Literal.String.Heredoc */
.si { color: #AA0000 } /* Literal.String.Interpol */
.sx { color: #CC3300 } /* Literal.String.Other */
.sr { color: #33AAAA } /* Literal.String.Regex */
.s1 { color: #CC3300 } /* Literal.String.Single */
.ss { color: #FFCC33 } /* Literal.String.Symbol */
.bp { color: #336666 } /* Name.Builtin.Pseudo */
.fm { color: #CC00FF } /* Name.Function.Magic */
.vc { color: #003333 } /* Name.Variable.Class */
.vg { color: #003333 } /* Name.Variable.Global */
.vi { color: #003333 } /* Name.Variable.Instance */
.vm { color: #003333 } /* Name.Variable.Magic */
.il { color: #FF6600 } /* Literal.Number.Integer.Long */