jekyll-theme-potato-hacker 1.0.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.md +675 -0
- data/LICENSE.txt +674 -0
- data/README.md +64 -0
- data/_includes/footer.html +55 -0
- data/_includes/head.html +57 -0
- data/_includes/header.html +55 -0
- data/_layouts/default.html +73 -0
- data/_layouts/page.html +4 -0
- data/_layouts/post.html +7 -0
- data/_sass/_base.scss +148 -0
- data/_sass/_bootstrap.scss +56 -0
- data/_sass/_variables-dark.scss +872 -0
- data/_sass/_variables-light.scss +872 -0
- data/_sass/bootstrap/_alerts.scss +73 -0
- data/_sass/bootstrap/_badges.scss +68 -0
- data/_sass/bootstrap/_breadcrumbs.scss +28 -0
- data/_sass/bootstrap/_button-groups.scss +244 -0
- data/_sass/bootstrap/_buttons.scss +168 -0
- data/_sass/bootstrap/_carousel.scss +270 -0
- data/_sass/bootstrap/_close.scss +36 -0
- data/_sass/bootstrap/_code.scss +69 -0
- data/_sass/bootstrap/_component-animations.scss +37 -0
- data/_sass/bootstrap/_dropdowns.scss +216 -0
- data/_sass/bootstrap/_forms.scss +617 -0
- data/_sass/bootstrap/_glyphicons.scss +307 -0
- data/_sass/bootstrap/_grid.scss +84 -0
- data/_sass/bootstrap/_input-groups.scss +171 -0
- data/_sass/bootstrap/_jumbotron.scss +54 -0
- data/_sass/bootstrap/_labels.scss +66 -0
- data/_sass/bootstrap/_list-group.scss +130 -0
- data/_sass/bootstrap/_media.scss +66 -0
- data/_sass/bootstrap/_mixins.scss +40 -0
- data/_sass/bootstrap/_modals.scss +150 -0
- data/_sass/bootstrap/_navbar.scss +662 -0
- data/_sass/bootstrap/_navs.scss +242 -0
- data/_sass/bootstrap/_normalize.scss +424 -0
- data/_sass/bootstrap/_pager.scss +54 -0
- data/_sass/bootstrap/_pagination.scss +89 -0
- data/_sass/bootstrap/_panels.scss +271 -0
- data/_sass/bootstrap/_popovers.scss +131 -0
- data/_sass/bootstrap/_print.scss +101 -0
- data/_sass/bootstrap/_progress-bars.scss +87 -0
- data/_sass/bootstrap/_responsive-embed.scss +35 -0
- data/_sass/bootstrap/_responsive-utilities.scss +179 -0
- data/_sass/bootstrap/_scaffolding.scss +161 -0
- data/_sass/bootstrap/_tables.scss +234 -0
- data/_sass/bootstrap/_theme.scss +291 -0
- data/_sass/bootstrap/_thumbnails.scss +38 -0
- data/_sass/bootstrap/_tooltip.scss +101 -0
- data/_sass/bootstrap/_type.scss +298 -0
- data/_sass/bootstrap/_utilities.scss +55 -0
- data/_sass/bootstrap/_variables.scss +874 -0
- data/_sass/bootstrap/_wells.scss +29 -0
- data/_sass/bootstrap/mixins/_alerts.scss +14 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +18 -0
- data/_sass/bootstrap/mixins/_buttons.scss +65 -0
- data/_sass/bootstrap/mixins/_center-block.scss +7 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +22 -0
- data/_sass/bootstrap/mixins/_forms.scss +88 -0
- data/_sass/bootstrap/mixins/_gradients.scss +58 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
- data/_sass/bootstrap/mixins/_grid.scss +122 -0
- data/_sass/bootstrap/mixins/_hide-text.scss +21 -0
- data/_sass/bootstrap/mixins/_image.scss +33 -0
- data/_sass/bootstrap/mixins/_labels.scss +12 -0
- data/_sass/bootstrap/mixins/_list-group.scss +32 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/_sass/bootstrap/mixins/_opacity.scss +8 -0
- data/_sass/bootstrap/mixins/_pagination.scss +24 -0
- data/_sass/bootstrap/mixins/_panels.scss +24 -0
- data/_sass/bootstrap/mixins/_progress-bar.scss +10 -0
- data/_sass/bootstrap/mixins/_reset-filter.scss +8 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/_sass/bootstrap/mixins/_size.scss +10 -0
- data/_sass/bootstrap/mixins/_tab-focus.scss +9 -0
- data/_sass/bootstrap/mixins/_table-row.scss +28 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/_sass/bootstrap/mixins/_text-overflow.scss +8 -0
- data/_sass/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/main-dark.scss +8 -0
- data/assets/css/main-light.scss +8 -0
- data/assets/css/syntax.css +78 -0
- data/assets/img/avatar.jpg +0 -0
- data/assets/img/icons/favicon.ico +0 -0
- data/assets/img/opengraph.png +0 -0
- data/assets/img/screenshot.png +0 -0
- data/assets/js/main.js +90 -0
- metadata +183 -0
data/README.md
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
# jekyll-theme-potato-hacker
|
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
|
+

|
6
|
+
|
7
|
+
Check out the [demo](https://luxedo.github.io/jekyll-theme-potato-hacker/)
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "jekyll-theme-potato-hacker"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: jekyll-theme-potato-hacker
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
Or install it yourself as:
|
28
|
+
|
29
|
+
$ gem install jekyll-theme-potato-hacker
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
This is a simple theme I made to my portfolio/blog https://luxedo.github.io/
|
34
|
+
There are four different categories of pages for this template:
|
35
|
+
* Main page `index.md` in the root.
|
36
|
+
* Item pages `_items` folder.
|
37
|
+
* Blog posts `_posts` folder.
|
38
|
+
* Dropdown pages `_dropdown` folder.
|
39
|
+
|
40
|
+
The dropdown menus are generated based on the [front matter](https://jekyllrb.com/docs/front-matter/) data in the files. Use the `dropdown` attribute to chose where the page will be placed.
|
41
|
+
```yaml
|
42
|
+
---
|
43
|
+
layout: page
|
44
|
+
title: dropdown1 item1
|
45
|
+
description: Test page
|
46
|
+
dropdown: dropdown1
|
47
|
+
---
|
48
|
+
```
|
49
|
+
|
50
|
+
## Contributing
|
51
|
+
|
52
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/luxedo/jekyll-theme-potato-hacker/issues. 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.
|
53
|
+
|
54
|
+
## Development
|
55
|
+
|
56
|
+
To set up your environment to develop this theme, run `bundle install`.
|
57
|
+
|
58
|
+
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.
|
59
|
+
|
60
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
61
|
+
|
62
|
+
## License
|
63
|
+
|
64
|
+
The theme is available as open source under the terms of the [GPL-3.0 License](https://www.gnu.org/licenses/gpl-3.0.en.html).
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<footer class="page-footer">
|
2
|
+
<center>
|
3
|
+
{% if site.theme_switch == true %}
|
4
|
+
<div class="row">
|
5
|
+
<div class="col-sm-8 col-sm-offset-2">
|
6
|
+
<a onclick="toggleTheme();">
|
7
|
+
Light/Dark
|
8
|
+
</a>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
{% endif %}
|
12
|
+
<div class="row">
|
13
|
+
<div class="col-sm-8 col-sm-offset-2">
|
14
|
+
{% if site.github_username != null %}
|
15
|
+
<a href="https://github.com/{{site.github_username}}" target="_blank">
|
16
|
+
<i class="fa fa-github fa-3x"></i>
|
17
|
+
</a>
|
18
|
+
{% endif %}
|
19
|
+
{% if site.email != null %}
|
20
|
+
<a href="mailto:{{site.email}}">
|
21
|
+
<i class="fa fa-envelope fa-3x"></i>
|
22
|
+
</a>
|
23
|
+
{% endif %}
|
24
|
+
{% if site.facebook_username != null %}
|
25
|
+
<a href="https://www.facebook.com/{{site.facebook_username}}" target="_blank">
|
26
|
+
<i class="fa fa-facebook fa-3x"></i>
|
27
|
+
</a>
|
28
|
+
{% endif %}
|
29
|
+
{% if site.twitter_username != null %}
|
30
|
+
<a href="https://twitter.com/{{site.twitter_username}}" target="_blank">
|
31
|
+
<i class="fa fa-twitter fa-3x"></i>
|
32
|
+
</a>
|
33
|
+
{% endif %}
|
34
|
+
<!-- {% if site.gplus_id != null %}
|
35
|
+
<a href="https://plus.google.com/{{site.gplus_id}}" target="_blank">
|
36
|
+
<i class="fa fa-google-plus fa-3x"></i>
|
37
|
+
</a>
|
38
|
+
{% endif %} -->
|
39
|
+
{% if site.linkedin_id != null %}
|
40
|
+
<a href="https://www.linkedin.com/in/{{site.linkedin_id}}" target="_blank">
|
41
|
+
<i class="fa fa-linkedin fa-3x"></i>
|
42
|
+
</a>
|
43
|
+
{% endif %}
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
{% if site.email != null and site.author != null %}
|
47
|
+
<div class="row">
|
48
|
+
<div class="col-sm-8 col-sm-offset-2">
|
49
|
+
Copyright (c) 20{{ site.time | date: '%y' }} {{site.author}} -
|
50
|
+
<a href="mailto:{{site.email}}"><{{site.email}}></a>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
{% endif %}
|
54
|
+
</center>
|
55
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,57 @@
|
|
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
|
+
|
6
|
+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
7
|
+
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
8
|
+
|
9
|
+
<!-- Google Authorship Markup -->
|
10
|
+
<link rel="author" href="https://plus.google.com/{{site.gplus_id}}?rel=author">
|
11
|
+
|
12
|
+
<!-- Social: Twitter -->
|
13
|
+
<meta name="twitter:card" content="summary_large_image">
|
14
|
+
<meta name="twitter:site" content="@{{site.twitter_username}}">
|
15
|
+
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
16
|
+
<meta name="twitter:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
17
|
+
{% if page.image %}
|
18
|
+
<meta property="twitter:image:src" content="{{ site.url }}{{page.image }}">
|
19
|
+
{% else %}
|
20
|
+
<meta property="twitter:image:src" content="{{ '/assets/img/opengraph.png' | prepend: site.baseurl | prepend: site.url }}">
|
21
|
+
{% endif %}
|
22
|
+
|
23
|
+
<!-- Social: Facebook / Open Graph -->
|
24
|
+
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
25
|
+
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
26
|
+
{% if page.image %}
|
27
|
+
<meta property="og:image" content="{{ site.url }}{{page.image }}">
|
28
|
+
{% else %}
|
29
|
+
<meta property="og:image" content="{{ '/assets/img/opengraph.png' | prepend: site.baseurl | prepend: site.url }}">
|
30
|
+
{% endif %}
|
31
|
+
<meta property="og:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
32
|
+
<meta property="og:site_name" content="{{ site.title }}">
|
33
|
+
|
34
|
+
<!-- Social: Google+ / Schema.org -->
|
35
|
+
<meta itemprop="name" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"/>
|
36
|
+
<meta itemprop="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
37
|
+
<meta itemprop="image" content="{{ '/assets/img/opengraph.png' | prepend: site.baseurl | prepend: site.url }}"/>
|
38
|
+
|
39
|
+
<!-- Favicon -->
|
40
|
+
<link rel="shortcut icon" href="{{'/assets/img/icons/favicon.ico' | prepend: site.baseurl }}" type="image/x-icon" />
|
41
|
+
|
42
|
+
<!-- Android Lolipop Theme Color -->
|
43
|
+
<meta name="theme-color" content="rgba(42, 77, 20, 1)">
|
44
|
+
|
45
|
+
<!-- Styles -->
|
46
|
+
<link rel="stylesheet" id="css-theme" href="{{ '/assets/css/main-' | append: site.theme_base | append: '.css' | prepend: site.baseurl }}" media="none">
|
47
|
+
<link rel="stylesheet" href="{{ '/assets/css/syntax.css' | prepend: site.baseurl }}">
|
48
|
+
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
49
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
50
|
+
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
|
51
|
+
|
52
|
+
<!-- Javascript -->
|
53
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
54
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
55
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.3.0/d3.min.js"></script>
|
56
|
+
<script type="text/javascript" src="{{ '/assets/js/main.js' | prepend: site.baseurl }}"></script>
|
57
|
+
</head>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<header>
|
2
|
+
<div class="row">
|
3
|
+
<div class="col-xs-12">
|
4
|
+
<nav class="navbar navbar-default navbar-fixed-top">
|
5
|
+
<div class="container">
|
6
|
+
<div class="navbar-header">
|
7
|
+
<a class="navbar-toggle collapsed navbar-icon" data-toggle="collapse"
|
8
|
+
data-target="#bs-example-navbar-collapse-1">
|
9
|
+
<i class="fa fa-bars fa-2x"></i>
|
10
|
+
</a>
|
11
|
+
<a class="navbar-brand navbar-icon" href="{{ site.baseurl | append: '/'}}">
|
12
|
+
<i class="fa fa-home fa-2x"></i>
|
13
|
+
</a>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
17
|
+
<ul class="nav navbar-nav navbar-right">
|
18
|
+
<li><a href="{{ site.baseurl | append: '/' }}">Home</a></li>
|
19
|
+
<li><a href="{{ '/blog' | prepend: site.baseurl }}">Blog</a></li>
|
20
|
+
{% for page in site.dropdown %}
|
21
|
+
<li class="dropdown dropdown-{{ page.dropdown }}">
|
22
|
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
|
23
|
+
role="button" aria-haspopup="true" aria-expanded="false">{{ page.dropdown }}
|
24
|
+
<span class="caret"></span>
|
25
|
+
</a>
|
26
|
+
<ul class="dropdown-menu dropdown-menu-{{ page.title }}">
|
27
|
+
<li><a href="{% if page.redirect_to %}{{page.redirect_to}}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}">{{ page.title }}</a></li>
|
28
|
+
</ul>
|
29
|
+
</li>
|
30
|
+
{% endfor %}
|
31
|
+
<script>
|
32
|
+
// clean repeated dropdowns and add <li> to their positions
|
33
|
+
$(".dropdown").each((index0, value0) => {
|
34
|
+
let dropdownClass = "."+$(value0)[0].classList[1];
|
35
|
+
let dropdownMain = $(dropdownClass)[0].querySelector("ul");
|
36
|
+
if ($(dropdownClass).length > 1) {
|
37
|
+
$(dropdownClass).each((index1, value1) => {
|
38
|
+
if (index1 != 0) {
|
39
|
+
dropdownMain.append(value1.querySelector("ul li"))
|
40
|
+
$(dropdownClass)[1].remove();
|
41
|
+
}
|
42
|
+
});
|
43
|
+
}
|
44
|
+
});
|
45
|
+
</script>
|
46
|
+
{% for page in site.items %}
|
47
|
+
<li><a href="{% if page.redirect_to %}{{page.redirect_to}}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}">{{ page.title }}</a></li>
|
48
|
+
{% endfor %}
|
49
|
+
</ul>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</nav>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
</header>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
<!DOCTYPE html>
|
4
|
+
<html>
|
5
|
+
{% include head.html %}
|
6
|
+
|
7
|
+
<body class="animated fadeIn">
|
8
|
+
<div class="container">
|
9
|
+
<div id="background-div">
|
10
|
+
<svg id="background-svg">
|
11
|
+
<lineargradient id="Gradient1" x1="0" x2="0" y1="0" y2="1">
|
12
|
+
<stop stop-opacity="0" class="bgColor2" offset="0%" />
|
13
|
+
<stop stop-opacity="0.5" class="bgColor2" offset="10%" />
|
14
|
+
<stop stop-opacity="0.5" class="bgColor1" offset="40%" />
|
15
|
+
<stop stop-opacity="0" class="bgColor1" offset="100%" />
|
16
|
+
</lineargradient>
|
17
|
+
<g id="bg-layer1"></g>
|
18
|
+
<g id="bg-layer2" class="hide"></g>
|
19
|
+
<g id="bg-layer3"></g>
|
20
|
+
<g id="bg-layer4"></g>
|
21
|
+
</svg>
|
22
|
+
</div>
|
23
|
+
<section class="header">
|
24
|
+
{% include header.html %}
|
25
|
+
</section>
|
26
|
+
<section class="content">
|
27
|
+
<div class="row">
|
28
|
+
<!-- <div class="col-sm-2">
|
29
|
+
<div class="pane-separator hidden-xs" style="margin-bottom:30em;"></div>
|
30
|
+
<div class="left-pane">
|
31
|
+
</div>
|
32
|
+
</div> -->
|
33
|
+
<div class="col-sm-8 col-sm-offset-2 content-div">
|
34
|
+
<div class="page-separator hidden-xs"><h1 class="h1-strip" style="padding-bottom:8em; margin-bottom: 0;"></h1></div>
|
35
|
+
<div class="page-separator visible-xs"><h1 class="h1-strip" style="padding-bottom:2em; margin-bottom: 0;"></h1></div>
|
36
|
+
<h1 class="post-title page-title" id="title"><a href="#title">{{ page.title }}</a></h1>
|
37
|
+
{{ content }}
|
38
|
+
</div>
|
39
|
+
<div class="col-sm-2">
|
40
|
+
<div class="pane-separator hidden-xs" style="margin-bottom:30em;"></div>
|
41
|
+
<div class="pane-separator visible-xs" style="margin-bottom:5em;"></div>
|
42
|
+
<div class="right-pane" style="margin-left: 1em;">
|
43
|
+
{% if page.url contains '/blog/' or page.url == '/' %}
|
44
|
+
<center>
|
45
|
+
{% if site.avatar_image != null %}
|
46
|
+
<img src="{{ site.avatar_image | prepend: '/' | prepend: site.baseurl }}" alt="me" class="avatar-image">
|
47
|
+
{% endif %}
|
48
|
+
<p class="avatar-description">{{site.avatar_description}}</p>
|
49
|
+
</center>
|
50
|
+
{% endif %}
|
51
|
+
{% if page.url contains "/blog/" %}
|
52
|
+
<a href="{{ '/blog' | prepend: site.baseurl }}">
|
53
|
+
<h4>Posts:</h4>
|
54
|
+
</a>
|
55
|
+
<ul>
|
56
|
+
{% for post in site.posts %}
|
57
|
+
<li>
|
58
|
+
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
59
|
+
</li>
|
60
|
+
{% endfor %}
|
61
|
+
</ul>
|
62
|
+
{% endif %}
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</section>
|
67
|
+
<section class="footer">
|
68
|
+
{% include footer.html %}
|
69
|
+
</section>
|
70
|
+
</div>
|
71
|
+
</body>
|
72
|
+
|
73
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
data/_sass/_base.scss
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
// Custom SCSS
|
2
|
+
// General
|
3
|
+
|
4
|
+
body {
|
5
|
+
background: linear-gradient($body-bg-header 10%, $body-bg 100%);
|
6
|
+
background-repeat: no-repeat;
|
7
|
+
background-attachment: fixed;
|
8
|
+
height: 100%;
|
9
|
+
width: 100%;
|
10
|
+
overflow-x: hidden;
|
11
|
+
text-shadow: 0 0 0.01em $shadow-color;
|
12
|
+
}
|
13
|
+
|
14
|
+
a {
|
15
|
+
cursor: pointer;
|
16
|
+
}
|
17
|
+
|
18
|
+
blockquote {
|
19
|
+
border-color: $gray;
|
20
|
+
border-width: 0 0 0 0.2em;
|
21
|
+
border-style: solid;
|
22
|
+
}
|
23
|
+
|
24
|
+
h1 {
|
25
|
+
padding-top: 0.5em;
|
26
|
+
padding-bottom: 0.5em;
|
27
|
+
}
|
28
|
+
|
29
|
+
h1 a,
|
30
|
+
h1 a:hover {
|
31
|
+
color: $brand-primary;
|
32
|
+
}
|
33
|
+
|
34
|
+
|
35
|
+
h1,
|
36
|
+
h2,
|
37
|
+
h3,
|
38
|
+
h4,
|
39
|
+
h5,
|
40
|
+
h6 {
|
41
|
+
color: $brand-danger;
|
42
|
+
text-decoration-color: $brand-danger;
|
43
|
+
border-bottom-color: $brand-danger;
|
44
|
+
}
|
45
|
+
|
46
|
+
#background-div,
|
47
|
+
#background-svg {
|
48
|
+
width: 100%;
|
49
|
+
height: 100%;
|
50
|
+
position: fixed;
|
51
|
+
top: 0;
|
52
|
+
left: 0;
|
53
|
+
z-index: 0;
|
54
|
+
}
|
55
|
+
|
56
|
+
#title {
|
57
|
+
margin-top: 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
// Social media hover colors colors
|
61
|
+
$icon-shadow: 0.1em;
|
62
|
+
$icons-list: github facebook twitter linkedin envelope;
|
63
|
+
$icons-colors: $github-color $facebook-color $twitter-color $linkedin-color $envelope-color;
|
64
|
+
@for $i from 1 through length($icons-list) {
|
65
|
+
.fa-#{nth($icons-list, $i)}:hover {
|
66
|
+
text-shadow: 0 0 $icon-shadow #{nth($icons-colors, $i)};
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
.bgColor1 {
|
71
|
+
stop-color: $bg-color1;
|
72
|
+
}
|
73
|
+
|
74
|
+
.bgColor2 {
|
75
|
+
stop-color: $bg-color2;
|
76
|
+
}
|
77
|
+
|
78
|
+
.page-footer {
|
79
|
+
margin-top: 8em;
|
80
|
+
|
81
|
+
center div div a i {
|
82
|
+
color: $gray !important;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.navbar-toggle:hover {
|
87
|
+
background-color: transparent !important;
|
88
|
+
}
|
89
|
+
|
90
|
+
.navbar-icon:hover {
|
91
|
+
text-shadow: 0 0 $icon-shadow lighten($brand-primary, 20%);
|
92
|
+
color: $brand-primary !important;
|
93
|
+
}
|
94
|
+
|
95
|
+
.navbar-icon {
|
96
|
+
color: $brand-primary !important;
|
97
|
+
}
|
98
|
+
|
99
|
+
.navbar {
|
100
|
+
background-color: $navbar-bg;
|
101
|
+
transition: background-color 0.25s ease-in-out;
|
102
|
+
-webkit-transition: background-color 0.25s ease-in-out;
|
103
|
+
}
|
104
|
+
|
105
|
+
nav:hover {
|
106
|
+
background-color: $navbar-default-bg;
|
107
|
+
}
|
108
|
+
|
109
|
+
.post-title {
|
110
|
+
color: $brand-primary;
|
111
|
+
}
|
112
|
+
|
113
|
+
.blog-post {
|
114
|
+
margin-bottom: 5em;
|
115
|
+
}
|
116
|
+
|
117
|
+
.highlight,
|
118
|
+
.highlight .w {
|
119
|
+
opacity: 0.9;
|
120
|
+
}
|
121
|
+
$avatar-size: 10em;
|
122
|
+
|
123
|
+
.avatar-image {
|
124
|
+
height: auto;
|
125
|
+
width: auto;
|
126
|
+
max-height: $avatar-size;
|
127
|
+
max-width: $avatar-size;
|
128
|
+
border-radius: $avatar-size;
|
129
|
+
border-style: solid;
|
130
|
+
border-width: medium;
|
131
|
+
border-color: $gray-light;
|
132
|
+
}
|
133
|
+
|
134
|
+
.avatar-description {
|
135
|
+
color: $gray-light;
|
136
|
+
}
|
137
|
+
|
138
|
+
.hide {
|
139
|
+
display: none;
|
140
|
+
}
|
141
|
+
|
142
|
+
.h1-overlay {
|
143
|
+
background: $h1-bg;
|
144
|
+
position: absolute;
|
145
|
+
width: 100%;
|
146
|
+
z-index: -1;
|
147
|
+
padding: 1em;
|
148
|
+
}
|