Permalink
Browse files

Introduced SASS for syntax highlighting.

  • Loading branch information...
MikeVitale42 committed Oct 5, 2014
1 parent beb093d commit 5796e2caf70cb9702aab4195723eabc33cadb6f4
Showing with 119 additions and 97 deletions.
  1. +0 −2 _layouts/default.html
  2. +64 −0 _sass/_syntax.scss
  3. +0 −35 assets/css/main.css
  4. +55 −0 assets/css/main.scss
  5. +0 −60 assets/css/syntax.css
View
@@ -14,8 +14,6 @@
<link rel="stylesheet" type="text/css" href="/assets/css/normalize.css" />
<link rel="stylesheet" type="text/css" href="/assets/css/screen.css" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Noto+Serif:400,700,400italic|Open+Sans:700,400" />
<!-- This is for syntax highlight -->
<link rel="stylesheet" type="text/css" href="/assets/css/syntax.css">
<!-- Customisation -->
<link rel="stylesheet" type="text/css" href="/assets/css/main.css" />
View
@@ -0,0 +1,64 @@
.highlight {
background: #ffffff;
.c { color: #999988; font-style: italic } /* Comment */
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
.k { font-weight: bold } /* Keyword */
.o { font-weight: bold } /* Operator */
.cm { color: #999988; font-style: italic } /* Comment.Multiline */
.cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.c1 { color: #999988; font-style: italic } /* Comment.Single */
.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: #aa0000 } /* Generic.Error */
.gh { color: #999999 } /* Generic.Heading */
.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.go { color: #888888 } /* Generic.Output */
.gp { color: #555555 } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: #aaaaaa } /* Generic.Subheading */
.gt { color: #aa0000 } /* Generic.Traceback */
.kc { font-weight: bold } /* Keyword.Constant */
.kd { font-weight: bold } /* Keyword.Declaration */
.kp { font-weight: bold } /* Keyword.Pseudo */
.kr { font-weight: bold } /* Keyword.Reserved */
.kt { color: #445588; font-weight: bold } /* Keyword.Type */
.m { color: #009999 } /* Literal.Number */
.s { color: #d14 } /* Literal.String */
.na { color: #008080 } /* Name.Attribute */
.nb { color: #0086B3 } /* Name.Builtin */
.nc { color: #445588; font-weight: bold } /* Name.Class */
.no { color: #008080 } /* Name.Constant */
.ni { color: #800080 } /* Name.Entity */
.ne { color: #990000; font-weight: bold } /* Name.Exception */
.nf { color: #990000; font-weight: bold } /* Name.Function */
.nn { color: #555555 } /* Name.Namespace */
.nt { color: #000080 } /* Name.Tag */
.nv { color: #008080 } /* Name.Variable */
.ow { font-weight: bold } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #009999 } /* Literal.Number.Float */
.mh { color: #009999 } /* Literal.Number.Hex */
.mi { color: #009999 } /* Literal.Number.Integer */
.mo { color: #009999 } /* Literal.Number.Oct */
.sb { color: #d14 } /* Literal.String.Backtick */
.sc { color: #d14 } /* Literal.String.Char */
.sd { color: #d14 } /* Literal.String.Doc */
.s2 { color: #d14 } /* Literal.String.Double */
.se { color: #d14 } /* Literal.String.Escape */
.sh { color: #d14 } /* Literal.String.Heredoc */
.si { color: #d14 } /* Literal.String.Interpol */
.sx { color: #d14 } /* Literal.String.Other */
.sr { color: #009926 } /* Literal.String.Regex */
.s1 { color: #d14 } /* Literal.String.Single */
.ss { color: #990073 } /* Literal.String.Symbol */
.bp { color: #999999 } /* Name.Builtin.Pseudo */
.vc { color: #008080 } /* Name.Variable.Class */
.vg { color: #008080 } /* Name.Variable.Global */
.vi { color: #008080 } /* Name.Variable.Instance */
.il { color: #009999 } /* Literal.Number.Integer.Long */
}
View

This file was deleted.

Oops, something went wrong.
View
@@ -0,0 +1,55 @@
---
# Let's add a comment to make this file sass-y.
---
/* Font size of 2.0 is too big, I'll reduce it */
body {
font-size: 1.9rem;
}
/* Adding some text shadow*/
.site-head {
text-shadow: 2px 2px #234;
a {
color: #eee;
}
}
/* The font is too large in the post view. Revert to small size*/
.post-header .blog-title {
font-size: inherit;
}
/* Reduce font size and add line-height*/
pre {
font-size: 0.75em;
line-height: 1.4em;
}
/* Author styling */
.author {
margin-bottom: 1em;
header {
float: left;
width: 80px;
}
article {
margin-left: 80px;
min-height: 80px;
padding-left: 20px;
}
}
img.profile {
width: 80px;
height: auto;
border-radius: 50px;
}
// Import partials from `sass_dir` (defaults to `_sass`)
@import
"syntax"
;
View

This file was deleted.

Oops, something went wrong.

0 comments on commit 5796e2c

Please sign in to comment.