front-cover 0.0.7

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 73bea92c74ef76ae1e9fbbbedf0c0a6b9d637a96
4
+ data.tar.gz: 1a40c691dfc055a9496f6d442aa44d2881b3bfbb
5
+ SHA512:
6
+ metadata.gz: 1eaad403bd76ef1cd06796343a2a8407d2d28062ef30841fdd71d981375d6be2768c086698d0f6428c205c054c7c4b7492e645a4fdee28eb86d1a3efed8547bc
7
+ data.tar.gz: 333561359d18ed81ec7679d48a90742046c7cc888e6f2710a54b20c551aa5d9abe2222027eef3cd655427486dac15a0fd1aaa8f2f5abc47ad5343b1c070dc7ab
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 DashingCode
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.
@@ -0,0 +1,27 @@
1
+ # (Gem-based) front cover jekyll theme
2
+
3
+ [A working example](https://github.com/epidrome/www-remote) demonstrates that the new [jekyll remote theme](https://github.com/blog/2464-use-any-theme-with-github-pages) functionally efficiently separates content from presentation and enables you to keep in your repository only the custom assets, e.g., images, configuration.
4
+
5
+ In this way, you will receive future updates without pulling and resolving conflicts from the upstream. Moreover, it becomes easier to switch to other similar themes.
6
+
7
+ ## Installation
8
+
9
+ Add the following to your site's configuration file remote_theme: epidrome/front-cover
10
+
11
+ ## Contributions
12
+
13
+ Forking the current repository is only necessary if you want to submit a pull-request for a bug or an improvement.
14
+
15
+ ## Why choose this jekyll theme for your front page?
16
+ * You don't have to modify any HTML, everything can be modified in config.yml.
17
+ * Very lightweight. No Javascript, No Bootstrap etc..
18
+ * MIT licensed.
19
+
20
+ ## Credits
21
+ This gem-based theme is a modification of the original [https://dashingcode.github.io/front-cover/](front cover)
22
+
23
+ The background image that was used as an example comes from Tom Hall.
24
+ You can find it on [https://flic.kr/p/pqEPBb](Flickr).
25
+ It's licensed under Creative-Commons.
26
+
27
+ This theme makes use of the amazing [http://fontawesome.io/](Font Awesome) icons.
@@ -0,0 +1,12 @@
1
+ <meta charset="utf-8">
2
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
3
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
+ <meta name="description" content="{{ site.description }}">
6
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
7
+ {% if site.favicon_img %}
8
+ <link rel="shortcut icon" href="{{ site.favicon_img_path }}" />
9
+ {% endif %}
10
+ <link rel="stylesheet" href="{{ "assets/styles/main.css" | prepend: site.baseurl }}">
11
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin' rel='stylesheet' type='text/css'>
12
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
@@ -0,0 +1,12 @@
1
+ <div class="content">
2
+ {% if site.front_img %}
3
+ <img src="{{ site.front_img_path }}" id="fullscreen">
4
+ {% endif %}
5
+
6
+ {% if site.avatar %}
7
+ <img src="{{ site.avatar_img_path }}" id="avatar">
8
+ {% endif %}
9
+
10
+ <h1>{{ site.name }}</h1>
11
+ <h3>{{ site.description }}</h3>
12
+ </div>
@@ -0,0 +1,87 @@
1
+ <ul>
2
+ {% if site.github_username %}
3
+ <li><a class="fa fa-2x fa-github" href="https://github.com/{{ site.github_username }}"><span class="description">GitHub</span></a></li>
4
+ {% endif %}
5
+
6
+ {% if site.codepen_username %}
7
+ <li><a class="fa fa-2x fa-codepen" href="https://codepen.io/{{ site.codepen_username }}"><span class="description">CodePen</span></a></li>
8
+ {% endif %}
9
+
10
+ {% if site.facebook_username %}
11
+ <li><a class="fa fa-2x fa-facebook" href="https://facebook.com/{{ site.facebook_username }}"><span class="description">Facebook</span></a></li>
12
+ {% endif %}
13
+
14
+ {% if site.vk_username %}
15
+ <li><a class="fa fa-2x fa-vk" href="https://vk.com/{{ site.vk_username }}"><span class="description">ВКонтакте</span></a></li>
16
+ {% endif %}
17
+
18
+ {% if site.twitter_username %}
19
+ <li><a class="fa fa-2x fa-twitter" href="https://twitter.com/{{ site.twitter_username }}"><span class="description">Twitter</span></a></li>
20
+ {% endif %}
21
+
22
+ {% if site.google_plus_username %}
23
+ <li><a class="fa fa-2x fa-google-plus" href="https://plus.google.com/+{{ site.google_plus_username }}"><span class="description">Google +</span></a></li>
24
+ {% endif %}
25
+
26
+ {% if site.linkedin_username %}
27
+ <li><a class="fa fa-2x fa-linkedin" href="https://linkedin.com/in/{{ site.linkedin_username }}"><span class="description">LinkedIn</span></a></li>
28
+ {% endif %}
29
+
30
+ {% if site.instagram_username %}
31
+ <li><a class="fa fa-2x fa-instagram" href="https://instagram.com/{{ site.instagram_username }}"><span class="description">Instagram</span></a></li>
32
+ {% endif %}
33
+
34
+ {% if site.flickr_usernmae %}
35
+ <li><a class="fa fa-2x fa-flickr" href="https://flickr.com/photos/{{ site.flickr_username }}"><span class="description">Flickr</span></a></li>
36
+ {% endif %}
37
+
38
+ {% if site.steam_username %}
39
+ <li><a class="fa fa-2x fa-steam" href="http://steamcommunity.com/id/{{ site.steam_username }}"><span class="description">Steam</span></a></li>
40
+ {% endif %}
41
+
42
+ {% if site.soundcloud_username %}
43
+ <li><a class="fa fa-2x fa-soundcloud" href="https://soundcloud.com/{{ site.soundcloud_username }}"><span class="description">Soundcloud</span></a></li>
44
+ {% endif %}
45
+
46
+ {% if site.lastfm_username %}
47
+ <li><a class="fa fa-2x fa-lastfm" href="http://www.last.fm/user/{{ site.lastfm_username }}"><span class="description">Last.fm</span></a></li>
48
+ {% endif %}
49
+
50
+ {% if site.stack_of_username %}
51
+ <li><a class="fa fa-2x fa-stack-overflow" href="https://stackoverflow.com/users/{{ site.stack_of_username }}"><span class="description">Stack OF</span></a></li>
52
+ {% endif %}
53
+
54
+ {% if site.reddit_username %}
55
+ <li><a class="fa fa-2x fa-reddit" href="https://reddit.com/user/{{ site.reddit_username }}"><span class="description">Reddit</span></a></li>
56
+ {% endif %}
57
+
58
+ {% if site.medium_username %}
59
+ <li><a class="fa fa-2x fa-medium" href="https://medium.com/@{{ site.medium_username }}"><span class="description">Medium</span></a></li>
60
+ {% endif %}
61
+
62
+ {% if site.tumblr_username %}
63
+ <li><a class="fa fa-2x fa-tumblr" href="https://{{ site.tumblr_username }}.tumblr.com/"><span class="description">Tumblr</span></a></li>
64
+ {% endif %}
65
+
66
+ {% if site.weibo_username %}
67
+ <li><a class="fa fa-2x fa-weibo" href="https://weibo.com/{{ site.weibo_username }}"><span class="description">微博</span></a></li>
68
+ {% endif %}
69
+
70
+ {% if site.blog_url %}
71
+ <li><a class="fa fa-2x fa-tags" href="{{ site.baseurl }}{{ site.blog_url }}"><span class="description">Blog</span></a></li>
72
+ {% endif %}
73
+
74
+ {% if site.email %}
75
+ <li><a class="fa fa-2x fa-envelope" href="mailto:{{ site.email }}"><span class="description">Email</span></a></li>
76
+ {% endif %}
77
+
78
+ {% if site.keybase_username %}
79
+ <li><a class="fa fa-2x fa-key" href="https://keybase.io/{{ site.keybase_username }}"><span class="description">Keybase</span></a></li>
80
+ {% endif %}
81
+
82
+ {% if site.telegram_username %}
83
+ <li><a class="fa fa-2x fa-paper-plane" href="https://telegram.me/{{ site.telegram_username }}"><span class="description">Telegram</span></a></li>
84
+ {% endif %}
85
+
86
+ {% include too_social.html %}
87
+ </ul>
@@ -0,0 +1,9 @@
1
+ <!--
2
+
3
+ Is there a social network that is not included in the default theme? Then, copy-paste the following lines of code outside of this comment-block and fill-in the details with your preferred social network.
4
+
5
+ {% if site.social_network_name %}
6
+ <li><a class="fa fa-2x fa-social_network_icon" href="social_network_url"><span class="description">social_network_name</span></a></li>
7
+ {% endif %}
8
+
9
+ -->
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ {% include head.html %}
5
+ </head>
6
+ <body>
7
+ {% include header.html %}
8
+ {% include social.html %}
9
+ {{ content }}
10
+ </body>
11
+ </html>
@@ -0,0 +1,127 @@
1
+ body {
2
+ font-family: 'Open Sans',Helvetica,Arial,sans-serif;
3
+ background-color: rgba(0, 0, 0, 0);
4
+ position: absolute;
5
+ top: 0;
6
+ bottom: 0;
7
+ right: 0;
8
+ left: 0;
9
+ margin: 0;
10
+ }
11
+ #fullscreen {
12
+ z-index: -999;
13
+ min-height: 100%;
14
+ min-width: 100%;
15
+ width: auto;
16
+ height: auto;
17
+ position: fixed;
18
+ margin: auto;
19
+ top: 0;
20
+ left: 0;
21
+ opacity: 0.8
22
+ }
23
+ #avatar {
24
+ height: 180px;
25
+ border-radius: 100%;
26
+ border: 3px solid white;
27
+ margin-bottom: 40px;
28
+ }
29
+ h1 {
30
+ color: white;
31
+ font-weight: normal;
32
+ letter-spacing: 0.1em;
33
+ font-size: 4em;
34
+ font-family: 'Open Sans';
35
+ margin: -10px 0;
36
+ }
37
+ h3 {
38
+ color: white;
39
+ padding-bottom: 20px;
40
+ font-weight: normal;
41
+ }
42
+ .content {
43
+ padding-top: 100px;
44
+ padding-bottom: 40px;
45
+ background-color: rgba(0, 0, 0, 0);
46
+ text-align: center;
47
+ }
48
+ ul {
49
+ list-style: none;
50
+ padding: 0;
51
+ text-align: center;
52
+ }
53
+ li {
54
+ border-radius: 100%;
55
+ border: 2px transparent;
56
+ color: white;
57
+ margin: 8px;
58
+ display: inline-block;
59
+ list-style: none;
60
+ width: 65px;
61
+ height: 65px;
62
+ }
63
+ li:hover {
64
+ color: white;
65
+ text-decoration: none;
66
+ -webkit-transition: 500ms;
67
+ -moz-transition: 500ms;
68
+ transition: 500ms;
69
+ text-decoration: none;
70
+ background-color: rgba(0, 0, 0, 0.25);
71
+ }
72
+ a {
73
+ color: white;
74
+ padding: 15px;
75
+ text-decoration: none;
76
+ }
77
+ .description {
78
+ display: none;
79
+ }
80
+
81
+ @media (max-width: 450px) {
82
+ ul {
83
+ text-align: center;
84
+ }
85
+ li {
86
+ border-radius: 0%;
87
+ border: none;
88
+ color: white;
89
+ margin: 8px;
90
+ display: block;
91
+ list-style: none;
92
+ margin: 10px 0px;
93
+ text-align: center;
94
+ height: auto;
95
+ width: auto;
96
+ }
97
+ li:hover {
98
+ background-color: none;
99
+ transition: none;
100
+ }
101
+ a {
102
+ text-align: justify;
103
+ border: 2px solid white;
104
+ border-radius: 5px;
105
+ color: white;
106
+ padding: 15px;
107
+ padding-left: 30px;
108
+ width: 70%;
109
+ }
110
+ a:hover {
111
+ -webkit-transition: 500ms;
112
+ -moz-transition: 500ms;
113
+ transition: 500ms;
114
+ background-color: rgba(0, 0, 0, 0.5);
115
+ color: white;
116
+ text-decoration: none;
117
+ }
118
+ .description {
119
+ display: inline-block;
120
+ color: white;
121
+ font-family: Arial;
122
+ margin-left: 40px;
123
+ }
124
+ .content {
125
+ padding-top: 60px;
126
+ }
127
+ }
metadata ADDED
@@ -0,0 +1,94 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: front-cover
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
5
+ platform: ruby
6
+ authors:
7
+ - epidrome
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-20 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.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.7'
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
+ - github@epidro.me
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE
63
+ - README.md
64
+ - _includes/head.html
65
+ - _includes/header.html
66
+ - _includes/social.html
67
+ - _includes/too_social.html
68
+ - _layouts/default.html
69
+ - assets/styles/main.css
70
+ homepage: https://github.com/epidrome/front-cover
71
+ licenses:
72
+ - MIT
73
+ metadata: {}
74
+ post_install_message:
75
+ rdoc_options: []
76
+ require_paths:
77
+ - lib
78
+ required_ruby_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ requirements: []
89
+ rubyforge_project:
90
+ rubygems_version: 2.6.11
91
+ signing_key:
92
+ specification_version: 4
93
+ summary: gem version of front-cover theme by dashingcode
94
+ test_files: []