another-theme 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/algolia.html +80 -0
  3. data/_includes/dark-mode.html +8 -6
  4. data/_includes/footer.html +29 -0
  5. data/_includes/head.html +5 -0
  6. data/_includes/icons.html +53 -0
  7. data/_includes/last-posts.html +5 -4
  8. data/_includes/menu.html +4 -3
  9. data/_includes/projects.html +5 -4
  10. data/_includes/social.html +11 -0
  11. data/_layouts/algolia-feed.html +41 -0
  12. data/_layouts/default.html +15 -4
  13. data/_layouts/page.html +12 -8
  14. data/_layouts/post.html +13 -8
  15. data/_sass/another.scss +4 -4
  16. data/_sass/another/_base.scss +9 -2
  17. data/_sass/another/_bootstrap-variables.scss +67 -0
  18. data/_sass/another/_buttons.scss +51 -0
  19. data/_sass/another/_feed.scss +156 -30
  20. data/_sass/another/_font-face.scss +0 -114
  21. data/_sass/another/_footer.scss +29 -0
  22. data/_sass/another/_functions.scss +105 -0
  23. data/_sass/another/_grid.scss +51 -0
  24. data/_sass/another/_header.scss +99 -0
  25. data/_sass/another/_type.scss +10 -4
  26. data/_sass/another/_utilities.scss +261 -14
  27. data/_sass/another/_variables.scss +10 -9
  28. data/_sass/another/bootstrap-grid.scss +29 -0
  29. data/_sass/another/mixins/_breakpoints.scss +126 -0
  30. data/_sass/another/mixins/_grid-framework.scss +58 -0
  31. data/_sass/another/mixins/_grid.scss +39 -0
  32. data/_sass/another/mixins/_utilities.scss +33 -0
  33. data/_sass/another/utilities/_api.scss +29 -0
  34. data/assets/img/cover_posts/2012-11-26-down-the-rabbit-hole.jpg +0 -0
  35. data/assets/img/cover_posts/2014-08-12-the-businessman-and-fisherman.jpg +0 -0
  36. data/assets/img/cover_posts/2016-11-19-gettysburg-address.jpg +0 -0
  37. data/assets/img/cover_posts/2018-03-08-i-have-a-dream.jpg +0 -0
  38. data/assets/img/cover_posts/2019-05-23-mardown-demo.jpg +0 -0
  39. data/assets/js/main.js +41 -0
  40. metadata +38 -41
  41. data/_layouts/home.html +0 -9
  42. data/_sass/another/_layout.scss +0 -66
  43. data/_sass/another/_menu.scss +0 -30
  44. data/_sass/another/_posts.scss +0 -60
  45. data/assets/font-files/IBM-Plex/IBMPlexMono-Bold.woff +0 -0
  46. data/assets/font-files/IBM-Plex/IBMPlexMono-Bold.woff2 +0 -0
  47. data/assets/font-files/IBM-Plex/IBMPlexMono-BoldItalic.woff +0 -0
  48. data/assets/font-files/IBM-Plex/IBMPlexMono-BoldItalic.woff2 +0 -0
  49. data/assets/font-files/IBM-Plex/IBMPlexMono-ExtraLight.woff +0 -0
  50. data/assets/font-files/IBM-Plex/IBMPlexMono-ExtraLight.woff2 +0 -0
  51. data/assets/font-files/IBM-Plex/IBMPlexMono-ExtraLightItalic.woff +0 -0
  52. data/assets/font-files/IBM-Plex/IBMPlexMono-ExtraLightItalic.woff2 +0 -0
  53. data/assets/font-files/IBM-Plex/IBMPlexMono-Italic.woff +0 -0
  54. data/assets/font-files/IBM-Plex/IBMPlexMono-Italic.woff2 +0 -0
  55. data/assets/font-files/IBM-Plex/IBMPlexMono-Light.woff +0 -0
  56. data/assets/font-files/IBM-Plex/IBMPlexMono-Light.woff2 +0 -0
  57. data/assets/font-files/IBM-Plex/IBMPlexMono-LightItalic.woff +0 -0
  58. data/assets/font-files/IBM-Plex/IBMPlexMono-LightItalic.woff2 +0 -0
  59. data/assets/font-files/IBM-Plex/IBMPlexMono-Medium.woff +0 -0
  60. data/assets/font-files/IBM-Plex/IBMPlexMono-Medium.woff2 +0 -0
  61. data/assets/font-files/IBM-Plex/IBMPlexMono-MediumItalic.woff +0 -0
  62. data/assets/font-files/IBM-Plex/IBMPlexMono-MediumItalic.woff2 +0 -0
  63. data/assets/font-files/IBM-Plex/IBMPlexMono-Regular.woff +0 -0
  64. data/assets/font-files/IBM-Plex/IBMPlexMono-Regular.woff2 +0 -0
  65. data/assets/font-files/IBM-Plex/IBMPlexMono-SemiBold.woff +0 -0
  66. data/assets/font-files/IBM-Plex/IBMPlexMono-SemiBold.woff2 +0 -0
  67. data/assets/font-files/IBM-Plex/IBMPlexMono-SemiBoldItalic.woff +0 -0
  68. data/assets/font-files/IBM-Plex/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
  69. data/assets/font-files/IBM-Plex/IBMPlexMono-Text.woff +0 -0
  70. data/assets/font-files/IBM-Plex/IBMPlexMono-Text.woff2 +0 -0
  71. data/assets/font-files/IBM-Plex/IBMPlexMono-TextItalic.woff +0 -0
  72. data/assets/font-files/IBM-Plex/IBMPlexMono-TextItalic.woff2 +0 -0
  73. data/assets/font-files/IBM-Plex/IBMPlexMono-Thin.woff +0 -0
  74. data/assets/font-files/IBM-Plex/IBMPlexMono-Thin.woff2 +0 -0
  75. data/assets/font-files/IBM-Plex/IBMPlexMono-ThinItalic.woff +0 -0
  76. data/assets/font-files/IBM-Plex/IBMPlexMono-ThinItalic.woff2 +0 -0
  77. data/assets/font-files/IBM-Plex/license.txt +0 -92
  78. data/assets/img/icons/dark.svg +0 -1
  79. data/assets/img/icons/light.svg +0 -1
data/_layouts/home.html DELETED
@@ -1,9 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
- <h1>Another Theme for Jekyll</h1>
5
- {{ content }}
6
-
7
- {% include last-posts.html %}
8
-
9
- {% include projects.html %}
@@ -1,66 +0,0 @@
1
- // Layout
2
- //
3
- // Styles for managing the structural hierarchy of the site.
4
-
5
- .content {
6
- width: 100%;
7
-
8
- @media (min-width: $large-breakpoint) {
9
- width: 70%;
10
- }
11
- }
12
-
13
- .container {
14
- max-width: 100%;
15
- padding: 6rem 0;
16
- padding-left: 1rem;
17
- padding-right: 1rem;
18
- margin-left: 0;
19
-
20
- @media (min-width: $medium-breakpoint) {
21
- padding: 9rem 0;
22
- max-width: 70%;
23
- margin: auto;
24
-
25
- &.fluid {
26
- max-width: 80% !important;
27
- }
28
- }
29
- }
30
-
31
- #light,
32
- #dark {
33
- display: block;
34
- position: absolute;
35
- cursor: pointer;
36
- border-bottom: none;
37
- margin: 2rem 1rem;
38
- right: 0;
39
-
40
- svg {
41
- width: 1.333rem;
42
- height: 1.333rem;
43
- }
44
-
45
- &:hover {
46
- color: inherit;
47
- }
48
-
49
- @media (min-width: $medium-breakpoint) {
50
- margin: 2rem;
51
- }
52
- }
53
-
54
- #light {
55
- display: none;
56
- }
57
-
58
- [data-theme="dark"] {
59
- #light {
60
- display: block;
61
- }
62
-
63
- #dark {
64
- display: none;
65
- }
66
- }
@@ -1,30 +0,0 @@
1
- .nav-menu {
2
- position: absolute;
3
- margin: 2rem 1rem;
4
-
5
- @media (min-width: $medium-breakpoint) {
6
- margin: 2rem;
7
- }
8
-
9
- ul {
10
- li {
11
- display: inline;
12
- list-style: none;
13
- padding: 0.35rem;
14
-
15
- a{
16
- border-bottom: 0;
17
- font-family: $code-font-family;
18
- font-weight: 450;
19
- font-size: 0.85rem;
20
- text-transform: lowercase;
21
-
22
- }
23
-
24
- &:first-child::before {
25
- content: "~/";
26
- padding-left: 0;
27
- }
28
- }
29
- }
30
- }
@@ -1,60 +0,0 @@
1
- // Posts and pages
2
- //
3
- // Each post is wrapped in `.post` and is used on default and post layouts. Each
4
- // page is wrapped in `.page` and is only used on the page layout.
5
- .post {
6
- margin: 2em 0 4em;
7
-
8
- ul{
9
- padding-left: 2rem;
10
- }
11
-
12
- li + li {
13
- margin-top: .25rem;
14
- }
15
-
16
- p{
17
- text-align: left;
18
- }
19
-
20
- header{
21
-
22
- h1{
23
- padding: 0;
24
- margin: 2.5rem 0 1rem;
25
- }
26
-
27
- .info{
28
- display: flex;
29
- justify-content: space-between;
30
- }
31
-
32
- .min-head{
33
- font-weight: 500;
34
- }
35
-
36
- }
37
-
38
- .image{
39
- text-align: center;
40
- margin: 1.2rem 0;
41
-
42
- img{
43
- margin: .9rem 0;
44
- }
45
-
46
- figcaption{
47
- color: var(--primary-color);
48
- font-size: .95rem;
49
- }
50
-
51
- }
52
-
53
- }
54
-
55
- // Related posts
56
- .container.related {
57
- max-width: 50rem;
58
- padding: 0;
59
- margin-bottom: 2rem;
60
- }
@@ -1,92 +0,0 @@
1
- Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- http://scripts.sil.org/OFL
6
-
7
- -----------------------------------------------------------
8
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
9
- -----------------------------------------------------------
10
-
11
- PREAMBLE
12
- The goals of the Open Font License (OFL) are to stimulate worldwide
13
- development of collaborative font projects, to support the font creation
14
- efforts of academic and linguistic communities, and to provide a free and
15
- open framework in which fonts may be shared and improved in partnership
16
- with others.
17
-
18
- The OFL allows the licensed fonts to be used, studied, modified and
19
- redistributed freely as long as they are not sold by themselves. The
20
- fonts, including any derivative works, can be bundled, embedded,
21
- redistributed and/or sold with any software provided that any reserved
22
- names are not used by derivative works. The fonts and derivatives,
23
- however, cannot be released under any other type of license. The
24
- requirement for fonts to remain under this license does not apply
25
- to any document created using the fonts or their derivatives.
26
-
27
- DEFINITIONS
28
- "Font Software" refers to the set of files released by the Copyright
29
- Holder(s) under this license and clearly marked as such. This may
30
- include source files, build scripts and documentation.
31
-
32
- "Reserved Font Name" refers to any names specified as such after the
33
- copyright statement(s).
34
-
35
- "Original Version" refers to the collection of Font Software components as
36
- distributed by the Copyright Holder(s).
37
-
38
- "Modified Version" refers to any derivative made by adding to, deleting,
39
- or substituting -- in part or in whole -- any of the components of the
40
- Original Version, by changing formats or by porting the Font Software to a
41
- new environment.
42
-
43
- "Author" refers to any designer, engineer, programmer, technical
44
- writer or other person who contributed to the Font Software.
45
-
46
- PERMISSION & CONDITIONS
47
- Permission is hereby granted, free of charge, to any person obtaining
48
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
49
- redistribute, and sell modified and unmodified copies of the Font
50
- Software, subject to the following conditions:
51
-
52
- 1) Neither the Font Software nor any of its individual components,
53
- in Original or Modified Versions, may be sold by itself.
54
-
55
- 2) Original or Modified Versions of the Font Software may be bundled,
56
- redistributed and/or sold with any software, provided that each copy
57
- contains the above copyright notice and this license. These can be
58
- included either as stand-alone text files, human-readable headers or
59
- in the appropriate machine-readable metadata fields within text or
60
- binary files as long as those fields can be easily viewed by the user.
61
-
62
- 3) No Modified Version of the Font Software may use the Reserved Font
63
- Name(s) unless explicit written permission is granted by the corresponding
64
- Copyright Holder. This restriction only applies to the primary font name as
65
- presented to the users.
66
-
67
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
68
- Software shall not be used to promote, endorse or advertise any
69
- Modified Version, except to acknowledge the contribution(s) of the
70
- Copyright Holder(s) and the Author(s) or with their explicit written
71
- permission.
72
-
73
- 5) The Font Software, modified or unmodified, in part or in whole,
74
- must be distributed entirely under this license, and must not be
75
- distributed under any other license. The requirement for fonts to
76
- remain under this license does not apply to any document created
77
- using the Font Software.
78
-
79
- TERMINATION
80
- This license becomes null and void if any of the above conditions are
81
- not met.
82
-
83
- DISCLAIMER
84
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
85
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
86
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
87
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
88
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
89
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
90
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
91
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
92
- OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-circle"><circle cx="12" cy="12" r="10"></circle></svg>