blackandpink 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2bc3a0a4487acd86bbff102c5cd84e3428fa415fb528dcd7633feb8c054a88f5
4
+ data.tar.gz: 9b6ffc000c49b192ebd508835fcd164a6275b7a04f4283573d0e6db5891d642f
5
+ SHA512:
6
+ metadata.gz: 8419d64e6a34606005d29eba053ccac6f76b328ffde3e6346c100502793952454fc8c2bf4f2d325b01c964ee62c697ff125a692386a1aabb65971f25234b2a93
7
+ data.tar.gz: 2902e7295ad6cdb965b4a2bfe0206d36f9f07cf57dc353a21447ac2af67aee7c01dafe60d490794184f303fd64f64e23c8f464cf1aa3b04e222f274e02141d5e
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020
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.
@@ -0,0 +1,33 @@
1
+ # blackandpink
2
+
3
+ This is a simple black and pink Jekyll theme for creating blogs.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's `Gemfile`:
8
+
9
+ ```ruby
10
+ gem "blackandpink"
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: blackandpink
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install blackandpink
26
+
27
+ ## Contributing
28
+
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jaiverma/blackandpink. 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.
30
+
31
+ ## License
32
+
33
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,19 @@
1
+ title: 'blackandpink'
2
+ description: "A minimal Jekyll theme"
3
+ baseurl: "/"
4
+
5
+ header_pages:
6
+ - index.md
7
+ - about.md
8
+
9
+ style: dark
10
+
11
+ footer: 'follow me on <a href="https://twitter.com/">twitter</a>'
12
+
13
+ markdown: kramdown
14
+ theme: blackandpink
15
+ highlighter: rouge
16
+
17
+ # google_analytics: xxx
18
+ # disqus:
19
+ # shortname: xxx
@@ -0,0 +1,16 @@
1
+ {% if jekyll.environment == "production" %}
2
+ <div id="disqus_thread"></div>
3
+ <script>
4
+ var disqus_config = function () {
5
+ this.page.url = '{{ page.url | absolute_url }}';
6
+ this.page.identifier = '{{ page.url | absolute_url }}';
7
+ };
8
+ (function() {
9
+ var d = document, s = d.createElement('script');
10
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
11
+ s.setAttribute('data-timestamp', +new Date());
12
+ (d.head || d.body).appendChild(s);
13
+ })();
14
+ </script>
15
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
16
+ {% endif %}
@@ -0,0 +1,3 @@
1
+ <footer>
2
+ {{ site.footer }}
3
+ </footer>
@@ -0,0 +1,8 @@
1
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
+ <script>
3
+ window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+ gtag('config', '{{ site.google_analytics }}');
8
+ </script>
@@ -0,0 +1,24 @@
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.0, maximum-scale=1.0, user-scalable=no" />
5
+ <title>{{ page.title }}</title>
6
+
7
+ {% if page.robots %}
8
+ <meta name="robots" content="{{page.robots}}" />
9
+ {% endif %}
10
+
11
+ {%- if site.listen_for_clients_preferred_style -%}
12
+ <link rel="stylesheet" type="text/css" href="{{ "/assets/main.css" | relative_url }}">
13
+ {%- else -%}
14
+ {%- if site.style == 'light' -%}
15
+ <link rel="stylesheet" type="text/css" href="{{ "/assets/main-light.css" | relative_url }}">
16
+ {%- else -%}
17
+ <link rel="stylesheet" type="text/css" href="{{ "/assets/main-dark.css" | relative_url }}">
18
+ {%- endif -%}
19
+ {%- endif -%}
20
+
21
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
22
+ {%- include google-analytics.html -%}
23
+ {%- endif -%}
24
+ </head>
@@ -0,0 +1,13 @@
1
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
2
+ <header>
3
+ <div class="menu">
4
+ <ul>
5
+ {%- for path in page_paths -%}
6
+ {%- assign my_page = site.pages | where: "path", path | first -%}
7
+ {%- if my_page.title -%}
8
+ <li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
9
+ {%- endif -%}
10
+ {%- endfor -%}
11
+ </ul>
12
+ </div>
13
+ </header>
@@ -0,0 +1 @@
1
+ <iframe width="560" height="315" src="https://www.youtube.com/embed/{{ include.id }}" frameborder="0" allowfullscreen></iframe>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body>
7
+ <div class="container">
8
+
9
+ {%- include header.html -%}
10
+
11
+ <main>
12
+ {{ content }}
13
+ </main>
14
+
15
+ {%- include footer.html -%}
16
+
17
+ </div>
18
+ </body>
19
+ </html>
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{content}}
6
+ {% assign contentwonl = content | strip_newlines %} {% unless contentwonl == "" %} <br /> {% endunless %} <!-- add line break if there is any content -->
7
+
8
+ {%- if site.posts.size > 0 -%}
9
+ <ul>
10
+ {%- for post in site.posts -%}
11
+ <li>
12
+ {%- assign date_format = "%Y-%m-%d" -%}
13
+ [ {{ post.date | date: date_format }} ] <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
14
+ </li>
15
+ {%- endfor -%}
16
+ </ul>
17
+ {%- endif -%}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+
6
+ {{ content }}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Dark theme variables
3
+ */
4
+
5
+ :root {
6
+ --base-color: #FF99AD;
7
+ --border: dashed 1px rgba(255, 128, 153, 0.9);
8
+ --selection-background: rgba(219, 219, 219, 0.99);
9
+ --selection-text: #000;
10
+ --background-color: #0E0A0F;
11
+ --text-color: var(--base-color);
12
+ --link-color: var(--base-color);
13
+ }
@@ -0,0 +1,74 @@
1
+ @charset "utf-8";
2
+ @import url('https://fonts.googleapis.com/css?family=Fira+Mono:400,700');
3
+
4
+ /**
5
+ * Style variables
6
+ */
7
+ $base-font-family: 'Fira Mono', monospace !default;
8
+ $base-font-size: 16px !default;
9
+ $mobile-font-size: 15px !default;
10
+ $base-line-height: 1.5 !default;
11
+ $container-width: 90% !default;
12
+ $container-max-width: 700px !default;
13
+
14
+ /**
15
+ * Global
16
+ */
17
+ body { background-color: var(--background-color); margin: 0 auto; padding: 0; font-family: $base-font-family; font-size: $base-font-size; color: var(--text-color); text-align: left; line-height: $base-line-height !important; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
18
+ h1, h2, h3, h4, h5, h6 { font-size: $base-font-size; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); margin-bottom: 22px; }
19
+ p, ul, ol { margin: 0px; color: var(--text-color); }
20
+ a { text-decoration: underline; color: var(--link-color); }
21
+ a:hover { color: var(--background-color); background-color: var(--base-color); }
22
+ @media only screen and (max-device-width: 500px) { * { font-size: $mobile-font-size !important; } }
23
+ h1:before { content: "#"; margin-right: 9px; }
24
+ h2:before { content: "##"; margin-right: 9px; }
25
+ h3:before { content: "###"; margin-right: 9px; }
26
+ h4:before { content: "####"; margin-right: 9px; }
27
+ h5:before { content: "#####"; margin-right: 9px; }
28
+ h6:before { content: "######"; margin-right: 9px; }
29
+
30
+ /**
31
+ * Layout
32
+ */
33
+ .container { width: $container-width; max-width: $container-max-width; margin-right: auto; margin-left: auto; }
34
+ p { word-wrap: break-word; word-break: break-word; white-space: pre-wrap; margin-bottom: 30px; margin-top: 30px; }
35
+ footer { color: var(--text-color); border-top: var(--border); margin: 20px auto 15px; padding-top: 10px; text-align: right; }
36
+ header { margin-top: 25px; margin-bottom: 10px; }
37
+ header p { text-align: left; margin: 0; }
38
+ footer { margin-bottom: 20px; }
39
+
40
+ /**
41
+ * Highlight/Markup
42
+ */
43
+ ::selection { background: var(--selection-background); color: var(--selection-text); }
44
+ ::-moz-selection { background: var(--selection-background); color: var(--selection-text); }
45
+
46
+ /**
47
+ * Lists
48
+ */
49
+ :not(.menu) > ul { list-style: none; padding-left: 20px; }
50
+ :not(.menu) > ul { list-style-type: none; }
51
+ :not(.menu) > ul > li:before { content: "-"; margin-right: 9px; }
52
+
53
+ /**
54
+ * Header/Navigation
55
+ */
56
+ .menu { border-top: var(--border); border-bottom: var(--border); margin-bottom: 25px; }
57
+ .menu ul { margin-top: 12px; margin-bottom: 12px; padding-left: 0px; list-style-type: none; text-align: right; }
58
+ .menu ul li { display: inline; margin-left: 10px; }
59
+ .menu ul li a { text-decoration: none; color: var(--text-color); }
60
+ .menu ul li a:hover { text-decoration: none; color: var(--background-color); background-color: var(--base-color); }
61
+
62
+ /**
63
+ * Code in single backticks
64
+ */
65
+ code { color: var(--background-color); background-color: var(--base-color); }
66
+
67
+ /*
68
+ * Images
69
+ */
70
+ img {
71
+ width: auto;
72
+ height: auto;
73
+ max-width: 600px;
74
+ }
@@ -0,0 +1,7 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "dark";
6
+ @import "base";
7
+ @import "zenburn.css";
@@ -0,0 +1,138 @@
1
+ .highlight code, .highlight pre {
2
+ color:#fdce93;
3
+ background-color:#3f3f3f;
4
+ overflow-x: scroll;
5
+ font-size: 14px;
6
+ }
7
+
8
+ .highlight .hll {
9
+ background-color:#222;
10
+ }
11
+
12
+ .highlight .err {
13
+ color:#e37170;
14
+ background-color:#3d3535;
15
+ }
16
+
17
+ .highlight .k {
18
+ color:#f0dfaf;
19
+ }
20
+
21
+ .highlight .p {
22
+ color:#41706f;
23
+ }
24
+
25
+ .highlight .cs {
26
+ color:#cd0000;
27
+ font-weight:700;
28
+ }
29
+
30
+ .highlight .gd {
31
+ color:#cd0000;
32
+ }
33
+
34
+ .highlight .ge {
35
+ color:#ccc;
36
+ font-style:italic;
37
+ }
38
+
39
+ .highlight .gr {
40
+ color:red;
41
+ }
42
+
43
+ .highlight .go {
44
+ color:gray;
45
+ }
46
+
47
+ .highlight .gs {
48
+ color:#ccc;
49
+ font-weight:700;
50
+ }
51
+
52
+ .highlight .gu {
53
+ color:purple;
54
+ font-weight:700;
55
+ }
56
+
57
+ .highlight .gt {
58
+ color:#0040D0;
59
+ }
60
+
61
+ .highlight .kc {
62
+ color:#dca3a3;
63
+ }
64
+
65
+ .highlight .kd {
66
+ color:#ffff86;
67
+ }
68
+
69
+ .highlight .kn {
70
+ color:#dfaf8f;
71
+ font-weight:700;
72
+ }
73
+
74
+ .highlight .kp {
75
+ color:#cdcf99;
76
+ }
77
+
78
+ .highlight .kr {
79
+ color:#cdcd00;
80
+ }
81
+
82
+ .highlight .ni {
83
+ color:#c28182;
84
+ }
85
+
86
+ .highlight .ne {
87
+ color:#c3bf9f;
88
+ font-weight:700;
89
+ }
90
+
91
+ .highlight .nn {
92
+ color:#8fbede;
93
+ }
94
+
95
+ .highlight .vi {
96
+ color:#ffffc7;
97
+ }
98
+
99
+ .highlight .c,.preview-zenburn .highlight .g,.preview-zenburn .highlight .cm,.preview-zenburn .highlight .cp,.preview-zenburn .highlight .c1 {
100
+ color:#7f9f7f;
101
+ }
102
+
103
+ .highlight .l,.preview-zenburn .highlight .x,.preview-zenburn .highlight .no,.preview-zenburn .highlight .nd,.preview-zenburn .highlight .nl,.preview-zenburn .highlight .nx,.preview-zenburn .highlight .py,.preview-zenburn .highlight .w {
104
+ color:#ccc;
105
+ }
106
+
107
+ .highlight .n,.preview-zenburn .highlight .nv,.preview-zenburn .highlight .vg {
108
+ color:#dcdccc;
109
+ }
110
+
111
+ .highlight .o,.preview-zenburn .highlight .ow {
112
+ color:#f0efd0;
113
+ }
114
+
115
+ .highlight .gh,.preview-zenburn .highlight .gp {
116
+ color:#dcdccc;
117
+ font-weight:700;
118
+ }
119
+
120
+ .highlight .gi,.preview-zenburn .highlight .kt {
121
+ color:#00cd00;
122
+ }
123
+
124
+ .highlight .ld,.preview-zenburn .highlight .s,.preview-zenburn .highlight .sb,.preview-zenburn .highlight .sc,.preview-zenburn .highlight .sd,.preview-zenburn .highlight .s2,.preview-zenburn .highlight .se,.preview-zenburn .highlight .sh,.preview-zenburn .highlight .si,.preview-zenburn .highlight .sx,.preview-zenburn .highlight .sr,.preview-zenburn .highlight .s1,.preview-zenburn .highlight .ss {
125
+ color:#cc9393;
126
+ }
127
+
128
+ .highlight .m,.preview-zenburn .highlight .mf,.preview-zenburn .highlight .mh,.preview-zenburn .highlight .mi,.preview-zenburn .highlight .mo,.preview-zenburn .highlight .il {
129
+ color:#8cd0d3;
130
+ }
131
+
132
+ .highlight .na,.preview-zenburn .highlight .nt {
133
+ color:#9ac39f;
134
+ }
135
+
136
+ .highlight .nb,.preview-zenburn .highlight .nc,.preview-zenburn .highlight .nf,.preview-zenburn .highlight .bp,.preview-zenburn .highlight .vc {
137
+ color:#efef8f;
138
+ }
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: blackandpink
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - ''
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-06-27 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: '4.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.1'
27
+ description:
28
+ email:
29
+ - ''
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _config.yml
37
+ - _includes/disqus-comments.html
38
+ - _includes/footer.html
39
+ - _includes/google-analytics.html
40
+ - _includes/head.html
41
+ - _includes/header.html
42
+ - _includes/youtubePlayer.html
43
+ - _layouts/default.html
44
+ - _layouts/home.html
45
+ - _layouts/page.html
46
+ - _layouts/post.html
47
+ - _sass/_dark.scss
48
+ - _sass/base.scss
49
+ - assets/main-dark.scss
50
+ - assets/zenburn.css
51
+ homepage: https://github.com/jaiverma/blackandpink
52
+ licenses:
53
+ - MIT
54
+ metadata: {}
55
+ post_install_message:
56
+ rdoc_options: []
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ requirements: []
70
+ rubygems_version: 3.1.4
71
+ signing_key:
72
+ specification_version: 4
73
+ summary: Minimal black and pink blog theme
74
+ test_files: []