diff options
Diffstat (limited to 'static/css')
| -rw-r--r-- | static/css/emacs.css | 62 | ||||
| -rw-r--r-- | static/css/style.css | 144 | ||||
| -rw-r--r-- | static/css/syntax.css | 86 |
3 files changed, 232 insertions, 60 deletions
diff --git a/static/css/emacs.css b/static/css/emacs.css new file mode 100644 index 0000000..6c173e6 --- /dev/null +++ b/static/css/emacs.css @@ -0,0 +1,62 @@ +.highlight .hll { background-color: #ffffcc } +.highlight { background: #f8f8f8; } +.highlight .c { color: #008800; font-style: italic } /* Comment */ +.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .k { color: #AA22FF; font-weight: bold } /* Keyword */ +.highlight .o { color: #666666 } /* Operator */ +.highlight .cm { color: #008800; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #008800 } /* Comment.Preproc */ +.highlight .c1 { color: #008800; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #008800; font-weight: bold } /* Comment.Special */ +.highlight .gd { color: #A00000 } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000 } /* Generic.Inserted */ +.highlight .go { color: #808080 } /* Generic.Output */ +.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #0040D0 } /* Generic.Traceback */ +.highlight .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #AA22FF } /* Keyword.Pseudo */ +.highlight .kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #00BB00; font-weight: bold } /* Keyword.Type */ +.highlight .m { color: #666666 } /* Literal.Number */ +.highlight .s { color: #BB4444 } /* Literal.String */ +.highlight .na { color: #BB4444 } /* Name.Attribute */ +.highlight .nb { color: #AA22FF } /* Name.Builtin */ +.highlight .nc { color: #0000FF } /* Name.Class */ +.highlight .no { color: #880000 } /* Name.Constant */ +.highlight .nd { color: #AA22FF } /* Name.Decorator */ +.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ +.highlight .nf { color: #00A000 } /* Name.Function */ +.highlight .nl { color: #A0A000 } /* Name.Label */ +.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ +.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #B8860B } /* Name.Variable */ +.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mf { color: #666666 } /* Literal.Number.Float */ +.highlight .mh { color: #666666 } /* Literal.Number.Hex */ +.highlight .mi { color: #666666 } /* Literal.Number.Integer */ +.highlight .mo { color: #666666 } /* Literal.Number.Oct */ +.highlight .sb { color: #BB4444 } /* Literal.String.Backtick */ +.highlight .sc { color: #BB4444 } /* Literal.String.Char */ +.highlight .sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #BB4444 } /* Literal.String.Double */ +.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #BB4444 } /* Literal.String.Heredoc */ +.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ +.highlight .sx { color: #008000 } /* Literal.String.Other */ +.highlight .sr { color: #BB6688 } /* Literal.String.Regex */ +.highlight .s1 { color: #BB4444 } /* Literal.String.Single */ +.highlight .ss { color: #B8860B } /* Literal.String.Symbol */ +.highlight .bp { color: #AA22FF } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #B8860B } /* Name.Variable.Class */ +.highlight .vg { color: #B8860B } /* Name.Variable.Global */ +.highlight .vi { color: #B8860B } /* Name.Variable.Instance */ +.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */ diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..bed6558 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,144 @@ +* { + font-family: Helvetica, sans-serif; +} + +body { + padding: 1.5em 0; +} + +div#container { + width: 900px; + margin: 0 auto; +} + +h1 { + margin: 1.5em 0 0 0; +} + +h1 a { + text-decoration: none; +} + +blockquote { + background-color: #eee; + margin: 1em; + padding: 0.3em 1em; +} + + +#bigleft, #bigright { + position: fixed; + font-size: 32pt; +} + +#bigleft a, #bigright a { + color: #ddd; +} + +#bigleft a:hover, #bigright a:hover { + color: #005aa0; + text-decoration: none; +} + +#bigleft { + top: 4em; +} + +#bigright { + top: 5em; +} + +#entry, #wrapper { + font-size: 13pt; +} + +#entry img { + margin: 1em; + margin-left: 0; +} + +img.right { + float: right; + margin-left: 1em; +} + +#entry, #entries, #wrapper, #resume { + width: 40em; + margin-left: 5em; + text-align: justify; + line-height: 1.6em; +} + +#entries li { + margin: 0.5em; +} + +.footnotes { + font-size: 88%; + border-top: 1px solid grey; +} + +ul.spaced li { + margin-bottom: 1.5em; +} + +footer { + margin: 2em 0 7em 0; + border-top: 1px grey solid; +} + +footer p { + text-align: center; +} + +img.portrait { + margin-top: -3em; + margin-left: 2em; +} + +a { + text-decoration: none; + color: #005aa0; +} + +a:hover { + text-decoration: underline; + color: #11472b; +} + +a img { border: 0; } + +a.older, a.newer { + size: 80%; +} + +pre, pre span, tt, kbd { + font-family: Inconsolata, Consolas, monospace; +} + +kbd { + background: #eee; + padding: 0.2em; +} + +.code, .highlight { + border: 1px grey solid; + padding-left: 0.5em; + font-family: Inconsolata, Consolas, monospace; + font-size: 14px; + border-radius: 4px 4px 4px 4px; +} + +code { + font-family: Inconsolata, Consolas, monospace; +} + +.timestamp { + text-align: right; + color: grey; +} + +#resume h3 { margin-left: -1em; } +#resume dt { font-style: italic; } + + diff --git a/static/css/syntax.css b/static/css/syntax.css index 2774b76..7e10a17 100644 --- a/static/css/syntax.css +++ b/static/css/syntax.css @@ -1,60 +1,26 @@ -.highlight { background: #ffffff; } -.highlight .c { color: #999988; font-style: italic } /* Comment */ -.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ -.highlight .k { font-weight: bold } /* Keyword */ -.highlight .o { font-weight: bold } /* Operator */ -.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ -.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */ -.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ -.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */ -.highlight .ge { font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #aa0000 } /* Generic.Error */ -.highlight .gh { color: #999999 } /* Generic.Heading */ -.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ -.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */ -.highlight .go { color: #888888 } /* Generic.Output */ -.highlight .gp { color: #555555 } /* Generic.Prompt */ -.highlight .gs { font-weight: bold } /* Generic.Strong */ -.highlight .gu { color: #aaaaaa } /* Generic.Subheading */ -.highlight .gt { color: #aa0000 } /* Generic.Traceback */ -.highlight .kc { font-weight: bold } /* Keyword.Constant */ -.highlight .kd { font-weight: bold } /* Keyword.Declaration */ -.highlight .kp { font-weight: bold } /* Keyword.Pseudo */ -.highlight .kr { font-weight: bold } /* Keyword.Reserved */ -.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */ -.highlight .m { color: #009999 } /* Literal.Number */ -.highlight .s { color: #d14 } /* Literal.String */ -.highlight .na { color: #008080 } /* Name.Attribute */ -.highlight .nb { color: #0086B3 } /* Name.Builtin */ -.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */ -.highlight .no { color: #008080 } /* Name.Constant */ -.highlight .ni { color: #800080 } /* Name.Entity */ -.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */ -.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */ -.highlight .nn { color: #555555 } /* Name.Namespace */ -.highlight .nt { color: #000080 } /* Name.Tag */ -.highlight .nv { color: #008080 } /* Name.Variable */ -.highlight .ow { font-weight: bold } /* Operator.Word */ -.highlight .w { color: #bbbbbb } /* Text.Whitespace */ -.highlight .mf { color: #009999 } /* Literal.Number.Float */ -.highlight .mh { color: #009999 } /* Literal.Number.Hex */ -.highlight .mi { color: #009999 } /* Literal.Number.Integer */ -.highlight .mo { color: #009999 } /* Literal.Number.Oct */ -.highlight .sb { color: #d14 } /* Literal.String.Backtick */ -.highlight .sc { color: #d14 } /* Literal.String.Char */ -.highlight .sd { color: #d14 } /* Literal.String.Doc */ -.highlight .s2 { color: #d14 } /* Literal.String.Double */ -.highlight .se { color: #d14 } /* Literal.String.Escape */ -.highlight .sh { color: #d14 } /* Literal.String.Heredoc */ -.highlight .si { color: #d14 } /* Literal.String.Interpol */ -.highlight .sx { color: #d14 } /* Literal.String.Other */ -.highlight .sr { color: #009926 } /* Literal.String.Regex */ -.highlight .s1 { color: #d14 } /* Literal.String.Single */ -.highlight .ss { color: #990073 } /* Literal.String.Symbol */ -.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #008080 } /* Name.Variable.Class */ -.highlight .vg { color: #008080 } /* Name.Variable.Global */ -.highlight .vi { color: #008080 } /* Name.Variable.Instance */ -.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ +/* zenburn syntax highlighting - from http://userstyles.org/styles/88895/github-zenburn */ +.highlight,.highlight pre,.highlight table { background:#383838 !important;color:#656555 !important; } +.highlight .gd .x { background:#dca3a3 !important;color:#dcdccc !important; } +.highlight .hll { background-color:#656555 !important; } +.highlight .err { color:#f0dfaf !important;background-color:#6f6f6f !important; } +.highlight .cs { color:#dca3a3 !important;background-color:#8c5353 !important; } +.highlight .gi { color:#7f9f7f !important; } +.highlight .gi .x { background:#5f5f5f !important;color:#dcdccc !important; } +.highlight .nf { color:#93e0e3 !important; } +.highlight .c,.highlight .cm,.highlight .c1 { color:#5c888b !important; } +.highlight .g,.highlight .l,.highlight .x,.highlight .ge,.highlight .gs,.highlight .ld,.highlight .ni, +.highlight .nl,.highlight .nx,.highlight .py,.highlight .n,.highlight .go { color:#6ca0a3 !important; } +.highlight .k { color:#f0dfaf !important; } +.highlight .s1 { color:#bc8383 !important; } +.highlight .nb,.highlight .bp { color:#8cd0d3 !important; } +.highlight .nc,.highlight .nn { color:#7cb8bb !important; } +.highlight .gd,.highlight .gd pre { background:#8c5353 !important;color:#dcdccc !important;border-color:#ac7373 !important; } +.highlight .o,.highlight .p,.highlight .na,.highlight .ne { color:#dcdccc !important; } +.highlight .gp,.highlight .w,.highlight .gh,.highlight .gu { color:#656555 !important; } +.highlight .cp,.highlight .s,.highlight .sb,.highlight .sc,.highlight .sd,.highlight .s2,.highlight .se, +.highlight .sh,.highlight .si,.highlight .ss,.highlight .kc,.highlight .kd,.highlight .kn,.highlight .kp, +.highlight .kr,.highlight .kt,.highlight .nt,.highlight .ow { color:#8fb28f !important; } +.highlight .gd,.highlight .gr,.highlight .gt,.highlight .m,.highlight .mf,.highlight .mh,.highlight .mi, +.highlight .mo,.highlight .sr,.highlight .il { color:#9c6363 !important; } +.highlight .no,.highlight .nv,.highlight .vc,.highlight .vg,.highlight .vi,.highlight .nd, +.highlight .sx { color:#dfaf8f !important; }
\ No newline at end of file |
