jambi 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +45 -0
- data/_includes/accounts.html +14 -0
- data/_includes/article-summary.html +21 -0
- data/_includes/footer.html +8 -0
- data/_includes/head.html +9 -0
- data/_includes/header.html +28 -0
- data/_layouts/category.html +8 -0
- data/_layouts/default.html +13 -0
- data/_layouts/home.html +8 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +17 -0
- data/_sass/jambi.scss +23 -0
- data/_sass/libraries/normalize.scss +447 -0
- data/_sass/libraries/syntax.scss +60 -0
- data/_sass/ui/article-list/_base.scss +22 -0
- data/_sass/ui/article/_base.scss +56 -0
- data/_sass/ui/body/_base.scss +57 -0
- data/_sass/ui/footer/_base.scss +32 -0
- data/_sass/ui/header/_base.scss +101 -0
- data/_sass/ui/icons/_base.scss +41 -0
- data/_sass/ui/main/_base.scss +8 -0
- data/_sass/utilities/_animations.scss +19 -0
- data/_sass/utilities/_mixins.scss +41 -0
- data/_sass/utilities/_styles.scss +14 -0
- data/_sass/variables/_color.scss +36 -0
- data/_sass/variables/_font.scss +12 -0
- data/_sass/variables/_layout.scss +3 -0
- data/_sass/variables/_screen.scss +8 -0
- data/assets/fonts/jambi.svg +13 -0
- data/assets/fonts/jambi.ttf +0 -0
- data/assets/fonts/jambi.woff +0 -0
- data/assets/images/header/me.jpg +0 -0
- data/assets/main.scss +5 -0
- metadata +120 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
.highlight { background: #ffffff; }
|
2
|
+
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
3
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
4
|
+
.highlight .k { font-weight: bold } /* Keyword */
|
5
|
+
.highlight .o { font-weight: bold } /* Operator */
|
6
|
+
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
10
|
+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
11
|
+
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
|
12
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
13
|
+
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
14
|
+
.highlight .gh { color: #999999 } /* Generic.Heading */
|
15
|
+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
16
|
+
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
|
17
|
+
.highlight .go { color: #888888 } /* Generic.Output */
|
18
|
+
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
19
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
20
|
+
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
21
|
+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
22
|
+
.highlight .kc { font-weight: bold } /* Keyword.Constant */
|
23
|
+
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
|
24
|
+
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
|
25
|
+
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
|
26
|
+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
27
|
+
.highlight .m { color: #009999 } /* Literal.Number */
|
28
|
+
.highlight .s { color: #d14 } /* Literal.String */
|
29
|
+
.highlight .na { color: #008080 } /* Name.Attribute */
|
30
|
+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
31
|
+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
32
|
+
.highlight .no { color: #008080 } /* Name.Constant */
|
33
|
+
.highlight .ni { color: #800080 } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
36
|
+
.highlight .nn { color: #555555 } /* Name.Namespace */
|
37
|
+
.highlight .nt { color: #000080 } /* Name.Tag */
|
38
|
+
.highlight .nv { color: #008080 } /* Name.Variable */
|
39
|
+
.highlight .ow { font-weight: bold } /* Operator.Word */
|
40
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
41
|
+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
42
|
+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
43
|
+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
44
|
+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
45
|
+
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
|
46
|
+
.highlight .sc { color: #d14 } /* Literal.String.Char */
|
47
|
+
.highlight .sd { color: #d14 } /* Literal.String.Doc */
|
48
|
+
.highlight .s2 { color: #d14 } /* Literal.String.Double */
|
49
|
+
.highlight .se { color: #d14 } /* Literal.String.Escape */
|
50
|
+
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
|
51
|
+
.highlight .si { color: #d14 } /* Literal.String.Interpol */
|
52
|
+
.highlight .sx { color: #d14 } /* Literal.String.Other */
|
53
|
+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
54
|
+
.highlight .s1 { color: #d14 } /* Literal.String.Single */
|
55
|
+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
56
|
+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
57
|
+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
58
|
+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
59
|
+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
60
|
+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
@@ -0,0 +1,56 @@
|
|
1
|
+
article {
|
2
|
+
|
3
|
+
header {
|
4
|
+
margin-bottom: 1.5em;
|
5
|
+
|
6
|
+
.info {
|
7
|
+
margin-top: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
category {
|
11
|
+
text-transform: capitalize;
|
12
|
+
|
13
|
+
&:before {
|
14
|
+
content: "/ ";
|
15
|
+
color: $color-seperator;
|
16
|
+
padding: 0 .25em;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
content {
|
22
|
+
|
23
|
+
p {
|
24
|
+
line-height: 1.35em;
|
25
|
+
margin: .75em 0;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
iframe,
|
30
|
+
img {
|
31
|
+
max-width: 100%;
|
32
|
+
max-height: 25em;
|
33
|
+
padding: $layout-border-radius;
|
34
|
+
border: 1px solid $color-border;
|
35
|
+
border-radius: $layout-border-radius;
|
36
|
+
overflow: hidden;
|
37
|
+
display: block;
|
38
|
+
margin: 2em auto;
|
39
|
+
}
|
40
|
+
|
41
|
+
figure {
|
42
|
+
margin: 1em 0;
|
43
|
+
|
44
|
+
&.highlight {
|
45
|
+
|
46
|
+
pre {
|
47
|
+
font-size: .9em;
|
48
|
+
border: 1px solid $color-border;
|
49
|
+
background-color: $color-gray-lightest;
|
50
|
+
padding: 1em;
|
51
|
+
overflow: auto;
|
52
|
+
border-radius: $layout-border-radius;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
%body-sub-header {
|
2
|
+
letter-spacing: .05em;
|
3
|
+
color: $color-gray-dark;
|
4
|
+
font-weight: 300;
|
5
|
+
margin: .5em 0 .25em;
|
6
|
+
}
|
7
|
+
|
8
|
+
html,
|
9
|
+
body {
|
10
|
+
margin: 0;
|
11
|
+
padding: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
body {
|
15
|
+
font-family: $font-sans-family;
|
16
|
+
color: $color-text;
|
17
|
+
font-weight: 300;
|
18
|
+
}
|
19
|
+
|
20
|
+
h1 {
|
21
|
+
letter-spacing: .05em;
|
22
|
+
font-size: 1.75em;
|
23
|
+
font-family: $font-serif-family;
|
24
|
+
margin: 0 0 .15em 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
h2 {
|
28
|
+
@extend %body-sub-header;
|
29
|
+
font-size: 1.35em;
|
30
|
+
}
|
31
|
+
|
32
|
+
h3 {
|
33
|
+
@extend %body-sub-header;
|
34
|
+
font-size: 1.15em;
|
35
|
+
}
|
36
|
+
|
37
|
+
p {
|
38
|
+
margin: .5em 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
a {
|
42
|
+
text-decoration: none;
|
43
|
+
transition: color 0.2s;
|
44
|
+
color: $color-text;
|
45
|
+
|
46
|
+
&:active,
|
47
|
+
&:visited {
|
48
|
+
color: $color-text;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
category,
|
53
|
+
time {
|
54
|
+
font-size: .8em;
|
55
|
+
color: $color-gray;
|
56
|
+
font-weight: 300;
|
57
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
.ui-footer {
|
2
|
+
margin-top: 1em;
|
3
|
+
padding: 0 1em 1em;
|
4
|
+
|
5
|
+
.wrapper {
|
6
|
+
max-width: $layout-wrapper-max-width;
|
7
|
+
margin: auto;
|
8
|
+
border-top: 1px solid $color-border;
|
9
|
+
padding: 1em 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
.usernames {
|
13
|
+
margin-bottom: 1em;
|
14
|
+
font-size: 1.25em;
|
15
|
+
|
16
|
+
a {
|
17
|
+
margin-right: 1em;
|
18
|
+
vertical-align: middle;
|
19
|
+
color: $color-gray;
|
20
|
+
|
21
|
+
&.email {
|
22
|
+
font-size: .85rem;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.copy {
|
28
|
+
font-size: .65em;
|
29
|
+
margin-top: 1em;
|
30
|
+
color: $color-gray-light;
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
.ui-header {
|
2
|
+
padding: 1em 1em 0;
|
3
|
+
border-bottom: 1px solid $color-border;
|
4
|
+
background: $color-header-top; /* fallback for old browsers */
|
5
|
+
background: linear-gradient(to bottom, $color-header-top, $color-header-bottom);
|
6
|
+
|
7
|
+
.wrapper {
|
8
|
+
max-width: $layout-wrapper-max-width;
|
9
|
+
margin: auto;
|
10
|
+
}
|
11
|
+
|
12
|
+
.intro {
|
13
|
+
display: flex;
|
14
|
+
align-items: center;
|
15
|
+
|
16
|
+
.image {
|
17
|
+
display: flex;
|
18
|
+
align-items: center;
|
19
|
+
justify-content: center;
|
20
|
+
border-radius: 50%;
|
21
|
+
overflow: hidden;
|
22
|
+
border: 1px solid $color-border;
|
23
|
+
background-color: white;
|
24
|
+
flex-shrink: 0;
|
25
|
+
padding: .25em;
|
26
|
+
|
27
|
+
.background {
|
28
|
+
@include square(3.5em);
|
29
|
+
background: url("/assets/images/header/me.jpg") center no-repeat;
|
30
|
+
background-size: contain;
|
31
|
+
display: block;
|
32
|
+
border-radius: 50%;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.info {
|
37
|
+
flex: 1;
|
38
|
+
margin: 0 0 0 1em;
|
39
|
+
|
40
|
+
.name {
|
41
|
+
font-size: 1.25em;
|
42
|
+
}
|
43
|
+
|
44
|
+
.tagline {
|
45
|
+
font-size: .85em;
|
46
|
+
margin: .25em 0;
|
47
|
+
color: $color-gray-dark;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
nav {
|
53
|
+
margin-top: 1em;
|
54
|
+
}
|
55
|
+
|
56
|
+
ul {
|
57
|
+
display: flex;
|
58
|
+
list-style: none;
|
59
|
+
padding: 0;
|
60
|
+
margin: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
li {
|
64
|
+
padding: .35em .75em;
|
65
|
+
margin: 0 .25em;
|
66
|
+
border-bottom: 0;
|
67
|
+
border-right: 0;
|
68
|
+
position: relative;
|
69
|
+
border-top: 1px solid transparent;
|
70
|
+
|
71
|
+
&.active {
|
72
|
+
border: 1px solid $color-border;
|
73
|
+
border-bottom: 0;
|
74
|
+
border-radius: $layout-border-radius $layout-border-radius 0 0;
|
75
|
+
background: white;
|
76
|
+
|
77
|
+
a {
|
78
|
+
color: $color-text;
|
79
|
+
}
|
80
|
+
|
81
|
+
&:after {
|
82
|
+
content: "";
|
83
|
+
border-bottom: 3px solid white;
|
84
|
+
position: absolute;
|
85
|
+
width: 100%;
|
86
|
+
left: 0;
|
87
|
+
bottom: -2px;
|
88
|
+
z-index: 1;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
&:first-child {
|
93
|
+
margin-left: 0;
|
94
|
+
}
|
95
|
+
|
96
|
+
a {
|
97
|
+
font-weight: 300;
|
98
|
+
color: $color-link;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
i {
|
2
|
+
/* use !important to prevent issues with browser extensions that change fonts */
|
3
|
+
font-family: 'jambi' !important;
|
4
|
+
speak: none;
|
5
|
+
font-style: normal;
|
6
|
+
font-weight: normal;
|
7
|
+
font-variant: normal;
|
8
|
+
text-transform: none;
|
9
|
+
line-height: 1;
|
10
|
+
display: inline-block;
|
11
|
+
vertical-align: middle;
|
12
|
+
transition: color 0.3s;
|
13
|
+
|
14
|
+
/* Better Font Rendering =========== */
|
15
|
+
-webkit-font-smoothing: antialiased;
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
17
|
+
|
18
|
+
&.github:before {
|
19
|
+
content: "\e900";
|
20
|
+
|
21
|
+
&:hover {
|
22
|
+
color: $color-text;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
&.linkedin:before {
|
27
|
+
content: "\e901";
|
28
|
+
|
29
|
+
&:hover {
|
30
|
+
color: #0077b5;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
&.twitter:before {
|
35
|
+
content: "\e902";
|
36
|
+
|
37
|
+
&:hover {
|
38
|
+
color: #1da1f2;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$animation-easing: cubic-bezier(0, 0, 0.2, 1);
|
2
|
+
|
3
|
+
@keyframes spin {
|
4
|
+
0% {
|
5
|
+
transform: rotate(0deg);
|
6
|
+
}
|
7
|
+
100% {
|
8
|
+
transform:rotate(359deg);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
@keyframes in-up {
|
13
|
+
from {
|
14
|
+
transform: translateY(1em);
|
15
|
+
}
|
16
|
+
to {
|
17
|
+
transform: translateY(0);
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
@mixin position ($top, $right, $bottom, $left) {
|
2
|
+
@if $top {
|
3
|
+
top: $top;
|
4
|
+
}
|
5
|
+
@if $right {
|
6
|
+
right: $right;
|
7
|
+
}
|
8
|
+
@if $bottom {
|
9
|
+
bottom: $bottom;
|
10
|
+
}
|
11
|
+
@if $left {
|
12
|
+
left: $left;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
// Sizing shortcuts
|
17
|
+
// -------------------------
|
18
|
+
@mixin size($height, $width) {
|
19
|
+
width: $width;
|
20
|
+
height: $height;
|
21
|
+
}
|
22
|
+
|
23
|
+
@mixin square($size) {
|
24
|
+
@include size($size, $size);
|
25
|
+
}
|
26
|
+
|
27
|
+
@mixin ellipsis-overflow () {
|
28
|
+
overflow: hidden;
|
29
|
+
text-overflow: ellipsis;
|
30
|
+
white-space: nowrap;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Circles
|
34
|
+
@mixin circle($diameter) {
|
35
|
+
line-height: $diameter;
|
36
|
+
width: $diameter;
|
37
|
+
text-align: center;
|
38
|
+
border-radius: 50%;
|
39
|
+
overflow: hidden;
|
40
|
+
display: inline-block;
|
41
|
+
}
|