diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2016-04-17 16:55:53 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2016-04-17 16:55:53 +0530 |
commit | 4df407bf2a1735c5ab5d75230e66a688ed231b08 (patch) | |
tree | d44296680e998fdd6640569453059c0c7966313c /static/css | |
parent | f1b37410dd85f42d663f1eb591ac9bde567eeb47 (diff) |
Update theme for my taste
Diffstat (limited to 'static/css')
-rw-r--r-- | static/css/default.css | 140 | ||||
-rw-r--r-- | static/css/pygments.css | 64 |
2 files changed, 204 insertions, 0 deletions
diff --git a/static/css/default.css b/static/css/default.css new file mode 100644 index 0000000..364a909 --- /dev/null +++ b/static/css/default.css @@ -0,0 +1,140 @@ +/* http://www.colourlovers.com/palette/92095/Giant_Goldfish */ +/* @import "format.css"; */ + +html { + /* background-color: white; */ + background-repeat: no-repeat; + background-size: cover; + background-attachment: fixed; + background-position: center; +} + +body { + background-color: white; /* #080b00; */ /* rgba(255, 255, 255, 0.8); */ + font-family: "Lucida Sans", "Georgia", helvetica, "Droid Serif", "Bitstream Charter", serif; /* verdana, arial, helvetica;*/ + /* font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; font-size: 15pt; background-color: #eeeeee; */ + margin: auto; + padding: 1em; + border-radius: 1em; + max-width: 48em; + font-size: 100%; +} + +body>h1:first-child, td.main { + background-color: #e0e4cc; + border-radius: 0.5em; + padding: 0em 1em; + margin-top: 0; +} + +/* code, .code { */ +/* font-family: "Inconsolata", monospace; */ +/* font-size: 15px; */ +/* white-space:pre-wrap; */ +/* word-wrap:break-word; */ +/* overflow:auto; */ +/* } */ + + +h1, h2, h3, h4, h5, h6 { + color: #fa6900; +} + +a { + color: #38d; + text-decoration: none; +} +a:visited { + color: #579; +} +a:hover { + color: #f83; +} + +/* p { */ +/* margin: 1em; */ +/* max-width: 48em; */ +/* white-space: pre-wrap; */ +/* } */ + +img { + max-width: 60%; +} + +img.right { + margin: 1em; + float: right; +} + +img.face { + margin: 1em; + width: 10em; + float: left; +} + + +blockquote { + margin: 2em; + margin-top: 1em; + margin-bottom: 1em; + /* max-width: 46em; */ + white-space: pre-wrap; + font-style: italic; + background: #e0e4cc; + + padding: 0.1em 1em; + border-radius: 0.4em; +} + +#nav { + padding: 0; + text-align: center; + border-top: solid black 1px; +} +#nav li { + display: inline; +} +#nav li + li:before { + content: " | "; +} + +/* Syntax Highlight */ +table { + table-layout: fixed; + width: 100%; +} +td { + vertical-align: top; +} +@media (max-width:979px) { + .linenos { + display:none !important; + } +} +.linenos { + width: 30px; +} +.linenos div pre { + text-align: right; + overflow: hidden; +} +pre { + overflow: auto; + white-space: pre; + word-break: normal; + word-wrap: normal; +} +td.code .highlight pre { + border-radius: 0 3px 3px 0; +} +td.code { + width: 100%; +} +.linenodiv pre { + background-color: #eee8d5; + border-radius: 3px 0 0 3px; + color: #657b83; +} +div.highlight { + margin-bottom: 20px; +} diff --git a/static/css/pygments.css b/static/css/pygments.css new file mode 100644 index 0000000..4bac045 --- /dev/null +++ b/static/css/pygments.css @@ -0,0 +1,64 @@ +.hll { background-color: #ffffcc } +.c { color: #008800; font-style: italic } /* Comment */ +.err { border: 1px solid #FF0000 } /* Error */ +.k { color: #AA22FF; font-weight: bold } /* Keyword */ +.o { color: #666666 } /* Operator */ +.ch { color: #008800; font-style: italic } /* Comment.Hashbang */ +.cm { color: #008800; font-style: italic } /* Comment.Multiline */ +.cp { color: #008800 } /* Comment.Preproc */ +.cpf { color: #008800; font-style: italic } /* Comment.PreprocFile */ +.c1 { color: #008800; font-style: italic } /* Comment.Single */ +.cs { color: #008800; font-weight: bold } /* Comment.Special */ +.gd { color: #A00000 } /* Generic.Deleted */ +.ge { font-style: italic } /* Generic.Emph */ +.gr { color: #FF0000 } /* Generic.Error */ +.gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.gi { color: #00A000 } /* Generic.Inserted */ +.go { color: #888888 } /* Generic.Output */ +.gp { color: #000080; font-weight: bold } /* Generic.Prompt */ +.gs { font-weight: bold } /* Generic.Strong */ +.gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.gt { color: #0044DD } /* Generic.Traceback */ +.kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */ +.kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */ +.kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */ +.kp { color: #AA22FF } /* Keyword.Pseudo */ +.kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */ +.kt { color: #00BB00; font-weight: bold } /* Keyword.Type */ +.m { color: #666666 } /* Literal.Number */ +.s { color: #BB4444 } /* Literal.String */ +.na { color: #BB4444 } /* Name.Attribute */ +.nb { color: #AA22FF } /* Name.Builtin */ +.nc { color: #0000FF } /* Name.Class */ +.no { color: #880000 } /* Name.Constant */ +.nd { color: #AA22FF } /* Name.Decorator */ +.ni { color: #999999; font-weight: bold } /* Name.Entity */ +.ne { color: #D2413A; font-weight: bold } /* Name.Exception */ +.nf { color: #00A000 } /* Name.Function */ +.nl { color: #A0A000 } /* Name.Label */ +.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ +.nt { color: #008000; font-weight: bold } /* Name.Tag */ +.nv { color: #B8860B } /* Name.Variable */ +.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ +.w { color: #bbbbbb } /* Text.Whitespace */ +.mb { color: #666666 } /* Literal.Number.Bin */ +.mf { color: #666666 } /* Literal.Number.Float */ +.mh { color: #666666 } /* Literal.Number.Hex */ +.mi { color: #666666 } /* Literal.Number.Integer */ +.mo { color: #666666 } /* Literal.Number.Oct */ +.sb { color: #BB4444 } /* Literal.String.Backtick */ +.sc { color: #BB4444 } /* Literal.String.Char */ +.sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */ +.s2 { color: #BB4444 } /* Literal.String.Double */ +.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ +.sh { color: #BB4444 } /* Literal.String.Heredoc */ +.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ +.sx { color: #008000 } /* Literal.String.Other */ +.sr { color: #BB6688 } /* Literal.String.Regex */ +.s1 { color: #BB4444 } /* Literal.String.Single */ +.ss { color: #B8860B } /* Literal.String.Symbol */ +.bp { color: #AA22FF } /* Name.Builtin.Pseudo */ +.vc { color: #B8860B } /* Name.Variable.Class */ +.vg { color: #B8860B } /* Name.Variable.Global */ +.vi { color: #B8860B } /* Name.Variable.Instance */ +.il { color: #666666 } /* Literal.Number.Integer.Long */ |