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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +78 -0
- data/_includes/collection-index.html +19 -0
- data/_includes/disqus_comments.html +19 -0
- data/_includes/footer.html +68 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +38 -0
- data/_includes/header.html +52 -0
- data/_includes/index.html +23 -0
- data/_includes/read-time.html +6 -0
- data/_layouts/default.html +26 -0
- data/_layouts/home.html +29 -0
- data/_layouts/page.html +16 -0
- data/_layouts/post.html +41 -0
- data/_sass/phantom-blergh.scss +68 -0
- data/_sass/phantom-blergh/base/_page.scss +40 -0
- data/_sass/phantom-blergh/base/_typography.scss +203 -0
- data/_sass/phantom-blergh/components/_box.scss +26 -0
- data/_sass/phantom-blergh/components/_button.scss +88 -0
- data/_sass/phantom-blergh/components/_form.scss +206 -0
- data/_sass/phantom-blergh/components/_icon.scss +50 -0
- data/_sass/phantom-blergh/components/_image.scss +64 -0
- data/_sass/phantom-blergh/components/_list.scss +177 -0
- data/_sass/phantom-blergh/components/_section.scss +26 -0
- data/_sass/phantom-blergh/components/_syntax_highlighting.scss +320 -0
- data/_sass/phantom-blergh/components/_table.scss +81 -0
- data/_sass/phantom-blergh/components/_tiles.scss +258 -0
- data/_sass/phantom-blergh/ie8.scss +92 -0
- data/_sass/phantom-blergh/ie9.scss +52 -0
- data/_sass/phantom-blergh/layout/_articles.scss +19 -0
- data/_sass/phantom-blergh/layout/_footer.scss +139 -0
- data/_sass/phantom-blergh/layout/_header.scss +136 -0
- data/_sass/phantom-blergh/layout/_main.scss +15 -0
- data/_sass/phantom-blergh/layout/_menu.scss +164 -0
- data/_sass/phantom-blergh/layout/_wrapper.scss +26 -0
- data/_sass/phantom-blergh/libs/_functions.scss +34 -0
- data/_sass/phantom-blergh/libs/_mixins.scss +51 -0
- data/_sass/phantom-blergh/libs/_skel.scss +537 -0
- data/_sass/phantom-blergh/libs/_vars.scss +50 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/ie9.scss +6 -0
- data/assets/css/main.scss +5 -0
- data/assets/favicon.png +0 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +685 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/images/stock01.jpg +0 -0
- data/assets/images/stock02.jpg +0 -0
- data/assets/images/stock03.jpg +0 -0
- data/assets/images/stock04.jpg +0 -0
- data/assets/images/stock05.jpg +0 -0
- data/assets/images/stock06.jpg +0 -0
- data/assets/images/stock07.jpg +0 -0
- data/assets/images/stock08.jpg +0 -0
- data/assets/images/stock09.jpg +0 -0
- data/assets/images/stock10.jpg +0 -0
- data/assets/images/stock11.jpg +0 -0
- data/assets/images/stock12.jpg +0 -0
- data/assets/images/stock13.jpg +0 -0
- data/assets/images/stock14.jpg +0 -0
- data/assets/images/stock15.jpg +0 -0
- data/assets/js/email.js +18 -0
- data/assets/js/https.js +11 -0
- data/assets/js/ie/html5shiv.js +8 -0
- data/assets/js/ie/respond.min.js +6 -0
- data/assets/js/jquery.min.js +5 -0
- data/assets/js/main.js +200 -0
- data/assets/js/skel.min.js +2 -0
- data/assets/js/util.js +587 -0
- data/assets/logo.svg +14 -0
- metadata +161 -0
@@ -0,0 +1,139 @@
|
|
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
|
+
/* Footer */
|
8
|
+
|
9
|
+
#footer {
|
10
|
+
$gutter: _size(gutter);
|
11
|
+
|
12
|
+
@include padding(5em, 0, (0, 0, 3em, 0));
|
13
|
+
background-color: _palette(bg-alt);
|
14
|
+
|
15
|
+
> .inner {
|
16
|
+
@include vendor('display', 'flex');
|
17
|
+
@include vendor('flex-wrap', 'wrap');
|
18
|
+
@include vendor('flex-direction', 'row');
|
19
|
+
|
20
|
+
> * > :last-child {
|
21
|
+
margin-bottom: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
section:nth-child(1) {
|
25
|
+
width: calc(66% - #{$gutter});
|
26
|
+
margin-right: $gutter;
|
27
|
+
}
|
28
|
+
|
29
|
+
section:nth-child(2) {
|
30
|
+
width: calc(33% - #{$gutter});
|
31
|
+
margin-left: $gutter;
|
32
|
+
}
|
33
|
+
|
34
|
+
.copyright {
|
35
|
+
width: 100%;
|
36
|
+
padding: 0;
|
37
|
+
margin-top: 5em;
|
38
|
+
list-style: none;
|
39
|
+
font-size: 0.8em;
|
40
|
+
color: transparentize(_palette(fg), 0.5);
|
41
|
+
|
42
|
+
a {
|
43
|
+
color: inherit;
|
44
|
+
}
|
45
|
+
|
46
|
+
li {
|
47
|
+
display: inline-block;
|
48
|
+
border-left: solid 1px transparentize(_palette(fg), 0.85);
|
49
|
+
line-height: 1;
|
50
|
+
padding: 0 0 0 1em;
|
51
|
+
margin: 0 0 0 1em;
|
52
|
+
|
53
|
+
&:first-child {
|
54
|
+
border-left: 0;
|
55
|
+
padding-left: 0;
|
56
|
+
margin-left: 0;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
@include breakpoint(large) {
|
63
|
+
$gutter: _size(gutter) * 0.5;
|
64
|
+
|
65
|
+
@include padding(5em, 0);
|
66
|
+
|
67
|
+
> .inner {
|
68
|
+
section:nth-child(1) {
|
69
|
+
width: calc(66% - #{$gutter});
|
70
|
+
margin-right: $gutter;
|
71
|
+
}
|
72
|
+
|
73
|
+
section:nth-child(2) {
|
74
|
+
width: calc(33% - #{$gutter});
|
75
|
+
margin-left: $gutter;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
@include breakpoint(medium) {
|
81
|
+
$gutter: _size(gutter);
|
82
|
+
|
83
|
+
> .inner {
|
84
|
+
section:nth-child(1) {
|
85
|
+
width: 66%;
|
86
|
+
margin-right: 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
section:nth-child(2) {
|
90
|
+
width: calc(33% - #{$gutter});
|
91
|
+
margin-left: $gutter;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
@include breakpoint(small) {
|
97
|
+
@include padding(3em, 0);
|
98
|
+
|
99
|
+
> .inner {
|
100
|
+
@include vendor('flex-direction', 'column');
|
101
|
+
|
102
|
+
section:nth-child(1) {
|
103
|
+
width: 100%;
|
104
|
+
margin-right: 0;
|
105
|
+
margin: 3em 0 0 0;
|
106
|
+
}
|
107
|
+
|
108
|
+
section:nth-child(2) {
|
109
|
+
@include vendor('order', '-1');
|
110
|
+
width: 100%;
|
111
|
+
margin-left: 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
.copyright {
|
115
|
+
margin-top: 3em;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
@include breakpoint(xsmall) {
|
121
|
+
> .inner {
|
122
|
+
.copyright {
|
123
|
+
margin-top: 3em;
|
124
|
+
|
125
|
+
li {
|
126
|
+
border-left: 0;
|
127
|
+
padding-left: 0;
|
128
|
+
margin: 0.75em 0 0 0;
|
129
|
+
display: block;
|
130
|
+
line-height: inherit;
|
131
|
+
|
132
|
+
&:first-child {
|
133
|
+
margin-top: 0;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
@@ -0,0 +1,136 @@
|
|
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
|
+
/* Header */
|
8
|
+
|
9
|
+
#header {
|
10
|
+
@include padding(5em, 0, (3em, 0, -5em, 0));
|
11
|
+
|
12
|
+
.logo {
|
13
|
+
display: block;
|
14
|
+
border-bottom: 0;
|
15
|
+
color: inherit;
|
16
|
+
font-weight: _font(weight-bold);
|
17
|
+
letter-spacing: _font(letter-spacing);
|
18
|
+
margin: 0 0 (_size(element-margin) * 1.25) 0;
|
19
|
+
text-decoration: none;
|
20
|
+
text-transform: uppercase;
|
21
|
+
display: inline-block;
|
22
|
+
|
23
|
+
> * {
|
24
|
+
display: inline-block;
|
25
|
+
vertical-align: middle;
|
26
|
+
}
|
27
|
+
|
28
|
+
.symbol {
|
29
|
+
margin-right: 0.65em;
|
30
|
+
|
31
|
+
img {
|
32
|
+
display: block;
|
33
|
+
width: 2em;
|
34
|
+
height: 2em;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
nav {
|
40
|
+
position: fixed;
|
41
|
+
right: 2em;
|
42
|
+
top: 2em;
|
43
|
+
z-index: _misc(z-index-base);
|
44
|
+
|
45
|
+
ul {
|
46
|
+
@include vendor('display', 'flex');
|
47
|
+
@include vendor('align-items', 'center');
|
48
|
+
list-style: none;
|
49
|
+
margin: 0;
|
50
|
+
padding: 0;
|
51
|
+
|
52
|
+
li {
|
53
|
+
display: block;
|
54
|
+
padding: 0;
|
55
|
+
|
56
|
+
a {
|
57
|
+
display: block;
|
58
|
+
position: relative;
|
59
|
+
height: 3em;
|
60
|
+
line-height: 3em;
|
61
|
+
padding: 0 1.5em;
|
62
|
+
background-color: transparentize(_palette(bg), 0.5);
|
63
|
+
border-radius: _size(border-radius);
|
64
|
+
border: 0;
|
65
|
+
font-size: 0.8em;
|
66
|
+
font-weight: _font(weight-bold);
|
67
|
+
letter-spacing: _font(letter-spacing);
|
68
|
+
text-transform: uppercase;
|
69
|
+
}
|
70
|
+
|
71
|
+
a[href="#menu"] {
|
72
|
+
-webkit-tap-highlight-color: transparent;
|
73
|
+
width: 4em;
|
74
|
+
text-indent: 4em;
|
75
|
+
font-size: 1em;
|
76
|
+
overflow: hidden;
|
77
|
+
padding: 0;
|
78
|
+
white-space: nowrap;
|
79
|
+
|
80
|
+
&:before, &:after {
|
81
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease');
|
82
|
+
content: '';
|
83
|
+
display: block;
|
84
|
+
position: absolute;
|
85
|
+
top: 0;
|
86
|
+
left: 0;
|
87
|
+
width: 100%;
|
88
|
+
height: 100%;
|
89
|
+
background-position: center;
|
90
|
+
background-repeat: no-repeat;
|
91
|
+
background-size: 2em 2em;
|
92
|
+
}
|
93
|
+
|
94
|
+
&:before {
|
95
|
+
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: 8px; stroke: #{_palette(accent1)}; }</style><line x1="0" y1="25" x2="100" y2="25" /><line x1="0" y1="50" x2="100" y2="50" /><line x1="0" y1="75" x2="100" y2="75" /></svg>');
|
96
|
+
opacity: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
&:after {
|
100
|
+
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: 8px; stroke: #{_palette(fg)}; }</style><line x1="0" y1="25" x2="100" y2="25" /><line x1="0" y1="50" x2="100" y2="50" /><line x1="0" y1="75" x2="100" y2="75" /></svg>');
|
101
|
+
opacity: 1;
|
102
|
+
}
|
103
|
+
|
104
|
+
&:hover {
|
105
|
+
&:before {
|
106
|
+
opacity: 1;
|
107
|
+
}
|
108
|
+
|
109
|
+
&:after {
|
110
|
+
opacity: 0;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
@include breakpoint(small) {
|
119
|
+
@include padding(3em, 0, (1em, 0, -3em, 0));
|
120
|
+
|
121
|
+
nav {
|
122
|
+
right: 0.5em;
|
123
|
+
top: 0.5em;
|
124
|
+
|
125
|
+
ul {
|
126
|
+
li {
|
127
|
+
a[href="#menu"] {
|
128
|
+
&:before, &:after {
|
129
|
+
background-size: 1.5em 1.5em;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
@@ -0,0 +1,15 @@
|
|
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
|
+
/* Main */
|
8
|
+
|
9
|
+
#main {
|
10
|
+
@include padding(5em, 0, (-5em, 0, 3em, 0));
|
11
|
+
|
12
|
+
@include breakpoint(small) {
|
13
|
+
@include padding(3em, 0, (-3em, 0, 3em, 0));
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,164 @@
|
|
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
|
+
/* Menu */
|
8
|
+
|
9
|
+
#wrapper {
|
10
|
+
@include vendor('transition', 'opacity #{_duration(menu)} ease');
|
11
|
+
opacity: 1;
|
12
|
+
}
|
13
|
+
|
14
|
+
#menu {
|
15
|
+
@include vendor('transform', 'translateX(#{_size(menu)})');
|
16
|
+
@include vendor('transition', ('transform #{_duration(menu)} ease', 'visibility #{_duration(menu)}'));
|
17
|
+
position: fixed;
|
18
|
+
top: 0;
|
19
|
+
right: 0;
|
20
|
+
width: _size(menu);
|
21
|
+
max-width: 80%;
|
22
|
+
height: 100%;
|
23
|
+
-webkit-overflow-scrolling: touch;
|
24
|
+
background: _palette(fg);
|
25
|
+
color: _palette(bg);
|
26
|
+
cursor: default;
|
27
|
+
visibility: hidden;
|
28
|
+
z-index: _misc(z-index-base) + 2;
|
29
|
+
|
30
|
+
> .inner {
|
31
|
+
@include vendor('transition', 'opacity #{_duration(menu)} ease');
|
32
|
+
-webkit-overflow-scrolling: touch;
|
33
|
+
position: absolute;
|
34
|
+
top: 0;
|
35
|
+
left: 0;
|
36
|
+
width: 100%;
|
37
|
+
height: 100%;
|
38
|
+
padding: 2.75em;
|
39
|
+
opacity: 0;
|
40
|
+
overflow-y: auto;
|
41
|
+
|
42
|
+
> ul {
|
43
|
+
list-style: none;
|
44
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
45
|
+
padding: 0;
|
46
|
+
|
47
|
+
> li {
|
48
|
+
padding: 0;
|
49
|
+
border-top: solid 1px transparentize(_palette(bg), 0.85);
|
50
|
+
|
51
|
+
a {
|
52
|
+
display: block;
|
53
|
+
padding: 1em 0;
|
54
|
+
line-height: 1.5;
|
55
|
+
border: 0;
|
56
|
+
color: inherit;
|
57
|
+
}
|
58
|
+
|
59
|
+
&:first-child {
|
60
|
+
border-top: 0;
|
61
|
+
margin-top: -1em;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
> .close {
|
68
|
+
@include vendor('transition', (
|
69
|
+
'opacity #{_duration(menu)} ease',
|
70
|
+
'transform #{_duration(menu)} ease'
|
71
|
+
));
|
72
|
+
@include vendor('transform', 'scale(0.25) rotate(180deg)');
|
73
|
+
-webkit-tap-highlight-color: transparent;
|
74
|
+
display: block;
|
75
|
+
position: absolute;
|
76
|
+
top: 2em;
|
77
|
+
left: -6em;
|
78
|
+
width: 6em;
|
79
|
+
text-indent: 6em;
|
80
|
+
height: 3em;
|
81
|
+
border: 0;
|
82
|
+
font-size: 1em;
|
83
|
+
opacity: 0;
|
84
|
+
overflow: hidden;
|
85
|
+
padding: 0;
|
86
|
+
white-space: nowrap;
|
87
|
+
|
88
|
+
&:before, &:after {
|
89
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease');
|
90
|
+
content: '';
|
91
|
+
display: block;
|
92
|
+
position: absolute;
|
93
|
+
top: 0;
|
94
|
+
left: 0;
|
95
|
+
width: 100%;
|
96
|
+
height: 100%;
|
97
|
+
background-position: center;
|
98
|
+
background-repeat: no-repeat;
|
99
|
+
background-size: 2em 2em;
|
100
|
+
}
|
101
|
+
|
102
|
+
&:before {
|
103
|
+
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: 8px; stroke: #{_palette(accent1)}; }</style><line x1="15" y1="15" x2="85" y2="85" /><line x1="85" y1="15" x2="15" y2="85" /></svg>');
|
104
|
+
opacity: 0;
|
105
|
+
}
|
106
|
+
|
107
|
+
&:after {
|
108
|
+
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: 8px; stroke: #{_palette(fg)}; }</style><line x1="15" y1="15" x2="85" y2="85" /><line x1="85" y1="15" x2="15" y2="85" /></svg>');
|
109
|
+
opacity: 1;
|
110
|
+
}
|
111
|
+
|
112
|
+
&:hover {
|
113
|
+
&:before {
|
114
|
+
opacity: 1;
|
115
|
+
}
|
116
|
+
|
117
|
+
&:after {
|
118
|
+
opacity: 0;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
@include breakpoint(small) {
|
124
|
+
@include vendor('transform', 'translateX(#{_size(menu) * 0.75})');
|
125
|
+
width: (_size(menu) * 0.75);
|
126
|
+
|
127
|
+
> .inner {
|
128
|
+
padding: 2.75em 1.5em;
|
129
|
+
}
|
130
|
+
|
131
|
+
> .close {
|
132
|
+
top: 0.5em;
|
133
|
+
left: -4.25em;
|
134
|
+
width: 4.25em;
|
135
|
+
text-indent: 4.25em;
|
136
|
+
|
137
|
+
&:before, &:after {
|
138
|
+
background-size: 1.5em 1.5em;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
body.is-menu-visible {
|
145
|
+
#wrapper {
|
146
|
+
@include vendor('pointer-events', 'none');
|
147
|
+
cursor: default;
|
148
|
+
opacity: 0.25;
|
149
|
+
}
|
150
|
+
|
151
|
+
#menu {
|
152
|
+
@include vendor('transform', 'translateX(0)');
|
153
|
+
visibility: visible;
|
154
|
+
|
155
|
+
> * {
|
156
|
+
opacity: 1;
|
157
|
+
}
|
158
|
+
|
159
|
+
.close {
|
160
|
+
@include vendor('transform', 'scale(1.0) rotate(0deg)');
|
161
|
+
opacity: 1;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|