jekyll-argus 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 (92) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +46 -0
  4. data/_includes/footer.html +7 -0
  5. data/_includes/google-analytics.html +8 -0
  6. data/_includes/head.html +36 -0
  7. data/_includes/header.html +1 -0
  8. data/_includes/nav.html +33 -0
  9. data/_includes/navbarlink.html +16 -0
  10. data/_layouts/default.html +1 -0
  11. data/_layouts/page.html +5 -0
  12. data/_layouts/post.html +5 -0
  13. data/_sass/_bootstrap.scss +56 -0
  14. data/_sass/_main.scss +3 -0
  15. data/_sass/bootstrap/_alerts.scss +73 -0
  16. data/_sass/bootstrap/_badges.scss +68 -0
  17. data/_sass/bootstrap/_breadcrumbs.scss +28 -0
  18. data/_sass/bootstrap/_button-groups.scss +244 -0
  19. data/_sass/bootstrap/_buttons.scss +168 -0
  20. data/_sass/bootstrap/_carousel.scss +270 -0
  21. data/_sass/bootstrap/_close.scss +36 -0
  22. data/_sass/bootstrap/_code.scss +69 -0
  23. data/_sass/bootstrap/_component-animations.scss +37 -0
  24. data/_sass/bootstrap/_dropdowns.scss +216 -0
  25. data/_sass/bootstrap/_forms.scss +617 -0
  26. data/_sass/bootstrap/_glyphicons.scss +307 -0
  27. data/_sass/bootstrap/_grid.scss +84 -0
  28. data/_sass/bootstrap/_input-groups.scss +171 -0
  29. data/_sass/bootstrap/_jumbotron.scss +54 -0
  30. data/_sass/bootstrap/_labels.scss +66 -0
  31. data/_sass/bootstrap/_list-group.scss +130 -0
  32. data/_sass/bootstrap/_media.scss +66 -0
  33. data/_sass/bootstrap/_mixins.scss +40 -0
  34. data/_sass/bootstrap/_modals.scss +150 -0
  35. data/_sass/bootstrap/_navbar.scss +662 -0
  36. data/_sass/bootstrap/_navs.scss +242 -0
  37. data/_sass/bootstrap/_normalize.scss +424 -0
  38. data/_sass/bootstrap/_pager.scss +54 -0
  39. data/_sass/bootstrap/_pagination.scss +89 -0
  40. data/_sass/bootstrap/_panels.scss +271 -0
  41. data/_sass/bootstrap/_popovers.scss +131 -0
  42. data/_sass/bootstrap/_print.scss +101 -0
  43. data/_sass/bootstrap/_progress-bars.scss +87 -0
  44. data/_sass/bootstrap/_responsive-embed.scss +35 -0
  45. data/_sass/bootstrap/_responsive-utilities.scss +179 -0
  46. data/_sass/bootstrap/_scaffolding.scss +161 -0
  47. data/_sass/bootstrap/_tables.scss +234 -0
  48. data/_sass/bootstrap/_theme.scss +291 -0
  49. data/_sass/bootstrap/_thumbnails.scss +38 -0
  50. data/_sass/bootstrap/_tooltip.scss +101 -0
  51. data/_sass/bootstrap/_type.scss +298 -0
  52. data/_sass/bootstrap/_utilities.scss +55 -0
  53. data/_sass/bootstrap/_variables.scss +874 -0
  54. data/_sass/bootstrap/_wells.scss +29 -0
  55. data/_sass/bootstrap/mixins/_alerts.scss +14 -0
  56. data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
  57. data/_sass/bootstrap/mixins/_border-radius.scss +18 -0
  58. data/_sass/bootstrap/mixins/_buttons.scss +65 -0
  59. data/_sass/bootstrap/mixins/_center-block.scss +7 -0
  60. data/_sass/bootstrap/mixins/_clearfix.scss +22 -0
  61. data/_sass/bootstrap/mixins/_forms.scss +88 -0
  62. data/_sass/bootstrap/mixins/_gradients.scss +58 -0
  63. data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
  64. data/_sass/bootstrap/mixins/_grid.scss +122 -0
  65. data/_sass/bootstrap/mixins/_hide-text.scss +21 -0
  66. data/_sass/bootstrap/mixins/_image.scss +33 -0
  67. data/_sass/bootstrap/mixins/_labels.scss +12 -0
  68. data/_sass/bootstrap/mixins/_list-group.scss +32 -0
  69. data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
  70. data/_sass/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  71. data/_sass/bootstrap/mixins/_opacity.scss +8 -0
  72. data/_sass/bootstrap/mixins/_pagination.scss +24 -0
  73. data/_sass/bootstrap/mixins/_panels.scss +24 -0
  74. data/_sass/bootstrap/mixins/_progress-bar.scss +10 -0
  75. data/_sass/bootstrap/mixins/_reset-filter.scss +8 -0
  76. data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
  77. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  78. data/_sass/bootstrap/mixins/_responsive-visibility.scss +21 -0
  79. data/_sass/bootstrap/mixins/_size.scss +10 -0
  80. data/_sass/bootstrap/mixins/_tab-focus.scss +9 -0
  81. data/_sass/bootstrap/mixins/_table-row.scss +28 -0
  82. data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
  83. data/_sass/bootstrap/mixins/_text-overflow.scss +8 -0
  84. data/_sass/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  85. data/_sass/custom/._variables.scss.swp +0 -0
  86. data/_sass/custom/_base.scss +0 -0
  87. data/_sass/custom/_layout.scss +0 -0
  88. data/_sass/custom/_variables.scss +3 -0
  89. data/assets/ie10-viewport-bug-workaround.css +13 -0
  90. data/assets/main.scss +7 -0
  91. data/assets/syntax.css +62 -0
  92. metadata +176 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 47fc3f950476726eb79194012543a8cb2873909c
4
+ data.tar.gz: c467297b6ae9a0723f530cf8821e4e9790f0940c
5
+ SHA512:
6
+ metadata.gz: ad76815ccf7006403a3f7ceb3902e88521e19f429834e3d6f405ef1a42afb7acb2f961e85ee5959169e8871bfe9329c7fb18aee74a85eea94055047519a2280d
7
+ data.tar.gz: 353cfd504b5ef5770a0d4016ad79078522c070cac1276ae34a287af2471e20dcefc98295c9cf79f312a0daa5c7046b190cf4ec984a21e338481bcc45c167297d
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Lucas Chen
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
13
+ all 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
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Argus
2
+
3
+ TODO: Theme description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's `Gemfile`:
8
+
9
+ ```ruby
10
+ gem "argus"
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: argus
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install argus
26
+
27
+ ## Usage
28
+
29
+ TODO: Write usage instructions here. Describe available layouts, includes, and/or sass.
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/lucaschen321/argus. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
+
35
+ ## Development
36
+
37
+ To set up your environment to develop this theme, run `bundle install`.
38
+
39
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
40
+
41
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
42
+
43
+ ## License
44
+
45
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
46
+
@@ -0,0 +1,7 @@
1
+ <hr>
2
+
3
+ <footer>
4
+ <center>
5
+ <p>&copy; Lucas Chen</p>
6
+ </center>
7
+ </footer>
@@ -0,0 +1,8 @@
1
+ <script>
2
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6
+ ga('create', '{{ site.google_analytics }}', 'auto');
7
+ ga('send', 'pageview');
8
+ </script>
@@ -0,0 +1,36 @@
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
+ <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
6
+ <meta name="description" content="">
7
+ <meta name="author" content="">
8
+ <link rel="icon" href="/img/favicon.ico">
9
+
10
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
11
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
12
+
13
+ <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
14
+ <link href="/assets/ie10-viewport-bug-workaround.css" rel="stylesheet">
15
+
16
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
17
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
18
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
19
+
20
+
21
+ <!-- Custom styles for this template -->
22
+ <!--
23
+ <link href="theme.css" rel="stylesheet">
24
+ -->
25
+
26
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
27
+ <!--[if lt IE 9]>
28
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
29
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
30
+ <![endif]-->
31
+
32
+ {% if jekyll.environment == 'production' and site.google_analytics %}
33
+ {% include google-analytics.html %}
34
+ {% endif %}
35
+
36
+ </head>
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,33 @@
1
+ <!-- Bootstrap's default fixed navbar -->
2
+ <nav class="navbar navbar-inverse">
3
+ <div class="container">
4
+ <div class="navbar-header">
5
+ <a class="navbar-brand" href="/">Lucas Chen</a> <!-- Edit Title here -->
6
+ </div>
7
+
8
+ <!-- Edit Navbar layout style here -->
9
+ <div id="navbar" class="navbar-collapse collapse">
10
+ <!-- Add Navbar menu here -->
11
+ <ul class="nav navbar-nav">
12
+ {% for link in site.navbar-links %}
13
+ {% if link[1].first %}
14
+ <li class="navlinks-container">
15
+ <a class="navlinks-parent" href="javascript:void(0)">{{ link[0] }}</a>
16
+ <div class="navlinks-children">
17
+ {% for childlink in link[1] %}
18
+ {% for linkparts in childlink %}
19
+ {% include navbarlink.html link=linkparts %}
20
+ {% endfor %}
21
+ {% endfor %}
22
+ </div>
23
+ </li>
24
+ {% else %}
25
+ <li>
26
+ {% include navbarlink.html link=link %}
27
+ </li>
28
+ {% endif %}
29
+ {% endfor %}
30
+ </ul>
31
+ </div><!--/.nav-collapse -->
32
+ </div>
33
+ </nav>
@@ -0,0 +1,16 @@
1
+ {% capture before %}{{ include.link[1] | split: "://" | first }}{% endcapture %}
2
+ {% capture after %}{{ include.link[1] | split: "://" | last }}{% endcapture %}
3
+ {% assign internal = true %}
4
+ {% if before != after %}
5
+ {% if before == "http" or before == "https" %}
6
+ {% assign internal = false %}
7
+ {% endif %}
8
+ {% endif %}
9
+
10
+ {% if internal %}
11
+ {% capture linkurl %}{{ site.baseurl }}/{{ include.link[1] }}{% endcapture %}
12
+ {% else %}
13
+ {% capture linkurl %}{{ include.link[1] }}{% endcapture %}
14
+ {% endif %}
15
+
16
+ <a href="{{ linkurl }}">{{ include.link[0] }}</a>
@@ -0,0 +1 @@
1
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,56 @@
1
+ /*!
2
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
3
+ * Copyright 2011-2016 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ // Core variables and mixins
8
+ @import "bootstrap/variables";
9
+ @import "bootstrap/mixins";
10
+
11
+ // Reset and dependencies
12
+ @import "bootstrap/normalize";
13
+ @import "bootstrap/print";
14
+ @import "bootstrap/glyphicons";
15
+
16
+ // Core CSS
17
+ @import "bootstrap/scaffolding";
18
+ @import "bootstrap/type";
19
+ @import "bootstrap/code";
20
+ @import "bootstrap/grid";
21
+ @import "bootstrap/tables";
22
+ @import "bootstrap/forms";
23
+ @import "bootstrap/buttons";
24
+
25
+ // Components
26
+ @import "bootstrap/component-animations";
27
+ @import "bootstrap/dropdowns";
28
+ @import "bootstrap/button-groups";
29
+ @import "bootstrap/input-groups";
30
+ @import "bootstrap/navs";
31
+ @import "bootstrap/navbar";
32
+ @import "bootstrap/breadcrumbs";
33
+ @import "bootstrap/pagination";
34
+ @import "bootstrap/pager";
35
+ @import "bootstrap/labels";
36
+ @import "bootstrap/badges";
37
+ @import "bootstrap/jumbotron";
38
+ @import "bootstrap/thumbnails";
39
+ @import "bootstrap/alerts";
40
+ @import "bootstrap/progress-bars";
41
+ @import "bootstrap/media";
42
+ @import "bootstrap/list-group";
43
+ @import "bootstrap/panels";
44
+ @import "bootstrap/responsive-embed";
45
+ @import "bootstrap/wells";
46
+ @import "bootstrap/close";
47
+
48
+ // Components w/ JavaScript
49
+ @import "bootstrap/modals";
50
+ @import "bootstrap/tooltip";
51
+ @import "bootstrap/popovers";
52
+ @import "bootstrap/carousel";
53
+
54
+ // Utility classes
55
+ @import "bootstrap/utilities";
56
+ @import "bootstrap/responsive-utilities";
data/_sass/_main.scss ADDED
@@ -0,0 +1,3 @@
1
+ @import "custom/variables";
2
+ @import "custom/base";
3
+ @import "custom/layout";
@@ -0,0 +1,73 @@
1
+ //
2
+ // Alerts
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // -------------------------
8
+
9
+ .alert {
10
+ padding: $alert-padding;
11
+ margin-bottom: $line-height-computed;
12
+ border: 1px solid transparent;
13
+ border-radius: $alert-border-radius;
14
+
15
+ // Headings for larger alerts
16
+ h4 {
17
+ margin-top: 0;
18
+ // Specified for the h4 to prevent conflicts of changing $headings-color
19
+ color: inherit;
20
+ }
21
+
22
+ // Provide class for links that match alerts
23
+ .alert-link {
24
+ font-weight: $alert-link-font-weight;
25
+ }
26
+
27
+ // Improve alignment and spacing of inner content
28
+ > p,
29
+ > ul {
30
+ margin-bottom: 0;
31
+ }
32
+
33
+ > p + p {
34
+ margin-top: 5px;
35
+ }
36
+ }
37
+
38
+ // Dismissible alerts
39
+ //
40
+ // Expand the right padding and account for the close button's positioning.
41
+
42
+ .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
43
+ .alert-dismissible {
44
+ padding-right: ($alert-padding + 20);
45
+
46
+ // Adjust close link position
47
+ .close {
48
+ position: relative;
49
+ top: -2px;
50
+ right: -21px;
51
+ color: inherit;
52
+ }
53
+ }
54
+
55
+ // Alternate styles
56
+ //
57
+ // Generate contextual modifier classes for colorizing the alert.
58
+
59
+ .alert-success {
60
+ @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
61
+ }
62
+
63
+ .alert-info {
64
+ @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
65
+ }
66
+
67
+ .alert-warning {
68
+ @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
69
+ }
70
+
71
+ .alert-danger {
72
+ @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
73
+ }
@@ -0,0 +1,68 @@
1
+ //
2
+ // Badges
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ .badge {
8
+ display: inline-block;
9
+ min-width: 10px;
10
+ padding: 3px 7px;
11
+ font-size: $font-size-small;
12
+ font-weight: $badge-font-weight;
13
+ color: $badge-color;
14
+ line-height: $badge-line-height;
15
+ vertical-align: middle;
16
+ white-space: nowrap;
17
+ text-align: center;
18
+ background-color: $badge-bg;
19
+ border-radius: $badge-border-radius;
20
+
21
+ // Empty badges collapse automatically (not available in IE8)
22
+ &:empty {
23
+ display: none;
24
+ }
25
+
26
+ // Quick fix for badges in buttons
27
+ .btn & {
28
+ position: relative;
29
+ top: -1px;
30
+ }
31
+
32
+ .btn-xs &,
33
+ .btn-group-xs > .btn & {
34
+ top: 0;
35
+ padding: 1px 5px;
36
+ }
37
+
38
+ // [converter] extracted a& to a.badge
39
+
40
+ // Account for badges in navs
41
+ .list-group-item.active > &,
42
+ .nav-pills > .active > a > & {
43
+ color: $badge-active-color;
44
+ background-color: $badge-active-bg;
45
+ }
46
+
47
+ .list-group-item > & {
48
+ float: right;
49
+ }
50
+
51
+ .list-group-item > & + & {
52
+ margin-right: 5px;
53
+ }
54
+
55
+ .nav-pills > li > a > & {
56
+ margin-left: 3px;
57
+ }
58
+ }
59
+
60
+ // Hover state, but only for links
61
+ a.badge {
62
+ &:hover,
63
+ &:focus {
64
+ color: $badge-link-hover-color;
65
+ text-decoration: none;
66
+ cursor: pointer;
67
+ }
68
+ }
@@ -0,0 +1,28 @@
1
+ //
2
+ // Breadcrumbs
3
+ // --------------------------------------------------
4
+
5
+
6
+ .breadcrumb {
7
+ padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
8
+ margin-bottom: $line-height-computed;
9
+ list-style: none;
10
+ background-color: $breadcrumb-bg;
11
+ border-radius: $border-radius-base;
12
+
13
+ > li {
14
+ display: inline-block;
15
+
16
+ + li:before {
17
+ // [converter] Workaround for https://github.com/sass/libsass/issues/1115
18
+ $nbsp: "\00a0";
19
+ content: "#{$breadcrumb-separator}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space
20
+ padding: 0 5px;
21
+ color: $breadcrumb-color;
22
+ }
23
+ }
24
+
25
+ > .active {
26
+ color: $breadcrumb-active-color;
27
+ }
28
+ }