Remove even more unused files
A couple of SASS files were still left over from the old theme.
This commit is contained in:
parent
b39b1e8705
commit
b734ea9777
193
_sass/_base.scss
193
_sass/_base.scss
|
@ -1,193 +0,0 @@
|
|||
/**
|
||||
* 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;
|
||||
background-color: $background-color;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Set `margin-bottom` to maintain vertical rhythm
|
||||
*/
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
p, blockquote, pre,
|
||||
ul, ol, dl, figure, table,
|
||||
%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;
|
||||
}
|
||||
|
||||
li {
|
||||
> ul,
|
||||
> ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Headings
|
||||
*/
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: $base-font-weight;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Links
|
||||
*/
|
||||
a {
|
||||
color: $brand-color;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Blockquotes
|
||||
*/
|
||||
blockquote {
|
||||
color: $grey-color;
|
||||
padding-left: $spacing-unit / 2;
|
||||
border-left: 2px solid $grey-color-light;
|
||||
font-style: italic;
|
||||
font-size: $small-font-size;
|
||||
|
||||
> :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Code formatting
|
||||
*/
|
||||
pre,
|
||||
code {
|
||||
background-color: #fcfcfc;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 1px 5px;
|
||||
font-family: $code-font-family;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 8px 12px;
|
||||
overflow-x: auto;
|
||||
border-left: 2px solid $grey-color-light;
|
||||
|
||||
> code {
|
||||
border: 0;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
tab-size: 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Table
|
||||
*/
|
||||
table {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 0.5rem;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
vertical-align: bottom;
|
||||
border-bottom: 2px solid $grey-color-light;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
border-bottom: 1px solid $grey-color-light;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Horizontal rule
|
||||
*/
|
||||
hr {
|
||||
width: 30%;
|
||||
border: none;
|
||||
border-top: 1px solid lighten($brand-color, 30%);;
|
||||
margin: $spacing-unit auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Clearfix
|
||||
*/
|
||||
%clearfix {
|
||||
&:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
}
|
|
@ -1,110 +0,0 @@
|
|||
/**
|
||||
* Site header
|
||||
*/
|
||||
.site-header {
|
||||
border-bottom: 1px solid $grey-color-light;
|
||||
text-align: center;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 300;
|
||||
letter-spacing: -1px;
|
||||
color: $grey-color-dark;
|
||||
|
||||
&,
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Page content
|
||||
*/
|
||||
.page-content {
|
||||
position: relative;
|
||||
max-width: 48rem;
|
||||
padding: $spacing-unit ($spacing-unit * 0.75);
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Pages
|
||||
*/
|
||||
.home {
|
||||
section + section {
|
||||
margin-top: $spacing-unit;
|
||||
}
|
||||
}
|
||||
|
||||
.smallcap {
|
||||
text-transform: lowercase;
|
||||
font-variant: small-caps;
|
||||
|
||||
&::first-letter {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
.post-list > li {
|
||||
margin-bottom: $spacing-unit / 4;
|
||||
|
||||
@include media-query($on-palm) {
|
||||
span {
|
||||
display: block;
|
||||
font-size: $small-font-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Posts
|
||||
*/
|
||||
.post-header {
|
||||
margin-bottom: $spacing-unit;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
font-size: 2rem;
|
||||
letter-spacing: -1px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
font-size: $small-font-size;
|
||||
color: $grey-color;
|
||||
}
|
||||
|
||||
.post-content {
|
||||
margin-bottom: $spacing-unit;
|
||||
|
||||
h1, h2, h3,
|
||||
h4, h5, h6 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
|
@ -1,90 +0,0 @@
|
|||
/* Solarized Light
|
||||
|
||||
For use with Jekyll and Pygments
|
||||
|
||||
http://ethanschoonover.com/solarized
|
||||
|
||||
SOLARIZED HEX ROLE
|
||||
--------- -------- ------------------------------------------
|
||||
base01 #586e75 body text / default code / primary content
|
||||
base1 #93a1a1 comments / secondary content
|
||||
base3 #fdf6e3 background
|
||||
orange #cb4b16 constants
|
||||
red #dc322f regex, special keywords
|
||||
blue #268bd2 reserved keywords
|
||||
cyan #2aa198 strings, numbers
|
||||
green #859900 operators, other keywords
|
||||
*/
|
||||
|
||||
.highlight {
|
||||
background-color: #fcfcfc;
|
||||
color: #586e75;
|
||||
.c { color: #93a1a1 } /* Comment */
|
||||
.err{ color: #586e75 } /* Error */
|
||||
.g{ color: #586e75 } /* Generic */
|
||||
.k{ color: #859900 } /* Keyword */
|
||||
.l{ color: #586e75 } /* Literal */
|
||||
.n{ color: #586e75 } /* Name */
|
||||
.o{ color: #859900 } /* Operator */
|
||||
.x{ color: #cb4b16 } /* Other */
|
||||
.p{ color: #586e75 } /* Punctuation */
|
||||
.cm{ color: #93a1a1 } /* Comment.Multiline */
|
||||
.cp{ color: #859900 } /* Comment.Preproc */
|
||||
.c1{ color: #93a1a1 } /* Comment.Single */
|
||||
.cs{ color: #859900 } /* Comment.Special */
|
||||
.gd{ color: #2aa198 } /* Generic.Deleted */
|
||||
.ge{ color: #586e75; font-style: italic } /* Generic.Emph */
|
||||
.gr{ color: #dc322f } /* Generic.Error */
|
||||
.gh{ color: #cb4b16 } /* Generic.Heading */
|
||||
.gi{ color: #859900 } /* Generic.Inserted */
|
||||
.go{ color: #586e75 } /* Generic.Output */
|
||||
.gp{ color: #586e75 } /* Generic.Prompt */
|
||||
.gs{ color: #586e75; font-weight: bold } /* Generic.Strong */
|
||||
.gu{ color: #cb4b16 } /* Generic.Subheading */
|
||||
.gt{ color: #586e75 } /* Generic.Traceback */
|
||||
.kc{ color: #cb4b16 } /* Keyword.Constant */
|
||||
.kd{ color: #268bd2 } /* Keyword.Declaration */
|
||||
.kn{ color: #859900 } /* Keyword.Namespace */
|
||||
.kp{ color: #859900 } /* Keyword.Pseudo */
|
||||
.kr{ color: #268bd2 } /* Keyword.Reserved */
|
||||
.kt{ color: #dc322f } /* Keyword.Type */
|
||||
.ld{ color: #586e75 } /* Literal.Date */
|
||||
.m{ color: #2aa198 } /* Literal.Number */
|
||||
.s{ color: #2aa198 } /* Literal.String */
|
||||
.na{ color: #586e75 } /* Name.Attribute */
|
||||
.nb{ color: #B58900 } /* Name.Builtin */
|
||||
.nc{ color: #268bd2 } /* Name.Class */
|
||||
.no{ color: #cb4b16 } /* Name.Constant */
|
||||
.nd{ color: #268bd2 } /* Name.Decorator */
|
||||
.ni{ color: #cb4b16 } /* Name.Entity */
|
||||
.ne{ color: #cb4b16 } /* Name.Exception */
|
||||
.nf{ color: #268bd2 } /* Name.Function */
|
||||
.nl{ color: #586e75 } /* Name.Label */
|
||||
.nn{ color: #586e75 } /* Name.Namespace */
|
||||
.nx{ color: #586e75 } /* Name.Other */
|
||||
.py{ color: #586e75 } /* Name.Property */
|
||||
.nt{ color: #268bd2 } /* Name.Tag */
|
||||
.nv{ color: #268bd2 } /* Name.Variable */
|
||||
.ow{ color: #859900 } /* Operator.Word */
|
||||
.w{ color: #586e75 } /* Text.Whitespace */
|
||||
.mf{ color: #2aa198 } /* Literal.Number.Float */
|
||||
.mh{ color: #2aa198 } /* Literal.Number.Hex */
|
||||
.mi{ color: #2aa198 } /* Literal.Number.Integer */
|
||||
.mo{ color: #2aa198 } /* Literal.Number.Oct */
|
||||
.sb{ color: #93a1a1 } /* Literal.String.Backtick */
|
||||
.sc{ color: #2aa198 } /* Literal.String.Char */
|
||||
.sd{ color: #586e75 } /* Literal.String.Doc */
|
||||
.s2{ color: #2aa198 } /* Literal.String.Double */
|
||||
.se{ color: #cb4b16 } /* Literal.String.Escape */
|
||||
.sh{ color: #586e75 } /* Literal.String.Heredoc */
|
||||
.si{ color: #2aa198 } /* Literal.String.Interpol */
|
||||
.sx{ color: #2aa198 } /* Literal.String.Other */
|
||||
.sr{ color: #dc322f } /* Literal.String.Regex */
|
||||
.s1{ color: #2aa198 } /* Literal.String.Single */
|
||||
.ss{ color: #2aa198 } /* Literal.String.Symbol */
|
||||
.bp{ color: #268bd2 } /* Name.Builtin.Pseudo */
|
||||
.vc{ color: #268bd2 } /* Name.Variable.Class */
|
||||
.vg{ color: #268bd2 } /* Name.Variable.Global */
|
||||
.vi{ color: #268bd2 } /* Name.Variable.Instance */
|
||||
.il{ color: #2aa198 } /* Literal.Number.Integer.Long */
|
||||
}
|
Loading…
Reference in a new issue