geekspace 3.1.1

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.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +15 -0
  4. data/_includes/comments.html +28 -0
  5. data/_includes/foot.html +11 -0
  6. data/_includes/footer.html +5 -0
  7. data/_includes/head.html +99 -0
  8. data/_includes/header.html +3 -0
  9. data/_includes/intro.html +6 -0
  10. data/_includes/nav.html +17 -0
  11. data/_includes/pagination.html +23 -0
  12. data/_includes/post-share.html +8 -0
  13. data/_layouts/compress.html +11 -0
  14. data/_layouts/default.html +12 -0
  15. data/_layouts/home.html +47 -0
  16. data/_layouts/page.html +12 -0
  17. data/_layouts/post.html +16 -0
  18. data/_sass/_layout.scss +364 -0
  19. data/_sass/_syntax-highlighting.scss +96 -0
  20. data/_sass/_variables.scss +47 -0
  21. data/_sass/base/_base.scss +11 -0
  22. data/_sass/base/_buttons.scss +37 -0
  23. data/_sass/base/_forms.scss +90 -0
  24. data/_sass/base/_lists.scss +31 -0
  25. data/_sass/base/_reset.scss +54 -0
  26. data/_sass/base/_tables.scss +25 -0
  27. data/_sass/base/_typography.scss +139 -0
  28. data/_sass/bourbon/_bourbon.scss +54 -0
  29. data/_sass/bourbon/bourbon/helpers/_buttons-list.scss +14 -0
  30. data/_sass/bourbon/bourbon/helpers/_scales.scss +27 -0
  31. data/_sass/bourbon/bourbon/helpers/_text-inputs-list.scss +26 -0
  32. data/_sass/bourbon/bourbon/library/_border-color.scss +26 -0
  33. data/_sass/bourbon/bourbon/library/_border-radius.scss +85 -0
  34. data/_sass/bourbon/bourbon/library/_border-style.scss +25 -0
  35. data/_sass/bourbon/bourbon/library/_border-width.scss +25 -0
  36. data/_sass/bourbon/bourbon/library/_buttons.scss +84 -0
  37. data/_sass/bourbon/bourbon/library/_clearfix.scss +25 -0
  38. data/_sass/bourbon/bourbon/library/_contrast-switch.scss +81 -0
  39. data/_sass/bourbon/bourbon/library/_ellipsis.scss +36 -0
  40. data/_sass/bourbon/bourbon/library/_font-face.scss +65 -0
  41. data/_sass/bourbon/bourbon/library/_font-stacks.scss +248 -0
  42. data/_sass/bourbon/bourbon/library/_hide-text.scss +24 -0
  43. data/_sass/bourbon/bourbon/library/_hide-visually.scss +70 -0
  44. data/_sass/bourbon/bourbon/library/_margin.scss +37 -0
  45. data/_sass/bourbon/bourbon/library/_modular-scale.scss +120 -0
  46. data/_sass/bourbon/bourbon/library/_overflow-wrap.scss +25 -0
  47. data/_sass/bourbon/bourbon/library/_padding.scss +36 -0
  48. data/_sass/bourbon/bourbon/library/_position.scss +62 -0
  49. data/_sass/bourbon/bourbon/library/_prefixer.scss +37 -0
  50. data/_sass/bourbon/bourbon/library/_shade.scss +32 -0
  51. data/_sass/bourbon/bourbon/library/_size.scss +50 -0
  52. data/_sass/bourbon/bourbon/library/_strip-unit.scss +17 -0
  53. data/_sass/bourbon/bourbon/library/_text-inputs.scss +163 -0
  54. data/_sass/bourbon/bourbon/library/_timing-functions.scss +36 -0
  55. data/_sass/bourbon/bourbon/library/_tint.scss +32 -0
  56. data/_sass/bourbon/bourbon/library/_triangle.scss +82 -0
  57. data/_sass/bourbon/bourbon/library/_value-prefixer.scss +37 -0
  58. data/_sass/bourbon/bourbon/settings/_settings.scss +75 -0
  59. data/_sass/bourbon/bourbon/utilities/_assign-inputs.scss +28 -0
  60. data/_sass/bourbon/bourbon/utilities/_compact-shorthand.scss +42 -0
  61. data/_sass/bourbon/bourbon/utilities/_contrast-ratio.scss +31 -0
  62. data/_sass/bourbon/bourbon/utilities/_directional-property.scss +68 -0
  63. data/_sass/bourbon/bourbon/utilities/_fetch-bourbon-setting.scss +16 -0
  64. data/_sass/bourbon/bourbon/utilities/_font-source-declaration.scss +52 -0
  65. data/_sass/bourbon/bourbon/utilities/_gamma.scss +24 -0
  66. data/_sass/bourbon/bourbon/utilities/_lightness.scss +24 -0
  67. data/_sass/bourbon/bourbon/utilities/_unpack-shorthand.scss +29 -0
  68. data/_sass/bourbon/bourbon/validators/_contains-falsy.scss +20 -0
  69. data/_sass/bourbon/bourbon/validators/_contains.scss +26 -0
  70. data/_sass/bourbon/bourbon/validators/_is-color.scss +13 -0
  71. data/_sass/bourbon/bourbon/validators/_is-length.scss +20 -0
  72. data/_sass/bourbon/bourbon/validators/_is-number.scss +15 -0
  73. data/_sass/bourbon/bourbon/validators/_is-size.scss +18 -0
  74. data/_sass/geekspace.scss +8 -0
  75. data/assets/css/main.scss +5 -0
  76. data/assets/icons/FontAwesome/FontAwesome.otf +0 -0
  77. data/assets/icons/FontAwesome/fontawesome-webfont.eot +0 -0
  78. data/assets/icons/FontAwesome/fontawesome-webfont.svg +685 -0
  79. data/assets/icons/FontAwesome/fontawesome-webfont.ttf +0 -0
  80. data/assets/icons/FontAwesome/fontawesome-webfont.woff +0 -0
  81. data/assets/icons/FontAwesome/fontawesome-webfont.woff2 +0 -0
  82. data/assets/images/author.jpg +0 -0
  83. data/assets/images/cover.jpg +0 -0
  84. data/assets/images/logo.jpg +0 -0
  85. metadata +233 -0
@@ -0,0 +1,96 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+ .highlight {
5
+ margin: $base-spacing 0;
6
+ padding: 0;
7
+ box-shadow: 0px 0px 2px rgba($black-color, .1);
8
+
9
+ .highlighter-rouge &, &, .hll, pre, code {
10
+ background-color: lighten($light-gray-color, 15%) !important;
11
+ }
12
+
13
+ pre {
14
+ margin: 0;
15
+ padding: $base-spacing;
16
+ white-space: pre;
17
+ line-height: 23px;
18
+ overflow-x: auto;
19
+ margin-bottom: 0;
20
+ word-break: inherit;
21
+ word-wrap: inherit;
22
+
23
+ &, code {
24
+ color: $base-font-color;
25
+ }
26
+
27
+ code {
28
+ white-space: pre;
29
+ padding: 0 !important;
30
+
31
+ * {
32
+ white-space: nowrap; // this sets all children inside to nowrap
33
+ }
34
+ }
35
+ }
36
+
37
+ .c { color: #998; font-style: italic } // Comment
38
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
39
+ .k { font-weight: bold } // Keyword
40
+ .o { font-weight: bold } // Operator
41
+ .cm { color: #998; font-style: italic } // Comment.Multiline
42
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
43
+ .c1 { color: #998; font-style: italic } // Comment.Single
44
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
45
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
46
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
47
+ .ge { font-style: italic } // Generic.Emph
48
+ .gr { color: #a00 } // Generic.Error
49
+ .gh { color: #999 } // Generic.Heading
50
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
51
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
52
+ .go { color: #888 } // Generic.Output
53
+ .gp { color: #555 } // Generic.Prompt
54
+ .gs { font-weight: bold } // Generic.Strong
55
+ .gu { color: #aaa } // Generic.Subheading
56
+ .gt { color: #a00 } // Generic.Traceback
57
+ .kc { font-weight: bold } // Keyword.Constant
58
+ .kd { font-weight: bold } // Keyword.Declaration
59
+ .kp { font-weight: bold } // Keyword.Pseudo
60
+ .kr { font-weight: bold } // Keyword.Reserved
61
+ .kt { color: #458; font-weight: bold } // Keyword.Type
62
+ .m { color: #099 } // Literal.Number
63
+ .s { color: #d14 } // Literal.String
64
+ .na { color: #008080 } // Name.Attribute
65
+ .nb { color: #0086B3 } // Name.Builtin
66
+ .nc { color: #458; font-weight: bold } // Name.Class
67
+ .no { color: #008080 } // Name.Constant
68
+ .ni { color: #800080 } // Name.Entity
69
+ .ne { color: #900; font-weight: bold } // Name.Exception
70
+ .nf { color: #900; font-weight: bold } // Name.Function
71
+ .nn { color: #555 } // Name.Namespace
72
+ .nt { color: #000080 } // Name.Tag
73
+ .nv { color: #008080 } // Name.Variable
74
+ .ow { font-weight: bold } // Operator.Word
75
+ .w { color: #bbb } // Text.Whitespace
76
+ .mf { color: #099 } // Literal.Number.Float
77
+ .mh { color: #099 } // Literal.Number.Hex
78
+ .mi { color: #099 } // Literal.Number.Integer
79
+ .mo { color: #099 } // Literal.Number.Oct
80
+ .sb { color: #d14 } // Literal.String.Backtick
81
+ .sc { color: #d14 } // Literal.String.Char
82
+ .sd { color: #d14 } // Literal.String.Doc
83
+ .s2 { color: #d14 } // Literal.String.Double
84
+ .se { color: #d14 } // Literal.String.Escape
85
+ .sh { color: #d14 } // Literal.String.Heredoc
86
+ .si { color: #d14 } // Literal.String.Interpol
87
+ .sx { color: #d14 } // Literal.String.Other
88
+ .sr { color: #009926 } // Literal.String.Regex
89
+ .s1 { color: #d14 } // Literal.String.Single
90
+ .ss { color: #990073 } // Literal.String.Symbol
91
+ .bp { color: #999 } // Name.Builtin.Pseudo
92
+ .vc { color: #008080 } // Name.Variable.Class
93
+ .vg { color: #008080 } // Name.Variable.Global
94
+ .vi { color: #008080 } // Name.Variable.Instance
95
+ .il { color: #099 } // Literal.Number.Integer.Long
96
+ }
@@ -0,0 +1,47 @@
1
+ // Typography
2
+ @import url('https://fonts.googleapis.com/css?family=Overpass+Mono:400,700');
3
+ $base-font-family: 'Overpass Mono', monospace;
4
+ $heading-font-family: $base-font-family;
5
+
6
+ // Font Sizes
7
+ $base-font-size: 1em;
8
+
9
+ // Line height
10
+ $base-line-height: 1.5;
11
+ $heading-line-height: 1.2;
12
+
13
+ // Other Sizes
14
+ $base-border-radius: .52em;
15
+ $base-spacing: $base-line-height * 1em;
16
+ $small-spacing: $base-spacing / 2;
17
+ $base-z-index: 0;
18
+
19
+ // Colors
20
+ $primary-color: #000;
21
+ $action-color: $primary-color;
22
+ $white-color: #fff;
23
+ $black-color: #000;
24
+ $blue-color: #0086B3;
25
+ $dark-gray-color: #333;
26
+ $medium-gray-color: #999;
27
+ $light-gray-color: #ccc;
28
+ $accent-color: #eeeeee;
29
+
30
+ // Font Colors
31
+ $base-font-color: rgba($dark-gray-color, .8);
32
+
33
+ // Border
34
+ $base-border-color: $light-gray-color;
35
+ $base-border: 1px solid $base-border-color;
36
+
37
+ // Background Colors
38
+ $base-background-color: $medium-gray-color;
39
+ $secondary-background-color: tint($base-border-color, 80%);
40
+
41
+ // Forms
42
+ $form-box-shadow: inset 0 1px 3px rgba($black-color, 0.06);
43
+ $form-box-shadow-focus: $form-box-shadow, 0 0 5px adjust-color($action-color, $lightness: -5%, $alpha: -0.3);
44
+
45
+ // Animations
46
+ $base-duration: 150ms;
47
+ $base-timing: ease;
@@ -0,0 +1,11 @@
1
+ // Bitters 1.1.0
2
+ // http://bitters.bourbon.io
3
+ // Copyright 2013-2015 thoughtbot, inc.
4
+ // MIT License
5
+
6
+ @import "reset";
7
+ @import "buttons";
8
+ @import "forms";
9
+ @import "lists";
10
+ @import "tables";
11
+ @import "typography";
@@ -0,0 +1,37 @@
1
+ // #{$all-buttons} {
2
+
3
+ .button {
4
+ appearance: none;
5
+ background-color: $action-color;
6
+ border: 0;
7
+ border-radius: $base-border-radius;
8
+ color: $white-color;
9
+ cursor: pointer;
10
+ display: inline-block;
11
+ font-family: $base-font-family;
12
+ font-size: $base-font-size;
13
+ -webkit-font-smoothing: antialiased;
14
+ font-weight: 600;
15
+ line-height: 1;
16
+ padding: $small-spacing $base-spacing;
17
+ text-decoration: none;
18
+ transition: background-color $base-duration $base-timing;
19
+ user-select: none;
20
+ vertical-align: middle;
21
+ white-space: nowrap;
22
+
23
+ &:hover,
24
+ &:focus {
25
+ background-color: shade($action-color, 20%);
26
+ color: $white-color;
27
+ }
28
+
29
+ &:disabled {
30
+ cursor: not-allowed;
31
+ opacity: 0.5;
32
+
33
+ &:hover {
34
+ background-color: $action-color;
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,90 @@
1
+ fieldset {
2
+ background-color: $secondary-background-color;
3
+ border: $base-border;
4
+ margin: 0 0 $small-spacing;
5
+ padding: $base-spacing;
6
+ }
7
+
8
+ input,
9
+ label,
10
+ select {
11
+ display: block;
12
+ font-family: $base-font-family;
13
+ font-size: $base-font-size;
14
+ }
15
+
16
+ label {
17
+ font-weight: 600;
18
+ margin-bottom: $small-spacing / 2;
19
+
20
+ &.required::after {
21
+ content: "*";
22
+ }
23
+
24
+ abbr {
25
+ display: none;
26
+ }
27
+ }
28
+
29
+ #{$all-text-inputs},
30
+ select[multiple=multiple] {
31
+ background-color: $base-background-color;
32
+ border: $base-border;
33
+ border-radius: $base-border-radius;
34
+ box-shadow: $form-box-shadow;
35
+ box-sizing: border-box;
36
+ font-family: $base-font-family;
37
+ font-size: $base-font-size;
38
+ margin-bottom: $small-spacing;
39
+ padding: $base-spacing / 3;
40
+ transition: border-color $base-duration $base-timing;
41
+ width: 100%;
42
+
43
+ &:hover {
44
+ border-color: shade($base-border-color, 20%);
45
+ }
46
+
47
+ &:focus {
48
+ border-color: $action-color;
49
+ box-shadow: $form-box-shadow-focus;
50
+ outline: none;
51
+ }
52
+
53
+ &:disabled {
54
+ background-color: shade($base-background-color, 5%);
55
+ cursor: not-allowed;
56
+
57
+ &:hover {
58
+ border: $base-border;
59
+ }
60
+ }
61
+ }
62
+
63
+ textarea {
64
+ resize: vertical;
65
+ }
66
+
67
+ input[type="search"] {
68
+ appearance: none;
69
+ }
70
+
71
+ input[type="checkbox"],
72
+ input[type="radio"] {
73
+ display: inline;
74
+ margin-right: $small-spacing / 2;
75
+
76
+ + label {
77
+ display: inline-block;
78
+ }
79
+ }
80
+
81
+ input[type="file"] {
82
+ margin-bottom: $small-spacing;
83
+ width: 100%;
84
+ }
85
+
86
+ select {
87
+ margin-bottom: $base-spacing;
88
+ max-width: 100%;
89
+ width: auto;
90
+ }
@@ -0,0 +1,31 @@
1
+ ul,
2
+ ol {
3
+ list-style-type: none;
4
+ margin: 0;
5
+ padding: 0;
6
+
7
+ &%default-ul {
8
+ list-style-type: disc;
9
+ margin-bottom: $small-spacing;
10
+ padding-left: $base-spacing;
11
+ }
12
+
13
+ &%default-ol {
14
+ list-style-type: decimal;
15
+ margin-bottom: $small-spacing;
16
+ padding-left: $base-spacing;
17
+ }
18
+ }
19
+
20
+ dl {
21
+ margin-bottom: $small-spacing;
22
+
23
+ dt {
24
+ font-weight: bold;
25
+ margin-top: $small-spacing;
26
+ }
27
+
28
+ dd {
29
+ margin: 0;
30
+ }
31
+ }
@@ -0,0 +1,54 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/
2
+ v2.0 | 20110126
3
+ License: none (public domain)
4
+ */
5
+
6
+ html, body, div, span, applet, object, iframe,
7
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
+ a, abbr, acronym, address, big, cite, code,
9
+ del, dfn, em, img, ins, kbd, q, s, samp,
10
+ small, strike, strong, sub, sup, tt, var,
11
+ b, u, i, center,
12
+ dl, dt, dd, ol, ul, li,
13
+ fieldset, form, label, legend,
14
+ table, caption, tbody, tfoot, thead, tr, th, td,
15
+ article, aside, canvas, details, embed,
16
+ figure, figcaption, footer, header, hgroup,
17
+ menu, nav, output, ruby, section, summary,
18
+ time, mark, audio, video {
19
+ margin: 0;
20
+ padding: 0;
21
+ border: 0;
22
+ font-size: 100%;
23
+ font: inherit;
24
+ vertical-align: baseline;
25
+ }
26
+
27
+ /* HTML5 display-role reset for older browsers */
28
+ article, aside, details, figcaption, figure,
29
+ footer, header, hgroup, menu, nav, section {
30
+ display: block;
31
+ }
32
+
33
+ body {
34
+ line-height: 1;
35
+ }
36
+
37
+ ol, ul {
38
+ list-style: none;
39
+ }
40
+
41
+ blockquote, q {
42
+ quotes: none;
43
+ }
44
+
45
+ blockquote:before, blockquote:after,
46
+ q:before, q:after {
47
+ content: '';
48
+ content: none;
49
+ }
50
+
51
+ table {
52
+ border-collapse: collapse;
53
+ border-spacing: 0;
54
+ }
@@ -0,0 +1,25 @@
1
+ table {
2
+ border-collapse: collapse;
3
+ font-feature-settings: "kern", "liga", "tnum";
4
+ margin: $small-spacing 0;
5
+ table-layout: fixed;
6
+ width: 100%;
7
+ }
8
+
9
+ th {
10
+ border-bottom: 1px solid shade($base-border-color, 25%);
11
+ font-weight: 600;
12
+ padding: $small-spacing 0;
13
+ text-align: left;
14
+ }
15
+
16
+ td {
17
+ border-bottom: $base-border;
18
+ padding: $small-spacing 0;
19
+ }
20
+
21
+ tr,
22
+ td,
23
+ th {
24
+ vertical-align: middle;
25
+ }
@@ -0,0 +1,139 @@
1
+ body {
2
+ color: $base-font-color;
3
+ font-family: $base-font-family;
4
+ //font-feature-settings: "kern", "liga", "pnum";
5
+ font-size: $base-font-size;
6
+ line-height: $base-line-height;
7
+ }
8
+
9
+ h1,
10
+ h2,
11
+ h3,
12
+ h4,
13
+ h5,
14
+ h6 {
15
+ font-family: $heading-font-family;
16
+ font-size: $base-font-size;
17
+ line-height: $heading-line-height;
18
+ margin: $small-spacing 0 $small-spacing 0;
19
+ font-weight: 700;
20
+ }
21
+
22
+ h1 {
23
+ font-size: 30px / 16px * 1em;
24
+ }
25
+
26
+ h2 {
27
+ font-size: 26px / 16px * 1em;
28
+ }
29
+
30
+ h3 {
31
+ font-size: 24px / 16px * 1em;
32
+ }
33
+
34
+ h4 {
35
+ font-size: 20px / 16px * 1em;
36
+ }
37
+
38
+ h5,
39
+ h6 {
40
+ font-size: 16px / 16px * 1em;
41
+ }
42
+
43
+ p {
44
+ margin: 0 0 $small-spacing;
45
+
46
+ &.lead {
47
+ font-size: 22px / 16px * 1em;
48
+ font-weight: 300;
49
+ }
50
+ }
51
+
52
+ a {
53
+ color: $action-color;
54
+ text-decoration: none;
55
+ transition: color $base-duration $base-timing;
56
+
57
+ &:active,
58
+ &:focus,
59
+ &:hover {
60
+ color: shade($action-color, 25%);
61
+ }
62
+ }
63
+
64
+ article a {
65
+ text-decoration: underline;
66
+ }
67
+
68
+ hr {
69
+ border-bottom: $base-border;
70
+ border-left: 0;
71
+ border-right: 0;
72
+ border-top: 0;
73
+ margin: $base-spacing 0;
74
+ }
75
+
76
+ img,
77
+ picture {
78
+ margin: 0;
79
+ max-width: 100%;
80
+ }
81
+
82
+ blockquote {
83
+ padding: $base-spacing 0 $base-spacing $base-spacing;
84
+ margin: $base-spacing 0;
85
+ color: $dark-gray-color;
86
+ line-height: 1.8;
87
+ border-left: $small-spacing solid $light-gray-color;
88
+ background-color: lighten($light-gray-color, 15%);
89
+ p {
90
+ margin: 0;
91
+ }
92
+ }
93
+
94
+ code {
95
+ background: none;
96
+ border-radius: 0;
97
+ border: none;
98
+ font-family: "SFMono-Regular",Menlo,Consolas,"Inconsolata",monospace;
99
+ font-size: 1em;
100
+ margin: 0;
101
+ padding: 0 5px;
102
+ background-color: lighten($light-gray-color, 13%);
103
+ }
104
+
105
+ pre {
106
+ -webkit-overflow-scrolling: touch;
107
+ font-family: "SFMono-Regular",Menlo,Consolas,"Inconsolata",monospace;
108
+ font-size: 1em;
109
+ margin: 0;
110
+ padding: 5px 10px !important;
111
+ overflow: auto;
112
+ max-height: 60em;
113
+ white-space: pre;
114
+ border: 1px solid $light-gray-color;
115
+
116
+ code {
117
+ line-height: 1.75em;
118
+ padding: 0 !important;
119
+ }
120
+ }
121
+
122
+ strong {
123
+ font-weight: bold;
124
+ }
125
+
126
+ em {
127
+ font-style: italic;
128
+ }
129
+
130
+ ul,
131
+ ol,
132
+ dl {
133
+ margin-top: 0;
134
+ margin-left: 1.2em;
135
+ margin-bottom: 1px / 16px * 1em;
136
+ list-style-type: square;
137
+ list-style-position: outside;
138
+ list-style-image: none;
139
+ }