phantom-blergh 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.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +78 -0
  4. data/_includes/collection-index.html +19 -0
  5. data/_includes/disqus_comments.html +19 -0
  6. data/_includes/footer.html +68 -0
  7. data/_includes/google-analytics.html +11 -0
  8. data/_includes/head.html +38 -0
  9. data/_includes/header.html +52 -0
  10. data/_includes/index.html +23 -0
  11. data/_includes/read-time.html +6 -0
  12. data/_layouts/default.html +26 -0
  13. data/_layouts/home.html +29 -0
  14. data/_layouts/page.html +16 -0
  15. data/_layouts/post.html +41 -0
  16. data/_sass/phantom-blergh.scss +68 -0
  17. data/_sass/phantom-blergh/base/_page.scss +40 -0
  18. data/_sass/phantom-blergh/base/_typography.scss +203 -0
  19. data/_sass/phantom-blergh/components/_box.scss +26 -0
  20. data/_sass/phantom-blergh/components/_button.scss +88 -0
  21. data/_sass/phantom-blergh/components/_form.scss +206 -0
  22. data/_sass/phantom-blergh/components/_icon.scss +50 -0
  23. data/_sass/phantom-blergh/components/_image.scss +64 -0
  24. data/_sass/phantom-blergh/components/_list.scss +177 -0
  25. data/_sass/phantom-blergh/components/_section.scss +26 -0
  26. data/_sass/phantom-blergh/components/_syntax_highlighting.scss +320 -0
  27. data/_sass/phantom-blergh/components/_table.scss +81 -0
  28. data/_sass/phantom-blergh/components/_tiles.scss +258 -0
  29. data/_sass/phantom-blergh/ie8.scss +92 -0
  30. data/_sass/phantom-blergh/ie9.scss +52 -0
  31. data/_sass/phantom-blergh/layout/_articles.scss +19 -0
  32. data/_sass/phantom-blergh/layout/_footer.scss +139 -0
  33. data/_sass/phantom-blergh/layout/_header.scss +136 -0
  34. data/_sass/phantom-blergh/layout/_main.scss +15 -0
  35. data/_sass/phantom-blergh/layout/_menu.scss +164 -0
  36. data/_sass/phantom-blergh/layout/_wrapper.scss +26 -0
  37. data/_sass/phantom-blergh/libs/_functions.scss +34 -0
  38. data/_sass/phantom-blergh/libs/_mixins.scss +51 -0
  39. data/_sass/phantom-blergh/libs/_skel.scss +537 -0
  40. data/_sass/phantom-blergh/libs/_vars.scss +50 -0
  41. data/assets/css/font-awesome.min.css +4 -0
  42. data/assets/css/ie9.scss +6 -0
  43. data/assets/css/main.scss +5 -0
  44. data/assets/favicon.png +0 -0
  45. data/assets/fonts/FontAwesome.otf +0 -0
  46. data/assets/fonts/fontawesome-webfont.eot +0 -0
  47. data/assets/fonts/fontawesome-webfont.svg +685 -0
  48. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  49. data/assets/fonts/fontawesome-webfont.woff +0 -0
  50. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  51. data/assets/images/stock01.jpg +0 -0
  52. data/assets/images/stock02.jpg +0 -0
  53. data/assets/images/stock03.jpg +0 -0
  54. data/assets/images/stock04.jpg +0 -0
  55. data/assets/images/stock05.jpg +0 -0
  56. data/assets/images/stock06.jpg +0 -0
  57. data/assets/images/stock07.jpg +0 -0
  58. data/assets/images/stock08.jpg +0 -0
  59. data/assets/images/stock09.jpg +0 -0
  60. data/assets/images/stock10.jpg +0 -0
  61. data/assets/images/stock11.jpg +0 -0
  62. data/assets/images/stock12.jpg +0 -0
  63. data/assets/images/stock13.jpg +0 -0
  64. data/assets/images/stock14.jpg +0 -0
  65. data/assets/images/stock15.jpg +0 -0
  66. data/assets/js/email.js +18 -0
  67. data/assets/js/https.js +11 -0
  68. data/assets/js/ie/html5shiv.js +8 -0
  69. data/assets/js/ie/respond.min.js +6 -0
  70. data/assets/js/jquery.min.js +5 -0
  71. data/assets/js/main.js +200 -0
  72. data/assets/js/skel.min.js +2 -0
  73. data/assets/js/util.js +587 -0
  74. data/assets/logo.svg +14 -0
  75. metadata +161 -0
@@ -0,0 +1,81 @@
1
+ ///
2
+ /// Phantom by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Table */
8
+
9
+ .table-wrapper {
10
+ -webkit-overflow-scrolling: touch;
11
+ overflow-x: auto;
12
+ }
13
+
14
+ table {
15
+ margin: 0 0 _size(element-margin) 0;
16
+ width: 100%;
17
+
18
+ tbody {
19
+ tr {
20
+ border: solid _size(border-width) _palette(border);
21
+ border-left: 0;
22
+ border-right: 0;
23
+
24
+ &:nth-child(2n + 1) {
25
+ background-color: _palette(border-bg);
26
+ }
27
+ }
28
+ }
29
+
30
+ td {
31
+ padding: 0.75em 0.75em;
32
+ }
33
+
34
+ th {
35
+ color: _palette(fg-bold);
36
+ font-size: 0.9em;
37
+ font-weight: _font(weight-bold);
38
+ padding: 0 0.75em 0.75em 0.75em;
39
+ text-align: left;
40
+ }
41
+
42
+ thead {
43
+ border-bottom: solid (_size(border-width) * 2) _palette(border);
44
+ }
45
+
46
+ tfoot {
47
+ border-top: solid (_size(border-width) * 2) _palette(border);
48
+ }
49
+
50
+ &.alt {
51
+ border-collapse: separate;
52
+
53
+ tbody {
54
+ tr {
55
+ td {
56
+ border: solid _size(border-width) _palette(border);
57
+ border-left-width: 0;
58
+ border-top-width: 0;
59
+
60
+ &:first-child {
61
+ border-left-width: _size(border-width);
62
+ }
63
+ }
64
+
65
+ &:first-child {
66
+ td {
67
+ border-top-width: _size(border-width);
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+ thead {
74
+ border-bottom: 0;
75
+ }
76
+
77
+ tfoot {
78
+ border-top: 0;
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,258 @@
1
+ ///
2
+ /// Phantom by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Tiles */
8
+
9
+ .tiles {
10
+ $gutter: _size(gutter);
11
+ $duration: 0.5s;
12
+ $ease: 'ease';
13
+
14
+ @include vendor('display', 'flex');
15
+ @include vendor('flex-wrap', 'wrap');
16
+ postiion: relative;
17
+ margin: ($gutter * -1) 0 0 ($gutter * -1);
18
+
19
+ article {
20
+ @include vendor('transition', (
21
+ 'transform #{$duration} #{$ease}',
22
+ 'opacity #{$duration} #{$ease}'
23
+ ));
24
+ position: relative;
25
+ width: calc(#{(100% / 3)} - #{$gutter * 1});
26
+ margin: $gutter 0 0 $gutter;
27
+
28
+ > .image {
29
+ @include vendor('transition', 'transform #{$duration} #{$ease}');
30
+ position: relative;
31
+ display: block;
32
+ width: 100%;
33
+ border-radius: _size(border-radius);
34
+ overflow: hidden;
35
+
36
+ img {
37
+ display: block;
38
+ width: 100%;
39
+ }
40
+
41
+ &:before {
42
+ @include vendor('pointer-events', 'none');
43
+ @include vendor('transition', (
44
+ 'background-color #{$duration} #{$ease}',
45
+ 'opacity #{$duration} #{$ease}'
46
+ ));
47
+ content: '';
48
+ display: block;
49
+ position: absolute;
50
+ top: 0;
51
+ left: 0;
52
+ width: 100%;
53
+ height: 100%;
54
+ opacity: 1.0;
55
+ z-index: 1;
56
+ opacity: 0.8;
57
+ }
58
+
59
+ &:after {
60
+ @include vendor('pointer-events', 'none');
61
+ @include vendor('transition', 'opacity #{$duration} #{$ease}');
62
+ content: '';
63
+ display: block;
64
+ position: absolute;
65
+ top: 0;
66
+ left: 0;
67
+ width: 100%;
68
+ height: 100%;
69
+ background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><style>line { stroke-width: 0.25px; stroke: #ffffff; }</style><line x1="0" y1="0" x2="100" y2="100" /><line x1="100" y1="0" x2="0" y2="100" /></svg>');
70
+ background-position: center;
71
+ background-repeat: no-repeat;
72
+ background-size: 100% 100%;
73
+ opacity: 0.25;
74
+ z-index: 2;
75
+ }
76
+ }
77
+
78
+ > a {
79
+ @include vendor('display', 'flex');
80
+ @include vendor('flex-direction', 'column');
81
+ @include vendor('align-items', 'center');
82
+ @include vendor('justify-content', 'center');
83
+ @include vendor('transition', (
84
+ 'background-color #{$duration} #{$ease}',
85
+ 'transform #{$duration} #{$ease}'
86
+ ));
87
+ position: absolute;
88
+ top: 0;
89
+ left: 0;
90
+ width: 100%;
91
+ height: 100%;
92
+ padding: 1em;
93
+ border-radius: _size(border-radius);
94
+ border-bottom: 0;
95
+ color: _palette(fg-accent);
96
+ text-align: center;
97
+ text-decoration: none;
98
+ z-index: 3;
99
+
100
+ > :last-child {
101
+ margin: 0;
102
+ }
103
+
104
+ &:hover {
105
+ color: _palette(fg-accent) !important;
106
+ }
107
+
108
+ h2 {
109
+ margin: 0;
110
+ }
111
+
112
+ .content {
113
+ @include vendor('transition', (
114
+ 'max-height #{$duration} #{$ease}',
115
+ 'opacity #{$duration} #{$ease}'
116
+ ));
117
+ width: 100%;
118
+ max-height: 0;
119
+ line-height: 1.5;
120
+ margin-top: 0.35em;
121
+ opacity: 0;
122
+
123
+ > :last-child {
124
+ margin-bottom: 0;
125
+ }
126
+ }
127
+ }
128
+
129
+ &.style1 {
130
+ > .image:before {
131
+ background-color: _palette(accent1);
132
+ }
133
+ }
134
+
135
+ &.style2 {
136
+ > .image:before {
137
+ background-color: _palette(accent2);
138
+ }
139
+ }
140
+
141
+ &.style3 {
142
+ > .image:before {
143
+ background-color: _palette(accent3);
144
+ }
145
+ }
146
+
147
+ &.style4 {
148
+ > .image:before {
149
+ background-color: _palette(accent4);
150
+ }
151
+ }
152
+
153
+ &.style5 {
154
+ > .image:before {
155
+ background-color: _palette(accent5);
156
+ }
157
+ }
158
+
159
+ &.style6 {
160
+ > .image:before {
161
+ background-color: _palette(accent6);
162
+ }
163
+ }
164
+
165
+ body:not(.is-touch) & {
166
+ &:hover {
167
+ > .image {
168
+ @include vendor('transform', 'scale(1.1)');
169
+
170
+ &:before {
171
+ background-color: _palette(bg-accent);
172
+ opacity: 0.35;
173
+ }
174
+
175
+ &:after {
176
+ opacity: 0;
177
+ }
178
+ }
179
+
180
+ .content {
181
+ max-height: 15em;
182
+ opacity: 1;
183
+ }
184
+ }
185
+ }
186
+ }
187
+
188
+ * + & {
189
+ margin-top: _size(element-margin);
190
+ }
191
+
192
+ body.is-loading & {
193
+ article {
194
+ @include vendor('transform', 'scale(0.9)');
195
+ opacity: 0;
196
+ }
197
+ }
198
+
199
+ body.is-touch & {
200
+ article {
201
+ .content {
202
+ max-height: 15em;
203
+ opacity: 1;
204
+ }
205
+ }
206
+ }
207
+
208
+ @include breakpoint(large) {
209
+ $gutter: _size(gutter) * 0.5;
210
+
211
+ margin: ($gutter * -1) 0 0 ($gutter * -1);
212
+
213
+ article {
214
+ width: calc(#{(100% / 3)} - #{$gutter * 1});
215
+ margin: $gutter 0 0 $gutter;
216
+ }
217
+ }
218
+
219
+ @include breakpoint(medium) {
220
+ $gutter: _size(gutter);
221
+
222
+ margin: ($gutter * -1) 0 0 ($gutter * -1);
223
+
224
+ article {
225
+ width: calc(#{(100% / 2)} - #{$gutter * 1});
226
+ margin: $gutter 0 0 $gutter;
227
+ }
228
+ }
229
+
230
+ @include breakpoint(small) {
231
+ $gutter: _size(gutter) * 0.5;
232
+
233
+ margin: ($gutter * -1) 0 0 ($gutter * -1);
234
+
235
+ article {
236
+ width: calc(#{(100% / 2)} - #{$gutter * 1});
237
+ margin: $gutter 0 0 $gutter;
238
+
239
+ &:hover {
240
+ > .image {
241
+ @include vendor('transform', 'scale(1.0)');
242
+ }
243
+ }
244
+ }
245
+ }
246
+
247
+ @include breakpoint(xsmall) {
248
+ $gutter: _size(gutter) * 0.5;
249
+
250
+ margin: 0;
251
+
252
+ article {
253
+ width: 100%;
254
+ margin: $gutter 0 0 0;
255
+ }
256
+ }
257
+ }
258
+
@@ -0,0 +1,92 @@
1
+ @import 'libs/vars';
2
+ @import 'libs/functions';
3
+ @import 'libs/mixins';
4
+ @import 'libs/skel';
5
+
6
+ /*
7
+ Phantom by HTML5 UP
8
+ html5up.net | @ajlkn
9
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
10
+ */
11
+
12
+ /* Form */
13
+
14
+ form {
15
+ .field {
16
+ float: none !important;
17
+ width: 100% !important;
18
+ padding-left: 0 !important;
19
+ }
20
+ }
21
+
22
+ /* Button */
23
+
24
+ input[type="submit"],
25
+ input[type="reset"],
26
+ input[type="button"],
27
+ button,
28
+ .button {
29
+ border: solid 2px _palette(fg) !important;
30
+
31
+ &:hover {
32
+ border-color: _palette(accent1) !important;
33
+ }
34
+
35
+ &.special {
36
+ border: none !important;
37
+ }
38
+ }
39
+
40
+ /* Tiles */
41
+
42
+ .tiles {
43
+ article {
44
+ > .image {
45
+ &:before, &:after {
46
+ display: none;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ /* Header */
53
+
54
+ #header {
55
+ .logo {
56
+ .symbol {
57
+ display: none;
58
+ }
59
+ }
60
+
61
+ nav {
62
+ ul {
63
+ li {
64
+ a[href="#menu"] {
65
+ text-indent: 0;
66
+ width: auto;
67
+ font-size: 0.8em;
68
+
69
+ &:before, &:after {
70
+ display: none;
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+ /* Footer */
79
+
80
+ #footer {
81
+ > .inner {
82
+ section {
83
+ width: 50%;
84
+ margin-left: 3em;
85
+
86
+ &:first-child {
87
+ margin-left: 0;
88
+ width: 40%;
89
+ }
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,52 @@
1
+ @import 'libs/vars';
2
+ @import 'libs/functions';
3
+ @import 'libs/mixins';
4
+ @import 'libs/skel';
5
+
6
+ /*
7
+ Phantom by HTML5 UP
8
+ html5up.net | @ajlkn
9
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
10
+ */
11
+
12
+ /* Tiles */
13
+
14
+ .tiles {
15
+ &:after {
16
+ content: '';
17
+ display: block;
18
+ clear: both;
19
+ }
20
+
21
+ article {
22
+ float: left;
23
+
24
+ > a {
25
+ padding-top: 50%;
26
+ margin-top: -1.75em;
27
+ }
28
+
29
+ body:not(.is-touch) & {
30
+ &:hover {
31
+ > .image {
32
+ @include vendor('transform', 'none');
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ /* Footer */
40
+
41
+ #footer {
42
+ > .inner {
43
+ section {
44
+ float: left;
45
+ }
46
+
47
+ .copyright {
48
+ clear: both;
49
+ padding-top: (_size(element-margin) * 2);
50
+ }
51
+ }
52
+ }