personally-developed 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +121 -0
  4. data/_includes/footer.html +5 -0
  5. data/_includes/head.html +15 -0
  6. data/_includes/header.html +14 -0
  7. data/_includes/seo.html +1 -0
  8. data/_layouts/default.html +24 -0
  9. data/_layouts/home.html +35 -0
  10. data/_layouts/page.html +11 -0
  11. data/_layouts/post.html +16 -0
  12. data/_sass/personally-developed/_animate.scss +44 -0
  13. data/_sass/personally-developed/_archive.scss +21 -0
  14. data/_sass/personally-developed/_fonts.scss +25 -0
  15. data/_sass/personally-developed/_footer.scss +9 -0
  16. data/_sass/personally-developed/_header.scss +27 -0
  17. data/_sass/personally-developed/_layout.scss +75 -0
  18. data/_sass/personally-developed/_neat.scss +26 -0
  19. data/_sass/personally-developed/_posts.scss +39 -0
  20. data/_sass/personally-developed/_reboot.scss +473 -0
  21. data/_sass/personally-developed/_syntax.scss +84 -0
  22. data/_sass/personally-developed/_utilities.scss +13 -0
  23. data/_sass/personally-developed/_variables.scss +50 -0
  24. data/_sass/personally-developed/neat/functions/_neat-append-grid-visual.scss +21 -0
  25. data/_sass/personally-developed/neat/functions/_neat-column-default.scss +23 -0
  26. data/_sass/personally-developed/neat/functions/_neat-column-ratio.scss +24 -0
  27. data/_sass/personally-developed/neat/functions/_neat-column-width.scss +25 -0
  28. data/_sass/personally-developed/neat/functions/_neat-float-direction.scss +22 -0
  29. data/_sass/personally-developed/neat/functions/_neat-merge-defaults.scss +23 -0
  30. data/_sass/personally-developed/neat/functions/_neat-opposite-direction.scss +22 -0
  31. data/_sass/personally-developed/neat/functions/_neat-parse-columns.scss +22 -0
  32. data/_sass/personally-developed/neat/functions/_neat-parse-media.scss +20 -0
  33. data/_sass/personally-developed/neat/functions/_retrieve-neat-settings.scss +19 -0
  34. data/_sass/personally-developed/neat/mixins/_grid-collapse.scss +36 -0
  35. data/_sass/personally-developed/neat/mixins/_grid-column.scss +39 -0
  36. data/_sass/personally-developed/neat/mixins/_grid-container.scss +30 -0
  37. data/_sass/personally-developed/neat/mixins/_grid-media.scss +67 -0
  38. data/_sass/personally-developed/neat/mixins/_grid-push.scss +37 -0
  39. data/_sass/personally-developed/neat/mixins/_grid-shift.scss +36 -0
  40. data/_sass/personally-developed/neat/mixins/_grid-visual.scss +67 -0
  41. data/_sass/personally-developed/neat/settings/_settings.scss +74 -0
  42. data/_sass/personally-developed.scss +15 -0
  43. data/assets/js/main.min.js +1 -0
  44. data/assets/main.scss +4 -0
  45. metadata +129 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e8ecfad17bf1570ede5c0ddade167fb650ae5674
4
+ data.tar.gz: 4888b6f7578c23c00ff83275ff41a9ea99f91786
5
+ SHA512:
6
+ metadata.gz: d27f1d5b7a54a420c2cb3c826694473db210f68e4796d643d51e2a5d420202178cfe614085233cf094bc54054ca3d3bc4ebb550d1b4c1c452a9850237f147b3c
7
+ data.tar.gz: b98514c4a95be96a276363c8d6824d24933a013f80756909a435e83d8ed83458851eedb4b95f9870813eed83f3148b8cc873d4661ebc6528aca5ce02114133ba
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Jonathan Pike
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,121 @@
1
+ # Personally Developed
2
+
3
+ A simple, one column theme for Jekyll that puts your content first. Also
4
+ available as a [stand-alone
5
+ Jekyll scaffold](https://github.com/jonathanpike/personally-developed) to use with [GitHub Pages](https://pages.github.com/).
6
+
7
+ ![theme preview](/screenshot.png)
8
+
9
+ ## Installation
10
+
11
+ Add this line to your Jekyll site's `Gemfile`:
12
+
13
+ ```ruby
14
+ gem "personally-developed"
15
+ ```
16
+
17
+ And add this line to your Jekyll site's `_config.yml`:
18
+
19
+ ```yaml
20
+ theme: personally-developed
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ ```
26
+ $ bundle
27
+ ```
28
+
29
+ Or install it yourself as:
30
+
31
+ ```
32
+ $ gem install personally-developed
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ ### Pagination (REQUIRED)
38
+
39
+ You'll need to include the [jekyll-paginate](https://github.com/jekyll/jekyll-paginate) gem for Personally Developed to work correctly.
40
+
41
+ Add the following to your site's `Gemfile`:
42
+
43
+ ```ruby
44
+ gem 'jekyll-paginate'
45
+ ```
46
+
47
+ Add the following to your site's `_config.yml`:
48
+
49
+ ```yml
50
+ gems:
51
+ - jekyll-paginate
52
+ ```
53
+
54
+ And then execute:
55
+
56
+ ```
57
+ $ bundle
58
+ ```
59
+
60
+ Or install it yourself as:
61
+
62
+ ```
63
+ $ gem install jekyll-paginate
64
+ ```
65
+
66
+ --
67
+
68
+ ### SEO (via jekyll-seo-tag)
69
+
70
+ Personally Developed supports the [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag) plugin right out of the box. To use it:
71
+
72
+ Add the following to your site's `Gemfile`:
73
+
74
+ ```ruby
75
+ gem 'jekyll-seo-tag'
76
+ ```
77
+
78
+ Add the following to your site's `_config.yml`:
79
+
80
+ ```yml
81
+ gems:
82
+ - jekyll-seo-tag
83
+ ```
84
+
85
+ And then execute:
86
+
87
+ ```
88
+ $ bundle
89
+ ```
90
+
91
+ Or install it yourself as:
92
+
93
+ ```
94
+ $ gem install jekyll-seo-tag
95
+ ```
96
+
97
+ --
98
+
99
+ ### Customization
100
+
101
+ To override the default styles of Personally Developed, simply create the appropriate directory at the root of your site, copy the file you wish to customize to that directory, and then edit the file.
102
+ e.g., to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path, create an `_includes` directory, copy `_includes/head.html` from gem folder to `<yoursite>/_includes` and start editing that file. To find the gem folder, run `bundle show personally-developed`.
103
+
104
+ The site's default CSS exists at [`assets/main.scss`](assets/main.scss). To **override the default CSS**, the file has to exist at your site source. Do any one of the following:
105
+ - Create a new instance of `main.scss` at site source.
106
+ - Create a new file `main.scss` at `<your-site>/assets/`
107
+ - Add the frontmatter dashes, and
108
+ - Add `@import "personally-developed";`, to `<your-site>/assets/main.scss`
109
+ - Add your custom CSS.
110
+ - Download the file from this repo
111
+ - Create a new file `main.scss` at `<your-site>/assets/`
112
+ - Copy the contents at [assets/main.scss](assets/main.scss) onto the `main.scss` you just created, and edit away!
113
+ - Copy directly from the gem
114
+ - Go to your local personally-developed gem installation directory ( run `bundle show personally-developed` to get the path to it ).
115
+ - Copy the `assets/` folder from there into the root of `<your-site>`
116
+ - Change whatever values you want, inside `<your-site>/assets/main.scss`
117
+
118
+ ## License
119
+
120
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
121
+
@@ -0,0 +1,5 @@
1
+ <footer>
2
+ <div class="col-xs-12">
3
+ <p class="text-center">Have a great rest of your <span id="day">day</span>!</p>
4
+ </div>
5
+ </footer>
@@ -0,0 +1,15 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
7
+
8
+ <link rel="stylesheet" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
9
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
10
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
11
+ <script src="{{ "/assets/js/main.min.js" | prepend: site.baseurl }}"></script>
12
+ {% if site.gems contains 'jekyll-seo-tag %}
13
+ {% include seo.html %}
14
+ {% endif %}
15
+ </head>
@@ -0,0 +1,14 @@
1
+ <header>
2
+
3
+ <div class="col-xs-12 col-md-4 animated fadeInDown namebox" id="box">
4
+ <h1 class="title"><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
5
+ <p>{{ site.description }}</p>
6
+ <hr />
7
+ <ul class="navigation">
8
+ {% for page in site.pages %}
9
+ <li><h4><a href="{{ page.url }}">{{ page.title }}</a><span class="gray-text"></h4></li>
10
+ {% endfor %}
11
+ </ul>
12
+ </div>
13
+
14
+ </header>
@@ -0,0 +1 @@
1
+ {% seo %}
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ <div class="container">
9
+
10
+ {% include header.html %}
11
+
12
+ <div class="col-xs-12 col-md-8 contentbox">
13
+ {{ content }}
14
+ </div>
15
+
16
+ <hr class="rule" />
17
+
18
+ {% include footer.html %}
19
+
20
+ </div>
21
+
22
+ </body>
23
+
24
+ </html>
@@ -0,0 +1,35 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <!-- Post List -->
6
+ <ul id="post-list">
7
+ {% for post in paginator.posts %}
8
+ <li class="post">
9
+ <h1 class="title"><a href="{% if post.link %}{{post.link}}{% else %}{{ post.url }}{% endif %}">{{ post.title }}</a>{% if post.link %}<span class="link-arrow"> &rarr;</span>{% endif %}</h1>
10
+ <p class="meta">{{ post.date | date:"%B %d, %Y" }} # <a href="{{ post.url }}">permalink</a>{% for tag in post.tags %} / <a href="/topics/index.html#{{ tag }}">{{ tag }}</a>{% endfor %}</p>
11
+ <article class="post-content">{{ post.content }}</article>
12
+ </li>
13
+ {% endfor %}
14
+ </ul>
15
+
16
+ <!-- Pagination -->
17
+ <div class="col-xs-12 col-md-9 center">
18
+ {% if paginator.total_pages > 1 %}
19
+ <div class="paginate text-center">
20
+ {% if paginator.previous_page %}
21
+ <a rel="prev" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a>
22
+ {% else %}
23
+ <span class="meta">&laquo; Prev</span>
24
+ {% endif %}
25
+
26
+ <span class="meta">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
27
+
28
+ {% if paginator.next_page %}
29
+ <a rel="next" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a>
30
+ {% else %}
31
+ <span class="meta">Next &raquo;</span>
32
+ {% endif %}
33
+ </div>
34
+ {% endif %}
35
+ </div>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <header class="post-header">
6
+ <h1 class="post-title">{{ page.title }}</h1>
7
+ </header>
8
+
9
+ <article class="post-content">
10
+ {{ content }}
11
+ </article>
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <header class="post-header">
6
+ {% if page.link %}
7
+ <h1 class="post-title"><a href="{{ page.link }}">{{ page.title }}</a> <span class="link-arrow">&rarr;</span></h1>
8
+ {% else %}
9
+ <h1 class="post-title">{{ page.title }}</h1>
10
+ {% endif %}
11
+ <p class="meta">{{ page.date | date: "%B %d, %Y" }}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
12
+ </header>
13
+
14
+ <article class="post-content">
15
+ {{ content }}
16
+ </article>
@@ -0,0 +1,44 @@
1
+ /*! Animate.css - http://daneden.me/animate
2
+ Version - 3.4.0
3
+ Licensed under the MIT license - http://opensource.org/licenses/MIT
4
+ Copyright (c) 2015 Daniel Eden */
5
+
6
+ .animated {
7
+ -webkit-animation-duration: 1s;
8
+ animation-duration: 1s;
9
+ -webkit-animation-fill-mode: both;
10
+ animation-fill-mode: both;
11
+ }
12
+
13
+ @-webkit-keyframes fadeInDown {
14
+ from {
15
+ opacity: 0;
16
+ -webkit-transform: translate3d(0, -100%, 0);
17
+ transform: translate3d(0, -100%, 0);
18
+ }
19
+
20
+ to {
21
+ opacity: 1;
22
+ -webkit-transform: none;
23
+ transform: none;
24
+ }
25
+ }
26
+
27
+ @keyframes fadeInDown {
28
+ from {
29
+ opacity: 0;
30
+ -webkit-transform: translate3d(0, -100%, 0);
31
+ transform: translate3d(0, -100%, 0);
32
+ }
33
+
34
+ to {
35
+ opacity: 1;
36
+ -webkit-transform: none;
37
+ transform: none;
38
+ }
39
+ }
40
+
41
+ .fadeInDown {
42
+ -webkit-animation-name: fadeInDown;
43
+ animation-name: fadeInDown;
44
+ }
@@ -0,0 +1,21 @@
1
+ .this {
2
+ list-style: none;
3
+ background-color: $pd-yellow;
4
+ border-radius: 5px;
5
+ padding: 10px;
6
+ }
7
+
8
+ .past {
9
+ list-style: none;
10
+ padding: 10px;
11
+ }
12
+
13
+ #archive ul li time {
14
+ padding-right: 10px;
15
+ font-family: $pd-font-family-monospace;
16
+ font-size: 1.1em;
17
+ &::after {
18
+ content: "•";
19
+ padding-left: 10px;
20
+ }
21
+ }
@@ -0,0 +1,25 @@
1
+ // Headers
2
+ h1, h2, h3, h4, h5, h6,
3
+ .h1, .h2, .h3, .h4, .h5, .h6 {
4
+ margin-top: $headings-margin-top;
5
+ margin-bottom: $headings-margin-bottom;
6
+ font-family: $headings-font-family;
7
+ font-weight: $headings-font-weight;
8
+ line-height: $headings-line-height;
9
+ color: $headings-color;
10
+ }
11
+
12
+ h1, .h1 { font-size: $font-size-h1; }
13
+ h2, .h2 { font-size: $font-size-h2; }
14
+ h3, .h3 { font-size: $font-size-h3; }
15
+ h4, .h4 { font-size: $font-size-h4; }
16
+ h5, .h5 { font-size: $font-size-h5; }
17
+ h6, .h6 { font-size: $font-size-h6; }
18
+
19
+ // Horizontal Rules
20
+ hr {
21
+ margin-top: 1rem;
22
+ margin-bottom: 1rem;
23
+ border: 0;
24
+ border-top: 1px solid rgba($pd-black,.1);
25
+ }
@@ -0,0 +1,9 @@
1
+ .footerbox {
2
+ @include grid-column(12);
3
+ }
4
+
5
+ .rule {
6
+ width: 30%;
7
+ margin-left: auto;
8
+ margin-right: auto;
9
+ }
@@ -0,0 +1,27 @@
1
+ .namebox {
2
+ @include grid-column(12);
3
+
4
+ @include grid-media($large-neat-grid){
5
+ @include grid-column(4);
6
+ }
7
+
8
+ margin-top: 20px;
9
+ border-radius: 2px;
10
+ border: 2px solid $pd-transparent-blue;
11
+ position: relative;
12
+ padding: 0 15px;
13
+ }
14
+
15
+ .navigation {
16
+ list-style: none;
17
+ padding: 0px;
18
+ }
19
+
20
+ .title a:link {
21
+ border-bottom: 0px;
22
+ }
23
+
24
+ .title a:visited {
25
+ text-decoration: none;
26
+ }
27
+
@@ -0,0 +1,75 @@
1
+ html{
2
+ height: 100%;
3
+ }
4
+
5
+ body {
6
+ font-family: $pd-font-family-sans-serif;
7
+ font-size: 1.15rem;
8
+ border: 8px solid $pd-transparent-blue;
9
+ min-height: 100%;
10
+ background-color: $pd-off-white;
11
+ margin: 0;
12
+ @media only screen and (max-width: 500px) {
13
+ border: 4px solid $pd-transparent-blue;
14
+ }
15
+ }
16
+
17
+ .container {
18
+ @include grid-container;
19
+
20
+ @media only screen and (min-width: 768px) {
21
+ max-width: 750px;
22
+ }
23
+
24
+ @media only screen and (min-width: 992px) {
25
+ max-width: 970px;
26
+ }
27
+
28
+ @media only screen and (min-width: 1200px) {
29
+ max-width: 1170px;
30
+ }
31
+
32
+ margin-left: auto;
33
+ margin-right: auto;
34
+ }
35
+
36
+ .contentbox {
37
+ @include grid-column(12);
38
+
39
+ @include grid-media($large-neat-grid){
40
+ @include grid-column(8);
41
+ }
42
+
43
+ margin-bottom: 20px;
44
+ padding: 0px 30px 0px 30px;
45
+ @media only screen and (max-width: 500px) {
46
+ padding: 0px;
47
+ }
48
+ }
49
+
50
+ .paginatebox {
51
+ @include grid-column(12);
52
+
53
+ @include grid-media($large-neat-grid){
54
+ @include grid-column(8);
55
+ }
56
+ }
57
+
58
+ a:link {
59
+ border-bottom: 1px black dotted;
60
+ text-decoration: none;
61
+ color: $pd-dark-blue;
62
+ transition: all 0.2s ease;
63
+ -webkit-transition: all 0.2s ease;
64
+ }
65
+
66
+ a:visited {
67
+ text-decoration: none;
68
+ color: $pd-dark-blue;
69
+ }
70
+
71
+ a:hover{
72
+ text-decoration: none;
73
+ color: $pd-orange;
74
+ }
75
+
@@ -0,0 +1,26 @@
1
+ @charset "UTF-8";
2
+ // Neat 2.0.0
3
+ // http://neat.bourbon.io
4
+ // Copyright 2012 thoughtbot, inc.
5
+ // MIT License
6
+
7
+ @import "neat/settings/settings";
8
+
9
+ @import "neat/functions/retrieve-neat-settings";
10
+ @import "neat/functions/neat-column-default";
11
+ @import "neat/functions/neat-column-width";
12
+ @import "neat/functions/neat-column-ratio";
13
+ @import "neat/functions/neat-float-direction";
14
+ @import "neat/functions/neat-merge-defaults";
15
+ @import "neat/functions/neat-opposite-direction";
16
+ @import "neat/functions/neat-parse-columns";
17
+ @import "neat/functions/neat-parse-media";
18
+ @import "neat/functions/neat-append-grid-visual";
19
+
20
+ @import "neat/mixins/grid-collapse";
21
+ @import "neat/mixins/grid-column";
22
+ @import "neat/mixins/grid-container";
23
+ @import "neat/mixins/grid-media";
24
+ @import "neat/mixins/grid-push";
25
+ @import "neat/mixins/grid-shift";
26
+ @import "neat/mixins/grid-visual";
@@ -0,0 +1,39 @@
1
+ #post-list {
2
+ padding: 0px;
3
+ list-style-type: none;
4
+ }
5
+
6
+ .post {
7
+ margin: 0px 0px 60px 0px;
8
+ }
9
+
10
+ .meta {
11
+ color: #777;
12
+ }
13
+
14
+ .link-arrow {
15
+ @extend .meta;
16
+ }
17
+
18
+ .update {
19
+ padding: 15px;
20
+ margin-bottom: 20px;
21
+ border-radius: 4px;
22
+ background-color: $pd-yellow;
23
+ }
24
+
25
+
26
+ pre {
27
+ display: block;
28
+ padding: 9.5px;
29
+ margin: 0 0 10px;
30
+ line-height: 1.42857;
31
+ word-break: break-all;
32
+ word-wrap: break-word;
33
+ }
34
+ code {
35
+ background-color: $pd-yellow;
36
+ font-family: $pd-font-family-monospace;
37
+ white-space: pre-wrap;
38
+ font-size: 90%
39
+ }