golink 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.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +107 -0
  4. data/_includes/dbase/dbase +8 -0
  5. data/_includes/partials/footer.html +15 -0
  6. data/_includes/partials/ga.html +16 -0
  7. data/_includes/partials/head.html +66 -0
  8. data/_includes/partials/src.html +3 -0
  9. data/_layouts/compress.html +10 -0
  10. data/_layouts/default.html +46 -0
  11. data/_layouts/error.html +26 -0
  12. data/_sass/base/_base.scss +18 -0
  13. data/_sass/base/_fonts.scss +4 -0
  14. data/_sass/base/_mixins.scss +40 -0
  15. data/_sass/base/_reset.scss +602 -0
  16. data/_sass/base/_variables.scss +15 -0
  17. data/_sass/includes/_footer.scss +35 -0
  18. data/_sass/includes/_includes.scss +2 -0
  19. data/_sass/includes/vendor/font-awesome/_animated.scss +34 -0
  20. data/_sass/includes/vendor/font-awesome/_bordered-pulled.scss +25 -0
  21. data/_sass/includes/vendor/font-awesome/_core.scss +12 -0
  22. data/_sass/includes/vendor/font-awesome/_fixed-width.scss +6 -0
  23. data/_sass/includes/vendor/font-awesome/_icons.scss +697 -0
  24. data/_sass/includes/vendor/font-awesome/_larger.scss +13 -0
  25. data/_sass/includes/vendor/font-awesome/_list.scss +19 -0
  26. data/_sass/includes/vendor/font-awesome/_mixins.scss +26 -0
  27. data/_sass/includes/vendor/font-awesome/_path.scss +15 -0
  28. data/_sass/includes/vendor/font-awesome/_rotated-flipped.scss +20 -0
  29. data/_sass/includes/vendor/font-awesome/_stacked.scss +20 -0
  30. data/_sass/includes/vendor/font-awesome/_variables.scss +708 -0
  31. data/_sass/includes/vendor/font-awesome/font-awesome.scss +17 -0
  32. data/_sass/layouts/_default.scss +88 -0
  33. data/_sass/layouts/_layouts.scss +2 -0
  34. data/_sass/layouts/_page.scss +25 -0
  35. data/assets/images/avatar/golink.svg +224 -0
  36. data/assets/images/favicon/favicon-golink.png +0 -0
  37. data/assets/javascripts/vendor/wow.min.js +2 -0
  38. data/assets/stylesheets/main.scss +6 -0
  39. data/assets/stylesheets/vendor/animate.min.css +1 -0
  40. data/exe/golink +55 -0
  41. data/lib/golink.rb +13 -0
  42. data/lib/golink/main.rb +56 -0
  43. data/lib/golink/name.rb +14 -0
  44. data/lib/golink/template/config_yml.rb +35 -0
  45. data/lib/golink/template/dbase.rb +64 -0
  46. data/lib/golink/template/error_page.rb +25 -0
  47. data/lib/golink/template/gemfile.rb +38 -0
  48. data/lib/golink/template/index_md.rb +23 -0
  49. data/lib/golink/template/utils.rb +31 -0
  50. data/lib/golink/version.rb +16 -0
  51. metadata +195 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 751cd5d3d22f1a572695f0d1b0519c7a4597a9ca
4
+ data.tar.gz: 198992b11048dfa7003f99cc8691c4aa6cd957fd
5
+ SHA512:
6
+ metadata.gz: 8bb8d12bfe29468b6f2dd0b2a2519ac224e86eee59fe989a6ebd39c99adbf73ed2ca6774b016b45b4e992947dcb5dcd7682e93d20db885cc6003a5682a8f2cf0
7
+ data.tar.gz: 227a0f11429a14ee1375b4d94f802300ee8b6dd7fb9dea1bdf3704b4f422d006b5cec984e87b662d4a7c6229077d895da0d3cce6236cc0f3058ea33f1e3daad4
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 William Canin
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,107 @@
1
+ # [Golink](https://github.com/williamcanin/golink)
2
+
3
+ Golink is a minimal theme for [Jekyll](https://jekyllrb.com), especially for those who want to have a page only to redirect links to other addresses.
4
+
5
+ ![Go!Link Theme](https://raw.githubusercontent.com/williamcanin/golink/master/screenshot.png)
6
+
7
+ ## Table of Contents
8
+
9
+ * [Feature](https://github.com/williamcanin/golink/#feature)
10
+ * [Requeriments](https://github.com/williamcanin/golink/#requeriments)
11
+ * [Usage](https://github.com/williamcanin/golink/#usage)
12
+ * [Custom Appearance](https://github.com/williamcanin/golink/#custom-appearance)
13
+ * [Deploy](https://github.com/williamcanin/golink/#deploy)
14
+ * [Demo](https://github.com/williamcanin/golink/#demo)
15
+ * [Questions](https://github.com/williamcanin/golink/#questions)
16
+ * [Versions](https://github.com/williamcanin/golink/#versions)
17
+ * [License and Copyrights](https://github.com/williamcanin/golink/#license-and-copyrights)
18
+ * [Credits](https://github.com/williamcanin/golink/#credits)
19
+
20
+
21
+ ## Feature
22
+
23
+ - [x] **Responsive**
24
+ - [x] **Google Analytics**
25
+ - [x] **Google Fonts**
26
+ - [x] **Avatar**
27
+ - [x] **404 Error Page**
28
+
29
+ **Used plugins**:
30
+
31
+ * Vendors:
32
+ - jekyll-email-protect
33
+
34
+
35
+ ## Requeriments
36
+
37
+ | Requerid | How to check | How to install |
38
+ | --------------- | ------------------- | -------------- |
39
+ | Git | `git --version` | [Git](http://git-scm.com/) |
40
+ | Ruby | `ruby -v` | [Ruby](https://www.ruby-lang.org) |
41
+ | Gem | `gem -v` | **Ruby** contains **Gem** |
42
+ | Bundler | `bundler -v` | `gem install bundler` |
43
+
44
+ ## Usage
45
+
46
+ 1 - Install theme Go!Link:
47
+
48
+ ```
49
+ $ gem install golink
50
+ ```
51
+
52
+ 2 - In an empty directory, start the structure for the theme 'Go!Link'.
53
+
54
+ ```
55
+ $ golink init
56
+ ```
57
+
58
+ Ready! Now just confirm your information. Follow and see.
59
+
60
+ ## Custom Appearance
61
+
62
+ Now that the 'Go! Link' is functional, just put your information to leave it with your preference.
63
+
64
+ The settings are contained in the file '**_data/dbase.yml**'. In this file you must change the values according to your need.
65
+
66
+ The avatar for your new website must be inside the folder '**assets/images/avatar**' and the favicon image, it must be in '**assets/images/favicon**'.
67
+
68
+ The file '**404.md**' is the Error 404 page, if you enter the wrong address of your site, you will be redirected to this page. Of the same, contains text that will be displayed on the page, you can edit it as you want. In the header, you can edit the title and button values.
69
+
70
+ ## Deploy
71
+
72
+ Your site will be generated in the `_site` folder. Deploy these files to your hosting server.
73
+
74
+ **Note:** Before deploying to the server, you have to edit the
75
+ Variables: **url** and **baseurl** in the `_config.yml` file according to url Where your site is crooked. You can get more information on how to set up at: [Jekyll Configuration](https://jekyllrb.com/docs/configuration/#serve-command-options)
76
+
77
+ ## Demo
78
+
79
+ If you want to see the project in action, go here > [Demo](http://williamcanin.github.io/golink/)
80
+
81
+ ## Questions
82
+
83
+ Make your opinions on Typing Jekyll Template, in:
84
+ [Go!Link - Issues](https://github.com/williamcanin/golink/issues)
85
+
86
+ ## Versions
87
+
88
+ You can download the versions without making a clone with Git. Go to [Releases](https://github.com/williamcanin/golink/releases)
89
+
90
+ ## License and Copyrights
91
+
92
+ License: [MIT License (MIT)](https://opensource.org/licenses/MIT)
93
+
94
+ Copyrights: William C. Canin | Copyright © 2017
95
+
96
+ *You can change the structure of Go!Link as you wish, as long as you do not manipulate the copyrights of William C.Canin in the project*
97
+
98
+ ## Credits
99
+
100
+ * Name: William C. Canin
101
+ * Country: Brazil - SP
102
+ * EMail: william.costa.canin@gmail.com
103
+ * GitHub: [William Canin](http://github.com/williamcanin)
104
+ * Home page: [William Canin](http://williamcanin.github.com)
105
+
106
+
107
+
@@ -0,0 +1,8 @@
1
+ {% comment %}
2
+ These settings in this file are responsible for loading site settings. Do not change or remove this file.
3
+ Att. William Canin :)
4
+ {% endcomment %}
5
+
6
+ {% assign dbase = site.data.dbase %}
7
+
8
+ {% assign theme_name = "golink" %}
@@ -0,0 +1,15 @@
1
+ <div class="footer">
2
+ <div class="container-fluid">
3
+ <div class="row">
4
+ <div class="col-sm-4 copyright">
5
+ <span>{{ dbase.site.config.title }} © {{ dbase.site.config.launch }}-{{ site.time | date: '%Y' }} • All right reserved.</span>
6
+ </div>
7
+ <div class="col-sm-4 message">
8
+ <span>{{ dbase.site.config.footer.message }}</span>
9
+ </div>
10
+ <div class="col-sm-4 madeby">
11
+ <span>Made with&nbsp;<a href="https://jekyllrb.com" target="_blank">Jekyll</a>&nbsp;using&nbsp;<a href="https://github.com/williamcanin/{{ theme_name }}" target="_blank">Golink</a>&nbsp;Theme.</span>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </div>
@@ -0,0 +1,16 @@
1
+ {% if dbase.site.config.google.analytics.enable == true and dbase.site.config.google.analytics.id %}
2
+ <script>
3
+ if (window.location.hostname == "{{ site.url }}{{ site.baseurl }}") {
4
+ var _gaq = _gaq || [];
5
+ _gaq.push(['_setAccount', '{{ dbase.site.config.google.analytics.id }}']);
6
+ _gaq.push(['_trackPageview']);
7
+
8
+ (function() {
9
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
10
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
11
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
12
+ })();
13
+
14
+ } else { _gaq = []; };
15
+ </script>
16
+ {% endif %}
@@ -0,0 +1,66 @@
1
+ <!-- Include Data Base -->
2
+ {% include dbase/dbase %}
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+ <title>{% if page.title %}{{page.title}} | {{ dbase.site.config.title }} {% else %} {{ dbase.site.config.title }} | {{ dbase.site.config.description }} {% endif %}</title>
8
+ <meta name=description content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ dbase.site.config.description }}{% endif %}">
9
+ <meta name=viewport content="width=device-width, initial-scale=1">
10
+ {% if dbase.site.config.metatag.google-site-verification %}
11
+ <meta name="google-site-verification" content="{{ dbase.site.config.metatag.google-site-verification }}">
12
+ {% endif %}
13
+ {% if dbase.site.config.metatag.expires %}
14
+ <meta http-equiv="expires" content="{{ dbase.site.config.metatag.expires }}">
15
+ {% endif %}
16
+ {% if dbase.site.config.metatag.cache-control %}
17
+ <meta http-equiv="cache-control" content="{{ dbase.site.config.metatag.cache-control }}"/>
18
+ {% else %}
19
+ <meta http-equiv="cache-control" content="public"/>
20
+ {% endif %}
21
+ <meta http-equiv="Pragma" content="public">
22
+ <meta name="keywords" content="{{ dbase.site.config.metatag.tags }}" />
23
+ <meta property="og:locale" content="{{ dbase.site.config.metatag.locale }}" />
24
+ <meta property="og:site_name" content="{{ dbase.site.config.title }}" />
25
+ <meta property="og:type" content="{{ dbase.site.config.metatag.type }}" />
26
+ <meta property="og:url" content="{{ site.url }}{{ site.baseurl }}{{ page.url }}" />
27
+ <meta property="og:description" content="{{ dbase.site.config.description }}" />
28
+ <meta property="og:title" content="{{ page.title }} - {{ dbase.site.config.title }}" />
29
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
30
+ <link rel="alternate" type="application/rss+xml" title="{{ dbase.site.config.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
31
+ {% if page.url == "/404.html" and dbase.site.config.metatag.refresh-time %}
32
+ <meta http-equiv="refresh" content="{{ dbase.site.config.metatag.refresh-time }}; url={{ site.url }}{{ site.baseurl }}/">
33
+ {% endif %}
34
+ <script type="application/ld+json">
35
+ {"@context": "http://schema.org",
36
+ "@type": "{{ dbase.site.config.metatag.type }}",
37
+ "headline": "{{ dbase.site.config.title }}",
38
+ "author": {"@type": "Person",
39
+ "name": {"{{ dbase.site.config.title }}"}},
40
+ "description": "{{ dbase.site.config.description }}",
41
+ "url": "{{ site.url }}{{ site.baseurl }}"}
42
+ </script>
43
+
44
+ {% if dbase.site.config.favicon %}
45
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/images/favicon' | prepend: site.baseurl | prepend: site.url }}/{{ dbase.site.config.favicon }}">
46
+ {% endif %}
47
+
48
+ <!-- Bootstrap 4 -->
49
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
50
+
51
+ <!-- Fonts -->
52
+ <link href="https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
53
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300i,700" rel="stylesheet">
54
+ <link href="https://fonts.googleapis.com/css?family=Gloria+Hallelujah" rel="stylesheet">
55
+
56
+ <!-- Vendor -->
57
+ <link rel="stylesheet" href="{{ '/assets/stylesheets/vendor/animate.min.css' | prepend: site.baseurl | prepend: site.url }}">
58
+
59
+ <!-- Style Default -->
60
+ <link rel="stylesheet" href="{{ '/assets/stylesheets/main.css' | prepend: site.baseurl | prepend: site.url }}">
61
+
62
+ {% if dbase.site.config.google.analytics.enable == true and dbase.site.config.google.analytics.id %}
63
+ {% include partials/ga.html %}
64
+ {% endif %}
65
+
66
+ </head>
@@ -0,0 +1,3 @@
1
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
2
+ <script src="{{ '/assets/javascripts/vendor/wow.min.js' | prepend: site.baseurl | prepend: site.url }}"></script>
3
+ <script>new WOW().init();</script>
@@ -0,0 +1,10 @@
1
+ ---
2
+ # Jekyll layout that compresses HTML
3
+ # v3.0.2
4
+ # http://jch.penibelst.de/
5
+ # © 2014–2015 Anatol Broder
6
+ # MIT License
7
+ ---
8
+
9
+ {% capture _LINE_FEED %}
10
+ {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
@@ -0,0 +1,46 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+
5
+ <!-- Include Data Base -->
6
+ {% include dbase/dbase %}
7
+
8
+ <!DOCTYPE html>
9
+ <html lang="en" itemscope itemtype="http://schema.org/WebPage">
10
+ {% include partials/head.html %}
11
+ <body>
12
+ <div class="default">
13
+ <div class="container">
14
+ <div class="row wow fadeInDown">
15
+ <div class="col-sm-4 col-avatar">
16
+ {% if dbase.site.config.avatar %}
17
+ <img class="img-responsive avatar" src="{{ '/assets/images/avatar' | prepend: site.baseurl | prepend: site.url }}/{{ dbase.site.config.avatar }}" alt="{{ dbase.site.config.title }}">
18
+ {% endif %}
19
+ </div>
20
+ <div class="col-sm-8 col-content">
21
+ <p class="name">{{ dbase.userdata.person_name }}</p>
22
+ <p class="description">{{ dbase.userdata.user_description }}</p>
23
+ <p class="golink">
24
+ {% if dbase.userdata.email %}
25
+ <a class="link" href="mailto: {{ dbase.userdata.email | encode_email }}">
26
+ <i class="fa fa-envelope icon" aria-hidden="true"></i><span class="link-text">e-mail</span>
27
+ </a>
28
+ {% endif %}
29
+ {% for hash in dbase %}
30
+ {% assign _getdata = hash[1] %}
31
+ {% assign golink = _getdata.golink %}
32
+ {% for item in golink %}
33
+ <a class="link" href="{{ item.url }}" onclick="_gaq.push(['_trackEvent', 'linkTo', '{{item.title}}', this.href]);">
34
+ <i class="fa {{ item.icon }} icon" aria-hidden="true"></i><span class="link-text">{{ item.title }}</span>
35
+ </a>
36
+ {% endfor %}
37
+ {% endfor %}
38
+ </p>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ {% include partials/footer.html %}
43
+ </div>
44
+ {% include partials/src.html %}
45
+ </body>
46
+ </html>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: compress
3
+ ---
4
+
5
+ <!-- Include Data Base -->
6
+ {% include dbase/dbase %}
7
+
8
+ <!DOCTYPE html>
9
+ <html lang="en" itemscope itemtype="http://schema.org/WebPage">
10
+ {% include partials/head.html %}
11
+ <body>
12
+ <div class="page">
13
+ <div class="container">
14
+ <div class="row title">
15
+ <h1>{{ page.title }}</h1>
16
+ </div>
17
+ <div class="row content">
18
+ {{ content }}
19
+ <a class="btn btn-default goback" href="{{ site.url }}{{ site.baseurl }}">{{ page.goback }}</a>
20
+ </div>
21
+ </div>
22
+ {% include partials/footer.html %}
23
+ </div>
24
+ {% include partials/src.html %}
25
+ </body>
26
+ </html>
@@ -0,0 +1,18 @@
1
+
2
+ /* Reset basic */
3
+
4
+ * {
5
+ margin: 0;
6
+ padding: 0;
7
+ box-sizing: border-box;
8
+ }
9
+ html, body {
10
+ width: 100%;
11
+ height: 100%;
12
+ }
13
+
14
+ /* Imports base */
15
+
16
+ @import "fonts";
17
+ @import "variables";
18
+ @import "mixins";
@@ -0,0 +1,4 @@
1
+ /* Fonts all theme */
2
+
3
+ $font-family-primary: 'Open Sans Condensed', sans-serif;
4
+ $font-family-secondary: 'Gloria Hallelujah', cursive;
@@ -0,0 +1,40 @@
1
+ /* Mixins*/
2
+
3
+ @mixin border-radius($radius) {
4
+ -webkit-border-radius: $radius;
5
+ -moz-border-radius: $radius;
6
+ -ms-border-radius: $radius;
7
+ border-radius: $radius;
8
+ }
9
+
10
+ @mixin box-shadow($top, $left, $blur, $color, $inset: false) {
11
+ @if $inset {
12
+ -webkit-box-shadow: inset $top $left $blur $color;
13
+ -moz-box-shadow: inset $top $left $blur $color;
14
+ box-shadow: inset $top $left $blur $color;
15
+ } @else {
16
+ -webkit-box-shadow: $top $left $blur $color;
17
+ -moz-box-shadow: $top $left $blur $color;
18
+ box-shadow: $top $left $blur $color;
19
+ }
20
+ }
21
+
22
+ @mixin text-shadow($top, $left, $blur, $color, $inset: false) {
23
+ @if $inset {
24
+ -webkit-text-shadow: inset $top $left $blur $color;
25
+ -moz-text-shadow: inset $top $left $blur $color;
26
+ text-shadow: inset $top $left $blur $color;
27
+ } @else {
28
+ -webkit-text-shadow: $top $left $blur $color;
29
+ -moz-text-shadow: $top $left $blur $color;
30
+ text-shadow: $top $left $blur $color;
31
+ }
32
+ }
33
+
34
+ @mixin transform($transforms) {
35
+ -moz-transform: $transforms;
36
+ -o-transform: $transforms;
37
+ -ms-transform: $transforms;
38
+ -webkit-transform: $transforms;
39
+ transform: $transforms;
40
+ }
@@ -0,0 +1,602 @@
1
+ /* ==========================================================================
2
+ Normalize.scss settings
3
+ ========================================================================== */
4
+ /**
5
+ * Includes legacy browser support IE6/7
6
+ *
7
+ * Set to false if you want to drop support for IE6 and IE7
8
+ */
9
+
10
+ $legacy_browser_support: false !default;
11
+
12
+ /* Base
13
+ ========================================================================== */
14
+
15
+ /**
16
+ * 1. Set default font family to sans-serif.
17
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
18
+ * without disabling user zoom.
19
+ * 3. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
20
+ * `em` units.
21
+ */
22
+
23
+ html {
24
+ font-family: sans-serif; /* 1 */
25
+ -ms-text-size-adjust: 100%; /* 2 */
26
+ -webkit-text-size-adjust: 100%; /* 2 */
27
+ @if $legacy_browser_support {
28
+ *font-size: 100%; /* 3 */
29
+ }
30
+ }
31
+
32
+ /**
33
+ * Remove default margin.
34
+ */
35
+
36
+ body {
37
+ margin: 0;
38
+ }
39
+
40
+ /* HTML5 display definitions
41
+ ========================================================================== */
42
+
43
+ /**
44
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
45
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
46
+ * and Firefox.
47
+ * Correct `block` display not defined for `main` in IE 11.
48
+ */
49
+
50
+ article,
51
+ aside,
52
+ details,
53
+ figcaption,
54
+ figure,
55
+ footer,
56
+ header,
57
+ hgroup,
58
+ main,
59
+ menu,
60
+ nav,
61
+ section,
62
+ summary {
63
+ display: block;
64
+ }
65
+
66
+ /**
67
+ * 1. Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
68
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
69
+ */
70
+
71
+ audio,
72
+ canvas,
73
+ progress,
74
+ video {
75
+ display: inline-block; /* 1 */
76
+ vertical-align: baseline; /* 2 */
77
+ @if $legacy_browser_support {
78
+ *display: inline;
79
+ *zoom: 1;
80
+ }
81
+ }
82
+
83
+ /**
84
+ * Prevents modern browsers from displaying `audio` without controls.
85
+ * Remove excess height in iOS 5 devices.
86
+ */
87
+
88
+ audio:not([controls]) {
89
+ display: none;
90
+ height: 0;
91
+ }
92
+
93
+ /**
94
+ * Address `[hidden]` styling not present in IE 8/9/10.
95
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
96
+ */
97
+
98
+ [hidden],
99
+ template {
100
+ display: none;
101
+ }
102
+
103
+ /* Links
104
+ ========================================================================== */
105
+
106
+ /**
107
+ * Remove the gray background color from active links in IE 10.
108
+ */
109
+
110
+ a {
111
+ background-color: transparent;
112
+ }
113
+
114
+ /**
115
+ * Improve readability of focused elements when they are also in an
116
+ * active/hover state.
117
+ */
118
+
119
+ a {
120
+ &:active, &:hover {
121
+ outline: 0;
122
+ };
123
+ }
124
+
125
+ /* Text-level semantics
126
+ ========================================================================== */
127
+
128
+ /**
129
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
130
+ */
131
+
132
+ abbr[title] {
133
+ border-bottom: 1px dotted;
134
+ }
135
+
136
+ /**
137
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
138
+ */
139
+
140
+ b,
141
+ strong {
142
+ font-weight: bold;
143
+ }
144
+
145
+ @if $legacy_browser_support {
146
+ blockquote {
147
+ margin: 1em 40px;
148
+ }
149
+ }
150
+
151
+ /**
152
+ * Address styling not present in Safari and Chrome.
153
+ */
154
+
155
+ dfn {
156
+ font-style: italic;
157
+ }
158
+
159
+ /**
160
+ * Address variable `h1` font-size and margin within `section` and `article`
161
+ * contexts in Firefox 4+, Safari, and Chrome.
162
+ */
163
+
164
+ h1 {
165
+ font-size: 2em;
166
+ margin: 0.67em 0;
167
+ }
168
+
169
+ @if $legacy_browser_support {
170
+ h2 {
171
+ font-size: 1.5em;
172
+ margin: 0.83em 0;
173
+ }
174
+
175
+ h3 {
176
+ font-size: 1.17em;
177
+ margin: 1em 0;
178
+ }
179
+
180
+ h4 {
181
+ font-size: 1em;
182
+ margin: 1.33em 0;
183
+ }
184
+
185
+ h5 {
186
+ font-size: 0.83em;
187
+ margin: 1.67em 0;
188
+ }
189
+
190
+ h6 {
191
+ font-size: 0.67em;
192
+ margin: 2.33em 0;
193
+ }
194
+ }
195
+
196
+ /**
197
+ * Addresses styling not present in IE 8/9.
198
+ */
199
+
200
+ mark {
201
+ background: #ff0;
202
+ color: #000;
203
+ }
204
+
205
+ @if $legacy_browser_support {
206
+
207
+ /**
208
+ * Addresses margins set differently in IE 6/7.
209
+ */
210
+
211
+ p,
212
+ pre {
213
+ *margin: 1em 0;
214
+ }
215
+
216
+ /*
217
+ * Addresses CSS quotes not supported in IE 6/7.
218
+ */
219
+
220
+ q {
221
+ *quotes: none;
222
+ }
223
+
224
+ /*
225
+ * Addresses `quotes` property not supported in Safari 4.
226
+ */
227
+
228
+ q:before,
229
+ q:after {
230
+ content: '';
231
+ content: none;
232
+ }
233
+ }
234
+
235
+ /**
236
+ * Address inconsistent and variable font size in all browsers.
237
+ */
238
+
239
+ small {
240
+ font-size: 80%;
241
+ }
242
+
243
+ /**
244
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
245
+ */
246
+
247
+ sub,
248
+ sup {
249
+ font-size: 75%;
250
+ line-height: 0;
251
+ position: relative;
252
+ vertical-align: baseline;
253
+ }
254
+
255
+ sup {
256
+ top: -0.5em;
257
+ }
258
+
259
+ sub {
260
+ bottom: -0.25em;
261
+ }
262
+
263
+ @if $legacy_browser_support {
264
+
265
+ /* ==========================================================================
266
+ Lists
267
+ ========================================================================== */
268
+
269
+ /*
270
+ * Addresses margins set differently in IE 6/7.
271
+ */
272
+
273
+ dl,
274
+ menu,
275
+ ol,
276
+ ul {
277
+ *margin: 1em 0;
278
+ }
279
+
280
+ dd {
281
+ *margin: 0 0 0 40px;
282
+ }
283
+
284
+ /*
285
+ * Addresses paddings set differently in IE 6/7.
286
+ */
287
+
288
+ menu,
289
+ ol,
290
+ ul {
291
+ *padding: 0 0 0 40px;
292
+ }
293
+
294
+ /*
295
+ * Corrects list images handled incorrectly in IE 7.
296
+ */
297
+
298
+ nav ul,
299
+ nav ol {
300
+ *list-style: none;
301
+ *list-style-image: none;
302
+ }
303
+
304
+ }
305
+
306
+ /* Embedded content
307
+ ========================================================================== */
308
+
309
+ /**
310
+ * 1. Remove border when inside `a` element in IE 8/9/10.
311
+ * 2. Improves image quality when scaled in IE 7.
312
+ */
313
+
314
+ img {
315
+ border: 0;
316
+ @if $legacy_browser_support {
317
+ *-ms-interpolation-mode: bicubic; /* 2 */
318
+ }
319
+ }
320
+
321
+ /**
322
+ * Correct overflow not hidden in IE 9/10/11.
323
+ */
324
+
325
+ svg:not(:root) {
326
+ overflow: hidden;
327
+ }
328
+
329
+ /* Grouping content
330
+ ========================================================================== */
331
+
332
+ /**
333
+ * Address margin not present in IE 8/9 and Safari.
334
+ */
335
+
336
+ figure {
337
+ margin: 1em 40px;
338
+ }
339
+
340
+ /**
341
+ * Address differences between Firefox and other browsers.
342
+ */
343
+
344
+ hr {
345
+ box-sizing: content-box;
346
+ height: 0;
347
+ }
348
+
349
+ /**
350
+ * Contain overflow in all browsers.
351
+ */
352
+
353
+ pre {
354
+ overflow: auto;
355
+ }
356
+
357
+ /**
358
+ * Address odd `em`-unit font size rendering in all browsers.
359
+ * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
360
+ */
361
+
362
+ code,
363
+ kbd,
364
+ pre,
365
+ samp {
366
+ font-family: monospace, monospace;
367
+ @if $legacy_browser_support {
368
+ _font-family: 'courier new', monospace;
369
+ }
370
+ font-size: 1em;
371
+ }
372
+
373
+ /* Forms
374
+ ========================================================================== */
375
+
376
+ /**
377
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
378
+ * styling of `select`, unless a `border` property is set.
379
+ */
380
+
381
+ /**
382
+ * 1. Correct color not being inherited.
383
+ * Known issue: affects color of disabled elements.
384
+ * 2. Correct font properties not being inherited.
385
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
386
+ * 4. Improves appearance and consistency in all browsers.
387
+ */
388
+
389
+ button,
390
+ input,
391
+ optgroup,
392
+ select,
393
+ textarea {
394
+ color: inherit; /* 1 */
395
+ font: inherit; /* 2 */
396
+ margin: 0; /* 3 */
397
+ @if $legacy_browser_support {
398
+ vertical-align: baseline; /* 3 */
399
+ *vertical-align: middle; /* 3 */
400
+ }
401
+ }
402
+
403
+ /**
404
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
405
+ */
406
+
407
+ button {
408
+ overflow: visible;
409
+ }
410
+
411
+ /**
412
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
413
+ * All other form control elements do not inherit `text-transform` values.
414
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
415
+ * Correct `select` style inheritance in Firefox.
416
+ */
417
+
418
+ button,
419
+ select {
420
+ text-transform: none;
421
+ }
422
+
423
+ /**
424
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
425
+ * and `video` controls.
426
+ * 2. Correct inability to style clickable `input` types in iOS.
427
+ * 3. Improve usability and consistency of cursor style between image-type
428
+ * `input` and others.
429
+ * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
430
+ * Known issue: inner spacing remains in IE 6.
431
+ */
432
+
433
+ button,
434
+ html input[type="button"], /* 1 */
435
+ input[type="reset"],
436
+ input[type="submit"] {
437
+ -webkit-appearance: button; /* 2 */
438
+ cursor: pointer; /* 3 */
439
+ @if $legacy_browser_support {
440
+ *overflow: visible; /* 4 */
441
+ }
442
+ }
443
+
444
+ /**
445
+ * Re-set default cursor for disabled elements.
446
+ */
447
+
448
+ button[disabled],
449
+ html input[disabled] {
450
+ cursor: default;
451
+ }
452
+
453
+ /**
454
+ * Remove inner padding and border in Firefox 4+.
455
+ */
456
+
457
+ button::-moz-focus-inner,
458
+ input::-moz-focus-inner {
459
+ border: 0;
460
+ padding: 0;
461
+ }
462
+
463
+ /**
464
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
465
+ * the UA stylesheet.
466
+ */
467
+
468
+ input {
469
+ line-height: normal;
470
+ }
471
+
472
+ /**
473
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
474
+ * 2. Remove excess padding in IE 8/9/10.
475
+ * Known issue: excess padding remains in IE 6.
476
+ */
477
+
478
+ input[type="checkbox"],
479
+ input[type="radio"] {
480
+ box-sizing: border-box; /* 1 */
481
+ padding: 0; /* 2 */
482
+ @if $legacy_browser_support {
483
+ *height: 13px; /* 3 */
484
+ *width: 13px; /* 3 */
485
+ }
486
+ }
487
+
488
+ /**
489
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
490
+ * `font-size` values of the `input`, it causes the cursor style of the
491
+ * decrement button to change from `default` to `text`.
492
+ */
493
+
494
+ input[type="number"]::-webkit-inner-spin-button,
495
+ input[type="number"]::-webkit-outer-spin-button {
496
+ height: auto;
497
+ }
498
+
499
+ /**
500
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
501
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
502
+ */
503
+
504
+ input[type="search"] {
505
+ -webkit-appearance: textfield; /* 1 */
506
+ box-sizing: content-box; /* 2 */
507
+ }
508
+
509
+ /**
510
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
511
+ * Safari (but not Chrome) clips the cancel button when the search input has
512
+ * padding (and `textfield` appearance).
513
+ */
514
+
515
+ input[type="search"]::-webkit-search-cancel-button,
516
+ input[type="search"]::-webkit-search-decoration {
517
+ -webkit-appearance: none;
518
+ }
519
+
520
+ /**
521
+ * Define consistent border, margin, and padding.
522
+ */
523
+
524
+ fieldset {
525
+ border: 1px solid #c0c0c0;
526
+ margin: 0 2px;
527
+ padding: 0.35em 0.625em 0.75em;
528
+ }
529
+
530
+ /**
531
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
532
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
533
+ * 3. Corrects text not wrapping in Firefox 3.
534
+ * 4. Corrects alignment displayed oddly in IE 6/7.
535
+ */
536
+
537
+ legend {
538
+ border: 0; /* 1 */
539
+ padding: 0; /* 2 */
540
+ @if $legacy_browser_support {
541
+ white-space: normal; /* 3 */
542
+ *margin-left: -7px; /* 4 */
543
+ }
544
+ }
545
+
546
+ /**
547
+ * Remove default vertical scrollbar in IE 8/9/10/11.
548
+ */
549
+
550
+ textarea {
551
+ overflow: auto;
552
+ }
553
+
554
+ /**
555
+ * Don't inherit the `font-weight` (applied by a rule above).
556
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
557
+ */
558
+
559
+ optgroup {
560
+ font-weight: bold;
561
+ }
562
+
563
+ /* Tables
564
+ ========================================================================== */
565
+
566
+ /**
567
+ * Remove most spacing between table cells.
568
+ */
569
+
570
+ table {
571
+ border-collapse: collapse;
572
+ border-spacing: 0;
573
+ }
574
+
575
+ td,
576
+ th {
577
+ padding: 0;
578
+ }
579
+
580
+
581
+ /**
582
+ * Reset some basic elements, by William
583
+ */
584
+ body, h1, h2, h3, h4, h5, h6,
585
+ p, blockquote, pre, hr,
586
+ dl, dd, ol, ul, figure {
587
+ margin: 0;
588
+ padding: 0;
589
+ }
590
+
591
+
592
+ a{
593
+ &:hover,&:active,&:focus,&:visited{
594
+ outline: none;
595
+ }
596
+ }
597
+
598
+ *, *:before, *:after {
599
+ -moz-box-sizing: border-box;
600
+ -webkit-box-sizing: border-box;
601
+ box-sizing: border-box;
602
+ }