quickstand 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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/analytics.html +6 -0
- data/_includes/disqus_comments.html +11 -0
- data/_includes/footer.html +12 -0
- data/_includes/head.html +16 -0
- data/_includes/navigation.html +16 -0
- data/_layouts/default.html +16 -0
- data/_layouts/home.html +35 -0
- data/_layouts/page.html +11 -0
- data/_layouts/post.html +48 -0
- data/_sass/.DS_Store +0 -0
- data/_sass/quickstand/_base.scss +66 -0
- data/_sass/quickstand/_catalogue.scss +39 -0
- data/_sass/quickstand/_code.scss +46 -0
- data/_sass/quickstand/_layout.scss +92 -0
- data/_sass/quickstand/_pagination.scss +44 -0
- data/_sass/quickstand/_post.scss +97 -0
- data/_sass/quickstand/_syntax.scss +65 -0
- data/_sass/quickstand/_variables.scss +62 -0
- data/_sass/quickstand.scss +8 -0
- data/assets/.DS_Store +0 -0
- data/assets/js/disqusLoader.js +10 -0
- data/assets/main.scss +5 -0
- metadata +109 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6f7996d79ae0c7c4bc7d0432c2ee5727ba41d81350521cdaed1418df1c8b4bd6
|
4
|
+
data.tar.gz: 13026083256665b493314a632d217904ac56533153602010a118ee2dde6de202
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: '0868b46874f316c215261a99e5fec0a79272869304d2d5b977dc0e0e51fb7872cd8fee4bf8c44f23041116a01ea565a6cffd77f5553ea12ba50f539f338082c9'
|
7
|
+
data.tar.gz: 8a5724862b66a494a474619038b2b1f43a87091d90d56acfe6d627ce136268995b6ca953a31f4631bb7caf2bf945a856d8b7e1920a0bc7e74c1acf82436c1f49
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Prashant Khanduri
|
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,52 @@
|
|
1
|
+
# quickstand
|
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`, your sass files in `_sass` and any other assets in `assets`.
|
4
|
+
|
5
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
+
|
7
|
+
TODO: Delete this and the text above, and describe your gem
|
8
|
+
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your Jekyll site's `Gemfile`:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem "quickstand"
|
16
|
+
```
|
17
|
+
|
18
|
+
And add this line to your Jekyll site's `_config.yml`:
|
19
|
+
|
20
|
+
```yaml
|
21
|
+
theme: quickstand
|
22
|
+
```
|
23
|
+
|
24
|
+
And then execute:
|
25
|
+
|
26
|
+
$ bundle
|
27
|
+
|
28
|
+
Or install it yourself as:
|
29
|
+
|
30
|
+
$ gem install quickstand
|
31
|
+
|
32
|
+
## Usage
|
33
|
+
|
34
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
35
|
+
|
36
|
+
## Contributing
|
37
|
+
|
38
|
+
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.
|
39
|
+
|
40
|
+
## Development
|
41
|
+
|
42
|
+
To set up your environment to develop this theme, run `bundle install`.
|
43
|
+
|
44
|
+
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.
|
45
|
+
|
46
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
|
+
To add a custom directory to your theme-gem, please edit the regexp in `quickstand.gemspec` accordingly.
|
48
|
+
|
49
|
+
## License
|
50
|
+
|
51
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
52
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Start disqus -->
|
2
|
+
<script src="{{ "/assets/js/disqusLoader.js" | relative_url }}" /></script>
|
3
|
+
<div id="disqus_thread"><h3>Discussion and feedback</h3></div>
|
4
|
+
<div class="disqus"></div>
|
5
|
+
<script>
|
6
|
+
disqusLoader('.disqus', {
|
7
|
+
scriptUrl: 'https://{{ site.disqus }}.disqus.com/embed.js'
|
8
|
+
});
|
9
|
+
</script>
|
10
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
11
|
+
<!-- End disqus -->
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<footer>
|
2
|
+
<span>
|
3
|
+
© <time datetime="{{ site.time }}">{{ site.time | date: '%Y' }}</time>
|
4
|
+
<a href="{{ site.company.url}}" class="">{{ site.company.name }}</a>.
|
5
|
+
</span>
|
6
|
+
|
7
|
+
<!-- Google Analytics-->
|
8
|
+
{% if site.google_analytics and jekyll.environment == 'production' %}
|
9
|
+
{% include analytics.html %}
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
+
|
5
|
+
{% seo %}
|
6
|
+
|
7
|
+
<!-- CSS -->
|
8
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
9
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700">
|
10
|
+
|
11
|
+
<!-- Favicon -->
|
12
|
+
<link rel="icon" href="{{ " site.company.path.favicon | relative_url }}">
|
13
|
+
|
14
|
+
<!-- RSS -->
|
15
|
+
{% feed_meta %}
|
16
|
+
</head>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<nav class="nav">
|
2
|
+
<div class="nav-container">
|
3
|
+
<a href="{{ site.baseurl }}/">
|
4
|
+
|
5
|
+
<h2 class="nav-title">
|
6
|
+
<img src="{{ site.company.path.logo | relative_url }}" alt="" class="" style="height: 20px; display: inline; margin: 0;" />
|
7
|
+
<span class="">{{ site.title }}</span>
|
8
|
+
</h2>
|
9
|
+
</a>
|
10
|
+
<ul>
|
11
|
+
<!-- <li><a href="{{ '/about' | prepend: site.baseurl }}">About</a></li> -->
|
12
|
+
<li><a href="{{ site.company.url }}">www</a></li>
|
13
|
+
<li><a href="{{ site.baseurl }}/">posts</a></li>
|
14
|
+
</ul>
|
15
|
+
</div>
|
16
|
+
</nav>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="catalogue">
|
6
|
+
{% for post in paginator.posts %}
|
7
|
+
<a href="{{ post.url | prepend: site.baseurl }}" class="catalogue-item">
|
8
|
+
<div>
|
9
|
+
<time datetime="{{ post.date }}" class="catalogue-time">{{ post.date | date: "%B %d, %Y" }}</time>
|
10
|
+
<h1 class="catalogue-title">{{ post.title }}</h1>
|
11
|
+
<div class="catalogue-line"></div>
|
12
|
+
|
13
|
+
<p>
|
14
|
+
{{ post.content | strip_html | truncatewords: 30 }}
|
15
|
+
</p>
|
16
|
+
|
17
|
+
{% for tag in post.tags %}
|
18
|
+
<span class="tag bg-{{tag.bg}}">{{ tag.text }}</span>
|
19
|
+
{% endfor %}
|
20
|
+
|
21
|
+
</div>
|
22
|
+
</a>
|
23
|
+
{% endfor %}
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<div class="pagination">
|
27
|
+
{% if paginator.previous_page %}
|
28
|
+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left arrow">←</a>
|
29
|
+
{% endif %}
|
30
|
+
{% if paginator.next_page %}
|
31
|
+
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right arrow">→</a>
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
<span>{{ paginator.page }}</span>
|
35
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="post">
|
6
|
+
<div class="post-info">
|
7
|
+
<span>Written by</span>
|
8
|
+
{% if page.author %}
|
9
|
+
{{ page.author }}
|
10
|
+
{% else %}
|
11
|
+
{{ site.author.name }}
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
{% if page.date %}
|
15
|
+
<br>
|
16
|
+
<span>on </span><time datetime="{{ page.date }}">{{ page.date | date: "%B %d, %Y" }}</time>
|
17
|
+
{% endif %}
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
21
|
+
<div class="post-line"></div>
|
22
|
+
|
23
|
+
{{ content }}
|
24
|
+
|
25
|
+
<div class="" style="padding: 10px"></div>
|
26
|
+
|
27
|
+
{% for tag in page.tags %}
|
28
|
+
<span class="tag bg-{{tag.bg}}">{{ tag.text }}</span>
|
29
|
+
{% endfor %}
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
</div>
|
34
|
+
|
35
|
+
{% if page.comments %}
|
36
|
+
{% include disqus_comments.html %}
|
37
|
+
{% endif %}
|
38
|
+
|
39
|
+
<div class="pagination">
|
40
|
+
{% if page.next.url %}
|
41
|
+
<a href="{{ page.next.url | prepend: site.baseurl }}" class="left arrow">←</a>
|
42
|
+
{% endif %}
|
43
|
+
{% if page.previous.url %}
|
44
|
+
<a href="{{ page.previous.url | prepend: site.baseurl }}" class="right arrow">→</a>
|
45
|
+
{% endif %}
|
46
|
+
|
47
|
+
<a href="#" class="top">Top</a>
|
48
|
+
</div>
|
data/_sass/.DS_Store
ADDED
Binary file
|
@@ -0,0 +1,66 @@
|
|
1
|
+
* {
|
2
|
+
@include box-sizing;
|
3
|
+
line-height: 1.5;
|
4
|
+
}
|
5
|
+
|
6
|
+
html,
|
7
|
+
body {
|
8
|
+
color: $default-color;
|
9
|
+
margin: 0;
|
10
|
+
padding: 0;
|
11
|
+
}
|
12
|
+
|
13
|
+
html {
|
14
|
+
font-family: $serif-primary;
|
15
|
+
font-size: 14px;
|
16
|
+
overflow-y: scroll;
|
17
|
+
|
18
|
+
@media (min-width: 600px) {
|
19
|
+
font-size: 16px;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
body {
|
24
|
+
-webkit-text-size-adjust: 100%;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1,
|
28
|
+
h2,
|
29
|
+
h3,
|
30
|
+
h4,
|
31
|
+
h5,
|
32
|
+
h6 {
|
33
|
+
color: $default-shade;
|
34
|
+
font-family: $sans-serif;
|
35
|
+
line-height: normal;
|
36
|
+
}
|
37
|
+
|
38
|
+
a {
|
39
|
+
color: $blue;
|
40
|
+
text-decoration: none;
|
41
|
+
}
|
42
|
+
|
43
|
+
blockquote {
|
44
|
+
border-left: .25rem solid $grey-2;
|
45
|
+
color: $grey-1;
|
46
|
+
margin: .8rem 0;
|
47
|
+
padding: .5rem 1rem;
|
48
|
+
|
49
|
+
p:last-child {
|
50
|
+
margin-bottom: 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
@media (min-width: 600px) {
|
54
|
+
padding: 0 5rem 0 1.25rem;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
img {
|
59
|
+
display: block;
|
60
|
+
margin: 0 0 1rem;
|
61
|
+
max-width: 100%;
|
62
|
+
}
|
63
|
+
|
64
|
+
td {
|
65
|
+
vertical-align: top;
|
66
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.catalogue {
|
2
|
+
&-item {
|
3
|
+
border-bottom: 1px solid $grey-2;
|
4
|
+
color: $default-color;
|
5
|
+
display: block;
|
6
|
+
padding: 2rem 0;
|
7
|
+
|
8
|
+
&:hover .catalogue-line,
|
9
|
+
&:focus .catalogue-line {
|
10
|
+
width: 5rem;
|
11
|
+
}
|
12
|
+
|
13
|
+
&:last-child {
|
14
|
+
border: 0;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
&-time {
|
19
|
+
color: $default-tint;
|
20
|
+
font-family: $serif-secondary;
|
21
|
+
letter-spacing: .5px;
|
22
|
+
}
|
23
|
+
|
24
|
+
&-title {
|
25
|
+
color: $default-shade;
|
26
|
+
display: block;
|
27
|
+
font-family: $sans-serif;
|
28
|
+
font-size: 2rem;
|
29
|
+
font-weight: 700;
|
30
|
+
margin: .5rem 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
&-line {
|
34
|
+
@include transition(all .3s ease-out);
|
35
|
+
border-top: .2rem solid $default-shade;
|
36
|
+
display: block;
|
37
|
+
width: 2rem;
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
pre,
|
2
|
+
code {
|
3
|
+
font-family: $monospaced;
|
4
|
+
}
|
5
|
+
|
6
|
+
code {
|
7
|
+
background-color: $grey-3;
|
8
|
+
border-radius: 3px;
|
9
|
+
color: $code-color;
|
10
|
+
font-size: 85%;
|
11
|
+
padding: .25em .5em;
|
12
|
+
}
|
13
|
+
|
14
|
+
pre {
|
15
|
+
margin: 0 0 1rem;
|
16
|
+
}
|
17
|
+
|
18
|
+
pre code {
|
19
|
+
background-color: transparent;
|
20
|
+
color: inherit;
|
21
|
+
font-size: 100%;
|
22
|
+
padding: 0;
|
23
|
+
}
|
24
|
+
|
25
|
+
.highlight {
|
26
|
+
background-color: $grey-3;
|
27
|
+
border-radius: 3px;
|
28
|
+
line-height: 1.4;
|
29
|
+
margin: 0 0 1rem;
|
30
|
+
padding: 1rem;
|
31
|
+
|
32
|
+
pre {
|
33
|
+
margin-bottom: 0;
|
34
|
+
overflow-x: auto;
|
35
|
+
}
|
36
|
+
|
37
|
+
.lineno {
|
38
|
+
color: $default-tint;
|
39
|
+
display: inline-block; // Ensures the null space also isn't selectable
|
40
|
+
padding: 0 .75rem 0 .25rem;
|
41
|
+
// Make sure numbers aren't selectable
|
42
|
+
-webkit-user-select: none;
|
43
|
+
-moz-user-select: none;
|
44
|
+
user-select: none;
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
.container {
|
2
|
+
margin: 0 auto;
|
3
|
+
max-width: 800px;
|
4
|
+
width: 80%;
|
5
|
+
}
|
6
|
+
|
7
|
+
main,
|
8
|
+
footer,
|
9
|
+
.nav-container {
|
10
|
+
display: block;
|
11
|
+
margin: 0 auto;
|
12
|
+
max-width: 800px;
|
13
|
+
width: 80%;
|
14
|
+
}
|
15
|
+
|
16
|
+
.nav {
|
17
|
+
box-shadow: 0 2px 2px -2px $shadow-color;
|
18
|
+
overflow: auto;
|
19
|
+
|
20
|
+
&-container {
|
21
|
+
margin: 1rem auto;
|
22
|
+
position: relative;
|
23
|
+
text-align: center;
|
24
|
+
}
|
25
|
+
|
26
|
+
&-title {
|
27
|
+
@include transition(all .2s ease-out);
|
28
|
+
color: $default-color;
|
29
|
+
display: inline-block;
|
30
|
+
margin: 0;
|
31
|
+
padding-right: .2rem;
|
32
|
+
|
33
|
+
&:hover,
|
34
|
+
&:focus {
|
35
|
+
opacity: .6;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
ul {
|
40
|
+
list-style-type: none;
|
41
|
+
margin: 1rem 0 0;
|
42
|
+
padding: 0;
|
43
|
+
text-align: center;
|
44
|
+
}
|
45
|
+
|
46
|
+
li {
|
47
|
+
@include transition(all .2s ease-out);
|
48
|
+
color: $default-color;
|
49
|
+
display: inline-block;
|
50
|
+
opacity: .6;
|
51
|
+
padding: 0 2rem 0 0;
|
52
|
+
|
53
|
+
&:last-child {
|
54
|
+
padding-right: 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
&:hover,
|
58
|
+
&:focus {
|
59
|
+
opacity: 1;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
a {
|
64
|
+
color: $default-color;
|
65
|
+
font-family: $sans-serif;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
@media (min-width: 600px) {
|
70
|
+
.nav {
|
71
|
+
&-container {
|
72
|
+
text-align: left;
|
73
|
+
}
|
74
|
+
|
75
|
+
ul {
|
76
|
+
bottom: 0;
|
77
|
+
position: absolute;
|
78
|
+
right: 0;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
footer {
|
84
|
+
font-family: $serif-secondary;
|
85
|
+
padding: 2rem 0;
|
86
|
+
text-align: center;
|
87
|
+
|
88
|
+
span {
|
89
|
+
color: $default-color;
|
90
|
+
font-size: .8rem;
|
91
|
+
}
|
92
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
.pagination {
|
2
|
+
border-top: .5px solid $grey-2;
|
3
|
+
font-family: $serif-secondary;
|
4
|
+
padding-top: 2rem;
|
5
|
+
position: relative;
|
6
|
+
text-align: center;
|
7
|
+
|
8
|
+
span {
|
9
|
+
color: $default-shade;
|
10
|
+
font-size: 1.1rem;
|
11
|
+
}
|
12
|
+
|
13
|
+
.top {
|
14
|
+
@include transition(all .3s ease-out);
|
15
|
+
color: $default-color;
|
16
|
+
font-family: $sans-serif;
|
17
|
+
font-size: 1.1rem;
|
18
|
+
opacity: .6;
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
opacity: 1;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.arrow {
|
26
|
+
@include transition(all .3s ease-out);
|
27
|
+
color: $default-color;
|
28
|
+
position: absolute;
|
29
|
+
|
30
|
+
&:hover,
|
31
|
+
&:focus {
|
32
|
+
opacity: .3;
|
33
|
+
text-decoration: none;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.left {
|
38
|
+
left: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
.right {
|
42
|
+
right: 0;
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
.tag {
|
2
|
+
padding: 0px 4px 0px 4px;
|
3
|
+
margin: 0px 4px 0px 4px;
|
4
|
+
border-radius: 4px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.bg {
|
8
|
+
&-primary {color: white; background-color: $primary;}
|
9
|
+
&-secondary {color: white; background-color: $secondary;}
|
10
|
+
&-tertiary {color: white; background-color: $tertiary;}
|
11
|
+
&-quaternary {color: white; background-color: $quaternary;}
|
12
|
+
&-quinary {color: white; background-color: $quinary;}
|
13
|
+
}
|
14
|
+
|
15
|
+
|
16
|
+
.page {
|
17
|
+
padding: 3rem 0;
|
18
|
+
|
19
|
+
&-title {
|
20
|
+
color: $default-shade;
|
21
|
+
font-family: $sans-serif;
|
22
|
+
font-size: 4rem;
|
23
|
+
margin: 1rem 0;
|
24
|
+
text-align: center;
|
25
|
+
}
|
26
|
+
|
27
|
+
&-line {
|
28
|
+
border-top: 0.4rem solid $default-shade;
|
29
|
+
display: block;
|
30
|
+
margin: 0 auto 3rem;
|
31
|
+
width: 4rem;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.post {
|
36
|
+
padding: 3rem 0;
|
37
|
+
|
38
|
+
&-info {
|
39
|
+
color: $default-tint;
|
40
|
+
font-family: $serif-secondary;
|
41
|
+
letter-spacing: 0.5px;
|
42
|
+
text-align: center;
|
43
|
+
|
44
|
+
span {
|
45
|
+
font-style: italic;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
&-title {
|
50
|
+
color: $default-shade;
|
51
|
+
font-family: $sans-serif;
|
52
|
+
font-size: 4rem;
|
53
|
+
margin: 1rem 0;
|
54
|
+
text-align: center;
|
55
|
+
}
|
56
|
+
|
57
|
+
&-line {
|
58
|
+
border-top: 0.4rem solid $default-shade;
|
59
|
+
display: block;
|
60
|
+
margin: 0 auto 3rem;
|
61
|
+
width: 4rem;
|
62
|
+
}
|
63
|
+
|
64
|
+
p {
|
65
|
+
margin: 0 0 1rem;
|
66
|
+
text-align: justify;
|
67
|
+
}
|
68
|
+
|
69
|
+
a:hover {
|
70
|
+
text-decoration: underline;
|
71
|
+
}
|
72
|
+
|
73
|
+
img {
|
74
|
+
margin: 0 auto 0.5rem;
|
75
|
+
}
|
76
|
+
|
77
|
+
img + em {
|
78
|
+
color: $default-tint;
|
79
|
+
display: block;
|
80
|
+
font-family: $sans-serif;
|
81
|
+
font-size: 0.9rem;
|
82
|
+
font-style: normal;
|
83
|
+
text-align: center;
|
84
|
+
}
|
85
|
+
|
86
|
+
// CSS for making emoji inline
|
87
|
+
img.emoji {
|
88
|
+
display: inline-block;
|
89
|
+
left: 0;
|
90
|
+
transform: none;
|
91
|
+
width: 1rem;
|
92
|
+
height: 1rem;
|
93
|
+
vertical-align: text-top;
|
94
|
+
padding: 0;
|
95
|
+
margin: 0;
|
96
|
+
}
|
97
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
.highlight .hll { background-color: #ffc; }
|
2
|
+
.highlight .c { color: #999; } /* Comment */
|
3
|
+
.highlight .err { color: #a00; background-color: #faa } /* Error */
|
4
|
+
.highlight .k { color: #069; } /* Keyword */
|
5
|
+
.highlight .o { color: #555 } /* Operator */
|
6
|
+
.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #099 } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #999; } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #999; } /* Comment.Special */
|
10
|
+
.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
|
11
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
12
|
+
.highlight .gr { color: #f00 } /* Generic.Error */
|
13
|
+
.highlight .gh { color: #030; } /* Generic.Heading */
|
14
|
+
.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
|
15
|
+
.highlight .go { color: #aaa } /* Generic.Output */
|
16
|
+
.highlight .gp { color: #009; } /* Generic.Prompt */
|
17
|
+
.highlight .gs { } /* Generic.Strong */
|
18
|
+
.highlight .gu { color: #030; } /* Generic.Subheading */
|
19
|
+
.highlight .gt { color: #9c6 } /* Generic.Traceback */
|
20
|
+
.highlight .kc { color: #069; } /* Keyword.Constant */
|
21
|
+
.highlight .kd { color: #069; } /* Keyword.Declaration */
|
22
|
+
.highlight .kn { color: #069; } /* Keyword.Namespace */
|
23
|
+
.highlight .kp { color: #069 } /* Keyword.Pseudo */
|
24
|
+
.highlight .kr { color: #069; } /* Keyword.Reserved */
|
25
|
+
.highlight .kt { color: #078; } /* Keyword.Type */
|
26
|
+
.highlight .m { color: #f60 } /* Literal.Number */
|
27
|
+
.highlight .s { color: #d44950 } /* Literal.String */
|
28
|
+
.highlight .na { color: #4f9fcf } /* Name.Attribute */
|
29
|
+
.highlight .nb { color: #366 } /* Name.Builtin */
|
30
|
+
.highlight .nc { color: #0a8; } /* Name.Class */
|
31
|
+
.highlight .no { color: #360 } /* Name.Constant */
|
32
|
+
.highlight .nd { color: #99f } /* Name.Decorator */
|
33
|
+
.highlight .ni { color: #999; } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #c00; } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #c0f } /* Name.Function */
|
36
|
+
.highlight .nl { color: #99f } /* Name.Label */
|
37
|
+
.highlight .nn { color: #0cf; } /* Name.Namespace */
|
38
|
+
.highlight .nt { color: #2f6f9f; } /* Name.Tag */
|
39
|
+
.highlight .nv { color: #033 } /* Name.Variable */
|
40
|
+
.highlight .ow { color: #000; } /* Operator.Word */
|
41
|
+
.highlight .w { color: #bbb } /* Text.Whitespace */
|
42
|
+
.highlight .mf { color: #f60 } /* Literal.Number.Float */
|
43
|
+
.highlight .mh { color: #f60 } /* Literal.Number.Hex */
|
44
|
+
.highlight .mi { color: #f60 } /* Literal.Number.Integer */
|
45
|
+
.highlight .mo { color: #f60 } /* Literal.Number.Oct */
|
46
|
+
.highlight .sb { color: #c30 } /* Literal.String.Backtick */
|
47
|
+
.highlight .sc { color: #c30 } /* Literal.String.Char */
|
48
|
+
.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */
|
49
|
+
.highlight .s2 { color: #c30 } /* Literal.String.Double */
|
50
|
+
.highlight .se { color: #c30; } /* Literal.String.Escape */
|
51
|
+
.highlight .sh { color: #c30 } /* Literal.String.Heredoc */
|
52
|
+
.highlight .si { color: #a00 } /* Literal.String.Interpol */
|
53
|
+
.highlight .sx { color: #c30 } /* Literal.String.Other */
|
54
|
+
.highlight .sr { color: #3aa } /* Literal.String.Regex */
|
55
|
+
.highlight .s1 { color: #c30 } /* Literal.String.Single */
|
56
|
+
.highlight .ss { color: #fc3 } /* Literal.String.Symbol */
|
57
|
+
.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */
|
58
|
+
.highlight .vc { color: #033 } /* Name.Variable.Class */
|
59
|
+
.highlight .vg { color: #033 } /* Name.Variable.Global */
|
60
|
+
.highlight .vi { color: #033 } /* Name.Variable.Instance */
|
61
|
+
.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */
|
62
|
+
|
63
|
+
.css .o,
|
64
|
+
.css .o + .nt,
|
65
|
+
.css .nt + .nt { color: #999; }
|
@@ -0,0 +1,62 @@
|
|
1
|
+
// Colors
|
2
|
+
$default-color: rgb(52, 74, 83);
|
3
|
+
$default-shade: #353535;
|
4
|
+
$default-tint: #aaa;
|
5
|
+
$grey-1: #979797;
|
6
|
+
$grey-2: #e5e5e5;
|
7
|
+
$grey-3: #f9f9f9;
|
8
|
+
$white: #fff;
|
9
|
+
$blue: #4a9ae1;
|
10
|
+
$shadow-color: rgba(0, 0, 0, .2);
|
11
|
+
$code-color: #bf616a;
|
12
|
+
|
13
|
+
$primary: #FF5765;
|
14
|
+
$secondary: #4686f4;
|
15
|
+
$tertiary: #FFDB15; //DC3522; // #FF9B71;
|
16
|
+
$quaternary:#A8E10C; // #fd5e60;
|
17
|
+
$quinary: #FF9B71;
|
18
|
+
|
19
|
+
$lightheap: #FF5765;
|
20
|
+
$divshow: #FF5765;
|
21
|
+
$navigator: #FF5765;
|
22
|
+
$brandcode: #FF5765;
|
23
|
+
|
24
|
+
// Fonts
|
25
|
+
// $serif-primary: 'Libre Baskerville', 'Times New Roman', Times, serif;
|
26
|
+
// $serif-secondary: Palatino, 'Palatino LT STD', 'Palatino Linotype', 'Book Antiqua', 'Georgia', serif;
|
27
|
+
// $sans-serif: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif;
|
28
|
+
// $monospaced: Menlo, Monaco, monospace;
|
29
|
+
|
30
|
+
$web-font-path: "https://fonts.googleapis.com/css?family=Roboto|Quicksand:300,500" !default;
|
31
|
+
@import url($web-font-path);
|
32
|
+
|
33
|
+
// Fonts =======================================================================
|
34
|
+
body {
|
35
|
+
font-family: 'Quicksand', sans-serif;
|
36
|
+
font-weight: 300;
|
37
|
+
}
|
38
|
+
|
39
|
+
h1, h2, h3, h4, h5, h6 {
|
40
|
+
font-weight: 500;
|
41
|
+
}
|
42
|
+
|
43
|
+
a {font-family: Roboto, Lato, 'sans-serif';}
|
44
|
+
.family-code {font-family: "Courier New"; font-weight: 100;}
|
45
|
+
|
46
|
+
$serif-primary: 'Quicksand', sans-serif;
|
47
|
+
$serif-secondary: 'Quicksand', sans-serif;
|
48
|
+
$sans-serif: 'Quicksand', sans-serif;
|
49
|
+
$monospaced: Menlo, Monaco, monospace;
|
50
|
+
|
51
|
+
|
52
|
+
@mixin box-sizing($type: border-box) {
|
53
|
+
-webkit-box-sizing: $type;
|
54
|
+
-moz-box-sizing: $type;
|
55
|
+
box-sizing: $type;
|
56
|
+
}
|
57
|
+
|
58
|
+
@mixin transition($args...) {
|
59
|
+
-webkit-transition: $args;
|
60
|
+
-moz-transition: $args;
|
61
|
+
transition: $args;
|
62
|
+
}
|
data/assets/.DS_Store
ADDED
Binary file
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/*
|
2
|
+
disqusLoader.js v1.0
|
3
|
+
A JavaScript plugin for lazy-loading Disqus comments widget.
|
4
|
+
-
|
5
|
+
By Osvaldas Valutis, www.osvaldas.info
|
6
|
+
Available for use under the MIT License
|
7
|
+
*/
|
8
|
+
(function(b,f,l){var r=function(a){a=a.getBoundingClientRect();return{top:a.top+f.body.scrollTop,left:a.left+f.body.scrollLeft}},t=function(a,c){var d=f.createElement("script");d.src=a;d.async=!0;d.setAttribute("data-timestamp",+new Date);d.addEventListener("load",function(){"function"===typeof c&&c()});(f.head||f.body).appendChild(d)};l=function(a,c){var d,e;return function(){var g=this,f=arguments,b=+new Date;d&&b<d+a?(clearTimeout(e),e=setTimeout(function(){d=b;c.apply(g,f)},a)):(d=b,c.apply(g,
|
9
|
+
f))}};var m=!1,n=!1,p=!1,k=!1,h="unloaded",e=!1,q=function(){if(!e||!f.body.contains(e)||"loaded"==e.disqusLoaderStatus)return!0;var a=b.pageYOffset,c=r(e).top;if(c-a>b.innerHeight*n||0<a-c-e.offsetHeight-b.innerHeight*n)return!0;(a=f.getElementById("disqus_thread"))&&a.removeAttribute("id");e.setAttribute("id","disqus_thread");e.disqusLoaderStatus="loaded";"loaded"==h?DISQUS.reset({reload:!0,config:p}):(b.disqus_config=p,"unloaded"==h&&(h="loading",t(k,function(){h="loaded"})))};b.addEventListener("scroll",
|
10
|
+
l(m,q));b.addEventListener("resize",l(m,q));b.disqusLoader=function(a,c){var d={laziness:1,throttle:250,scriptUrl:!1,disqusConfig:!1},b=c,g,h={};for(g in d)Object.prototype.hasOwnProperty.call(d,g)&&(h[g]=d[g]);for(g in b)Object.prototype.hasOwnProperty.call(b,g)&&(h[g]=b[g]);c=h;n=c.laziness+1;m=c.throttle;p=c.disqusConfig;k=!1===k?c.scriptUrl:k;e="string"===typeof a?f.querySelector(a):"number"===typeof a.length?a[0]:a;e.disqusLoaderStatus="unloaded";q()}})(window,document,0);
|
data/assets/main.scss
ADDED
metadata
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: quickstand
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Prashant Khanduri
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-04-13 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.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
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.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- prashant.khanduri@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/analytics.html
|
65
|
+
- _includes/disqus_comments.html
|
66
|
+
- _includes/footer.html
|
67
|
+
- _includes/head.html
|
68
|
+
- _includes/navigation.html
|
69
|
+
- _layouts/default.html
|
70
|
+
- _layouts/home.html
|
71
|
+
- _layouts/page.html
|
72
|
+
- _layouts/post.html
|
73
|
+
- _sass/.DS_Store
|
74
|
+
- _sass/quickstand.scss
|
75
|
+
- _sass/quickstand/_base.scss
|
76
|
+
- _sass/quickstand/_catalogue.scss
|
77
|
+
- _sass/quickstand/_code.scss
|
78
|
+
- _sass/quickstand/_layout.scss
|
79
|
+
- _sass/quickstand/_pagination.scss
|
80
|
+
- _sass/quickstand/_post.scss
|
81
|
+
- _sass/quickstand/_syntax.scss
|
82
|
+
- _sass/quickstand/_variables.scss
|
83
|
+
- assets/.DS_Store
|
84
|
+
- assets/js/disqusLoader.js
|
85
|
+
- assets/main.scss
|
86
|
+
homepage: https://bitbucket.org/khanduri/quickstand
|
87
|
+
licenses:
|
88
|
+
- MIT
|
89
|
+
metadata: {}
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
requirements: []
|
105
|
+
rubygems_version: 3.0.6
|
106
|
+
signing_key:
|
107
|
+
specification_version: 4
|
108
|
+
summary: Blog theme.
|
109
|
+
test_files: []
|