This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Post about it, new pygments, moved font to bottom

  • Loading branch information...
caarlos0 committed Oct 14, 2013
1 parent ae90d2a commit bccd5d840ee9e18a3fc425dc55ac72a5fedf7bb5
Showing with 142 additions and 66 deletions.
  1. +87 −61 _assets/pygments.less
  2. +3 −4 _layouts/layout.html
  3. +51 −0 _posts/2013-10-14-up-2.md
  4. +1 −1 css/up.css
View
@@ -1,61 +1,87 @@
-.hll { background-color: #ffffcc }
-.c { color: #408080; font-style: italic } /* Comment */
-.err { border: 1px solid #FF0000 } /* Error */
-.k { color: #008000; font-weight: bold } /* Keyword */
-.o { color: #666666 } /* Operator */
-.cm { color: #408080; font-style: italic } /* Comment.Multiline */
-.cp { color: #BC7A00 } /* Comment.Preproc */
-.c1 { color: #408080; font-style: italic } /* Comment.Single */
-.cs { color: #408080; font-style: italic } /* 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: #808080 } /* 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: #0040D0 } /* Generic.Traceback */
-.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
-.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
-.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
-.kp { color: #008000 } /* Keyword.Pseudo */
-.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
-.kt { color: #B00040 } /* Keyword.Type */
-.m { color: #666666 } /* Literal.Number */
-.s { color: #BA2121 } /* Literal.String */
-.na { color: #7D9029 } /* Name.Attribute */
-.nb { color: #008000 } /* Name.Builtin */
-.nc { color: #0000FF; font-weight: bold } /* 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: #0000FF } /* 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: #19177C } /* Name.Variable */
-.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
-.w { color: #bbbbbb } /* Text.Whitespace */
-.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: #BA2121 } /* Literal.String.Backtick */
-.sc { color: #BA2121 } /* Literal.String.Char */
-.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
-.s2 { color: #BA2121 } /* Literal.String.Double */
-.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
-.sh { color: #BA2121 } /* 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: #BA2121 } /* Literal.String.Single */
-.ss { color: #19177C } /* Literal.String.Symbol */
-.bp { color: #008000 } /* Name.Builtin.Pseudo */
-.vc { color: #19177C } /* Name.Variable.Class */
-.vg { color: #19177C } /* Name.Variable.Global */
-.vi { color: #19177C } /* Name.Variable.Instance */
-.il { color: #666666 } /* Literal.Number.Integer.Long */
+/* Solarized Dark
+
+ For use with Jekyll and Pygments
+
+ http://ethanschoonover.com/solarized
+
+ SOLARIZED HEX ROLE
+ --------- -------- ------------------------------------------
+ base03 #002b36 background
+ base01 #586e75 comments / secondary content
+ base1 #93a1a1 body text / default code / primary content
+ orange #cb4b16 constants
+ red #dc322f regex, special keywords
+ blue #268bd2 reserved keywords
+ cyan #2aa198 strings, numbers
+ green #859900 operators, other keywords
+ */
+
+ .highlight, pre, .highlight pre { background-color: #002b36; color: #93a1a1; border-radius: 4px; }
+ .highlight .c { color: #586e75 } /* Comment */
+ .highlight .err { color: #93a1a1 } /* Error */
+ .highlight .g { color: #93a1a1 } /* Generic */
+ .highlight .k { color: #859900 } /* Keyword */
+ .highlight .l { color: #93a1a1 } /* Literal */
+ .highlight .n { color: #93a1a1 } /* Name */
+ .highlight .o { color: #859900 } /* Operator */
+ .highlight .x { color: #cb4b16 } /* Other */
+ .highlight .p { color: #93a1a1 } /* Punctuation */
+ .highlight .cm { color: #586e75 } /* Comment.Multiline */
+ .highlight .cp { color: #859900 } /* Comment.Preproc */
+ .highlight .c1 { color: #586e75 } /* Comment.Single */
+ .highlight .cs { color: #859900 } /* Comment.Special */
+ .highlight .gd { color: #2aa198 } /* Generic.Deleted */
+ .highlight .ge { color: #93a1a1; font-style: italic } /* Generic.Emph */
+ .highlight .gr { color: #dc322f } /* Generic.Error */
+ .highlight .gh { color: #cb4b16 } /* Generic.Heading */
+ .highlight .gi { color: #859900 } /* Generic.Inserted */
+ .highlight .go { color: #93a1a1 } /* Generic.Output */
+ .highlight .gp { color: #93a1a1 } /* Generic.Prompt */
+ .highlight .gs { color: #93a1a1; font-weight: bold } /* Generic.Strong */
+ .highlight .gu { color: #cb4b16 } /* Generic.Subheading */
+ .highlight .gt { color: #93a1a1 } /* Generic.Traceback */
+ .highlight .kc { color: #cb4b16 } /* Keyword.Constant */
+ .highlight .kd { color: #268bd2 } /* Keyword.Declaration */
+ .highlight .kn { color: #859900 } /* Keyword.Namespace */
+ .highlight .kp { color: #859900 } /* Keyword.Pseudo */
+ .highlight .kr { color: #268bd2 } /* Keyword.Reserved */
+ .highlight .kt { color: #dc322f } /* Keyword.Type */
+ .highlight .ld { color: #93a1a1 } /* Literal.Date */
+ .highlight .m { color: #2aa198 } /* Literal.Number */
+ .highlight .s { color: #2aa198 } /* Literal.String */
+ .highlight .na { color: #93a1a1 } /* Name.Attribute */
+ .highlight .nb { color: #B58900 } /* Name.Builtin */
+ .highlight .nc { color: #268bd2 } /* Name.Class */
+ .highlight .no { color: #cb4b16 } /* Name.Constant */
+ .highlight .nd { color: #268bd2 } /* Name.Decorator */
+ .highlight .ni { color: #cb4b16 } /* Name.Entity */
+ .highlight .ne { color: #cb4b16 } /* Name.Exception */
+ .highlight .nf { color: #268bd2 } /* Name.Function */
+ .highlight .nl { color: #93a1a1 } /* Name.Label */
+ .highlight .nn { color: #93a1a1 } /* Name.Namespace */
+ .highlight .nx { color: #93a1a1 } /* Name.Other */
+ .highlight .py { color: #93a1a1 } /* Name.Property */
+ .highlight .nt { color: #268bd2 } /* Name.Tag */
+ .highlight .nv { color: #268bd2 } /* Name.Variable */
+ .highlight .ow { color: #859900 } /* Operator.Word */
+ .highlight .w { color: #93a1a1 } /* Text.Whitespace */
+ .highlight .mf { color: #2aa198 } /* Literal.Number.Float */
+ .highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
+ .highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
+ .highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
+ .highlight .sb { color: #586e75 } /* Literal.String.Backtick */
+ .highlight .sc { color: #2aa198 } /* Literal.String.Char */
+ .highlight .sd { color: #93a1a1 } /* Literal.String.Doc */
+ .highlight .s2 { color: #2aa198 } /* Literal.String.Double */
+ .highlight .se { color: #cb4b16 } /* Literal.String.Escape */
+ .highlight .sh { color: #93a1a1 } /* Literal.String.Heredoc */
+ .highlight .si { color: #2aa198 } /* Literal.String.Interpol */
+ .highlight .sx { color: #2aa198 } /* Literal.String.Other */
+ .highlight .sr { color: #dc322f } /* Literal.String.Regex */
+ .highlight .s1 { color: #2aa198 } /* Literal.String.Single */
+ .highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
+ .highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
+ .highlight .vc { color: #268bd2 } /* Name.Variable.Class */
+ .highlight .vg { color: #268bd2 } /* Name.Variable.Global */
+ .highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
+ .highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
View
@@ -10,9 +10,6 @@
<link rel="alternate" type="application/rss+xml" href="/atom.xml" />
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300'
- rel='stylesheet' type='text/css'>
-
<link href="/css/up.css" rel="stylesheet">
<!--[if lt IE 9]>
@@ -39,5 +36,7 @@
{% include gauges.html %}
</body>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
-<script src="/js/up.js"></script>
+<script src="/js/up.min.js"></script>
+<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300'
+ rel='stylesheet' type='text/css'>
</html>
View
@@ -0,0 +1,51 @@
+---
+layout: post
+title: "UP v2"
+category: posts
+---
+
+So, this is the all-new UP version. It is more based
+on my own [blog][my-blog], which is a some kind of
+branch of this theme.
+
+The biggest changes here are:
+
+- Assets are now managed by [bower][bower];
+- Build are now made by [grunt][grunt];
+- `Procfile.dev` to use with foreman to watch
+changes everywhere (assets, pages, posts);
+- Removed the hardcoded Jekyll from Gemfile and
+replaced it with the github pages Gem;
+- Bumped all assets versions;
+- Some semantics fixed in HTML;
+
+### Usage
+
+To get started, with Ruby, Bundler, Node.js and NPM
+previously in your `PATH`, run the init script:
+
+{% highlight bash %}
+./script/init.sh
+{% endhighlight %}
+
+This will install all needed dependencies and build
+the the assets for you (just run `grunt`).
+
+You can also start it up in watch mode with
+
+{% highlight bash %}
+foreman start -f Procfile.dev
+{% endhighlight %}
+
+### Update
+
+To update, the easiest way is to backup your _posts folder and override
+everything else. If you don't want to do that, you will have to hack
+around the changes and do it by hand.
+
+If you have any issues or suggestions, ping me at the [up project][up].
+
+[up]: http://github.com/caarlos0/up
+[my-blog]: http://carlosbecker.com
+[bower]: http://bower.io
+[grunt]: http://gruntjs.com/
Oops, something went wrong.

0 comments on commit bccd5d8

Please sign in to comment.