jekyll-theme-lcsb-default 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +61 -0
- data/_includes/footer.html +17 -0
- data/_includes/google-analytics.html +12 -0
- data/_includes/head.html +13 -0
- data/_includes/header.html +63 -0
- data/_includes/scripts.html +7 -0
- data/_includes/social.html +16 -0
- data/_layouts/default.html +20 -0
- data/_layouts/frozen.html +21 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_sass/minima.scss +57 -0
- data/_sass/minima/_base.scss +302 -0
- data/_sass/minima/_frozen.scss +44 -0
- data/_sass/minima/_layout.scss +349 -0
- data/_sass/minima/_lcsb.scss +130 -0
- data/_sass/minima/_syntax-highlighting.scss +71 -0
- data/assets/banners/frozen/banner.svg +1 -0
- data/assets/banners/frozen/logos.svg +1 -0
- data/assets/banners/frozen/motto.svg +1 -0
- data/assets/banners/lcsb-logo.svg +583 -0
- data/assets/banners/uni-logo.svg +231 -0
- data/assets/bg-overlay.svg +1 -0
- data/assets/favicon.png +0 -0
- data/assets/fontawesome/css/fa-brands.css +13 -0
- data/assets/fontawesome/css/fa-brands.min.css +5 -0
- data/assets/fontawesome/css/fa-regular.css +14 -0
- data/assets/fontawesome/css/fa-regular.min.css +5 -0
- data/assets/fontawesome/css/fa-solid.css +15 -0
- data/assets/fontawesome/css/fa-solid.min.css +5 -0
- data/assets/fontawesome/css/fontawesome-all.css +2726 -0
- data/assets/fontawesome/css/fontawesome-all.min.css +5 -0
- data/assets/fontawesome/css/fontawesome.css +2696 -0
- data/assets/fontawesome/css/fontawesome.min.css +5 -0
- data/assets/fontawesome/less/_animated.less +19 -0
- data/assets/fontawesome/less/_bordered-pulled.less +16 -0
- data/assets/fontawesome/less/_core.less +12 -0
- data/assets/fontawesome/less/_fixed-width.less +6 -0
- data/assets/fontawesome/less/_icons.less +833 -0
- data/assets/fontawesome/less/_larger.less +27 -0
- data/assets/fontawesome/less/_list.less +18 -0
- data/assets/fontawesome/less/_mixins.less +57 -0
- data/assets/fontawesome/less/_rotated-flipped.less +23 -0
- data/assets/fontawesome/less/_screen-reader.less +5 -0
- data/assets/fontawesome/less/_stacked.less +22 -0
- data/assets/fontawesome/less/_variables.less +842 -0
- data/assets/fontawesome/less/fa-brands.less +21 -0
- data/assets/fontawesome/less/fa-regular.less +22 -0
- data/assets/fontawesome/less/fa-solid.less +23 -0
- data/assets/fontawesome/less/fontawesome.less +16 -0
- data/assets/fontawesome/scss/_animated.scss +20 -0
- data/assets/fontawesome/scss/_bordered-pulled.scss +20 -0
- data/assets/fontawesome/scss/_core.scss +16 -0
- data/assets/fontawesome/scss/_fixed-width.scss +6 -0
- data/assets/fontawesome/scss/_icons.scss +833 -0
- data/assets/fontawesome/scss/_larger.scss +23 -0
- data/assets/fontawesome/scss/_list.scss +18 -0
- data/assets/fontawesome/scss/_mixins.scss +57 -0
- data/assets/fontawesome/scss/_rotated-flipped.scss +23 -0
- data/assets/fontawesome/scss/_screen-reader.scss +5 -0
- data/assets/fontawesome/scss/_stacked.scss +31 -0
- data/assets/fontawesome/scss/_variables.scss +846 -0
- data/assets/fontawesome/scss/fa-brands.scss +21 -0
- data/assets/fontawesome/scss/fa-regular.scss +22 -0
- data/assets/fontawesome/scss/fa-solid.scss +23 -0
- data/assets/fontawesome/scss/fontawesome.scss +16 -0
- data/assets/fontawesome/webfonts/fa-brands-400.eot +0 -0
- data/assets/fontawesome/webfonts/fa-brands-400.svg +1008 -0
- data/assets/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/assets/fontawesome/webfonts/fa-brands-400.woff +0 -0
- data/assets/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/fontawesome/webfonts/fa-regular-400.eot +0 -0
- data/assets/fontawesome/webfonts/fa-regular-400.svg +366 -0
- data/assets/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/assets/fontawesome/webfonts/fa-regular-400.woff +0 -0
- data/assets/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/fontawesome/webfonts/fa-solid-900.eot +0 -0
- data/assets/fontawesome/webfonts/fa-solid-900.svg +1518 -0
- data/assets/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/assets/fontawesome/webfonts/fa-solid-900.woff +0 -0
- data/assets/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/main.scss +5 -0
- data/assets/minima-social-icons.svg +33 -0
- metadata +185 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b86228c74f95d2601a5f4194c80bbc657110a3e2
|
4
|
+
data.tar.gz: e5eb14dfe935c0aae550e77ec971f76b0bb8c8e4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1cdd9e9ee70477961ab3a8b3d41399befc5791e570cb33808c1a4c196ac42825dfd0dea93b87664a387f32b3fcdf629adb31f5711ebf5e35c00f4e04fa41b2f0
|
7
|
+
data.tar.gz: 0f675e071d0d5a90cc8627e46589197738e033459c1dc21f77a9d13d58ae65f3b93066d1d0dc786fc10ad723569bd5f4378f0a9c1f0478e2466f709dfe940689
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Trefex
|
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,61 @@
|
|
1
|
+
# jekyll-theme-lcsb-default
|
2
|
+
|
3
|
+
Welcome to our LCSB Jekyll theme!
|
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
|
+
> This theme is based upon https://github.com/jekyll/minima.
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "jekyll-theme-lcsb-default"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: jekyll-theme-lcsb-default
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
Or install it yourself as:
|
28
|
+
|
29
|
+
$ gem install jekyll-theme-lcsb-default
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
### Custom images in the header
|
34
|
+
Create a folder in `assets/banners` directory, with `banner.svg`, `logos.svg` and `motto.svg` files (for reference, consult `assets/banners/frozen` directory. Do not exceed image dimensions). Update `_config.yml` file with the name of directory you created for the images.
|
35
|
+
In case `logos.svg` file is wide, change `logo: small` to `logo: big` in `_config.yml` file.
|
36
|
+
|
37
|
+
### Enabling Google Analytics
|
38
|
+
|
39
|
+
To enable Google Anaytics, add the following lines to your Jekyll site:
|
40
|
+
|
41
|
+
```yaml
|
42
|
+
google_analytics: UA-NNNNNNNN-N
|
43
|
+
```
|
44
|
+
|
45
|
+
## Contributing
|
46
|
+
|
47
|
+
Bug reports and pull requests are welcome on Gitlab at https://git-r3lab.uni.lu/core-services/jekyll-theme-lcsb-default/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.
|
48
|
+
|
49
|
+
## Development
|
50
|
+
|
51
|
+
To set up your environment to develop this theme, run `bundle install`.
|
52
|
+
|
53
|
+
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.
|
54
|
+
|
55
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
56
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-lcsb-default.gemspec` accordingly.
|
57
|
+
|
58
|
+
## License
|
59
|
+
|
60
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
61
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<footer class="site-footer h-card">
|
2
|
+
<div class="wrapper footer-wrapper">
|
3
|
+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
4
|
+
|
5
|
+
{% comment %}<div>
|
6
|
+
{%- include social.html -%}
|
7
|
+
</div>{% endcomment %}
|
8
|
+
<br/>
|
9
|
+
<div class="footer-cp">
|
10
|
+
<p>© <a href="https://wwwen.uni.lu/">Université du Luxembourg</a> {{ site.date | escape }}. All rights reserved.</p>
|
11
|
+
{%- include social.html -%}
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</footer>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<script>
|
2
|
+
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
}
|
11
|
+
</script>
|
12
|
+
|
data/_includes/head.html
ADDED
@@ -0,0 +1,13 @@
|
|
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
|
+
{%- seo -%}
|
6
|
+
<link rel="shortcut icon" type="image/png" href="{{ '/assets/favicon.png' | relative_url }}"/>
|
7
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
8
|
+
<link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
|
9
|
+
|
10
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
11
|
+
{%- include google-analytics.html -%}
|
12
|
+
{%- endif -%}
|
13
|
+
</head>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div>
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
+
|
7
|
+
<div class="custom-header">
|
8
|
+
<a href="{{ '/' | relative_url }}"><img class="img-uni-lu"
|
9
|
+
src="{{ '/assets/banners/uni-logo.svg' | relative_url }}"
|
10
|
+
type="image/svg+xml"
|
11
|
+
/></a>
|
12
|
+
<img class="img-banner img-banner-main"
|
13
|
+
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/banner.svg"
|
14
|
+
type="image/svg+xml"
|
15
|
+
/>
|
16
|
+
<img class="img-banner img-banner-motto"
|
17
|
+
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/motto.svg"
|
18
|
+
type="image/svg+xml"
|
19
|
+
/>
|
20
|
+
<img class="img-lcsb img-logo-{{ site.logo }}"
|
21
|
+
src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/logos.svg"
|
22
|
+
type="image/svg+xml"
|
23
|
+
/>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
{%- if page_paths -%}
|
27
|
+
<nav class="site-nav">
|
28
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
29
|
+
<label for="nav-trigger">
|
30
|
+
<span class="menu-icon">
|
31
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
32
|
+
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
|
33
|
+
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
|
34
|
+
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
|
35
|
+
</svg>
|
36
|
+
</span>
|
37
|
+
</label>
|
38
|
+
|
39
|
+
<div class="wrapper trigger page-tabs">
|
40
|
+
{%- assign my_pages = site.pages | sort:"order" -%}
|
41
|
+
|
42
|
+
{%- for my_page in my_pages -%}
|
43
|
+
{%- if my_page.title -%}
|
44
|
+
{%- if page.url == my_page.url -%}
|
45
|
+
<a class="page-link active" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
46
|
+
{% else %}
|
47
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
48
|
+
{%- endif -%}
|
49
|
+
{%- endif -%}
|
50
|
+
{%- endfor -%}
|
51
|
+
</div>
|
52
|
+
</nav>
|
53
|
+
{%- endif -%}
|
54
|
+
|
55
|
+
{%- if page_paths -%}
|
56
|
+
{%- endif -%}
|
57
|
+
</div>
|
58
|
+
</header>
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{% comment %}
|
2
|
+
Uncomment those if needed
|
3
|
+
{% endcomment %}
|
4
|
+
{% comment %}
|
5
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
6
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
7
|
+
{% endcomment %}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<ul class="social-media-list">
|
2
|
+
{%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon svg-icon-twitter"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
3
|
+
{%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon svg-icon-fb"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
4
|
+
{%- if site.linkedin_schoolname -%}<li><a href="https://www.linkedin.com/school/{{ site.linkedin_schoolname| cgi_escape | escape }}"><svg class="svg-icon svg-icon-linkedin"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg></a></li>{%- endif -%}
|
5
|
+
|
6
|
+
{%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
|
7
|
+
{%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
|
8
|
+
{%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
|
9
|
+
{%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
|
10
|
+
{%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_schoolname| escape }}</span></a></li>{%- endif -%}
|
11
|
+
{%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
|
12
|
+
{%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
|
13
|
+
{%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
|
14
|
+
{%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
|
15
|
+
{%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
|
16
|
+
</ul>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<div class="main">
|
8
|
+
<div class="content-wrapper">
|
9
|
+
{%- include header.html -%}
|
10
|
+
<main class="page-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
</div>
|
16
|
+
{%- include footer.html -%}
|
17
|
+
</div>
|
18
|
+
</body>
|
19
|
+
{%- include scripts.html -%}
|
20
|
+
</html>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<div class="main">
|
8
|
+
<div class="content-wrapper">
|
9
|
+
{%- include header.html -%}
|
10
|
+
<main class="fpage-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
</div>
|
16
|
+
{%- include footer.html -%}
|
17
|
+
</div>
|
18
|
+
|
19
|
+
</body>
|
20
|
+
{%- include scripts.html -%}
|
21
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
data/_sass/minima.scss
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// Define defaults for each variable.
|
4
|
+
|
5
|
+
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
6
|
+
$base-font-size: 16px !default;
|
7
|
+
$base-font-weight: 400 !default;
|
8
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
9
|
+
$base-line-height: 1.5 !default;
|
10
|
+
|
11
|
+
$spacing-unit: 30px !default;
|
12
|
+
|
13
|
+
$text-color: #111 !default;
|
14
|
+
$background-color: #fdfdfd !default;
|
15
|
+
$brand-color: #2a7ae2 !default;
|
16
|
+
|
17
|
+
$grey-color: #5c5c5c !default;
|
18
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
19
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
20
|
+
|
21
|
+
$table-text-align: left !default;
|
22
|
+
|
23
|
+
// Width of the content area
|
24
|
+
$content-width: 1080px !default;
|
25
|
+
|
26
|
+
$on-palm: 640px !default;
|
27
|
+
$on-laptop: 1080px !default;
|
28
|
+
|
29
|
+
// height of the banner
|
30
|
+
$banner-height: 100px;
|
31
|
+
$footer-height: 50px;
|
32
|
+
|
33
|
+
// Use media queries like this:
|
34
|
+
// @include media-query($on-palm) {
|
35
|
+
// .wrapper {
|
36
|
+
// padding-right: $spacing-unit / 2;
|
37
|
+
// padding-left: $spacing-unit / 2;
|
38
|
+
// }
|
39
|
+
// }
|
40
|
+
@mixin media-query($device) {
|
41
|
+
@media screen and (max-width: $device) {
|
42
|
+
@content;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
@mixin relative-font-size($ratio) {
|
47
|
+
font-size: $base-font-size * $ratio;
|
48
|
+
}
|
49
|
+
|
50
|
+
// Import partials.
|
51
|
+
@import
|
52
|
+
"minima/base",
|
53
|
+
"minima/layout",
|
54
|
+
"minima/frozen",
|
55
|
+
"minima/syntax-highlighting",
|
56
|
+
"minima/lcsb"
|
57
|
+
;
|
@@ -0,0 +1,302 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body, h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre, hr,
|
6
|
+
dl, dd, ol, ul, figure {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
html, body{
|
12
|
+
height: 100%;
|
13
|
+
}
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Basic styling
|
17
|
+
*/
|
18
|
+
body {
|
19
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
20
|
+
color: $text-color;
|
21
|
+
-webkit-text-size-adjust: 100%;
|
22
|
+
-webkit-font-feature-settings: "kern" 1;
|
23
|
+
-moz-font-feature-settings: "kern" 1;
|
24
|
+
-o-font-feature-settings: "kern" 1;
|
25
|
+
font-feature-settings: "kern" 1;
|
26
|
+
font-kerning: normal;
|
27
|
+
background: url('bg-overlay.svg');
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
/**
|
33
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
34
|
+
*/
|
35
|
+
h1, h2, h3, h4, h5, h6,
|
36
|
+
p, blockquote, pre,
|
37
|
+
ul, ol, dl, figure,
|
38
|
+
%vertical-rhythm {
|
39
|
+
margin-bottom: $spacing-unit / 2;
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
/**
|
45
|
+
* `main` element
|
46
|
+
*/
|
47
|
+
main {
|
48
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
/**
|
54
|
+
* Images
|
55
|
+
*/
|
56
|
+
img {
|
57
|
+
max-width: 100%;
|
58
|
+
vertical-align: middle;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
/**
|
64
|
+
* Figures
|
65
|
+
*/
|
66
|
+
figure > img {
|
67
|
+
display: block;
|
68
|
+
}
|
69
|
+
|
70
|
+
figcaption {
|
71
|
+
font-size: $small-font-size;
|
72
|
+
}
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
/**
|
77
|
+
* Lists
|
78
|
+
*/
|
79
|
+
ul, ol {
|
80
|
+
margin-left: $spacing-unit;
|
81
|
+
}
|
82
|
+
|
83
|
+
li {
|
84
|
+
> ul,
|
85
|
+
> ol {
|
86
|
+
margin-bottom: 0;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Headings
|
94
|
+
*/
|
95
|
+
h1, h2, h3, h4, h5, h6 {
|
96
|
+
font-weight: $base-font-weight;
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Links
|
103
|
+
*/
|
104
|
+
a {
|
105
|
+
color: $brand-color;
|
106
|
+
text-decoration: none;
|
107
|
+
|
108
|
+
&:visited {
|
109
|
+
color: darken($brand-color, 15%);
|
110
|
+
}
|
111
|
+
|
112
|
+
&:hover {
|
113
|
+
color: $text-color;
|
114
|
+
text-decoration: underline;
|
115
|
+
}
|
116
|
+
|
117
|
+
.social-media-list &:hover {
|
118
|
+
text-decoration: none;
|
119
|
+
|
120
|
+
.username {
|
121
|
+
text-decoration: underline;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
/**
|
128
|
+
* Blockquotes
|
129
|
+
*/
|
130
|
+
blockquote {
|
131
|
+
color: $grey-color;
|
132
|
+
border-left: 4px solid $grey-color-light;
|
133
|
+
padding-left: $spacing-unit / 2;
|
134
|
+
@include relative-font-size(1.125);
|
135
|
+
letter-spacing: -1px;
|
136
|
+
font-style: italic;
|
137
|
+
|
138
|
+
> :last-child {
|
139
|
+
margin-bottom: 0;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Code formatting
|
147
|
+
*/
|
148
|
+
pre,
|
149
|
+
code {
|
150
|
+
@include relative-font-size(0.9375);
|
151
|
+
border: 1px solid $grey-color-light;
|
152
|
+
border-radius: 3px;
|
153
|
+
background-color: #eef;
|
154
|
+
}
|
155
|
+
|
156
|
+
code {
|
157
|
+
padding: 1px 5px;
|
158
|
+
}
|
159
|
+
|
160
|
+
pre {
|
161
|
+
padding: 8px 12px;
|
162
|
+
overflow-x: auto;
|
163
|
+
|
164
|
+
> code {
|
165
|
+
border: 0;
|
166
|
+
padding-right: 0;
|
167
|
+
padding-left: 0;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
|
172
|
+
.main {
|
173
|
+
max-width: $content-width;
|
174
|
+
min-width: 375px;
|
175
|
+
margin-right: auto;
|
176
|
+
margin-left: auto;
|
177
|
+
|
178
|
+
position: relative;
|
179
|
+
background-color: $background-color;
|
180
|
+
box-shadow: 0 10px 20px 0 #999999;
|
181
|
+
|
182
|
+
@include media-query($on-laptop) {
|
183
|
+
max-width: $content-width;
|
184
|
+
max-width: $content-width;
|
185
|
+
padding-right: $spacing-unit / 2;
|
186
|
+
padding-left: $spacing-unit / 2;
|
187
|
+
}
|
188
|
+
display: flex;
|
189
|
+
flex-direction: column;
|
190
|
+
height: auto;
|
191
|
+
}
|
192
|
+
|
193
|
+
.wrapper {
|
194
|
+
padding-right: $spacing-unit;
|
195
|
+
padding-left: $spacing-unit;
|
196
|
+
}
|
197
|
+
|
198
|
+
@media (max-width: 640px) {
|
199
|
+
.main {
|
200
|
+
padding-left: 0%;
|
201
|
+
padding-right: 0%;
|
202
|
+
}
|
203
|
+
|
204
|
+
.site-header[role=banner] {
|
205
|
+
height: 126px;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
@media (max-width: 500px) {
|
210
|
+
.wrapper {
|
211
|
+
padding-left: 2%;
|
212
|
+
padding-right: 1%;
|
213
|
+
}
|
214
|
+
|
215
|
+
.main {
|
216
|
+
padding-left: 0%;
|
217
|
+
padding-right: 0%;
|
218
|
+
}
|
219
|
+
|
220
|
+
.site-header[role=banner] {
|
221
|
+
height: 70px;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Clearfix
|
227
|
+
*/
|
228
|
+
%clearfix:after {
|
229
|
+
content: "";
|
230
|
+
display: table;
|
231
|
+
clear: both;
|
232
|
+
}
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Icons
|
238
|
+
*/
|
239
|
+
|
240
|
+
.svg-icon {
|
241
|
+
width: 16px;
|
242
|
+
height: 16px;
|
243
|
+
display: inline-block;
|
244
|
+
fill: #{$grey-color};
|
245
|
+
padding-right: 5px;
|
246
|
+
vertical-align: text-top;
|
247
|
+
transition: all .4s ease-in-out;
|
248
|
+
}
|
249
|
+
|
250
|
+
.svg-icon-fb:hover {
|
251
|
+
fill: #3b5998;
|
252
|
+
transform: scale(1.3);
|
253
|
+
}
|
254
|
+
|
255
|
+
.svg-icon-linkedin:hover {
|
256
|
+
fill: #0077b2;
|
257
|
+
transform: scale(1.3);
|
258
|
+
}
|
259
|
+
|
260
|
+
.svg-icon-twitter:hover {
|
261
|
+
fill: #00aced;
|
262
|
+
transform: scale(1.3);
|
263
|
+
}
|
264
|
+
|
265
|
+
.social-media-list {
|
266
|
+
li + li {
|
267
|
+
padding-top: 5px;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
/**
|
274
|
+
* Tables
|
275
|
+
*/
|
276
|
+
table {
|
277
|
+
margin-bottom: $spacing-unit;
|
278
|
+
width: 100%;
|
279
|
+
text-align: $table-text-align;
|
280
|
+
color: lighten($text-color, 18%);
|
281
|
+
border-collapse: collapse;
|
282
|
+
border: 1px solid $grey-color-light;
|
283
|
+
tr {
|
284
|
+
&:nth-child(even) {
|
285
|
+
background-color: lighten($grey-color-light, 6%);
|
286
|
+
}
|
287
|
+
}
|
288
|
+
th, td {
|
289
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
290
|
+
}
|
291
|
+
th {
|
292
|
+
background-color: lighten($grey-color-light, 3%);
|
293
|
+
border: 1px solid darken($grey-color-light, 4%);
|
294
|
+
border-bottom-color: darken($grey-color-light, 12%);
|
295
|
+
}
|
296
|
+
td {
|
297
|
+
border: 1px solid $grey-color-light;
|
298
|
+
}
|
299
|
+
}
|
300
|
+
|
301
|
+
|
302
|
+
|