jekyll-theme-blp 1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1b1f96b29c6c8b25dc730e14226be688121b2109fb8ca309eddd8f33adb5f5dd
4
+ data.tar.gz: 9594143cd28975aaa1b18c45c0bb7e736ae192138fe9bbba6bbcec2e006a3745
5
+ SHA512:
6
+ metadata.gz: 99d0c360cb89fff467547f102e2375b1b974c8d71e7dc0ad63ed94507728a56710a77f29523e181d068e5987aabca45a290d695822bb9183f4a23e3c6a840914
7
+ data.tar.gz: dfb7db9689e288ca8d934fef41bb3e0fff55c02d8c89bb21173e34516885d0846bc73654495c7c2d34e849f1cb9cd0d6ee8c5e92164abc0883950fe0e8b2a606
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Arthur Freitas
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,45 @@
1
+ # jekyll-theme-blp
2
+
3
+ ## Installation
4
+
5
+ Add this line to your Jekyll site's `Gemfile`:
6
+
7
+ ```ruby
8
+ gem "jekyll-theme-blp"
9
+ ```
10
+
11
+ And add this line to your Jekyll site's `_config.yml`:
12
+
13
+ ```yaml
14
+ theme: jekyll-theme-blp
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $ bundle
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install jekyll-theme-blp
24
+
25
+ ## Usage
26
+
27
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ateliedetemas/jekyll-theme-blp. 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.
32
+
33
+ ## Development
34
+
35
+ To set up your environment to develop this theme, run `bundle install`.
36
+
37
+ 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.
38
+
39
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
40
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-blp.gemspec` accordingly.
41
+
42
+ ## License
43
+
44
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
45
+
@@ -0,0 +1,12 @@
1
+ <footer class="site-footer">
2
+ <div class="wrapper">
3
+ {% if page.url == "/" %}
4
+ <p class="disclaimer">
5
+ <a href="http://www.anbima.com.br/pt_br/pagina-inicial.htm" target="_blank" rel="external" class="seal">
6
+ <img src="{{ '/assets/images/selo-anbima2.png' | absolute_url }}" alt="Selo de aprovação Anbima" />
7
+ </a>
8
+ A BLP Gestora de Recursos Ltda não comercializa nem distribui cotas de fundos de investimentos. Leia o prospecto e o regulamento antes de investir. As Lâminas de Informações Essenciais encontram-se disponíveis no site do Administrador. Rentabilidade passada não representa garantia de rentabilidade futura. A aplicação de recursos em fundos de investimento, assim como qualquer investimento realizado nos mercados financeiro e de capitais, pode resultar em perda do capital investido. A rentabilidade divulgada não é líquida de impostos. Os fundos de investimento não contam com garantia do Administrador, do Gestor, de qualquer mecanismo de seguro ou fundo garantidor de crédito (FGC). Os fundos adotam estratégias com derivativos como parte integrante de suas políticas de investimento, as quais, da forma como são implementadas, podem vir a resultar em significativas perdas patrimoniais aos seus cotistas. Os fundos de investimentos podem ficar expostos, em consonância com suas respectivas políticas de investimento, à significativa concentração em ativos de poucos emissores, apresentando, assim, os riscos daí decorrentes. Os fundos podem, conforme o caso, estar autorizados a efetuar aplicações em ativos financeiros no exterior. A BLP Gestora de Recursos Ltda não se responsabiliza por quaisquer erros ou omissões no conteúdo das informações divulgadas nesse website, sendo as informações de caráter exclusivamente informativo, não devendo ser entendidas como uma oferta ou recomendação para aquisição de quotas de qualquer fundo gerido pela BLP Gestora de Recursos Ltda.
9
+ </p>
10
+ {% endif %}
11
+ </div>
12
+ </footer>
@@ -0,0 +1,6 @@
1
+ <head>
2
+ <meta charset="utf-8" />
3
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
4
+ <link rel="stylesheet" type="text/css" href="{{- '/assets/main.css' | relative_path -}}" />
5
+ {%- seo -%}
6
+ </head>
@@ -0,0 +1,42 @@
1
+ <header class="site-header">
2
+ <div class="wrapper">
3
+ {%- if page.title -%}
4
+ <p class="site-title">
5
+ <a href="{{- site.url -}}">
6
+ {{- site.title | split: " " | first -}}
7
+ </a>
8
+ </p>
9
+ {%- else -%}
10
+ <h1 class="site-title">
11
+ <a href="{{- site.url -}}">
12
+ {{- site.title | split: " " | first -}}
13
+ </a>
14
+ </h1>
15
+ {%- endif -%}
16
+
17
+ {%- assign current_language = page.lang | default: site.lang -%}
18
+ {%- assign main_menu = site.data.menus.main[current_language] -%}
19
+
20
+ {%- if main_menu -%}
21
+ <nav class="site-menu">
22
+ <input id="main-menu-trigger" type="checkbox" />
23
+ <label for="main-menu-trigger" class="menu-trigger">
24
+ <svg class="svg-icon" viewBox="0 0 12 16" version="1.1" width="12" height="16">
25
+ <title>Menu</title>
26
+ <path fill-rule="evenodd" d="M11.41 9H.59C0 9 0 8.59 0 8c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zm0-4H.59C0 5 0 4.59 0 4c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zM.59 11H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1H.59C0 13 0 12.59 0 12c0-.59 0-1 .59-1z" />
27
+ </svg>
28
+ </label>
29
+
30
+ <ul class="main-menu">
31
+ {%- for menu_item in main_menu -%}
32
+ <li class="menu-item">
33
+ <a href="{{- menu_item.url -}}" {%- if menu_item.external %} target="_blank" rel="external"{%- endif -%}>
34
+ {{ menu_item.title }}
35
+ </a>
36
+ </li>
37
+ {%- endfor -%}
38
+ </ul>
39
+ </nav>
40
+ {%- endif -%}
41
+ </div>
42
+ </header>
@@ -0,0 +1 @@
1
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
data/_sass/_base.scss ADDED
@@ -0,0 +1,63 @@
1
+ html {
2
+ box-sizing: border-box;
3
+ font-size: 62.5%;
4
+ }
5
+
6
+ *,
7
+ *::before,
8
+ *::after {
9
+ box-sizing: inherit;
10
+ }
11
+
12
+ html, body,
13
+ p, ul, ol, dl,
14
+ blockquote, pre,
15
+ figure, table, iframe,
16
+ audio, video, embed,
17
+ h1, h2, h3, h4, h5, h6 {
18
+ margin: 0;
19
+ padding: 0;
20
+ }
21
+
22
+ body {
23
+ background-image: url('/assets/images/bg.png');
24
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
25
+ color: $color-text;
26
+ margin-top: 64px;
27
+ }
28
+
29
+ img {
30
+ max-width: 100%;
31
+ }
32
+
33
+ /*
34
+ Text Elements
35
+ */
36
+
37
+ p, ul, ol, dl,
38
+ blockquote, pre,
39
+ figure, table, iframe,
40
+ h1, h2, h3, h4, h5, h6 {
41
+ &:not(:last-child) {
42
+ margin-bottom: $spacing-unit;
43
+ }
44
+ }
45
+
46
+ strong, b, th {
47
+ font-weight: bold;
48
+ }
49
+
50
+ em, i, blockquote {
51
+ font-style: italic;
52
+ }
53
+
54
+ a {
55
+ color: currentColor;
56
+ text-decoration: none;
57
+ transition: color 250ms ease;
58
+
59
+ &:hover,
60
+ &:focus {
61
+ color: $color-accent;
62
+ }
63
+ }
@@ -0,0 +1,209 @@
1
+ .wrapper {
2
+ @extend %wrapper;
3
+ }
4
+
5
+ .site {
6
+ display: flex;
7
+ flex-flow: column nowrap;
8
+ min-height: 100vh;
9
+
10
+ .site-content {
11
+ flex: 1 1 auto;
12
+ display: flex;
13
+ flex-flow: column nowrap;
14
+ justify-content: center;
15
+ }
16
+ }
17
+
18
+ /*
19
+ Site Header
20
+ */
21
+ .site-header {
22
+ position: fixed;
23
+ top: 0;
24
+ left: 0;
25
+ right: 0;
26
+ z-index: 2;
27
+ background-color: $color-background;
28
+ -webkit-backdrop-filter: saturate(180%) blur($spacing-unit);
29
+ backdrop-filter: saturate(180%) blur($spacing-unit);
30
+ padding-top: $spacing-unit;
31
+ padding-bottom: $spacing-unit;
32
+
33
+ .wrapper {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ align-items: center;
37
+ position: relative;
38
+
39
+ .site-title {
40
+ font-weight: 600;
41
+ letter-spacing: 0.15em;
42
+ margin-bottom: 0;
43
+
44
+ &:last-child {
45
+ margin-left: auto;
46
+ margin-right: auto;
47
+ }
48
+ }
49
+
50
+ .site-menu {
51
+ margin-left: auto;
52
+
53
+ #main-menu-trigger,
54
+ .menu-trigger {
55
+ display: none;
56
+ }
57
+
58
+ .menu-trigger {
59
+ @include media-query($on-palm) {
60
+ display: block;
61
+ }
62
+
63
+ .svg-icon {
64
+ vertical-align: middle;
65
+ fill: currentColor;
66
+ transition: fill 250ms ease;
67
+
68
+ &:hover,
69
+ &:focus {
70
+ fill: $color-accent;
71
+ }
72
+ }
73
+ }
74
+
75
+ #main-menu-trigger:checked + .menu-trigger {
76
+ .svg-icon {
77
+ fill: $color-accent;
78
+ }
79
+ }
80
+
81
+ .main-menu {
82
+ display: inline-flex;
83
+ list-style: none;
84
+ font-weight: normal;
85
+ @include relative-font-size(0.85);
86
+
87
+ @include media-query($on-palm) {
88
+ display: block;
89
+ background: $color-background;
90
+ -webkit-backdrop-filter: saturate(180%) blur($spacing-unit);
91
+ backdrop-filter: saturate(180%) blur($spacing-unit);
92
+ position: absolute;
93
+ top: calc(#{100%} + #{$spacing-unit});
94
+ left: 0;
95
+ right: 0;
96
+ z-index: 3;
97
+ padding: $spacing-unit $spacing-unit / 2;
98
+ opacity: 0;
99
+ visibility: hidden;
100
+ transition-property: opacity, visibility;
101
+ transition-duration: 250ms;
102
+ transition-timing-function: ease;
103
+
104
+ .menu-item {
105
+ text-align: center;
106
+
107
+ a {
108
+ display: block;
109
+ }
110
+ }
111
+ }
112
+
113
+ .menu-item:not(:last-child) {
114
+ margin-right: $spacing-unit;
115
+
116
+ @include media-query($on-palm) {
117
+ margin-right: 0;
118
+ margin-bottom: $spacing-unit / 2;
119
+ }
120
+ }
121
+ }
122
+
123
+ #main-menu-trigger:checked ~ .main-menu {
124
+ opacity: 1;
125
+ visibility: visible;
126
+ }
127
+ }
128
+ }
129
+ }
130
+
131
+ /*
132
+ Site Content
133
+ */
134
+ .site-content {
135
+ background-color: rgba(#fff, 0.85);
136
+ -webkit-backdrop-filter: saturate(180%) blur($spacing-unit);
137
+ backdrop-filter: saturate(180%) blur($spacing-unit);
138
+ color: $color-background;
139
+ padding-top: $spacing-unit;
140
+ padding-bottom: $spacing-unit;
141
+ }
142
+
143
+ .content {
144
+ .content-header {
145
+ margin-bottom: $spacing-unit;
146
+
147
+ .content-title {
148
+ text-align: center;
149
+ }
150
+
151
+ &::after {
152
+ display: block;
153
+ content: " ";
154
+ width: 50px;
155
+ height: 4px;
156
+ border-radius: 2px;
157
+ background-color: $color-accent;
158
+ margin: $spacing-unit / 2 auto $spacing-unit;
159
+ }
160
+ }
161
+ }
162
+
163
+ .page-home {
164
+ .content-body {
165
+ ul {
166
+ margin-top: $spacing-unit * 2;
167
+ margin-bottom: $spacing-unit * 2;
168
+ list-style: none;
169
+ font-weight: 600;
170
+ text-align: center;
171
+ text-transform: uppercase;
172
+ letter-spacing: 0.15em;
173
+ @include relative-font-size(1.25);
174
+
175
+ @include media-query($on-palm) {
176
+ @include relative-font-size(1.125);
177
+ }
178
+
179
+ li {
180
+ margin-bottom: $spacing-unit;
181
+ }
182
+ }
183
+ }
184
+ }
185
+
186
+ /*
187
+ Site Footer
188
+ */
189
+ .site-footer {
190
+ .wrapper {
191
+ background-color: rgba(#fff, 0.85);
192
+ -webkit-backdrop-filter: saturate(180%) blur($spacing-unit);
193
+ backdrop-filter: saturate(180%) blur($spacing-unit);
194
+ color: $color-background;
195
+ padding-top: $spacing-unit;
196
+ padding-bottom: $spacing-unit;
197
+ border-top: 1px solid $color-details;
198
+ }
199
+
200
+ .disclaimer {
201
+ @include relative-font-size(0.75);
202
+
203
+ img {
204
+ float: left;
205
+ max-width: 150px;
206
+ padding: 0 $spacing-unit / 2 $spacing-unit / 2 0;
207
+ }
208
+ }
209
+ }
@@ -0,0 +1,33 @@
1
+ // Media Queries
2
+ @mixin media-query($device) {
3
+ @media screen and (max-width: $device) {
4
+ @content;
5
+ }
6
+ }
7
+
8
+ // Font size handler
9
+ @mixin relative-font-size($ratio) {
10
+ font-size: $base-font-size * $ratio;
11
+ }
12
+
13
+ // Wrapper
14
+ %clearfix::after {
15
+ content: "";
16
+ display: table;
17
+ clear: both;
18
+ }
19
+
20
+ %wrapper {
21
+ max-width: calc(#{$content-width} - #{$spacing-unit * 2});
22
+ padding-left: $spacing-unit;
23
+ padding-right: $spacing-unit;
24
+ margin-left: auto;
25
+ margin-right: auto;
26
+ @extend %clearfix;
27
+
28
+ @include media-query($on-palm) {
29
+ max-width: calc(#{$content-width} - #{$spacing-unit});
30
+ padding-left: $spacing-unit / 2;
31
+ padding-right: $spacing-unit / 2;
32
+ }
33
+ }
Binary file
Binary file
Binary file
data/assets/main.scss ADDED
@@ -0,0 +1,25 @@
1
+ ---
2
+ # Hello, Jekyll!
3
+ ---
4
+
5
+ // Type and text.
6
+ $base-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Nimbus Sans L", sans-serif;
7
+ $base-font-size: 1.6rem;
8
+ $base-line-height: 1.5;
9
+ $base-font-weight: 300;
10
+
11
+ // Color palette.
12
+ $color-text: #f5f5f7;
13
+ $color-accent: #eac381;
14
+ $color-background: rgba(#000,0.8);
15
+ $color-details: #ecebe4;
16
+
17
+ // Structure and spacing variables.
18
+ $content-width: 980px;
19
+ $spacing-unit: 20px;
20
+ $on-palm: 600px;
21
+ $on-laptop: 800px;
22
+
23
+ @import "mixins",
24
+ "base",
25
+ "layout";
metadata ADDED
@@ -0,0 +1,129 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-blp
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.0'
5
+ platform: ruby
6
+ authors:
7
+ - Arthur Freitas
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-02-02 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: jekyll-feed
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.9'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-seo-tag
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-sitemap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.4'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description:
84
+ email:
85
+ - email@arthr.me
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - LICENSE.txt
91
+ - README.md
92
+ - _includes/footer.html
93
+ - _includes/head.html
94
+ - _includes/header.html
95
+ - _layouts/default.html
96
+ - _layouts/page.html
97
+ - _layouts/post.html
98
+ - _sass/_base.scss
99
+ - _sass/_layout.scss
100
+ - _sass/_mixins.scss
101
+ - assets/images/bg.png
102
+ - assets/images/selo-anbima.png
103
+ - assets/images/selo-anbima2.png
104
+ - assets/main.scss
105
+ homepage: https://github.com/ateliedetemas/jekyll-theme-blp
106
+ licenses:
107
+ - MIT
108
+ metadata:
109
+ plugin_type: theme
110
+ post_install_message:
111
+ rdoc_options: []
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ requirements: []
125
+ rubygems_version: 3.0.6
126
+ signing_key:
127
+ specification_version: 4
128
+ summary: O tema comum dos sites da BLP.
129
+ test_files: []