aprico 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4e80ca37058ba870b703965c2c43c40140eae7fa
4
+ data.tar.gz: 8ca4fcdd65ba1133a89a81f920624f3775ecc97f
5
+ SHA512:
6
+ metadata.gz: 9d568992e2bd359ad7bc80390540775b59e47b3b7db16621da75cdfa4de5e3d9f9238ba19cd88e917193da758bdadd07e4d70220eedce9b791b28c7fb97ec27f
7
+ data.tar.gz: 4b47160c19927ee7d4d6edbb841f90a7bfe6bd1f3ca69ed3a5b161f4f598356e0b02efc72777c8895d38414606eda72a36732960ca8b456c62a47fddf6c4fc64
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Dmytro Kalpakchi
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,48 @@
1
+ # aprico
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's Gemfile:
10
+
11
+ ```ruby
12
+ gem "aprico"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: aprico
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install aprico
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ You theme is setup just like a normal Jelyll 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.
42
+
43
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
48
+
@@ -0,0 +1 @@
1
+ Footer!
@@ -0,0 +1,7 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+
4
+ <!-- Common stylesheets -->
5
+ <link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.7/semantic.min.css">
6
+ <link rel="stylesheet" href="{{ '/assets/app.css' | relative_url }}">
7
+ </head>
@@ -0,0 +1,56 @@
1
+ {% assign t = site.i18n[page.lang].menu %}
2
+ <div class="ui left fixed inverted violet straight vertical labeled large icon stackable menu">
3
+ {% assign pages=site.pages | where:"ref", page.ref | sort: 'lang' %}
4
+ <div class="ui violet fluid straight inverted simple buttons mobile hidden">
5
+ {% for pg in pages %}
6
+ <a href="{{ pg.url }}" class="ui button {{ pg.lang }} widescreen monitor only">{{ site.i18n[pg.lang].menu['lang'] }}</a>
7
+ <a href="{{ pg.url }}" class="ui button {{ pg.lang }} large monitor only">{{ site.i18n[pg.lang].menu['lang'] }}</a>
8
+ <a href="{{ pg.url }}" class="ui button {{ pg.lang }} computer only">{{ pg.lang }}</a>
9
+ <a href="{{ pg.url }}" class="ui button {{ pg.lang }} tablet only">{{ pg.lang }}</a>
10
+ <a href="{{ pg.url }}" class="ui button {{ pg.lang }} mobile only left floated">{{ pg.lang }}</a>
11
+ {% endfor %}
12
+
13
+ {% for c in site.collections %}
14
+ {% assign category=site[c.label] | where:"ref", page.ref | sort: 'lang' %}
15
+ {% for el in category %}
16
+ <a href="{{ el.url }}" class="ui button {{ el.lang }} widescreen monitor only">{{ site.i18n[el.lang].menu['lang'] }}</a>
17
+ <a href="{{ el.url }}" class="ui button {{ el.lang }} large monitor only">{{ site.i18n[el.lang].menu['lang'] }}</a>
18
+ <a href="{{ el.url }}" class="ui button {{ el.lang }} computer only">{{ el.lang }}</a>
19
+ <a href="{{ el.url }}" class="ui button {{ el.lang }} tablet only">{{ el.lang }}</a>
20
+ <a href="{{ el.url }}" class="ui button {{ el.lang }} mobile only">{{ el.lang }}</a>
21
+ {% endfor %}
22
+ {% endfor %}
23
+ </div>
24
+
25
+ <div class="ui violet fluid straight inverted simple buttons mobile only container">
26
+ {% for pg in pages %}
27
+ <a href="{{ pg.url }}" class="ui button {{ pg.lang }}">{{ pg.lang }}</a>
28
+ {% endfor %}
29
+
30
+ {% for c in site.collections %}
31
+ {% assign category=site[c.label] | where:"ref", page.ref | sort: 'lang' %}
32
+ {% for el in category %}
33
+ <a href="{{ el.url }}" class="ui button {{ el.lang }}">{{ el.lang }}</a>
34
+ {% endfor %}
35
+ {% endfor %}
36
+ </div>
37
+ <div class="ui basic logo centered segment mobile hidden">Apricis</div>
38
+ <div class="ui basic logo centered segment mobile only">A</div>
39
+
40
+ <a href="/{{page.lang}}/" class="item"><i class="newspaper icon"></i>{{t.posts}}</a>
41
+ <a class="item"><i class="lab icon"></i>{{t.sandbox}}</a>
42
+ <a class="item"><i class="wizard icon"></i>{{t.projects}}</a>
43
+ <a class="item"><i class="user icon"></i>{{t.about}}</a>
44
+
45
+ <div class="ui social left aligned mobile hidden container">
46
+ <div class="ui vertical large segment"><i class="github icon"></i><a href="https://github.com/apricis">{{site.github_username}}</a></div>
47
+ <div class="ui vertical large segment"><i class="facebook icon"></i><a href="https://www.facebook.com/dmytro.kalpakchi">{{site.facebook_username}}</a></div>
48
+ <div class="ui vertical large segment"><i class="at icon"></i>{{site.email}}</a></div>
49
+ </div>
50
+
51
+ <div class="ui social mobile only violet icon fluid buttons">
52
+ <a href="https://github.com/apricis" class="ui huge icon button"><i class="github icon"></i></a>
53
+ <a href="https://www.facebook.com/dmytro.kalpakchi" class="ui huge icon button"><i class="facebook icon"></i></a>
54
+ <i class="at icon"></i>{{site.email}}
55
+ </div>
56
+ </div>
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: 'en' }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+ <div class="ui padded grid">
8
+ <div class="three wide column">
9
+ {% include menu.html %}
10
+ </div>
11
+ <main class="thirteen wide column" aria-label="Content">
12
+ {{ content }}
13
+ </main>
14
+ </div>
15
+ </body>
16
+ </html>
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="ui basic segment">
6
+
7
+ {{ content }}
8
+
9
+ <div class="ui divided items">
10
+ {% assign posts=site.posts | where:"lang", page.lang %}
11
+ {% for post in posts %}
12
+ <div class="item">
13
+ <div class="content">
14
+ <a href="{{ post.url | relative_url }}" class="header">{{ post.title | escape }}</a>
15
+ <div class="meta">
16
+ {{ post.date | date: "%b %-d, %Y" }}
17
+ </div>
18
+ <div class="description">
19
+ {{ post.excerpt }}
20
+ </div>
21
+ </div>
22
+ </div>
23
+ {% endfor %}
24
+ </div>
25
+ </div>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,30 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="ui {{page.color}} top attached segment">
6
+ {% assign t = site.i18n[page.lang] %}
7
+ {% if page.categories != empty and page.categories.size > 1 %}
8
+ {% assign cat = page.categories[1] %}
9
+ <a class="ui right ribbon {{page.color}} label" href="/{{page.lang}}/{{cat}}/">{{ t.categories[cat] }}</a>
10
+ {% endif %}
11
+ <div class="ui center aligned contents container">
12
+ <div id="postHeader" class="ui large post header">
13
+ {{ page.title | escape }}
14
+ <div class="ui sub header">
15
+ {% assign b = page.date | date: "%b" %}
16
+ {{ t.dates[b] }} {{ page.date | date: " %-d, %Y" }}
17
+ </div>
18
+ </div>
19
+ {% if page.tags != empty %}
20
+ <div class="tags">
21
+ {% for tag in page.tags %}
22
+ <a class='ui blue label' href='/{{page.lang}}/tag/{{tag}}/'><i class='tag icon'></i>{{ t.tags[tag] }}</a>
23
+ {% endfor %}
24
+ </div>
25
+ {% endif %}
26
+ </div>
27
+ </div>
28
+ <div class="ui attached segment">
29
+ {{ content }}
30
+ </div>
data/_layouts/tbd.html ADDED
@@ -0,0 +1,3 @@
1
+ ---
2
+ layout: default
3
+ ---
@@ -0,0 +1,65 @@
1
+ /*
2
+ * @Author: Dmytro Kalpakchi
3
+ * @Date: 2016-12-29 11:58:26
4
+ * @Last Modified by: Dmytro Kalpakchi
5
+ * @Last Modified time: 2017-01-01 16:31:15
6
+ */
7
+
8
+ .ui.straight.menu, .ui.straight.buttons .button {
9
+ border-radius: 0;
10
+ }
11
+
12
+ /* Mobile */
13
+ @media only screen and (max-width: 767px) {
14
+ .mobile.hidden,
15
+ .tablet.only,
16
+ .computer.only,
17
+ .large.monitor.only,
18
+ .widescreen.monitor.only {
19
+ display: none !important;
20
+ }
21
+ }
22
+
23
+ /* Tablet / iPad Portrait */
24
+ @media only screen and (min-width: 768px) and (max-width: 991px) {
25
+ .mobile.only,
26
+ .tablet.hidden,
27
+ .computer.only,
28
+ .large.monitor.only,
29
+ .widescreen.monitor.only {
30
+ display: none !important;
31
+ }
32
+ }
33
+
34
+ /* Computer / Desktop / iPad Landscape */
35
+ @media only screen and (min-width: 992px) and (max-width: 1399px) {
36
+ .mobile.only,
37
+ .tablet.only,
38
+ .computer.hidden,
39
+ .large.monitor.only,
40
+ .widescreen.monitor.only {
41
+ display: none !important;
42
+ }
43
+ }
44
+
45
+ /* Large Monitor */
46
+ @media only screen and (min-width: 1400px) and (max-width: 1919px) {
47
+ .mobile.only,
48
+ .tablet.only,
49
+ .computer.only,
50
+ .large.monitor.hidden,
51
+ .widescreen.monitor.only {
52
+ display: none !important;
53
+ }
54
+ }
55
+
56
+ /* Widescreen Monitor */
57
+ @media only screen and (min-width: 1920px) {
58
+ .mobile.only,
59
+ .tablet.only,
60
+ .computer.only,
61
+ .large.monitor.only,
62
+ .widescreen.monitor.hidden {
63
+ display: none !important;
64
+ }
65
+ }
@@ -0,0 +1,79 @@
1
+ /*
2
+ * @Author: Dmytro Kalpakchi
3
+ * @Date: 2016-12-29 10:25:28
4
+ * @Last Modified by: Dmytro Kalpakchi
5
+ * @Last Modified time: 2016-12-29 10:29:02
6
+ */
7
+
8
+ /**
9
+ * Syntax highlighting styles
10
+ * Initially adopted from Jekyll minima theme: https://github.com/jekyll/minima/
11
+ */
12
+
13
+ .highlight {
14
+ background: #fff;
15
+
16
+ .highlighter-rouge & {
17
+ background: #eef;
18
+ }
19
+
20
+ .c { color: #998; font-style: italic } // Comment
21
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
22
+ .k { font-weight: bold } // Keyword
23
+ .o { font-weight: bold } // Operator
24
+ .cm { color: #998; font-style: italic } // Comment.Multiline
25
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
26
+ .c1 { color: #998; font-style: italic } // Comment.Single
27
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
28
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
29
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
30
+ .ge { font-style: italic } // Generic.Emph
31
+ .gr { color: #a00 } // Generic.Error
32
+ .gh { color: #999 } // Generic.Heading
33
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
34
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
35
+ .go { color: #888 } // Generic.Output
36
+ .gp { color: #555 } // Generic.Prompt
37
+ .gs { font-weight: bold } // Generic.Strong
38
+ .gu { color: #aaa } // Generic.Subheading
39
+ .gt { color: #a00 } // Generic.Traceback
40
+ .kc { font-weight: bold } // Keyword.Constant
41
+ .kd { font-weight: bold } // Keyword.Declaration
42
+ .kp { font-weight: bold } // Keyword.Pseudo
43
+ .kr { font-weight: bold } // Keyword.Reserved
44
+ .kt { color: #458; font-weight: bold } // Keyword.Type
45
+ .m { color: #099 } // Literal.Number
46
+ .s { color: #d14 } // Literal.String
47
+ .na { color: #008080 } // Name.Attribute
48
+ .nb { color: #0086B3 } // Name.Builtin
49
+ .nc { color: #458; font-weight: bold } // Name.Class
50
+ .no { color: #008080 } // Name.Constant
51
+ .ni { color: #800080 } // Name.Entity
52
+ .ne { color: #900; font-weight: bold } // Name.Exception
53
+ .nf { color: #900; font-weight: bold } // Name.Function
54
+ .nn { color: #555 } // Name.Namespace
55
+ .nt { color: #000080 } // Name.Tag
56
+ .nv { color: #008080 } // Name.Variable
57
+ .ow { font-weight: bold } // Operator.Word
58
+ .w { color: #bbb } // Text.Whitespace
59
+ .mf { color: #099 } // Literal.Number.Float
60
+ .mh { color: #099 } // Literal.Number.Hex
61
+ .mi { color: #099 } // Literal.Number.Integer
62
+ .mo { color: #099 } // Literal.Number.Oct
63
+ .sb { color: #d14 } // Literal.String.Backtick
64
+ .sc { color: #d14 } // Literal.String.Char
65
+ .sd { color: #d14 } // Literal.String.Doc
66
+ .s2 { color: #d14 } // Literal.String.Double
67
+ .se { color: #d14 } // Literal.String.Escape
68
+ .sh { color: #d14 } // Literal.String.Heredoc
69
+ .si { color: #d14 } // Literal.String.Interpol
70
+ .sx { color: #d14 } // Literal.String.Other
71
+ .sr { color: #009926 } // Literal.String.Regex
72
+ .s1 { color: #d14 } // Literal.String.Single
73
+ .ss { color: #990073 } // Literal.String.Symbol
74
+ .bp { color: #999 } // Name.Builtin.Pseudo
75
+ .vc { color: #008080 } // Name.Variable.Class
76
+ .vg { color: #008080 } // Name.Variable.Global
77
+ .vi { color: #008080 } // Name.Variable.Instance
78
+ .il { color: #099 } // Literal.Number.Integer.Long
79
+ }
data/assets/app.scss ADDED
@@ -0,0 +1,84 @@
1
+ ---
2
+ ---
3
+
4
+ /*
5
+ * @Author: Dmytro Kalpakchi
6
+ * @Date: 2016-12-29 10:26:27
7
+ * @Last Modified by: Dmytro Kalpakchi
8
+ * @Last Modified time: 2017-01-01 23:00:16
9
+ */
10
+ @import "syntax";
11
+ @import "semantic-fixes";
12
+
13
+ html, body {
14
+ height: 100%;
15
+ }
16
+
17
+ .ui.grid {
18
+ height: 100%;
19
+ }
20
+
21
+ // manual correction of margin
22
+ #postHeader.ui.post.header {
23
+ margin-top: 0.33rem !important;
24
+ }
25
+
26
+ .ui.left.fixed.menu {
27
+ width: inherit;
28
+ }
29
+
30
+ .ui.padded.grid > .column > *:last-child {
31
+ margin-bottom: 1rem !important;
32
+ }
33
+
34
+ .en:lang(en), .uk:lang(uk) {
35
+ background-color: #8A73FF !important;
36
+ color: #FFF !important;
37
+ // font-weight: bold;
38
+ }
39
+
40
+ .ui.inverted.simple.buttons .button {
41
+ -webkit-box-shadow: none !important;
42
+ box-shadow: none !important;
43
+ }
44
+
45
+ @font-face {
46
+ font-family: IS;
47
+ src: url("/assets/fonts/Infinite_Stroke.otf");
48
+ }
49
+
50
+ .logo.segment {
51
+ color: white;
52
+ cursor: default;
53
+ font-family: IS;
54
+ font-size: 3rem !important;
55
+ padding: 1em 0 !important;
56
+ -webkit-user-select: none;
57
+ -moz-user-select: none;
58
+ -ms-user-select: none;
59
+ user-select: none;
60
+ }
61
+
62
+ .social {
63
+ bottom: 0;
64
+ color: white;
65
+ left: 0;
66
+ position: absolute;
67
+ }
68
+
69
+ .social .vertical.segment {
70
+ color: white;
71
+ padding: 1em;
72
+ }
73
+
74
+ .social a {
75
+ color: white;
76
+ }
77
+
78
+ .social a:hover {
79
+ text-decoration: underline;
80
+ }
81
+
82
+ // .ui.exp.menu .item {
83
+ // font-size: 1.1em;
84
+ // }
Binary file
data/assets/logo.png ADDED
Binary file
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aprico
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Dmytro Kalpakchi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-01-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.12'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.12'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description:
56
+ email:
57
+ - dkalpackchi@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/footer.html
65
+ - _includes/head.html
66
+ - _includes/menu.html
67
+ - _layouts/default.html
68
+ - _layouts/home.html
69
+ - _layouts/page.html
70
+ - _layouts/post.html
71
+ - _layouts/tbd.html
72
+ - _sass/_semantic-fixes.scss
73
+ - _sass/_syntax.scss
74
+ - assets/app.scss
75
+ - assets/fonts/Infinite_Stroke.otf
76
+ - assets/logo.png
77
+ homepage:
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubyforge_project:
97
+ rubygems_version: 2.5.1
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: A Jekyll theme for apricis.github.io
101
+ test_files: []