Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 1 addition & 65 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
/**
* Reset some basic elements
*/
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
margin: 0;
padding: 0;
}



/**
* Basic styling
*/
body {
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
color: $text-color;
Expand All @@ -24,47 +16,24 @@ body {
font-feature-settings: "kern" 1;
font-kerning: normal;
}



/**
* Set `margin-bottom` to maintain vertical rhythm
*/
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
%vertical-rhythm {
margin-bottom: $spacing-unit / 2;
}



/**
* Images
*/
img {
max-width: 100%;
vertical-align: middle;
}



/**
* Figures
*/
figure > img {
display: block;
}

figcaption {
font-size: $small-font-size;
}



/**
* Lists
*/
ul, ol {
margin-left: $spacing-unit;
}
Expand All @@ -78,18 +47,10 @@ li {



/**
* Headings
*/

h1, h2, h3, h4, h5, h6 {
font-weight: $base-font-weight;
}



/**
* Links
*/
a {
color: $brand-color;
text-decoration: none;
Expand All @@ -104,11 +65,6 @@ a {
}
}



/**
* Blockquotes
*/
blockquote {
color: $grey-color;
border-left: 4px solid $grey-color-light;
Expand All @@ -122,11 +78,6 @@ blockquote {
}
}



/**
* Code formatting
*/
pre,
code {
font-size: 15px;
Expand All @@ -150,11 +101,6 @@ pre {
}
}



/**
* Wrapper
*/
.wrapper {
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
Expand All @@ -172,11 +118,6 @@ pre {
}
}



/**
* Clearfix
*/
%clearfix {

&:after {
Expand All @@ -186,11 +127,6 @@ pre {
}
}



/**
* Icons
*/
.icon {

> svg {
Expand Down
24 changes: 1 addition & 23 deletions _sass/_layout.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/**
* Site header
*/

.site-header {
border-top: 5px solid $grey-color-dark;
border-bottom: 1px solid $grey-color-light;
min-height: 56px;

// Positioning context for the mobile navigation icon
position: relative;
}

Expand Down Expand Up @@ -35,8 +31,6 @@
.page-link {
color: $text-color;
line-height: $base-line-height;

// Gaps between nav items, but not on the last one
&:not(:last-child) {
margin-right: 20px;
}
Expand Down Expand Up @@ -92,11 +86,6 @@
}
}



/**
* Site footer
*/
.site-footer {
border-top: 1px solid $grey-color-light;
padding: $spacing-unit 0;
Expand Down Expand Up @@ -161,12 +150,6 @@
width: calc(100% - (#{$spacing-unit} / 2));
}
}



/**
* Page content
*/
.page-content {
padding: $spacing-unit 0;
}
Expand Down Expand Up @@ -194,11 +177,6 @@
font-size: 24px;
}



/**
* Posts
*/
.post-header {
margin-bottom: $spacing-unit;
}
Expand Down
122 changes: 60 additions & 62 deletions _sass/_syntax-highlighting.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/**
* Syntax highlighting styles
*/

.highlight {
background: #fff;
@extend %vertical-rhythm;
Expand All @@ -9,63 +7,63 @@
background: #eef;
}

.c { color: #998; font-style: italic } // Comment
.err { color: #a61717; background-color: #e3d2d2 } // Error
.k { font-weight: bold } // Keyword
.o { font-weight: bold } // Operator
.cm { color: #998; font-style: italic } // Comment.Multiline
.cp { color: #999; font-weight: bold } // Comment.Preproc
.c1 { color: #998; font-style: italic } // Comment.Single
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
.gd { color: #000; background-color: #fdd } // Generic.Deleted
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
.ge { font-style: italic } // Generic.Emph
.gr { color: #a00 } // Generic.Error
.gh { color: #999 } // Generic.Heading
.gi { color: #000; background-color: #dfd } // Generic.Inserted
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
.go { color: #888 } // Generic.Output
.gp { color: #555 } // Generic.Prompt
.gs { font-weight: bold } // Generic.Strong
.gu { color: #aaa } // Generic.Subheading
.gt { color: #a00 } // 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: #458; font-weight: bold } // Keyword.Type
.m { color: #099 } // Literal.Number
.s { color: #d14 } // Literal.String
.na { color: #008080 } // Name.Attribute
.nb { color: #0086B3 } // Name.Builtin
.nc { color: #458; font-weight: bold } // Name.Class
.no { color: #008080 } // Name.Constant
.ni { color: #800080 } // Name.Entity
.ne { color: #900; font-weight: bold } // Name.Exception
.nf { color: #900; font-weight: bold } // Name.Function
.nn { color: #555 } // Name.Namespace
.nt { color: #000080 } // Name.Tag
.nv { color: #008080 } // Name.Variable
.ow { font-weight: bold } // Operator.Word
.w { color: #bbb } // Text.Whitespace
.mf { color: #099 } // Literal.Number.Float
.mh { color: #099 } // Literal.Number.Hex
.mi { color: #099 } // Literal.Number.Integer
.mo { color: #099 } // 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: #999 } // Name.Builtin.Pseudo
.vc { color: #008080 } // Name.Variable.Class
.vg { color: #008080 } // Name.Variable.Global
.vi { color: #008080 } // Name.Variable.Instance
.il { color: #099 } // Literal.Number.Integer.Long
.c { color: #998; font-style: italic }
.err { color: #a61717; background-color: #e3d2d2 }
.k { font-weight: bold }
.o { font-weight: bold }
.cm { color: #998; font-style: italic }
.cp { color: #999; font-weight: bold }
.c1 { color: #998; font-style: italic }
.cs { color: #999; font-weight: bold; font-style: italic }
.gd { color: #000; background-color: #fdd }
.gd .x { color: #000; background-color: #faa }
.ge { font-style: italic }
.gr { color: #a00 }
.gh { color: #999 }
.gi { color: #000; background-color: #dfd }
.gi .x { color: #000; background-color: #afa }
.go { color: #888 }
.gp { color: #555 }
.gs { font-weight: bold }
.gu { color: #aaa }
.gt { color: #a00 }
.kc { font-weight: bold }
.kd { font-weight: bold }
.kp { font-weight: bold }
.kr { font-weight: bold }
.kt { color: #458; font-weight: bold }
.m { color: #099 }
.s { color: #d14 }
.na { color: #008080 }
.nb { color: #0086B3 }
.nc { color: #458; font-weight: bold }
.no { color: #008080 }
.ni { color: #800080 }
.ne { color: #900; font-weight: bold }
.nf { color: #900; font-weight: bold }
.nn { color: #555 }
.nt { color: #000080 }
.nv { color: #008080 }
.ow { font-weight: bold }
.w { color: #bbb }
.mf { color: #099 }
.mh { color: #099 }
.mi { color: #099 }
.mo { color: #099 }
.sb { color: #d14 }
.sc { color: #d14 }
.sd { color: #d14 }
.s2 { color: #d14 }
.se { color: #d14 }
.sh { color: #d14 }
.si { color: #d14 }
.sx { color: #d14 }
.sr { color: #009926 }
.s1 { color: #d14 }
.ss { color: #990073 }
.bp { color: #999 }
.vc { color: #008080 }
.vg { color: #008080 }
.vi { color: #008080 }
.il { color: #099 }
}