jekyll-theme-perry 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +202 -0
  4. data/_includes/archives.html +13 -0
  5. data/_includes/feed_content.html +7 -0
  6. data/_includes/foot-scripts.html +12 -0
  7. data/_includes/full-social.html +8 -0
  8. data/_includes/meta.html +21 -0
  9. data/_includes/nav.html +3 -0
  10. data/_includes/post-nav.html +4 -0
  11. data/_includes/series.html +9 -0
  12. data/_includes/summary.html +36 -0
  13. data/_layouts/archive.html +25 -0
  14. data/_layouts/default.html +80 -0
  15. data/_layouts/page.html +17 -0
  16. data/_layouts/post.html +21 -0
  17. data/_layouts/redirect.html +7 -0
  18. data/_layouts/series.html +17 -0
  19. data/_sass/abstracts/_mixins.scss +47 -0
  20. data/_sass/abstracts/_variables.scss +30 -0
  21. data/_sass/base/_base.scss +4 -0
  22. data/_sass/base/_helpers.scss +125 -0
  23. data/_sass/base/_typography.scss +41 -0
  24. data/_sass/components/_archives.scss +45 -0
  25. data/_sass/components/_flickr-galleries.scss +48 -0
  26. data/_sass/components/_pagination.scss +25 -0
  27. data/_sass/pages/_tags.scss +9 -0
  28. data/_sass/theme/_article.scss +85 -0
  29. data/_sass/theme/_base.scss +52 -0
  30. data/_sass/theme/_footer.scss +12 -0
  31. data/_sass/theme/_header.scss +14 -0
  32. data/_sass/theme/_media-queries.scss +107 -0
  33. data/_sass/theme/_navigation.scss +59 -0
  34. data/_sass/vendor/_colorbox.scss +70 -0
  35. data/_sass/vendor/_font-awesome.scss +19 -0
  36. data/_sass/vendor/_google-fonts.scss +224 -0
  37. data/_sass/vendor/_normalize.scss +460 -0
  38. data/_sass/vendor/_slicknav.scss +179 -0
  39. data/_sass/vendor/font-awesome/_animated.scss +34 -0
  40. data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -0
  41. data/_sass/vendor/font-awesome/_core.scss +12 -0
  42. data/_sass/vendor/font-awesome/_fixed-width.scss +6 -0
  43. data/_sass/vendor/font-awesome/_icons.scss +733 -0
  44. data/_sass/vendor/font-awesome/_larger.scss +13 -0
  45. data/_sass/vendor/font-awesome/_list.scss +19 -0
  46. data/_sass/vendor/font-awesome/_mixins.scss +60 -0
  47. data/_sass/vendor/font-awesome/_path.scss +15 -0
  48. data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -0
  49. data/_sass/vendor/font-awesome/_screen-reader.scss +5 -0
  50. data/_sass/vendor/font-awesome/_stacked.scss +20 -0
  51. data/_sass/vendor/font-awesome/_variables.scss +744 -0
  52. data/assets/css/feed.css +142 -0
  53. data/assets/css/style.scss +40 -0
  54. data/assets/fonts/FontAwesome.otf +0 -0
  55. data/assets/fonts/fontawesome-webfont.eot +0 -0
  56. data/assets/fonts/fontawesome-webfont.svg +685 -0
  57. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  58. data/assets/fonts/fontawesome-webfont.woff +0 -0
  59. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  60. data/assets/images/border.png +0 -0
  61. data/assets/images/controls.png +0 -0
  62. data/assets/images/flickr.png +0 -0
  63. data/assets/images/header-wide.jpg +0 -0
  64. data/assets/images/header.jpg +0 -0
  65. data/assets/images/loading.gif +0 -0
  66. data/assets/images/octocat-icon.png +0 -0
  67. data/assets/images/tar-gz-icon.png +0 -0
  68. data/assets/images/zip-icon.png +0 -0
  69. data/assets/scripts/main.min.js +1 -0
  70. data/assets/scripts/src/main.js +42 -0
  71. data/assets/scripts/vendor/jquery.colorbox.min.js +7 -0
  72. data/assets/scripts/vendor/jquery.slicknav.min.js +6 -0
  73. data/assets/scripts/vendor/modernizr-2.6.2-respond-1.1.0.min.js +11 -0
  74. data/assets/xsl/feed.xsl +34 -0
  75. metadata +187 -0
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article itemscope itemtype="//schema.org/Article" class="page">
6
+ <header>
7
+ <h1 itemProp="headline">{{ page.title }}</h1>
8
+ </header>
9
+
10
+ <section class="post-content" itemProp="articleBody">
11
+ {{ content }}
12
+ </section><!-- .post-content -->
13
+
14
+ <footer>
15
+ {% if page.comments %}<div id="disqus_thread"></div>{% endif %}
16
+ </footer>
17
+ </article><!-- .page -->
@@ -0,0 +1,21 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article itemscope itemtype="//schema.org/BlogPosting" class="post single">
5
+ <header>
6
+ {% include post-nav.html %}
7
+ <h2 itemProp="headline">{{ page.title }}</h2>
8
+ {% assign post = page %}{% include meta.html %}
9
+ </header>
10
+
11
+ {% if page.series %}{% include series.html %}{% endif %}
12
+ <section itemProp="articleBody">
13
+ {% if page.video %}<iframe width='560' height='315' src='//www.youtube.com/embed/{{page.video}}?rel=0' frameborder='0' allowfullscreen itemProp='video'></iframe>{% endif %}
14
+ {{ content }}
15
+ </section>
16
+
17
+ <footer>
18
+ {% include post-nav.html %}
19
+ {% if page.comments %}<div id="disqus_thread"></div>{% endif %}
20
+ </footer>
21
+ </article><!-- .post.single -->
@@ -0,0 +1,7 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
+ <meta http-equiv="refresh" content="0;url={{ page.redirect.to }}" />
6
+ </head>
7
+ </html>
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article itemscope itemtype="//schema.org/Article" class="page">
6
+ <header>
7
+ <h1 itemProp="headline">{{ page.title }}</h1>
8
+ </header>
9
+
10
+ {{ content }}
11
+
12
+ {% for post in site.posts reversed %}{% if post.series == page.series %}
13
+ <article itemscope itemtype='//schema.org/BlogPosting' class='post summary{% if post.format %} format-{{ post.format }}{% endif %}'>
14
+ {% include summary.html %}
15
+ </article>{% endif %}
16
+ {% endfor %}
17
+ </article><!-- .page -->
@@ -0,0 +1,47 @@
1
+ @mixin box-shadow($top, $left, $blur, $spread, $color) {
2
+ -webkit-box-shadow: $top $left $blur $spread $color;
3
+ -moz-box-shadow: $top $left $blur $spread $color;
4
+ box-shadow: $top $left $blur $spread $color;
5
+ }
6
+
7
+ @mixin box-sizing($box-model) {
8
+ -webkit-box-sizing: $box-model;
9
+ -moz-box-sizing: $box-model;
10
+ -o-box-sizing: $box-model;
11
+ box-sizing: $box-model;
12
+ }
13
+
14
+ @mixin rounded($radius: 0.5em) {
15
+ -webkit-border-radius: $radius;
16
+ -moz-border-radius: $radius;
17
+ border-radius: $radius;
18
+ }
19
+
20
+ @mixin linear-gradient($first, $second, $third) {
21
+ background: -moz-linear-gradient(left, $first, $second, $third); /* FF3.6+ */
22
+ background: -webkit-gradient(linear, 0 0, 100% 0, from($first), to($third), color-stop(50%, $second)); /* Chrome,Safari4+ */
23
+ background: -webkit-linear-gradient(left, $first, $second, $third); /* Chrome10+,Safari5.1+ */
24
+ background: -o-linear-gradient(left, $first, $second, $third); /* Opera 11.10+ */
25
+ background: -ms-linear-gradient(left, $first, $second, $third); /* IE10+ */
26
+ background: linear-gradient(left, $first, $second, $third); /* W3C */
27
+ }
28
+
29
+ @mixin media-query($breakpoint) {
30
+ @if $breakpoint == "tablet" {
31
+ @media only screen and (min-width: 48em) {
32
+ @content;
33
+ }
34
+ }
35
+
36
+ @else if $breakpoint == "desktop" {
37
+ @media only screen and (min-width: 56em) {
38
+ @content;
39
+ }
40
+ }
41
+
42
+ @else if $breakpoint == "large-desktop" {
43
+ @media only screen and (min-width: 64em) {
44
+ @content;
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,30 @@
1
+ // Font weights
2
+ $regular: 400;
3
+ $bold: 600;
4
+
5
+ // Base Font
6
+ $base-font-family: 'Lato', sans-serif !default;
7
+ $base-font-weight: $regular;
8
+ $base-font-size: 1em;
9
+ $base-line-height: 1.25;
10
+ $large-line-height: 1.375;
11
+
12
+ // Fixed Font
13
+ $fixed-font-family: 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Monaco', monospace !default;
14
+ $fixed-font-size: 85%;
15
+ $fixed-line-height: $base-line-height;
16
+
17
+ // Headings
18
+ $header-font-family: 'Indie Flower', cursive !default;
19
+ $header-font-weight: $regular;
20
+
21
+ // Colours
22
+ // Colour pallette: http://paletton.com/#uid=33D130kv5rJFLtJ-hsOsAqwpUpa
23
+ $colour-base: #104891 !default;
24
+ $colour-highlight: #c60640 !default;
25
+ $colour-darkgrey: #34446b !default;
26
+ $colour-lightgrey: #e3e4ea !default;
27
+ $colour-text: #111111 !default;
28
+
29
+ $page-width: 80em;
30
+ $article-width: 60em;
@@ -0,0 +1,4 @@
1
+ // -----------------------------------------------------------------------------
2
+ // Basic styles.
3
+ // -----------------------------------------------------------------------------
4
+
@@ -0,0 +1,125 @@
1
+ // -----------------------------------------------------------------------------
2
+ // Helper classes.
3
+ // -----------------------------------------------------------------------------
4
+
5
+ .alignleft {
6
+ float: left;
7
+ margin: 0.5em 1em 0.5em 0;
8
+ }
9
+
10
+ .aligncentre {
11
+ display: block;
12
+ margin-left: auto !important;
13
+ margin-right: auto !important;
14
+ text-align: center !important;
15
+ }
16
+
17
+ .alignright {
18
+ float: right;
19
+ margin: 0.5em 0 0.5em 1em;
20
+ }
21
+
22
+ .clearfix {
23
+ @extend %clearfix;
24
+ }
25
+
26
+ .hidden {
27
+ display: none !important;
28
+ visibility: hidden;
29
+ }
30
+
31
+ .invisible {
32
+ visibility: hidden;
33
+ }
34
+
35
+ .ir {
36
+ background-color: transparent;
37
+ border: 0;
38
+ overflow: hidden;
39
+ *text-indent: -9999px;
40
+
41
+ &:before {
42
+ content: "";
43
+ display: block;
44
+ width: 0;
45
+ height: 150%;
46
+ }
47
+ }
48
+
49
+ .visuallyhidden {
50
+ border: 0;
51
+ clip: rect(0 0 0 0);
52
+ height: 1px;
53
+ margin: -1px;
54
+ overflow: hidden;
55
+ padding: 0;
56
+ position: absolute;
57
+ width: 1px;
58
+
59
+ &.focusable:active,
60
+ &.focusable:focus {
61
+ clip: auto;
62
+ height: auto;
63
+ margin: 0;
64
+ overflow: visible;
65
+ position: static;
66
+ width: auto;
67
+ }
68
+ }
69
+
70
+ %bg-white {
71
+ background-color: white;
72
+ }
73
+
74
+ %button {
75
+ padding: 0.25em;
76
+ &:hover {
77
+ @include rounded(0.25em);
78
+ background: $colour-base;
79
+ border: none;
80
+ color: white;
81
+ }
82
+ }
83
+
84
+ %central {
85
+ margin: 0 auto;
86
+ }
87
+
88
+ %clearfix {
89
+
90
+ &:before,
91
+ &:after {
92
+ content: " ";
93
+ display: block;
94
+ }
95
+
96
+ &:after {
97
+ clear: both;
98
+ }
99
+
100
+ *zoom: 1;
101
+ }
102
+
103
+ %divider-gradient {
104
+ @extend %central;
105
+ content: ' ';
106
+ display: block;
107
+ height: 1px;
108
+ max-width: 80%;
109
+ }
110
+
111
+ %divider-gradient-top {
112
+ @extend %divider-gradient;
113
+ background: $colour-lightgrey;
114
+ @include linear-gradient(#ffffff, $colour-base, #ffffff);
115
+ }
116
+
117
+ %divider-gradient-bottom {
118
+ @extend %divider-gradient;
119
+ background: #ffffff;
120
+ @include linear-gradient(#ffffff, $colour-lightgrey, #ffffff);
121
+ }
122
+
123
+ %text-centre {
124
+ text-align: center;
125
+ }
@@ -0,0 +1,41 @@
1
+ // -----------------------------------------------------------------------------
2
+ // Typography styles
3
+ // -----------------------------------------------------------------------------
4
+
5
+ body {
6
+ color: $colour-text;
7
+ font: $base-font-size $base-font-family;
8
+ line-height: 1.5;
9
+ }
10
+
11
+ h1,
12
+ h2,
13
+ h3,
14
+ h4,
15
+ th {
16
+ font-family: $header-font-family;
17
+ font-weight: $header-font-weight;
18
+ margin: 0;
19
+ }
20
+
21
+ h1 {
22
+ font-size: 2.5em;
23
+ }
24
+
25
+ h2 {
26
+ font-size: 2em;
27
+ }
28
+
29
+ h3 {
30
+ font-size: 1.5em;
31
+ }
32
+
33
+ h4, th {
34
+ font-size: 1.25em;
35
+ }
36
+
37
+ p,
38
+ ul {
39
+ margin-bottom: 1.5em;
40
+ }
41
+
@@ -0,0 +1,45 @@
1
+ %archive-style {
2
+ color: $colour-darkgrey;
3
+ display: block;
4
+ font-weight: normal;
5
+ margin: 0;
6
+ padding: 1.1em 0 0;
7
+ text-align: center;
8
+ width: 5.5rem;
9
+ }
10
+
11
+ #archive {
12
+ list-style: none;
13
+ padding-left: 0;
14
+ .year {
15
+ @extend %archive-style;
16
+ padding: 3em 0 0;
17
+ &:first-child {
18
+ padding-top: 0.4em !important;
19
+ }
20
+ }
21
+ .month {
22
+ @extend %archive-style;
23
+ }
24
+ .day {
25
+ @extend %archive-style;
26
+ display: inline-block;
27
+ padding: 0;
28
+ }
29
+ .blog {
30
+ @include rounded(0.3125em);
31
+ display: inline-block;
32
+ font-size: 88%;
33
+ text-align: center;
34
+ width: 3.5em;
35
+ &.photos {
36
+ background-color: #d1e4cd;
37
+ }
38
+ &.richard {
39
+ background-color: #e4cdcd;
40
+ }
41
+ &.travel {
42
+ background-color: #cddde4;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,48 @@
1
+ /* ==========================================================================
2
+ Flickr Gallery Styles
3
+ ========================================================================== */
4
+
5
+ .flickr {
6
+ list-style: none;
7
+ margin: 0 auto;
8
+ padding: 0;
9
+ text-align: left;
10
+ a:hover {
11
+ border: none;
12
+ }
13
+ span {
14
+ display: inline-block;
15
+ position: relative;
16
+ .flickrlink {
17
+ display: none;
18
+ width: 2em;
19
+ height: 1em;
20
+ background: transparent url(/assets/images/flickr.png) no-repeat left top;
21
+ position: absolute;
22
+ right: 0.5em;
23
+ bottom: 0.9em;
24
+ opacity: .5;
25
+ -webkit-transition: opacity 0.2s ease-in-out;
26
+ -moz-transition: opacity 0.2s ease-in-out;
27
+ -o-transition: opacity 0.2s ease-in-out;
28
+ -ms-transition: opacity 0.2s ease-in-out;
29
+ transition: opacity 0.2s ease-in-out;
30
+ &:hover {
31
+ opacity:1;
32
+ }
33
+ }
34
+ &:hover .flickrlink {
35
+ display: block
36
+ }
37
+ img {
38
+ max-width: 100%;
39
+ padding: 0.5em;
40
+ .summary & {
41
+ padding: 0.2em;
42
+ }
43
+ }
44
+ }
45
+ &.summary {
46
+ max-width: 40em;
47
+ }
48
+ }
@@ -0,0 +1,25 @@
1
+ %button-pagination {
2
+ @extend %button;
3
+ display: block;
4
+ text-align: center;
5
+ width: 6.5em;
6
+ }
7
+
8
+ .pagination {
9
+ &::before {
10
+ @extend %divider-gradient-bottom;
11
+ margin-bottom: 2em;
12
+ }
13
+ .next {
14
+ @extend %button-pagination;
15
+ float: left;
16
+ }
17
+ .archives {
18
+ @extend %button-pagination;
19
+ margin: 0 auto;
20
+ }
21
+ .prev {
22
+ @extend %button-pagination;
23
+ float: right;
24
+ }
25
+ }
@@ -0,0 +1,9 @@
1
+ #tag-list {
2
+ padding-left: 0;
3
+ li {
4
+ display: inline-block;
5
+ line-height: 1.8;
6
+ min-width: 200px;
7
+ width: 24.5%;
8
+ }
9
+ }