geekyll 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/_includes/footer.html +20 -0
- data/_includes/head.html +27 -0
- data/_includes/header.html +18 -0
- data/_includes/image.html +14 -0
- data/_includes/javascripts.html +7 -0
- data/_includes/navigation.html +16 -0
- data/_includes/social.html +15 -0
- data/_layouts/default.html +10 -0
- data/_layouts/index.html +48 -0
- data/_layouts/page.html +23 -0
- data/_layouts/post.html +5 -0
- data/_layouts/root.html +14 -0
- data/_sass/geekyll/_icons.scss +9 -0
- data/_sass/geekyll/_layout.scss +233 -0
- data/_sass/geekyll/_pages.scss +232 -0
- data/_sass/geekyll/_typography.scss +4 -0
- data/_sass/geekyll/bootstrap4alpha4/_alert.scss +56 -0
- data/_sass/geekyll/bootstrap4alpha4/_animation.scss +27 -0
- data/_sass/geekyll/bootstrap4alpha4/_breadcrumb.scss +38 -0
- data/_sass/geekyll/bootstrap4alpha4/_button-group.scss +234 -0
- data/_sass/geekyll/bootstrap4alpha4/_buttons.scss +176 -0
- data/_sass/geekyll/bootstrap4alpha4/_card.scss +320 -0
- data/_sass/geekyll/bootstrap4alpha4/_carousel.scss +253 -0
- data/_sass/geekyll/bootstrap4alpha4/_close.scss +31 -0
- data/_sass/geekyll/bootstrap4alpha4/_code.scss +57 -0
- data/_sass/geekyll/bootstrap4alpha4/_custom-forms.scss +265 -0
- data/_sass/geekyll/bootstrap4alpha4/_custom.scss +4 -0
- data/_sass/geekyll/bootstrap4alpha4/_dropdown.scss +179 -0
- data/_sass/geekyll/bootstrap4alpha4/_forms.scss +364 -0
- data/_sass/geekyll/bootstrap4alpha4/_grid.scss +39 -0
- data/_sass/geekyll/bootstrap4alpha4/_images.scss +52 -0
- data/_sass/geekyll/bootstrap4alpha4/_input-group.scss +188 -0
- data/_sass/geekyll/bootstrap4alpha4/_jumbotron.scss +20 -0
- data/_sass/geekyll/bootstrap4alpha4/_list-group.scss +123 -0
- data/_sass/geekyll/bootstrap4alpha4/_media.scss +81 -0
- data/_sass/geekyll/bootstrap4alpha4/_mixins.scss +54 -0
- data/_sass/geekyll/bootstrap4alpha4/_modal.scss +132 -0
- data/_sass/geekyll/bootstrap4alpha4/_nav.scss +157 -0
- data/_sass/geekyll/bootstrap4alpha4/_navbar.scss +256 -0
- data/_sass/geekyll/bootstrap4alpha4/_normalize.scss +424 -0
- data/_sass/geekyll/bootstrap4alpha4/_pagination.scss +73 -0
- data/_sass/geekyll/bootstrap4alpha4/_popover.scss +147 -0
- data/_sass/geekyll/bootstrap4alpha4/_print.scss +116 -0
- data/_sass/geekyll/bootstrap4alpha4/_progress.scss +145 -0
- data/_sass/geekyll/bootstrap4alpha4/_reboot.scss +393 -0
- data/_sass/geekyll/bootstrap4alpha4/_responsive-embed.scss +39 -0
- data/_sass/geekyll/bootstrap4alpha4/_tables.scss +196 -0
- data/_sass/geekyll/bootstrap4alpha4/_tags.scss +77 -0
- data/_sass/geekyll/bootstrap4alpha4/_tooltip.scss +87 -0
- data/_sass/geekyll/bootstrap4alpha4/_type.scss +150 -0
- data/_sass/geekyll/bootstrap4alpha4/_utilities.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/_variables.scss +830 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-flex.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-grid.scss +23 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-reboot.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap.scss +54 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_alert.scss +14 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_background-variant.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_border-radius.scss +35 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_breakpoints.scss +86 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_buttons.scss +113 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_cards.scss +44 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_clearfix.scss +7 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_forms.scss +86 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_gradients.scss +43 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_grid-framework.scss +70 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_grid.scss +84 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_hover.scss +60 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_image.scss +34 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_list-group.scss +30 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_lists.scss +7 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_nav-divider.scss +10 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_navbar-align.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_pagination.scss +21 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_progress.scss +23 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_pulls.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-filter.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-text.scss +17 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_resize.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss +32 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_size.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_tab-focus.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_table-row.scss +30 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_tag.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-emphasis.scss +12 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-hide.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-truncate.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_background.scss +19 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_clearfix.scss +3 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_display.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_flex.scss +37 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_pulls.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_screenreaders.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss +43 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_text.scss +51 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_visibility.scss +55 -0
- data/_sass/geekyll/reset.scss +9 -0
- data/_sass/geekyll/social.scss +5 -0
- data/_sass/geekyll.scss +39 -0
- data/screenshot.png +0 -0
- metadata +188 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 96389a92be68944de2f1f131058d86eeb7d2ce58
|
4
|
+
data.tar.gz: c63a0df4f714f00275b738632b84c843684c6507
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a1f58f509a0864be9027bc75852282d180bf5be4bca1e266dfe9e5274d6faa3de15c8205b633deb0c60eb3fa5eaa14288615aa826f48c8cb5badc5cd2c99178f
|
7
|
+
data.tar.gz: 84a2eea7f28536631261f186847a2a1703bce146b936f8473e80c86b1e813d48f60de26041d3cdf4a5f9b3306d91f1a3052966bec8831e2177ab593da364cd6b
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 sonirico
|
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,48 @@
|
|
1
|
+
# geekyll
|
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
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your Jekyll site's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem "geekyll"
|
13
|
+
```
|
14
|
+
|
15
|
+
And add this line to your Jekyll site:
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
theme: geekyll
|
19
|
+
```
|
20
|
+
|
21
|
+
And then execute:
|
22
|
+
|
23
|
+
$ bundle
|
24
|
+
|
25
|
+
Or install it yourself as:
|
26
|
+
|
27
|
+
$ gem install geekyll
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
## Development
|
38
|
+
|
39
|
+
To set up your environment to develop this theme, run `bundle install`.
|
40
|
+
|
41
|
+
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.
|
42
|
+
|
43
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
44
|
+
|
45
|
+
## License
|
46
|
+
|
47
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
48
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<div class="row flex-items-xs-middle" >
|
2
|
+
{% if site.footer.copyright %}
|
3
|
+
<div class="col-md-4" >
|
4
|
+
<!-- Copyright -->
|
5
|
+
<p>{{ site.footer.copyright }}</p>
|
6
|
+
</div>
|
7
|
+
{% endif %}
|
8
|
+
{% if site.footer.socials %}
|
9
|
+
<div class="col-md-4" >
|
10
|
+
<!-- Social -->
|
11
|
+
{% include social.html social=site.footer.socials %}
|
12
|
+
</div>
|
13
|
+
{% endif %}
|
14
|
+
{% if site.footer.featuring %}
|
15
|
+
<div class="col-md-4" >
|
16
|
+
<!-- Featuring -->
|
17
|
+
<p>{{ site.footer.featuring }}</p>
|
18
|
+
</div>
|
19
|
+
{% endif %}
|
20
|
+
</div>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
<meta charset="utf-8">
|
2
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
3
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
4
|
+
|
5
|
+
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
6
|
+
<meta name="robots" content="{{ site.meta.robots | default: 'index, follow' }}" />
|
7
|
+
|
8
|
+
{% if site.meta.keywords %}
|
9
|
+
<meta name="keywords" itemprop="keywords" content="{{ site.meta.keywords }}" />
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<meta name="generator" content="{{ site.meta.generator | default: 'Jekyll' }}" />
|
13
|
+
|
14
|
+
<!--
|
15
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/css/bootstrap.min.css" integrity="sha384-2hfp1SzUoho7/TsGGGDaFdsuuDL0LX2hnUp6VkX3CUQ2K4K+xjboZdsXyp4oUHZj" crossorigin="anonymous">
|
16
|
+
-->
|
17
|
+
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
|
18
|
+
<link rel="stylesheet" href="//{{ site.url }}/css/main.css" />
|
19
|
+
<link rel="canonical" href="//{{ site.url }}{{ page.url }}" />
|
20
|
+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ site.url }}/feed.xml" />
|
21
|
+
|
22
|
+
{% for css in site.extra_css %}
|
23
|
+
<link rel="stylesheet" href="{{ site.url }}/{{ css }}" />
|
24
|
+
{% endfor %}
|
25
|
+
|
26
|
+
|
27
|
+
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<nav class="navbar pos-f-t" >
|
2
|
+
|
3
|
+
<a class="navbar-brand nav-link" href="#">{{ site.title }}</a>
|
4
|
+
|
5
|
+
<button class="navbar-toggler hidden-md-up pull-xs-right" type="button"
|
6
|
+
data-toggle="collapse" data-target="#navbar-header" aria-controls="navbar-header">
|
7
|
+
<i class="fa fa-bars" aria-hidden="true" ></i>
|
8
|
+
</button>
|
9
|
+
|
10
|
+
<div class="clearfix" ></div>
|
11
|
+
|
12
|
+
<div class="collapse navbar-toggleable-sm" id="navbar-header" >
|
13
|
+
<ul class="nav navbar-nav">
|
14
|
+
{% include navigation.html %}
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
</nav>
|
18
|
+
<!-- /navbar -->
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% capture image_path %}
|
2
|
+
{{ page.date | date: "%Y-%m-%d" }}-{{ page.title | slugify }}/{{ include.name }}
|
3
|
+
{% endcapture %}
|
4
|
+
|
5
|
+
<figure>
|
6
|
+
<img src="/assets/posts/{{ imagePath }}"
|
7
|
+
{% if include.alt %} alt="{{ include.alt }}" {% endif %}
|
8
|
+
{% if include.width %} width="{{ include.width }}" {% endif %}
|
9
|
+
{% if include.class %} class="{{ class }}" />
|
10
|
+
|
11
|
+
{% if include.caption %}
|
12
|
+
<figcaption>{{ include.caption }}</figcaption>
|
13
|
+
{% endif %}
|
14
|
+
</figure>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js" integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY" crossorigin="anonymous"></script>
|
2
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
|
3
|
+
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js" integrity="sha384-VjEeINv9OSwtWFLAtmc4JCtEJXXBub00gtSnszmspDLCtC0I4z4nqz7rEFbIZLLU" crossorigin="anonymous"></script>
|
4
|
+
|
5
|
+
{% for js in site.extra_js %}
|
6
|
+
<script src="//{{ site.url }}/{{ js }}" ></script>
|
7
|
+
{% endfor %}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{% for c_page in custom_pages %}
|
2
|
+
{% assign is_current = page.url == c_page.url %}
|
3
|
+
{% if c_page.title %}
|
4
|
+
<li role="presentation" class="nav-item" >
|
5
|
+
<a title="{{ c_page.title }}" href="#{{ c_page.title | downcase }}" class="nav-link" >
|
6
|
+
{% if c_page.icon %}
|
7
|
+
<i class="fa {{ c_page.icon }}" aria-hidden="true" ></i>
|
8
|
+
{% endif %}
|
9
|
+
<span class="nav-link-text" >{{ c_page.title }}</span>
|
10
|
+
{% if is_current %}
|
11
|
+
<span class="sr-only">(página actual)</span>
|
12
|
+
{% endif %}
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
{% endif %}
|
16
|
+
{% endfor %}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% assign item_socials = include.social %}
|
2
|
+
|
3
|
+
<div class="social-container" >
|
4
|
+
{% for item_social in item_socials %}
|
5
|
+
{% assign social_platform = item_social[0] %}
|
6
|
+
{% assign social_username = item_social[1] %}
|
7
|
+
|
8
|
+
{% assign current_social = site.social_links | where: 'platform', social_platform | first %}
|
9
|
+
{% if current_social %}
|
10
|
+
<a href="{{ current_social.url }}{{ social_username }}" title="{{ current_social.title }}" ><!--
|
11
|
+
--><i class="{{ current_social.icon }}" aria-hidden="true" ></i><!--
|
12
|
+
--></a>
|
13
|
+
{% endif %}
|
14
|
+
{% endfor %}
|
15
|
+
</div>
|
data/_layouts/index.html
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
layout: root
|
3
|
+
class: full_page
|
4
|
+
---
|
5
|
+
|
6
|
+
{% assign custom_pages = site.pages | where: 'indexable', true | sort: 'priority' | reverse %}
|
7
|
+
|
8
|
+
<div class="container-fluid" >
|
9
|
+
<div class="row" >
|
10
|
+
<header>
|
11
|
+
<div class="col-md-3 col-lg-2 navbar-fixed-side" >
|
12
|
+
{% include header.html %}
|
13
|
+
</div>
|
14
|
+
</header>
|
15
|
+
|
16
|
+
<div class="col-md-9 col-lg-10 offset-md-3 offset-lg-2 content" >
|
17
|
+
|
18
|
+
{% for c_page in custom_pages %}
|
19
|
+
<div class="container {{ c_page.class | default: '' }}">
|
20
|
+
<section role="main">
|
21
|
+
<article>
|
22
|
+
<header>
|
23
|
+
<a name="{{ c_page.title | downcase }}" ></a>
|
24
|
+
<h1 id="{{ c_page.title | downcase }}" >
|
25
|
+
{{ c_page.title }}
|
26
|
+
</h1>
|
27
|
+
{% if c_page.summary %}
|
28
|
+
<p>{{ c_page.summary }}</p>
|
29
|
+
{% endif %}
|
30
|
+
</header>
|
31
|
+
<main>
|
32
|
+
{{ c_page.content | liquefy }}
|
33
|
+
</main>
|
34
|
+
</article>
|
35
|
+
</section>
|
36
|
+
</div>
|
37
|
+
{% endfor %}
|
38
|
+
</div>
|
39
|
+
</div> <!-- End .row -->
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<footer>
|
43
|
+
<div class="container-fluid" >
|
44
|
+
{% include footer.html %}
|
45
|
+
</div>
|
46
|
+
</footer>
|
47
|
+
|
48
|
+
{% include javascripts.html %}
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="container {{ page.class | default: '' }}" >
|
6
|
+
<section role="main" >
|
7
|
+
<article>
|
8
|
+
{% if page.title %}
|
9
|
+
<header>
|
10
|
+
<h1>
|
11
|
+
{{ page.title }}
|
12
|
+
</h1>
|
13
|
+
{% if page.summary %}
|
14
|
+
<p>{{ page.summary }}</p>
|
15
|
+
{% endif %}
|
16
|
+
</header>
|
17
|
+
{% endif %}
|
18
|
+
<main>
|
19
|
+
{{ content }}
|
20
|
+
</main>
|
21
|
+
</article>
|
22
|
+
</section>
|
23
|
+
</div>
|
data/_layouts/post.html
ADDED
data/_layouts/root.html
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
.fa {
|
2
|
+
&.fa-code { background-color: $social_livecoding; }
|
3
|
+
&.fa-envelope { background-color: $social_mail; }
|
4
|
+
&.fa-github { background-color: $social_github;}
|
5
|
+
&.fa-gitlab { background-color: $social_gitlab;}
|
6
|
+
&.fa-linkedin { background-color: $social_linkedin;}
|
7
|
+
&.fa-google-plus-square { background-color:$social_google-plus-square;}
|
8
|
+
&.fa-twitter { background-color: $social_twitter;}
|
9
|
+
}
|
@@ -0,0 +1,233 @@
|
|
1
|
+
$font-color: #373a3c;
|
2
|
+
$main-color: #4785ff;
|
3
|
+
$brand-color: white;
|
4
|
+
$main-background-color: white;
|
5
|
+
$light-background-color: #f7f7f9;
|
6
|
+
|
7
|
+
// toggler
|
8
|
+
$toggler-bounds: 50px;
|
9
|
+
$toggler-font-size: 1.5em;
|
10
|
+
$toggler-margin: -0.5rem -1rem;// Matches the navbar margin
|
11
|
+
|
12
|
+
body {
|
13
|
+
padding: 0;
|
14
|
+
min-height: 75rem;
|
15
|
+
position: relative;
|
16
|
+
background-color: $main-background-color;
|
17
|
+
}
|
18
|
+
|
19
|
+
|
20
|
+
// Navigation bar container
|
21
|
+
.navbar-fixed-side {
|
22
|
+
|
23
|
+
background-color: $main-background-color;
|
24
|
+
|
25
|
+
@include media-breakpoint-up (md){
|
26
|
+
position: fixed;
|
27
|
+
width: inherit;
|
28
|
+
max-height: 80%;
|
29
|
+
max-height: 40%;
|
30
|
+
border-radius: 0;
|
31
|
+
margin-top: 6rem;
|
32
|
+
padding: 0;
|
33
|
+
|
34
|
+
.navbar {
|
35
|
+
background-color: $main-color;
|
36
|
+
padding: 0;
|
37
|
+
margin: 0;
|
38
|
+
border-radius: 0;
|
39
|
+
|
40
|
+
.navbar-brand {
|
41
|
+
font-size: 1.5em;
|
42
|
+
color: $brand-color;
|
43
|
+
font-weight: bold;
|
44
|
+
margin: 2rem;
|
45
|
+
}
|
46
|
+
|
47
|
+
ul.navbar-nav {
|
48
|
+
padding: 0;
|
49
|
+
margin: 0;
|
50
|
+
line-height: 35px;
|
51
|
+
background-color: white;
|
52
|
+
|
53
|
+
li.nav-item {
|
54
|
+
width: 100%;
|
55
|
+
padding: 0;
|
56
|
+
margin: 0;
|
57
|
+
|
58
|
+
a.nav-link {
|
59
|
+
color: $font-color;
|
60
|
+
background-color: $main-background-color;
|
61
|
+
padding-left: 10px;
|
62
|
+
padding-right: 20px;
|
63
|
+
font-size: 15px;
|
64
|
+
// Truncates long titles
|
65
|
+
white-space: nowrap;
|
66
|
+
overflow: hidden;
|
67
|
+
text-overflow: ellipsis;
|
68
|
+
// End trucating
|
69
|
+
|
70
|
+
&.active {
|
71
|
+
background-color: $light-background-color;
|
72
|
+
border-right: 10px solid $main-color;
|
73
|
+
font-weight: bold;
|
74
|
+
padding-right: 20px;
|
75
|
+
font-size: 20px;
|
76
|
+
}
|
77
|
+
|
78
|
+
i.fa {
|
79
|
+
margin: 0;
|
80
|
+
font-size: 1.25em; // fa-1.5x
|
81
|
+
margin-right: 10px;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}// End li
|
85
|
+
}// End ul.navbar-nav
|
86
|
+
}// End nav.navbar
|
87
|
+
}
|
88
|
+
|
89
|
+
@include media-breakpoint-down (sm) {
|
90
|
+
position: relative;
|
91
|
+
padding-top: 4rem;
|
92
|
+
|
93
|
+
.navbar {
|
94
|
+
padding: 0;
|
95
|
+
background-color: $main-color;
|
96
|
+
border-radius: 0px;
|
97
|
+
|
98
|
+
.navbar-brand {
|
99
|
+
line-height: 50px;
|
100
|
+
font-size: 1.5em;
|
101
|
+
color: $brand-color;
|
102
|
+
font-weight: bold;
|
103
|
+
margin: 0 0 0 1em;
|
104
|
+
padding: 0;
|
105
|
+
}
|
106
|
+
|
107
|
+
// toogle menu button
|
108
|
+
.navbar-toggler {
|
109
|
+
background-color: white;
|
110
|
+
color: $main-color;
|
111
|
+
border-radius: 0;
|
112
|
+
width: $toggler-bounds;
|
113
|
+
height: $toggler-bounds;
|
114
|
+
font-size: $toggler-font-size;
|
115
|
+
}
|
116
|
+
|
117
|
+
ul.nav {
|
118
|
+
background-color: white;
|
119
|
+
width: 100%;
|
120
|
+
margin: 0;
|
121
|
+
padding: 0;
|
122
|
+
|
123
|
+
li.nav-item {
|
124
|
+
|
125
|
+
width: 100%;
|
126
|
+
text-align: center;
|
127
|
+
|
128
|
+
a.nav-link {
|
129
|
+
color: $font-color;
|
130
|
+
&.active {
|
131
|
+
font-weight: bold;
|
132
|
+
font-size: 1.25em;
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
span.nav-link-text {
|
137
|
+
margin-left: 2em;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}//End ul
|
142
|
+
}// End .navbar
|
143
|
+
}// End media-breakpoint-down
|
144
|
+
}
|
145
|
+
|
146
|
+
|
147
|
+
// Content in the right side
|
148
|
+
.content {
|
149
|
+
|
150
|
+
@include media-breakpoint-up (sm) {
|
151
|
+
margin-top: 1rem;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
// Forms
|
158
|
+
|
159
|
+
input.form-control {
|
160
|
+
border-radius: 0px;
|
161
|
+
height: 3rem;
|
162
|
+
|
163
|
+
&:invalid {
|
164
|
+
box-shadow: none;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
textarea.form-control {
|
169
|
+
border-radius: 0px;
|
170
|
+
resize: none;
|
171
|
+
height: 8rem;
|
172
|
+
|
173
|
+
&:invalid {
|
174
|
+
box-shadow: none;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
button.btn {
|
179
|
+
border-radius: 0px;
|
180
|
+
|
181
|
+
// btn-block
|
182
|
+
@include media-breakpoint-down (sm) {
|
183
|
+
display: block;
|
184
|
+
width: 100%;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
// Alerts
|
189
|
+
|
190
|
+
.alert {
|
191
|
+
border-radius: 0px;
|
192
|
+
}
|
193
|
+
|
194
|
+
|
195
|
+
footer {
|
196
|
+
border-left: 10px solid $main-color;
|
197
|
+
border-right: 10px solid $main-color;
|
198
|
+
background-color: $light-background-color;
|
199
|
+
|
200
|
+
margin: 6rem 0 0 0;
|
201
|
+
|
202
|
+
.container-fluid {
|
203
|
+
padding-top: 15px;
|
204
|
+
padding-bottom: 15px;
|
205
|
+
|
206
|
+
.social-container {
|
207
|
+
.fa {
|
208
|
+
background-color: transparent;
|
209
|
+
display: inline-block;
|
210
|
+
line-height: 1;
|
211
|
+
font-size: 2em;
|
212
|
+
padding: 0.4em;
|
213
|
+
border-radius: 0.1em;
|
214
|
+
|
215
|
+
&.fa-code { color: $social_livecoding !important; }
|
216
|
+
&.fa-envelope { color: $social_mail !important; }
|
217
|
+
&.fa-github { color: $social_github !important;}
|
218
|
+
&.fa-gitlab { color: $social_gitlab !important;}
|
219
|
+
&.fa-linkedin { color: $social_linkedin !important;}
|
220
|
+
&.fa-google-plus-square { color:$social_google-plus-square !important;}
|
221
|
+
&.fa-twitter { color: $social_twitter !important;}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
p {
|
226
|
+
font-size: 0.8em;
|
227
|
+
margin: 0;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
/* Remove that ugly outline effect */
|
233
|
+
* { outline: none !important; }
|