jekyll-theme-basically-basic 1.1.3 → 1.2.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.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -12
  3. data/LICENSE.md +33 -21
  4. data/README.md +33 -17
  5. data/_includes/contact-list.html +1 -1
  6. data/_includes/head.html +2 -2
  7. data/_includes/navigation.html +2 -2
  8. data/_layouts/default.html +2 -2
  9. data/_layouts/home.html +1 -1
  10. data/_sass/basically-basic.scss +7 -9
  11. data/_sass/basically-basic/_entries.scss +152 -155
  12. data/_sass/basically-basic/_functions.scss +2 -0
  13. data/_sass/basically-basic/_layout.scss +7 -15
  14. data/_sass/basically-basic/_mixins.scss +5 -7
  15. data/_sass/basically-basic/_sidebar.scss +3 -2
  16. data/_sass/basically-basic/_syntax-highlighting.scss +314 -127
  17. data/_sass/basically-basic/_variables.scss +104 -84
  18. data/_sass/basically-basic/{mixins → functions}/_color.scss +0 -0
  19. data/_sass/basically-basic/{mixins → functions}/_fluid-type.scss +0 -0
  20. data/_sass/basically-basic/themes/_soft.scss +30 -12
  21. data/_sass/basically-basic/themes/_steel.scss +30 -12
  22. data/_sass/basically-basic/vendor/{_breakpoint.scss → breakpoint/_breakpoint.scss} +7 -7
  23. data/_sass/basically-basic/vendor/susy/_su.scss +1 -4
  24. data/_sass/basically-basic/vendor/susy/_susy-prefix.scss +13 -0
  25. data/_sass/basically-basic/vendor/susy/_susy.scss +5 -0
  26. data/_sass/basically-basic/vendor/susy/plugins/_svg-grid.scss +5 -0
  27. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
  28. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
  29. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
  30. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
  31. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
  32. data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
  33. data/_sass/basically-basic/vendor/susy/susy/_api.scss +318 -0
  34. data/_sass/basically-basic/vendor/susy/susy/_normalize.scss +261 -0
  35. data/_sass/basically-basic/vendor/susy/susy/_parse.scss +163 -0
  36. data/_sass/basically-basic/vendor/susy/susy/_settings.scss +329 -0
  37. data/_sass/basically-basic/vendor/susy/susy/_su-math.scss +441 -0
  38. data/_sass/basically-basic/vendor/susy/susy/_su-validate.scss +213 -0
  39. data/_sass/basically-basic/vendor/susy/susy/_syntax-helpers.scss +191 -0
  40. data/_sass/basically-basic/vendor/susy/susy/_unprefix.scss +56 -0
  41. data/_sass/basically-basic/vendor/susy/susy/_utilities.scss +167 -0
  42. data/assets/javascripts/main.js +2 -2
  43. metadata +25 -59
  44. data/_sass/basically-basic/vendor/_su.scss +0 -4
  45. data/_sass/basically-basic/vendor/_susy.scss +0 -4
  46. data/_sass/basically-basic/vendor/_susyone.scss +0 -4
  47. data/_sass/basically-basic/vendor/susy/language/_susy.scss +0 -24
  48. data/_sass/basically-basic/vendor/susy/language/_susyone.scss +0 -13
  49. data/_sass/basically-basic/vendor/susy/language/susy/_background.scss +0 -385
  50. data/_sass/basically-basic/vendor/susy/language/susy/_bleed.scss +0 -200
  51. data/_sass/basically-basic/vendor/susy/language/susy/_box-sizing.scss +0 -47
  52. data/_sass/basically-basic/vendor/susy/language/susy/_breakpoint-plugin.scss +0 -185
  53. data/_sass/basically-basic/vendor/susy/language/susy/_container.scss +0 -81
  54. data/_sass/basically-basic/vendor/susy/language/susy/_context.scss +0 -36
  55. data/_sass/basically-basic/vendor/susy/language/susy/_gallery.scss +0 -94
  56. data/_sass/basically-basic/vendor/susy/language/susy/_grids.scss +0 -64
  57. data/_sass/basically-basic/vendor/susy/language/susy/_gutters.scss +0 -154
  58. data/_sass/basically-basic/vendor/susy/language/susy/_isolate.scss +0 -77
  59. data/_sass/basically-basic/vendor/susy/language/susy/_margins.scss +0 -94
  60. data/_sass/basically-basic/vendor/susy/language/susy/_padding.scss +0 -74
  61. data/_sass/basically-basic/vendor/susy/language/susy/_rows.scss +0 -138
  62. data/_sass/basically-basic/vendor/susy/language/susy/_settings.scss +0 -216
  63. data/_sass/basically-basic/vendor/susy/language/susy/_span.scss +0 -163
  64. data/_sass/basically-basic/vendor/susy/language/susy/_validation.scss +0 -16
  65. data/_sass/basically-basic/vendor/susy/language/susyone/_background.scss +0 -18
  66. data/_sass/basically-basic/vendor/susy/language/susyone/_functions.scss +0 -377
  67. data/_sass/basically-basic/vendor/susy/language/susyone/_grid.scss +0 -312
  68. data/_sass/basically-basic/vendor/susy/language/susyone/_isolation.scss +0 -51
  69. data/_sass/basically-basic/vendor/susy/language/susyone/_margin.scss +0 -93
  70. data/_sass/basically-basic/vendor/susy/language/susyone/_media.scss +0 -105
  71. data/_sass/basically-basic/vendor/susy/language/susyone/_padding.scss +0 -92
  72. data/_sass/basically-basic/vendor/susy/language/susyone/_settings.scss +0 -60
  73. data/_sass/basically-basic/vendor/susy/output/_float.scss +0 -9
  74. data/_sass/basically-basic/vendor/susy/output/_shared.scss +0 -15
  75. data/_sass/basically-basic/vendor/susy/output/_support.scss +0 -9
  76. data/_sass/basically-basic/vendor/susy/output/float/_container.scss +0 -16
  77. data/_sass/basically-basic/vendor/susy/output/float/_end.scss +0 -40
  78. data/_sass/basically-basic/vendor/susy/output/float/_isolate.scss +0 -22
  79. data/_sass/basically-basic/vendor/susy/output/float/_span.scss +0 -35
  80. data/_sass/basically-basic/vendor/susy/output/shared/_background.scss +0 -26
  81. data/_sass/basically-basic/vendor/susy/output/shared/_container.scss +0 -21
  82. data/_sass/basically-basic/vendor/susy/output/shared/_direction.scss +0 -42
  83. data/_sass/basically-basic/vendor/susy/output/shared/_inspect.scss +0 -25
  84. data/_sass/basically-basic/vendor/susy/output/shared/_margins.scss +0 -23
  85. data/_sass/basically-basic/vendor/susy/output/shared/_output.scss +0 -14
  86. data/_sass/basically-basic/vendor/susy/output/shared/_padding.scss +0 -23
  87. data/_sass/basically-basic/vendor/susy/output/support/_background.scss +0 -58
  88. data/_sass/basically-basic/vendor/susy/output/support/_box-sizing.scss +0 -19
  89. data/_sass/basically-basic/vendor/susy/output/support/_clearfix.scss +0 -18
  90. data/_sass/basically-basic/vendor/susy/output/support/_prefix.scss +0 -19
  91. data/_sass/basically-basic/vendor/susy/output/support/_rem.scss +0 -22
  92. data/_sass/basically-basic/vendor/susy/output/support/_support.scss +0 -85
  93. data/_sass/basically-basic/vendor/susy/su/_grid.scss +0 -103
  94. data/_sass/basically-basic/vendor/susy/su/_settings.scss +0 -73
  95. data/_sass/basically-basic/vendor/susy/su/_utilities.scss +0 -111
  96. data/_sass/basically-basic/vendor/susy/su/_validation.scss +0 -57
@@ -1,47 +0,0 @@
1
- // Susy Box Sizing
2
- // =================
3
-
4
- // Global Box Sizing
5
- // -----------------
6
- // Set a box model globally on all elements.
7
- // - [$box]: border-box | content-box
8
- // - [$inherit]: true | false
9
- @mixin global-box-sizing(
10
- $box: susy-get(global-box-sizing),
11
- $inherit: false
12
- ) {
13
- $inspect: $box;
14
-
15
- @if $inherit {
16
- @at-root {
17
- html { @include output((box-sizing: $box)); }
18
- *, *:before, *:after { box-sizing: inherit; }
19
- }
20
- } @else {
21
- *, *:before, *:after { @include output((box-sizing: $box)); }
22
- }
23
-
24
- @include susy-inspect(global-box-sizing, $inspect);
25
- @include update-box-model($box);
26
- }
27
-
28
- // Border Box Sizing
29
- // -----------------
30
- // A legacy shortcut...
31
- // - [$inherit]: true | false
32
- @mixin border-box-sizing(
33
- $inherit: false
34
- ) {
35
- @include global-box-sizing(border-box, $inherit);
36
- }
37
-
38
- // Update Box Model
39
- // ----------------
40
- // PRIVATE: Updates global box model setting
41
- @mixin update-box-model(
42
- $box
43
- ) {
44
- @if $box != susy-get(global-box-sizing) {
45
- @include susy-set(global-box-sizing, $box);
46
- }
47
- }
@@ -1,185 +0,0 @@
1
- // Breakpoint Integration
2
- // ======================
3
-
4
- $susy-media: () !default;
5
- $susy-media-fallback: false !default;
6
-
7
- $_susy-media-context: ();
8
-
9
-
10
- // Susy Breakpoint
11
- // ---------------
12
- // Change grids at different media query breakpoints.
13
- // - $query : <min-width> [<max-width>] | <property> <value> | <map>
14
- // - $layout : <settings>
15
- // - $no-query : <boolean> | <selector>
16
- @mixin susy-breakpoint(
17
- $query,
18
- $layout: false,
19
- $no-query: $susy-media-fallback
20
- ) {
21
- @include susy-media-router($query, $no-query) {
22
- @if $layout {
23
- @include with-layout($layout) {
24
- @content;
25
- }
26
- } @else {
27
- @content;
28
- }
29
- }
30
- }
31
-
32
-
33
- // Susy Media
34
- // ----------
35
- // - $query: <min-width> [<max-width>] | <property> <value>
36
- // - $no-query: <boolean> | <selector>
37
- @mixin susy-media(
38
- $query,
39
- $no-query: $susy-media-fallback
40
- ) {
41
- $old-context: $_susy-media-context;
42
- $name: if(map-has-key($susy-media, $query), $query, null);
43
- $query: susy-get-media($query);
44
- $query: susy-parse-media($query);
45
-
46
- @include susy-media-context($query, $name);
47
-
48
- @if $no-query and type-of($no-query) != string {
49
- @content;
50
- } @else {
51
- @media #{susy-render-media($query)} {
52
- @content;
53
- }
54
-
55
- @if type-of($no-query) == string {
56
- #{$no-query} & {
57
- @content;
58
- }
59
- }
60
- }
61
-
62
- @include susy-media-context($old-context, $clean: true);
63
- }
64
-
65
-
66
- // Media Router
67
- // ------------
68
- // Rout media arguments to the correct mixin.
69
- @mixin susy-media-router(
70
- $query,
71
- $no-query: $susy-media-fallback
72
- ) {
73
- @if susy-support(breakpoint, (mixin: breakpoint), $warn: false) {
74
- @include breakpoint($query, $no-query) {
75
- @content;
76
- }
77
- } @else {
78
- @include susy-media($query, $no-query) {
79
- @content;
80
- }
81
- }
82
- }
83
-
84
-
85
- // Update Context
86
- // -------------
87
- // Set the new media context
88
- @mixin susy-media-context(
89
- $query,
90
- $name: null,
91
- $clean: false
92
- ) {
93
- $query: map-merge((name: $name), $query);
94
-
95
- @if $clean {
96
- $_susy-media-context: $query !global;
97
- } @else {
98
- $_susy-media-context: map-merge($_susy-media-context, $query) !global;
99
- }
100
- }
101
-
102
-
103
- // Media Context
104
- // -------------
105
- // Return the full media context, or a single media property (e.g. min-width)
106
- @function susy-media-context(
107
- $property: false
108
- ) {
109
- @if $property {
110
- @return map-get($_susy-media-context, $property);
111
- } @else {
112
- @return $_susy-media-context;
113
- }
114
- }
115
-
116
-
117
- // Get Media
118
- // ---------
119
- // Return a named media-query from $susy-media.
120
- // - $name: <key>
121
- @function susy-get-media(
122
- $name
123
- ) {
124
- @if map-has-key($susy-media, $name) {
125
- $map-value: map-get($susy-media, $name);
126
- @if ($name == $map-value) {
127
- $name: $map-value;
128
- } @else {
129
- $name: susy-get-media($map-value);
130
- }
131
- }
132
-
133
- @return $name;
134
- }
135
-
136
-
137
- // Render Media
138
- // ------------
139
- // Build a media-query string from various media settings
140
- @function susy-render-media(
141
- $query
142
- ) {
143
- $output: null;
144
- @each $property, $value in $query {
145
- $string: null;
146
-
147
- @if $property == media {
148
- $string: $value;
149
- } @else {
150
- $string: '(#{$property}: #{$value})';
151
- }
152
-
153
- $output: if($output, '#{$output} and #{$string}', $string);
154
- }
155
-
156
- @return $output;
157
- }
158
-
159
-
160
- // Parse Media
161
- // -----------
162
- // Return parsed media-query settings based on shorthand
163
- @function susy-parse-media(
164
- $query
165
- ) {
166
- $mq: null;
167
- @if type-of($query) == map {
168
- $mq: $query;
169
- } @else if type-of($query) == number {
170
- $mq: (min-width: $query);
171
- } @else if type-of($query) == list and length($query) == 2 {
172
- @if type-of(nth($query, 1)) == number {
173
- $mq: (
174
- min-width: min($query...),
175
- max-width: max($query...),
176
- );
177
- } @else {
178
- $mq: (nth($query, 1): nth($query, 2));
179
- }
180
- } @else {
181
- $mq: (media: '#{$query}');
182
- }
183
-
184
- @return $mq;
185
- }
@@ -1,81 +0,0 @@
1
- // Container Syntax
2
- // ================
3
-
4
- // Container [mixin]
5
- // -----------------
6
- // Set a container element
7
- // - [$layout] : <settings>
8
- @mixin container(
9
- $layout: $susy
10
- ) {
11
- $inspect : $layout;
12
- $layout : parse-grid($layout);
13
-
14
- $_width : get-container-width($layout);
15
- $_justify : parse-container-position(susy-get(container-position, $layout));
16
- $_property : if(susy-get(math, $layout) == static, width, max-width);
17
-
18
- $_box : susy-get(box-sizing, $layout);
19
-
20
- @if $_box {
21
- @include output((box-sizing: $_box));
22
- }
23
-
24
- @include susy-inspect(container, $inspect);
25
- @include float-container($_width, $_justify, $_property);
26
- @include show-grid($layout);
27
- }
28
-
29
- // Container [function]
30
- // --------------------
31
- // Return container width
32
- // - [$layout] : <settings>
33
- @function container(
34
- $layout: $susy
35
- ) {
36
- $layout: parse-grid($layout);
37
- @return get-container-width($layout);
38
- }
39
-
40
- // Get Container Width
41
- // -------------------
42
- // Calculate the container width
43
- // - [$layout]: <settings>
44
- @function get-container-width(
45
- $layout: $susy
46
- ) {
47
- $layout : parse-grid($layout);
48
- $_width : susy-get(container, $layout);
49
- $_column-width : susy-get(column-width, $layout);
50
- $_math : susy-get(math, $layout);
51
-
52
- @if not($_width) or $_width == auto {
53
- @if valid-column-math($_math, $_column-width) {
54
- $_columns : susy-get(columns, $layout);
55
- $_gutters : susy-get(gutters, $layout);
56
- $_spread : if(is-split($layout), wide, narrow);
57
- $_width : susy-sum($_columns, $_gutters, $_spread) * $_column-width;
58
- } @else {
59
- $_width: 100%;
60
- }
61
- }
62
-
63
- @return $_width;
64
- }
65
-
66
- // Parse Container Position
67
- // ------------------------
68
- // Parse the $container-position into margin values.
69
- // - [$justify] : left | center | right | <length> [<length>]
70
- @function parse-container-position(
71
- $justify: map-get($susy-defaults, container-position)
72
- ) {
73
- $_return: if($justify == left, 0, auto) if($justify == right, 0, auto);
74
-
75
- @if not(index(left right center, $justify)) {
76
- $_return: nth($justify, 1);
77
- $_return: $_return if(length($justify) > 1, nth($justify, 2), $_return);
78
- }
79
-
80
- @return $_return;
81
- }
@@ -1,36 +0,0 @@
1
- // Context Syntax
2
- // ==============
3
-
4
- // Nested [function]
5
- // -----------------
6
- // Return a subset grid for nested context.
7
- // - $context : <span>
8
- @function nested(
9
- $context
10
- ) {
11
- $context : parse-span($context);
12
- $span : susy-get(span, $context);
13
- $location : get-location($context);
14
- $columns : susy-get(columns, $context);
15
-
16
- @return susy-slice($span, $location, $columns);
17
- }
18
-
19
- // Nested [mixin]
20
- // --------------
21
- // Use a subset grid for a nested context
22
- // - $context : <span>
23
- // - @content : <content>
24
- @mixin nested(
25
- $context
26
- ) {
27
- $inspect : $context;
28
- $context : parse-span($context);
29
- $old : susy-get(columns);
30
- $susy : map-merge($susy, (columns: nested($context))) !global;
31
-
32
- @include susy-inspect(nested, $inspect);
33
- @content;
34
-
35
- $susy : map-merge($susy, (columns: $old)) !global;
36
- }
@@ -1,94 +0,0 @@
1
- // Gallery Syntax
2
- // ==============
3
-
4
- // Gallery
5
- // -------
6
- // Create an isolated gallery
7
- // - $span : <span>
8
- // - [$selector] : child | of-type
9
- @mixin gallery(
10
- $span,
11
- $selector: child
12
- ) {
13
- $inspect : $span;
14
- $span : parse-span($span);
15
- $span : map-merge($span, (location: 1));
16
-
17
- $n : susy-get(span, $span);
18
- $columns : susy-get(columns, $span);
19
- $context : susy-count($columns);
20
- $flow : susy-get(flow, $span);
21
-
22
- $inside : is-inside($span);
23
- $from : from($flow);
24
- $line : floor($context / $n);
25
- $symmetrical : is-symmetrical($columns);
26
-
27
- $output: (
28
- width : null,
29
- float : from,
30
- margin-before : null,
31
- margin-after : null,
32
- padding-before : null,
33
- padding-after : null,
34
- flow : $flow,
35
- );
36
-
37
- @if $inside {
38
- $gutters: get-gutters($span);
39
- $output: map-merge($output, (
40
- padding-before: map-get($gutters, before),
41
- padding-after: map-get($gutters, after),
42
- ));
43
- }
44
-
45
- @if $symmetrical {
46
- $output: map-merge($output, (width: get-span-width($span)));
47
- }
48
-
49
- $box : susy-get(box-sizing, $span);
50
- $global-box : if(susy-get(global-box-sizing) == 'border-box', true, false);
51
-
52
- @include susy-inspect(gallery, $inspect);
53
-
54
- // Collective Output
55
- @if $box == border-box or ($inside and not($box) and not($global-box)) {
56
- @include output((box-sizing: border-box));
57
- } @else if $box == content-box {
58
- @include output((box-sizing: content-box));
59
- }
60
-
61
- @include float-span-output($output...);
62
-
63
- // Individual Loop
64
- @for $item from 1 through $line {
65
- $nth: '#{$line}n + #{$item}';
66
- &:nth-#{$selector}(#{$nth}) {
67
- // Individual Prep
68
- $output: (
69
- width : if($symmetrical, null, get-span-width($span)),
70
- float : null,
71
- margin-before : get-isolation($span),
72
- margin-after : -100%,
73
- padding-before : null,
74
- padding-after : null,
75
- flow : $flow,
76
- );
77
-
78
- // Individual Output
79
- @include float-span-output($output...);
80
-
81
- @if get-edge($span) == first {
82
- @include break;
83
- @include first($span);
84
- } @else {
85
- @include nobreak;
86
- }
87
-
88
- // Individual Location Increment
89
- $location: get-location($span) + $n;
90
- $location: if($location > $context, 1, $location);
91
- $span: map-merge($span, (location: $location));
92
- }
93
- }
94
- }