sencilla 0.3.1 → 0.4.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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -4
  3. data/_includes/footer.html +15 -13
  4. data/_includes/header.html +5 -9
  5. data/_includes/image.html +4 -0
  6. data/_includes/social.html +6 -6
  7. data/_layouts/default.html +2 -1
  8. data/_layouts/home.html +22 -8
  9. data/_layouts/latex-default.html +1 -1
  10. data/_layouts/latex-page.html +11 -0
  11. data/_layouts/latex-post.html +37 -34
  12. data/_layouts/post.html +17 -19
  13. data/_sass/sencilla.scss +123 -48
  14. data/_sass/sencilla/_base.scss +200 -28
  15. data/_sass/sencilla/_layout.scss +339 -194
  16. data/_sass/sencilla/_syntax-highlighting.scss +3 -2
  17. data/assets/img/posts/ufw.png +0 -0
  18. data/assets/img/profile-picture.jpg +0 -0
  19. data/assets/img/site-logo +0 -0
  20. metadata +11 -49
  21. data/assets/fonts/merriweather-sans/MerriweatherSans-Italic-VariableFont_wght.ttf +0 -0
  22. data/assets/fonts/merriweather-sans/MerriweatherSans-VariableFont_wght.ttf +0 -0
  23. data/assets/fonts/merriweather-sans/Merriweather_Sans.zip +0 -0
  24. data/assets/fonts/merriweather-sans/OFL.txt +0 -96
  25. data/assets/fonts/merriweather-sans/README.txt +0 -75
  26. data/assets/fonts/merriweather-sans/static/MerriweatherSans-Bold.ttf +0 -0
  27. data/assets/fonts/merriweather-sans/static/MerriweatherSans-BoldItalic.ttf +0 -0
  28. data/assets/fonts/merriweather-sans/static/MerriweatherSans-ExtraBold.ttf +0 -0
  29. data/assets/fonts/merriweather-sans/static/MerriweatherSans-ExtraBoldItalic.ttf +0 -0
  30. data/assets/fonts/merriweather-sans/static/MerriweatherSans-Italic.ttf +0 -0
  31. data/assets/fonts/merriweather-sans/static/MerriweatherSans-Light.ttf +0 -0
  32. data/assets/fonts/merriweather-sans/static/MerriweatherSans-LightItalic.ttf +0 -0
  33. data/assets/fonts/merriweather-sans/static/MerriweatherSans-Medium.ttf +0 -0
  34. data/assets/fonts/merriweather-sans/static/MerriweatherSans-MediumItalic.ttf +0 -0
  35. data/assets/fonts/merriweather-sans/static/MerriweatherSans-Regular.ttf +0 -0
  36. data/assets/fonts/merriweather-sans/static/MerriweatherSans-SemiBold.ttf +0 -0
  37. data/assets/fonts/merriweather-sans/static/MerriweatherSans-SemiBoldItalic.ttf +0 -0
  38. data/assets/fonts/merriweather/Merriweather-Black.ttf +0 -0
  39. data/assets/fonts/merriweather/Merriweather-BlackItalic.ttf +0 -0
  40. data/assets/fonts/merriweather/Merriweather-Bold.ttf +0 -0
  41. data/assets/fonts/merriweather/Merriweather-BoldItalic.ttf +0 -0
  42. data/assets/fonts/merriweather/Merriweather-Italic.ttf +0 -0
  43. data/assets/fonts/merriweather/Merriweather-Light.ttf +0 -0
  44. data/assets/fonts/merriweather/Merriweather-LightItalic.ttf +0 -0
  45. data/assets/fonts/merriweather/Merriweather-Regular.ttf +0 -0
  46. data/assets/fonts/merriweather/OFL.txt +0 -93
  47. data/assets/img/profile-picture +0 -0
  48. data/assets/img/profile-picture.png +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b77e8561f80e7f99a1a29f305376aaf252a2906e45e1993699158588464e6217
4
- data.tar.gz: 2807e9165a208e07a8db2765b4e2ee85287b501a6e60463e59a108283b466be1
3
+ metadata.gz: 77316f01b9db0492aa8672d4b3946d2deff8d31775eb0eef2c258da701772c13
4
+ data.tar.gz: 328fa5716f70f1b90991cb90c9932677e457641d78e3218bfa5fb4dfca9b85b1
5
5
  SHA512:
6
- metadata.gz: 26887b1a133b8d34d53d9625cd813e6cdb72bcbb73815e3364689f80c2e3555b1a4fad7fb8899963159eceb421a8541cd393b1a75bbfc3fd2384acbcba983322
7
- data.tar.gz: 11426ae6ea29b0edcbf8ad619d70c57105db494685772e54f37cb7f94c4f82b709c2239c5f22686f0e5b79b9787952ac56148a2c038834597977de8be0f80e16
6
+ metadata.gz: 2ee643d3c7c8d2e761e0d5bc1a6977140a0b4f6f3020d7e4ad2fa593ea76af5bfdc08122328a64fe788b117a00483d64bf3944e90939ff7675bf6e6640d75104
7
+ data.tar.gz: c7c050dbb35c9f67ab169e4909753797ce393aa6e422437c1574759b70eb323b7fa10c439b825bac9f11a1981db09e2e5877bfd4dcf3bf674d807a32486ff1ce
data/README.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Sencilla
2
2
 
3
- Sencilla (pronounced sen-si-ya) is a minimal Jekyll theme for personal websites.
4
-
5
3
  [![Gem Version](https://badge.fury.io/rb/sencilla.svg)](https://badge.fury.io/rb/sencilla)
6
4
 
5
+ A Jekyll theme for blogs and portfolio websites.
6
+
7
+ ![](screenshot.png)
8
+
7
9
  ## Installation
8
10
 
9
11
  Add this line to your Jekyll site's `Gemfile`:
@@ -32,7 +34,7 @@ Will be added soon.
32
34
 
33
35
  ## Contributing
34
36
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/dyskun/sencilla/. 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.
37
+ Bug reports and pull requests are welcome on GitHub at https://github.com/dyskun/sencilla/.
36
38
 
37
39
  ## License
38
40
 
@@ -40,4 +42,8 @@ The theme is available as open source under the terms of the [MIT License](https
40
42
 
41
43
  ## Credits
42
44
 
43
- Sencilla is a fork of [Minima](https://github.com/jekyll/minima) v2.5.1. I have incorporated the `tags.html` page from [beautiful-jekyll](https://github.com/daattali/beautiful-jekyll) and the grey color tones from [open-color](https://github.com/yeun/open-color) and [material.io](https://material.io).
45
+ Sencilla is a fork of [Minima](https://github.com/jekyll/minima) v2.5.1. I have incorporated the `tags.html` page from [beautiful-jekyll](https://github.com/daattali/beautiful-jekyll) and the color tones from [open-color](https://github.com/yeun/open-color) and [material.io](https://material.io).
46
+
47
+ Thanks to [w3schools.com](https://www.w3schools.com/) for putting up amazing resources online for free. Most of what I have learnt about HTML and CSS has come from w3schools.
48
+
49
+ Source of `/assets/img/profile-picture.jpg`: [Pexels.com](https://www.pexels.com/photo/silhouette-photo-of-person-during-golden-hour-2475138/)
@@ -1,17 +1,19 @@
1
- <footer class="site-footer h-card">
1
+ <footer class="site-footer">
2
2
  <div class="nav-wrapper">
3
- <div class="footer-col-wrapper">
4
- <div class="footer-col footer-col-1">
5
- <p>Copyright © 2020 {{ site.author.name }}</p>
6
- </div>
7
-
8
- <div class="footer-col footer-col-2">
9
- <p>Subscribe to the <a href="/feed.xml">RSS</a> feed.</p>
10
- </div>
11
-
12
- <div class="footer-col footer-col-3">
13
- <p>Powered by <a href="https://github.com/dyskun/sencilla">Sencilla</a>.</p>
14
- </div>
3
+ <div class="footer-col footer-col-1">
4
+ Copyright © 2020 {{ site.author.name }}
15
5
  </div>
6
+
7
+ <div class="footer-col footer-col-2">
8
+ {% if site.subscribe %}
9
+ Subscribe to the <a href="/feed.xml">RSS</a> feed
10
+ {% else %}
11
+
12
+ {% endif %}
13
+ </div>
14
+
15
+ <div class="footer-col footer-col-3">
16
+ Powered by <a href="https://github.com/dyskun/sencilla">Sencilla</a>
16
17
  </div>
18
+ </div>
17
19
  </footer>
@@ -1,8 +1,8 @@
1
+ <div class="sticky">
1
2
  <header class="site-header" role="banner">
2
3
 
3
4
  <div class="nav-wrapper">
4
- {%- assign default_paths = site.pages | map: "path" -%}
5
- {%- assign page_paths = site.header_pages | default: default_paths -%}
5
+
6
6
  {%- if site.logo -%}
7
7
  <a href="{{ "/" | relative_url }}"><img class="site-logo" src="{{ site.logo }}" alt="{{ site.title }} Logo"></a>
8
8
  {%- else -%}
@@ -20,7 +20,7 @@
20
20
  </label>
21
21
 
22
22
  <div class="trigger">
23
- {%- for item in site.data.pages -%}
23
+ {%- for item in site.data.top-nav -%}
24
24
  <div class="nav-items">
25
25
  {%- if item.subitems -%}
26
26
  <a class="nav-item-link">{{ item.navitem }}</a>
@@ -34,13 +34,9 @@
34
34
  {%- endif -%}
35
35
  </div>
36
36
  {%- endfor -%}
37
- <div class="nav-items">
38
- <a>Contact</a>
39
- <div class="dropdown-content">
40
- {% include social.html %}
41
- </div>
42
- </div>
43
37
  </div>
44
38
  </nav>
45
39
  </div>
40
+
46
41
  </header>
42
+ </div>
@@ -0,0 +1,4 @@
1
+ <figure class="image">
2
+ <img src="{{ include.url }}" alt="{{ include.alt | default: include.description }}">
3
+ <figcaption>{{ include.description | default: "<br>" }}</figcaption>
4
+ </figure>
@@ -1,24 +1,24 @@
1
1
  {%- if site.author.email -%}
2
- <a class="nav-drop-link" href="mailto:{{ site.author.email }}"><i class="far fa-envelope"></i></a>
2
+ <a href="mailto:{{ site.author.email }}"><i class="far fa-envelope"></i></a>
3
3
  {%- endif -%}
4
4
 
5
5
  {%- if site.github -%}
6
- <a class="nav-drop-link" href="https://github.com/{{ site.github }}"><i class="fab fa-github"></i></a>
6
+ <a href="https://github.com/{{ site.github }}"><i class="fab fa-github"></i></a>
7
7
  {%- endif -%}
8
8
 
9
9
  {%- if site.twitter -%}
10
- <a class="nav-drop-link" href="https://twitter.com/{{ site.twitter }}"><i class="fab fa-twitter"></i></a>
10
+ <a href="https://twitter.com/{{ site.twitter }}"><i class="fab fa-twitter"></i></a>
11
11
  {%- endif -%}
12
12
 
13
13
  {%- if site.facebook -%}
14
- <a class="nav-drop-link" href="https://facebook.com/{{ site.facebook }}"><i class="fab fa-facebook"></i></a>
14
+ <a href="https://facebook.com/{{ site.facebook }}"><i class="fab fa-facebook"></i></a>
15
15
  {%- endif -%}
16
16
 
17
17
  {%- if site.instagram -%}
18
- <a class="nav-drop-link" href="https://instagram.com/{{ site.instagram }}"><i class="fab fa-instagram"></i></a>
18
+ <a href="https://instagram.com/{{ site.instagram }}"><i class="fab fa-instagram"></i></a>
19
19
  {%- endif -%}
20
20
 
21
21
  {%- if site.linkedin -%}
22
- <a class="nav-drop-link" href="https://linkedin.com/in/{{ site.linkedin }}"><i class="fab fa-linkedin"></i></a>
22
+ <a href="https://linkedin.com/in/{{ site.linkedin }}"><i class="fab fa-linkedin"></i></a>
23
23
  {%- endif -%}
24
24
 
@@ -1,11 +1,12 @@
1
1
  <!doctype html>
2
2
  <html>
3
+
3
4
  {% include head.html %}
4
5
 
5
6
  <body>
6
7
  {% include header.html %}
7
8
 
8
- <main class="page-content aria-label=Content">
9
+ <main class="page-content" aria-label=Content">
9
10
  <div class="wrapper">
10
11
  {{ content }}
11
12
  </div>
@@ -1,20 +1,34 @@
1
1
  <!DOCTYPE html>
2
-
3
2
  {%- include head.html -%}
4
3
 
5
4
  <body>
6
5
 
7
- {%- include header.html -%}
6
+ {%- include header.html -%}
8
7
 
9
- <main class="page-content" aria-label="Content">
10
- <div class="wrapper">
11
- <div style="float: right;" style="padding: 1rem;" style="border-radius: 50%;">
12
- <img src = "{{ page.image }}" width="360" alt="Profile picture">
8
+ <main class="page-content home-page" aria-label="Content">
9
+
10
+ <div class="wrapper-wide">
11
+
12
+ <div class="col-3 col-m-12 col-s-12">
13
+
14
+ <div class="profile-picture">
15
+ <img src = "{{ site.profile_picture }}" alt="Profile picture">
13
16
  </div>
17
+
18
+ <div class="social-links-home">
19
+ {% include social.html %}
20
+ </div>
21
+
22
+ </div>
23
+
24
+ <div class="col-9 col-m-12 col-s-12">
14
25
  {{ content }}
15
26
  </div>
16
- </main>
17
-
27
+
28
+ </div>
29
+
30
+ </main>
31
+
18
32
  {%- include footer.html -%}
19
33
 
20
34
  </body>
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: site.lang | default: "en" }}">
2
+ <html>
3
3
 
4
4
  {%- include latex-head.html -%}
5
5
 
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: latex-default
3
+ ---
4
+ <article class="post">
5
+ <header class="post-header">
6
+ <h1 style="text-align: center;" class="post-title">{{ page.title | escape }}</h1>
7
+ </header>
8
+ <div class="post-content">
9
+ {{ content }}
10
+ </div>
11
+ </article>
@@ -4,61 +4,64 @@ layout: latex-default
4
4
  <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
5
 
6
6
  <header class="post-header">
7
+
7
8
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
9
+
8
10
  <p class="post-meta">
9
- {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
10
- Published -
11
+
12
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
11
13
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
14
+ {%- if page.time -%}
15
+ {{ page.time | date: "%H:%M %Z" }} {{ page.date | date: date_format }}
16
+ {%- else -%}
12
17
  {{ page.date | date: date_format }}
18
+ {%- endif -%}
13
19
  </time>
14
- {%- if page.modified_date -%}
15
- Last updated -
16
- {%- assign mdate = page.modified_date | date_to_xmlschema -%}
20
+ {%- if page.last_modified_at -%}
21
+ {%- assign mdate = page.last_modified_at | date_to_xmlschema -%}
17
22
  <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
18
- {{ mdate | date: date_format }}
23
+ ~ {{ mdate | date: date_format }}
19
24
  </time>
20
25
  {%- endif -%}
21
- {%- if page.author -%}
22
- {% for author in page.author %}
23
- <span itemprop="author" itemscope itemtype="http://schema.org/Person">
24
- <span class="p-author h-card" itemprop="name">{{ author }}</span></span>
25
- {%- if forloop.last == false %}, {% endif -%}
26
- {% endfor %}
27
- {%- endif -%}</p>
26
+
27
+ {% if page.category %}
28
+ {{ page.category }}
29
+ {% endif %}
30
+
31
+ {% if page.tags.size > 0 %}
32
+ Tags:
33
+ {% if site.link-tags %}
34
+ {% for tag in page.tags %}
35
+ <a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
36
+ {% endfor %}
37
+ {% else %}
38
+ {{ page.tags | join: ", " }}
39
+ {% endif %}
40
+ {% endif %}
41
+
42
+ </p>
28
43
  </header>
29
44
 
30
45
  <div class="post-content e-content" itemprop="articleBody">
31
46
  {{ content }}
32
47
  </div>
33
- {% if page.tags.size > 0 %}
34
- <div class="blog-tags">
35
- Tags:
36
- {% if site.link-tags %}
37
- {% for tag in page.tags %}
38
- <a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
39
- {% endfor %}
40
- {% else %}
41
- {{ page.tags | join: ", " }}
42
- {% endif %}
43
- </div>
44
- {% endif %}
45
-
46
- <ul class="pagination">
48
+
49
+ <div class="pagination">
50
+
47
51
  {% if page.previous.url %}
48
- <li class="pagination">
49
- <a class="page-link" href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">&larr; Previous Post</a>
50
- </li>
52
+ <a href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}" style="float: left;"><i class="fas fa-arrow-left"></i> Previous Post</a>
51
53
  {% endif %}
54
+
52
55
  {% if page.next.url %}
53
- <li class="pagination">
54
- <a class="page-link" href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
55
- </li>
56
+ <a href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}" style="float: right;">Next Post <i class="fas fa-arrow-right"></i></a>
56
57
  {% endif %}
57
- </ul>
58
+
59
+ </div>
58
60
 
59
61
  {%- if site.disqus.shortname -%}
60
62
  {%- include disqus_comments.html -%}
61
63
  {%- endif -%}
62
64
 
63
65
  <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
66
+
64
67
  </article>
@@ -4,9 +4,12 @@ layout: default
4
4
  <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
5
 
6
6
  <header class="post-header">
7
+
7
8
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
9
+
8
10
  <p class="post-meta">
9
- {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
11
+
12
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
10
13
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
11
14
  {%- if page.time -%}
12
15
  {{ page.time | date: "%H:%M %Z" }} {{ page.date | date: date_format }}
@@ -20,9 +23,11 @@ layout: default
20
23
  ~ {{ mdate | date: date_format }}
21
24
  </time>
22
25
  {%- endif -%}
26
+
23
27
  {% if page.category %}
24
28
  • {{ page.category }}
25
29
  {% endif %}
30
+
26
31
  {% if page.tags.size > 0 %}
27
32
  • Tags:
28
33
  {% if site.link-tags %}
@@ -33,37 +38,30 @@ layout: default
33
38
  {{ page.tags | join: ", " }}
34
39
  {% endif %}
35
40
  {% endif %}
36
- </p>
41
+
42
+ </p>
37
43
  </header>
44
+
38
45
  <div class="post-content e-content" itemprop="articleBody">
39
46
  {{ content }}
40
47
  </div>
41
- <!--
42
- <ul class="pagination">
48
+
49
+ <div class="pagination">
50
+
43
51
  {% if page.previous.url %}
44
- <li class="pagination">
45
- <a class="page-link" href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">&larr; Previous Post</a>
46
- </li>
52
+ <a href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}" style="float: left;"><i class="fas fa-arrow-left"></i> Previous Post</a>
47
53
  {% endif %}
54
+
48
55
  {% if page.next.url %}
49
- <li class="pagination">
50
- <a class="page-link" href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
51
- </li>
56
+ <a href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}" style="float: right;">Next Post <i class="fas fa-arrow-right"></i></a>
52
57
  {% endif %}
53
- </ul>-->
54
58
 
55
- <div class="pagination">
56
- {% if page.previous.url %}
57
- <a href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}" style="float: left;"><i class="fas fa-arrow-left"></i> Previous Post</a>
58
- {% endif %}
59
- {% if page.next.url %}
60
- <a href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}" style="float: right;">Next Post <i class="fas fa-arrow-right"></i></a>
61
- {% endif %}
62
- </div>
59
+ </div>
63
60
 
64
61
  {%- if site.disqus.shortname -%}
65
62
  {%- include disqus_comments.html -%}
66
63
  {%- endif -%}
67
64
 
68
65
  <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
66
+
69
67
  </article>
@@ -1,32 +1,39 @@
1
1
  @charset "utf-8";
2
2
 
3
- // Define defaults for each variable.
3
+
4
+ /* ************* content width *********** */
5
+
6
+ $nav-width: 1280px !default;
7
+ $content-width: 750px !default;
8
+ $home-content-width: $nav-width !default;
9
+
10
+ $on-palm: 600px !default;
11
+ $on-tablet: 767px !default;
12
+
13
+ @mixin media-query($device) {
14
+ @media screen and (max-width: $device) {
15
+ @content;
16
+ }
17
+ }
18
+
19
+ @mixin relative-font-size($ratio) {
20
+ font-size: $base-font-size * $ratio;
21
+ }
22
+
23
+
24
+ /* ********* text formatting ************* */
4
25
 
5
26
  $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6
27
  $base-font-size: 18px !default;
7
28
  $base-font-weight: 400 !default;
8
29
  $small-font-size: $base-font-size * 0.875 !default;
9
30
  $base-line-height: 1.5 !default;
10
-
11
31
  $spacing-unit: 30px !default;
12
32
 
13
- // Define grey tones
14
- /*
15
- // Source: https://yeun.github.io/open-color/
16
- $grey0: #f8f9fa;
17
- $grey1: #f1f3f5;
18
- $grey2: #e9ecef;
19
- $grey3: #dee2e6;
20
- $grey4: #ced4da;
21
- $grey5: #adb5bd;
22
- $grey6: #868e96;
23
- $grey7: #495057;
24
- $grey8: #343a40;
25
- $grey9: #212529;
26
- */
27
33
 
34
+ /* ********* color definitions ************* */
28
35
 
29
- // Source: https://material.io
36
+ /* main colors */
30
37
  $lightest: #ffffff;
31
38
  $grey0: #fafafa;
32
39
  $grey1: #f5f5f5;
@@ -42,44 +49,112 @@ $grey9: #212121;
42
49
  $grey95: #111111;
43
50
  $darkest: #000000;
44
51
 
45
- $nav-background-color: $darkest !default;
46
- $background-color: $grey9 !default;
47
- $text-color: $grey5 !default;
48
- $text-color-light: $grey4 !default;
49
- $text-color-dark: $grey6 !default;
50
- $stroke-color: $grey7 !default;
51
- $box-fill-color: $grey85 !default;
52
- $box-fill-color-dark: $grey95 !default;
52
+ /* highlighting colors */
53
+ $green5: #51cf66;
54
+ $yellow5: #51cf66;
55
+ $teal5: #20c997;
56
+ $lime7: #afb42b;
57
+ $orange5: #ff922b;
58
+ $cyan5: #22b8cf;
59
+ $cyan7: #1098ad;
60
+ $cyan9: #006064;
53
61
 
54
- $table-text-align: left !default;
55
62
 
56
- // Width of the content area
57
- $nav-width: 1280px !default;
58
- $content-width: 750px !default;
63
+ /* ************ main color scheme ************ */
59
64
 
60
- $on-palm: 600px !default;
61
- $on-laptop: 750px !default;
62
-
63
- // Use media queries like this:
64
- // @include media-query($on-palm) {
65
- // .wrapper {
66
- // padding-right: $spacing-unit / 2;
67
- // padding-left: $spacing-unit / 2;
68
- // }
69
- // }
70
- @mixin media-query($device) {
71
- @media screen and (max-width: $device) {
72
- @content;
73
- }
74
- }
65
+ /* navbar */
66
+ $nav-bg: $grey9 !default; /* background */
67
+ $nav-hl: $grey8 !default; /* highlight on hover */
68
+ $nav-hl-dark: $grey85 !default;
69
+ $nav-hl-light: $grey7 !default;
70
+ $nav-dd: $grey95 !default; /* dropdown */
71
+ $nav-text: $grey3 !default;
72
+ $nav-text-muted: $grey5 !default;
75
73
 
76
- @mixin relative-font-size($ratio) {
77
- font-size: $base-font-size * $ratio;
78
- }
74
+ /* body */
75
+ $bg: $grey9 !default;
76
+ $text: $grey5 !default;
77
+ $text-light: $grey4 !default;
78
+ $text-dark: $grey6 !default;
79
+
80
+ /* borders */
81
+ $stroke: $grey8 !default;
82
+ $stroke-light: $grey7 !default;
83
+ $stroke-dark: $grey85 !default;
84
+
85
+ /* content box */
86
+ $box-fill: $grey85 !default;
87
+ $box-fill-dark: $grey95 !default;
88
+ $code: $box-fill !default;
89
+
90
+ /* footer */
91
+ $footer-color: $grey95 !default;
92
+
93
+ $text-muted: $grey5;
94
+ //$profile-bg-color: $grey8;
95
+
96
+ /* Brand color */
97
+
98
+ /*$brand: $lime7;*/
99
+ $link: $cyan5;
100
+ $link-muted: $cyan7;
101
+ $link-hover: $text-light;
102
+
103
+
104
+ /* ************ profile page color scheme ************** */
105
+
106
+ /*
107
+ *
108
+ * dark bg
109
+ *
110
+ */
111
+
112
+ /* bg color */
113
+ $dark-bg: $grey9;
114
+
115
+ /* background shapes */
116
+ $dbg-shape: $grey85;
117
+
118
+ /* text color */
119
+ $dbg-text: $grey5;
120
+ $dbg-text-light: $grey4;
121
+ $dbg-text-dark: $grey6;
122
+ $dbg-text-muted: $grey7;
79
123
 
80
- // Import partials.
124
+ /*
125
+ *
126
+ * light bg
127
+ *
128
+ */
129
+
130
+ /* bg color */
131
+ $light-bg: $grey85;
132
+
133
+ /* shapes */
134
+ $lbg-shape: $grey8;
135
+
136
+ /* text color */
137
+ $lbg-text: $grey4;
138
+ $lbg-text-light: $grey3;
139
+ $lbg-text-dark: $grey5;
140
+ $lbg-text-muted: $grey7;
141
+
142
+
143
+ /* ********** other elements of the text ************/
144
+
145
+ $table-text-align: left !default;
146
+
147
+ /* box shadows */
148
+ $shadow: 0px 1px 2px 0px $grey95;
149
+ $shadow-body: 0px 2px 4px 0px $grey95;
150
+ $shadow-hover: 0px 3px 3px 1px $grey95;
151
+
152
+
153
+ /* ********** import other files ************/
81
154
  @import
82
155
  "sencilla/base",
83
156
  "sencilla/layout",
84
157
  "sencilla/syntax-highlighting"
85
158
  ;
159
+
160
+