init commit
This commit is contained in:
429
_sass/_base.scss
Normal file
429
_sass/_base.scss
Normal file
@@ -0,0 +1,429 @@
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: gidole;
|
||||
src: url(/assets/font/gidole.otf);
|
||||
}
|
||||
body {
|
||||
font: $base-font-weight #{$base-font-size}/#{$base-line-height} gidole;
|
||||
color: $text-color;
|
||||
background-color: $background-color;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-font-feature-settings: "kern" 1;
|
||||
-moz-font-feature-settings: "kern" 1;
|
||||
-o-font-feature-settings: "kern" 1;
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
&:visited {
|
||||
color: darken($brand-color, 15%);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Blockquotes
|
||||
*/
|
||||
blockquote {
|
||||
color: $grey-color;
|
||||
border-left: 4px solid $grey-color-light;
|
||||
padding-left: $spacing-unit / 2;
|
||||
font-size: 18px;
|
||||
letter-spacing: -1px;
|
||||
font-style: italic;
|
||||
|
||||
> :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Code formatting
|
||||
*/
|
||||
pre,
|
||||
code {
|
||||
font-size: 15px;
|
||||
border: 1px solid $grey-color-light;
|
||||
border-radius: 3px;
|
||||
background-color: #eef;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 1px 5px;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 8px 12px;
|
||||
overflow-x: auto;
|
||||
|
||||
> code {
|
||||
border: 0;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Wrapper
|
||||
*/
|
||||
.wrapper {
|
||||
max-width: -webkit-calc(800px - (30px * 2));
|
||||
max-width: calc(1020px - (30px * 2));
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding-right: 30px;
|
||||
padding-left: 30px;
|
||||
position: relative;
|
||||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
.wrapper {
|
||||
max-width: -webkit-calc(800px - (30px));
|
||||
max-width: calc(800px - (30px));
|
||||
padding-right: 15px;
|
||||
padding-left: 15px; } }
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Clearfix
|
||||
*/
|
||||
%clearfix {
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Icons
|
||||
*/
|
||||
.icon {
|
||||
|
||||
> svg {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
|
||||
path {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Column Home
|
||||
*/
|
||||
|
||||
.post-header .post-title a {
|
||||
font-size: 20px;
|
||||
}
|
||||
.post-excerpt p {
|
||||
font-size: 14px;
|
||||
}
|
||||
.post-meta {
|
||||
font-size: 10px;
|
||||
color: $grey-color;
|
||||
}
|
||||
.post {
|
||||
position: relative;
|
||||
margin: 1rem auto;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: #E8E8E8 1px solid;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.pagination {
|
||||
margin-top:20px;
|
||||
padding-bottom:40px;
|
||||
}
|
||||
.tags-date {
|
||||
float: right;
|
||||
margin-top: -35px; font-size: 12px;
|
||||
color: #828282;
|
||||
}
|
||||
.tags-pagee {
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
height: auto;
|
||||
display: inline-block;
|
||||
}
|
||||
@media screen and (min-width: 47.5em) {
|
||||
.tags-pagee {
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
padding: 0 0 15px;
|
||||
}
|
||||
.tags-date {
|
||||
float: right;
|
||||
margin-top: -40px; font-size: 12px;
|
||||
color: #828282;
|
||||
}
|
||||
.post {
|
||||
position: relative;
|
||||
margin: 2rem auto;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: #E8E8E8 1px solid;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.home {
|
||||
margin-right: 18.5em;
|
||||
border-right: 1px solid #e8e8e8;
|
||||
padding-right: 30px;
|
||||
}
|
||||
.widgets {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 18.75em;
|
||||
padding-botom: 0;
|
||||
|
||||
}
|
||||
.post-header .post-title a {
|
||||
font-size:1em;
|
||||
}
|
||||
.post-excerpt p {
|
||||
font-size: 16px;
|
||||
}
|
||||
.post-meta {
|
||||
font-size: 12px;
|
||||
color: $grey-color;
|
||||
}
|
||||
.pagination {
|
||||
padding-bottom:40px;
|
||||
}
|
||||
|
||||
}
|
||||
.home {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
.widgets {
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Tambahan
|
||||
*/
|
||||
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
.post:after {
|
||||
display: block;
|
||||
content: "";
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border: #E8E8E8 1px solid;
|
||||
position: absolute;
|
||||
bottom: -5px;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
background: #fdfdfd;
|
||||
border-radius: 100%;
|
||||
box-shadow: #fdfdfd 0 0 0 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.tags li {
|
||||
position: relative;
|
||||
float: left;
|
||||
margin: 0 35px 9px 0px;
|
||||
}
|
||||
.tags a {
|
||||
height: 26px;
|
||||
line-height: 23px;
|
||||
padding: 0 9px 0 8px;
|
||||
font-size: 12px;
|
||||
color: #555;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 1px white;
|
||||
border-width: 1px 0 1px 1px;
|
||||
border-style: solid;
|
||||
border-color: #dadada #d2d2d2 #c5c5c5;
|
||||
border-radius: 3px 0 0 3px;
|
||||
}
|
||||
.tags span {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 100%;
|
||||
z-index: 2;
|
||||
overflow: hidden;
|
||||
max-width: 0;
|
||||
height: 24px;
|
||||
line-height: 21px;
|
||||
padding: 0 0 0 2px;
|
||||
color: white;
|
||||
text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
|
||||
background: #000;
|
||||
border: 1px solid;
|
||||
border-color: #000;
|
||||
border-radius: 0 2px 2px 0;
|
||||
opacity: .95;
|
||||
padding: 0 7px 0 6px;
|
||||
max-width: 40px;
|
||||
}
|
||||
.tags a, .tags span {
|
||||
display: block;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.tags li:after {
|
||||
content: '';
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: -2px;
|
||||
width: 5px;
|
||||
height: 6px;
|
||||
opacity: .95;
|
||||
background: #000;
|
||||
border-radius: 3px 0 0 3px;
|
||||
-webkit-box-shadow: inset 1px 0 #000;
|
||||
box-shadow: inset 1px 0 #000;
|
||||
}
|
||||
.tags:before, .tags:after {
|
||||
content: '';
|
||||
display: table;
|
||||
}
|
||||
.post-tags{
|
||||
display: inline-block;
|
||||
|
||||
|
||||
|
||||
text-transform: uppercase;
|
||||
|
||||
white-space: nowrap;
|
||||
}
|
||||
.post-tags a {
|
||||
|
||||
color:#828282;
|
||||
}
|
||||
.post-date {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
padding-left: 12px;
|
||||
border-left: #d5dbde 1px solid;
|
||||
text-transform: uppercase;
|
||||
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.pagination span, .pagination a {
|
||||
font-size: 16px;
|
||||
background: #e8e8e8;
|
||||
padding: 5px 15px;
|
||||
border-radius: 3px;
|
||||
color: #969696;
|
||||
}
|
||||
.pagination span.previous, .pagination a.previous {
|
||||
float: left;
|
||||
}
|
||||
.pagination span.next, .pagination a.next {
|
||||
float: right;
|
||||
}
|
||||
.pagination a {
|
||||
color:#2F2F2F;
|
||||
border-color:#2F2F2F;
|
||||
}
|
||||
899
_sass/_layout.scss
Normal file
899
_sass/_layout.scss
Normal file
File diff suppressed because one or more lines are too long
0
_sass/_pagination.scss
Normal file
0
_sass/_pagination.scss
Normal file
71
_sass/_syntax-highlighting.scss
Normal file
71
_sass/_syntax-highlighting.scss
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* Syntax highlighting styles
|
||||
*/
|
||||
.highlight {
|
||||
background: #fff;
|
||||
@extend %vertical-rhythm;
|
||||
|
||||
.highlighter-rouge & {
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user