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
@@ -0,0 +1,67 @@
1
+ // Variables
2
+ // Options
3
+ //
4
+ // Quickly modify global styling by enabling or disabling optional features.
5
+
6
+ $enable-caret: true !default;
7
+ $enable-rounded: true !default;
8
+ $enable-shadows: false !default;
9
+ $enable-gradients: false !default;
10
+ $enable-transitions: true !default;
11
+ $enable-prefers-reduced-motion-media-query: true !default;
12
+ $enable-grid-classes: true !default;
13
+ $enable-pointer-cursor-for-buttons: true !default;
14
+ $enable-responsive-font-sizes: false !default;
15
+ $enable-validation-icons: true !default;
16
+ $enable-deprecation-messages: true !default;
17
+
18
+ // Grid breakpoints
19
+ //
20
+ // Define the minimum dimensions at which your layout will change,
21
+ // adapting to different screen sizes, for use in media queries.
22
+
23
+ $grid-breakpoints: (
24
+ xs: 0,
25
+ sm: 576px,
26
+ md: 768px,
27
+ lg: 992px,
28
+ xl: 1200px
29
+ ) !default;
30
+
31
+ @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
32
+ @include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
33
+
34
+ // Grid columns
35
+ //
36
+ // Set the number of columns and specify the width of the gutters.
37
+
38
+ $grid-columns: 12 !default;
39
+ $grid-gutter-width: 6.666666667% !default;
40
+
41
+
42
+ // Container padding
43
+
44
+ $container-padding-x: $grid-gutter-width / 2 !default;
45
+
46
+ // Spacing
47
+ //
48
+ // Control the default styling of most Bootstrap elements by modifying these
49
+ // variables. Mostly focused on spacing.
50
+ // You can add more entries to the $spacers map, should you need more variation.
51
+
52
+ $spacer: 1.5rem !default;
53
+ $spacers: () !default;
54
+ // stylelint-disable-next-line scss/dollar-variable-default
55
+ $spacers: map-merge(
56
+ (
57
+ 0: 0,
58
+ 1: $spacer * .25,
59
+ 2: $spacer * .5,
60
+ 3: $spacer,
61
+ 4: $spacer * 1.5,
62
+ 5: $spacer * 3,
63
+ ),
64
+ $spacers
65
+ );
66
+
67
+ $negative-spacers: negativify-map($spacers) !default;
@@ -0,0 +1,51 @@
1
+ .btn {
2
+ display: inline-flex;
3
+ margin: .25em 0;
4
+ padding: .5rem 1rem;
5
+ text-decoration: none;
6
+ text-align: center;
7
+ margin: 2px;
8
+ background: rgba(var(--rgb-primary), 0.06);
9
+ color: rgba(var(--rgb-primary), 0.6);
10
+ border-radius: 5px;
11
+ border: 0;
12
+
13
+ @include properties($body-md);
14
+
15
+ &:hover, &:active, &:focus {
16
+ background: rgba(var(--rgb-primary), 0.1);
17
+ color: rgba(var(--rgb-primary), 0.6);
18
+ outline: none;
19
+ }
20
+
21
+ &.active {
22
+ font-weight: 600;
23
+ }
24
+
25
+ &.disabled, &:disabled {
26
+ opacity: 0.5;
27
+ }
28
+
29
+ .icon {
30
+ margin: 0 4px 0 0;
31
+ stroke: currentColor;
32
+ stroke-width: 2;
33
+ stroke-linecap: round;
34
+ stroke-linejoin: round;
35
+ fill: none;
36
+ top: 2px;
37
+ position: relative;
38
+ }
39
+
40
+ &.btn-nav{
41
+ padding: 0;
42
+ margin: 0;
43
+ border-bottom: none;
44
+ background: transparent;
45
+ color: inherit;
46
+ &:hover, &:active, &:focus {
47
+ color: rgb(var(--rgb-primary), 0.75) !important;
48
+ }
49
+ }
50
+
51
+ }
@@ -1,31 +1,13 @@
1
- .posts-feed {
1
+ .posts-feed, .ais-Hits-list {
2
2
  margin-bottom: 0.5rem;
3
3
 
4
- .post-node {
5
- font-weight: 400;
6
- border-bottom: 1px solid rgba(var(--rgb-primary), 0.055);
7
-
8
- &:first-child{
9
- border-top: 1px solid rgba(var(--rgb-primary), 0.1);
10
- }
4
+ .post-node, .ais-Hits-item {
5
+ border-bottom: 1px solid rgba(var(--rgb-primary), 0.075);
11
6
 
12
7
  .post-link {
13
- display: -webkit-box;
14
- display: -webkit-flex;
15
- display: -ms-flexbox;
16
- display: flex;
17
- flex-direction: column;
18
8
  border-bottom: 0;
19
9
  padding: 1rem 0;
20
10
 
21
- @media (min-width: $medium-breakpoint) {
22
- flex-direction: row !important;
23
- -webkit-align-items: center;
24
- -webkit-box-align: center;
25
- -ms-flex-align: center;
26
- align-items: center;
27
- }
28
-
29
11
  .post-title {
30
12
  @include properties($body-sm);
31
13
 
@@ -36,13 +18,7 @@
36
18
 
37
19
  .post-date {
38
20
  @include properties($body-xs);
39
- margin-left: 0;
40
21
  opacity: 0.75;
41
-
42
- @media (min-width: $medium-breakpoint) {
43
- @include properties($body-sm);
44
- margin-left: 1rem;
45
- }
46
22
  }
47
23
  }
48
24
  }
@@ -50,8 +26,158 @@
50
26
 
51
27
  .next-post {
52
28
  @include properties($body-sm);
53
- font-size: 65% !important;
54
- font-weight: 600 !important;
55
- text-transform: uppercase;
29
+ font-weight: 500 !important;
30
+ text-transform: capitalize;
56
31
  border-bottom: 0;
57
32
  }
33
+
34
+ .ais-SearchBox{
35
+ -webkit-box-flex: 1;
36
+ -ms-flex: 1;
37
+ flex: 1;
38
+ }
39
+
40
+ .ais-SearchBox-form {
41
+ position: relative;
42
+ display: -webkit-box;
43
+ display: -ms-flexbox;
44
+ display: flex;
45
+ -webkit-box-align: center;
46
+ -ms-flex-align: center;
47
+ align-items: center;
48
+ height: 40px;
49
+ padding-left: 40px;
50
+ padding-right: 136px;
51
+ background-color: rgba(var(--rgb-primary), 0.1);
52
+ color: inherit;
53
+ border-radius: 4px;
54
+ align-content: center;
55
+ }
56
+
57
+ .ais-SearchBox-input {
58
+ @include properties($body-md);
59
+ padding: 0;
60
+ width: 100%;
61
+ height: 100%;
62
+ background-color: transparent;
63
+ color: rgba(var(--rgb-primary), 0.7);
64
+ outline: 0;
65
+ border: 0;
66
+ }
67
+
68
+ .ais-SearchBox-reset {
69
+ position: absolute;
70
+ right: 10px;
71
+ margin-right: 120px;
72
+ color: rgba(var(--rgb-primary), 0.7);
73
+ opacity: .8;
74
+ fill: currentColor;
75
+ }
76
+
77
+ .ais-SearchBox-submit{
78
+ display: none;
79
+ }
80
+
81
+ .ais-Container{
82
+ position: relative;
83
+ -webkit-box-align: center;
84
+ -ms-flex-align: center;
85
+ align-items: center;
86
+ display: -webkit-box;
87
+ display: -ms-flexbox;
88
+ display: flex;
89
+ }
90
+
91
+ .ais-SearchIcon{
92
+ z-index: 10;
93
+ width: 12px;
94
+ height: 12px;
95
+ left: 0;
96
+ position: absolute;
97
+ margin-left: 16px;
98
+ }
99
+
100
+ .ais-Searsh-svg{
101
+ fill: currentColor;
102
+ display: block;
103
+ }
104
+
105
+ .ais-PoweredBy{
106
+ position: absolute;
107
+ right: 0;
108
+ margin-right: 10px;
109
+ }
110
+
111
+ .ais-PoweredBy-link{
112
+ display: block;
113
+ border-bottom: none;
114
+ }
115
+
116
+ .ais-PoweredBy-logo {
117
+ display: block;
118
+ color: rgba(var(--rgb-primary), 0.7);
119
+ width: 96px !important;
120
+
121
+ path:first-child, path:last-child {
122
+ fill: currentColor !important;
123
+ }
124
+ }
125
+
126
+ .ais-Pagination {
127
+ display: -webkit-box;
128
+ display: -ms-flexbox;
129
+ display: flex;
130
+ -ms-flex-wrap: wrap;
131
+ flex-wrap: wrap;
132
+ }
133
+
134
+ .ais-Pagination-list {
135
+ display: -webkit-box;
136
+ display: -ms-flexbox;
137
+ display: flex;
138
+ -ms-flex-wrap: wrap;
139
+ flex-wrap: wrap;
140
+ list-style: none;
141
+ padding: 0;
142
+ margin: 0 auto;
143
+ margin-top: -2px;
144
+ margin-bottom: -2px;
145
+ }
146
+
147
+ .ais-Pagination-item {
148
+ display: block;
149
+ margin: 2px;
150
+ background: rgba(var(--rgb-primary), 0.06);
151
+ color: rgba(var(--rgb-primary), 0.6);
152
+ padding: 2px;
153
+ border-radius: 5px;
154
+ }
155
+
156
+ .ais-Pagination-item--selected {
157
+ background: rgba(var(--rgb-primary), 0.1);
158
+ color: rgba(var(--rgb-primary), 0.6);
159
+ font-weight: 600;
160
+ }
161
+
162
+ .ais-Pagination-item--disabled {
163
+ opacity: 0.5;
164
+ }
165
+
166
+ .ais-Pagination-link {
167
+ display: -webkit-box;
168
+ display: -ms-flexbox;
169
+ display: flex;
170
+ -webkit-box-align: center;
171
+ -ms-flex-align: center;
172
+ align-items: center;
173
+ -webkit-box-pack: center;
174
+ -ms-flex-pack: center;
175
+ justify-content: center;
176
+ background-color: transparent;
177
+ color: inherit;
178
+ width: 32px;
179
+ height: 32px;
180
+ text-decoration: none;
181
+ border: 0;
182
+ font-size: 12px;
183
+ }
@@ -169,117 +169,3 @@ explicitly, e.g.
169
169
  font-style: oblique 0deg 10deg;
170
170
  src: url("../font-files/Inter/Inter.var.woff2") format("woff2");
171
171
  }
172
-
173
- // IBM Plex Mono
174
- @font-face {
175
- font-family: 'IBM Plex Mono';
176
- font-style: normal;
177
- font-weight: 700;
178
- src: url("../font-files/IBM-Plex/IBMPlexMono-Bold.woff2") format("woff2"),
179
- url("../font-files/IBM-Plex/IBMPlexMono-Bold.woff") format("woff");
180
- }
181
- @font-face {
182
- font-family: 'IBM Plex Mono';
183
- font-style: italic;
184
- font-weight: 700;
185
- src: url("../font-files/IBM-Plex/IBMPlexMono-BoldItalic.woff2") format("woff2"),
186
- url("../font-files/IBM-Plex/IBMPlexMono-BoldItalic.woff") format("woff");
187
- }
188
- @font-face {
189
- font-family: 'IBM Plex Mono';
190
- font-style: normal;
191
- font-weight: 200;
192
- src: url("../font-files/IBM-Plex/IBMPlexMono-ExtraLight.woff2") format("woff2"),
193
- url("../font-files/IBM-Plex/IBMPlexMono-ExtraLight.woff") format("woff");
194
- }
195
- @font-face {
196
- font-family: 'IBM Plex Mono';
197
- font-style: italic;
198
- font-weight: 200;
199
- src: url("../font-files/IBM-Plex/IBMPlexMono-ExtraLightItalic.woff2") format("woff2"),
200
- url("../font-files/IBM-Plex/IBMPlexMono-ExtraLightItalic.woff") format("woff");
201
- }
202
- @font-face {
203
- font-family: 'IBM Plex Mono';
204
- font-style: italic;
205
- font-weight: 400;
206
- src: url("../font-files/IBM-Plex/IBMPlexMono-Italic.woff2") format("woff2"),
207
- url("../font-files/IBM-Plex/IBMPlexMono-Italic.woff") format("woff");
208
- }
209
- @font-face {
210
- font-family: 'IBM Plex Mono';
211
- font-style: normal;
212
- font-weight: 300;
213
- src: url("../font-files/IBM-Plex/IBMPlexMono-Light.woff2") format("woff2"),
214
- url("../font-files/IBM-Plex/IBMPlexMono-Light.woff") format("woff");
215
- }
216
- @font-face {
217
- font-family: 'IBM Plex Mono';
218
- font-style: italic;
219
- font-weight: 300;
220
- src: url("../font-files/IBM-Plex/IBMPlexMono-LightItalic.woff2") format("woff2"),
221
- url("../font-files/IBM-Plex/IBMPlexMono-LightItalic.woff") format("woff");
222
- }
223
- @font-face {
224
- font-family: 'IBM Plex Mono';
225
- font-style: normal;
226
- font-weight: 500;
227
- src: url("../font-files/IBM-Plex/IBMPlexMono-Medium.woff2") format("woff2"),
228
- url("../font-files/IBM-Plex/IBMPlexMono-Medium.woff") format("woff");
229
- }
230
- @font-face {
231
- font-family: 'IBM Plex Mono';
232
- font-style: italic;
233
- font-weight: 500;
234
- src: url("../font-files/IBM-Plex/IBMPlexMono-MediumItalic.woff2") format("woff2"),
235
- url("../font-files/IBM-Plex/IBMPlexMono-MediumItalic.woff") format("woff");
236
- }
237
- @font-face {
238
- font-family: 'IBM Plex Mono';
239
- font-style: normal;
240
- font-weight: 400;
241
- src: url("../font-files/IBM-Plex/IBMPlexMono-Regular.woff2") format("woff2"),
242
- url("../font-files/IBM-Plex/IBMPlexMono-Regular.woff") format("woff");
243
- }
244
- @font-face {
245
- font-family: 'IBM Plex Mono';
246
- font-style: normal;
247
- font-weight: 600;
248
- src: url("../font-files/IBM-Plex/IBMPlexMono-SemiBold.woff2") format("woff2"),
249
- url("../font-files/IBM-Plex/IBMPlexMono-SemiBold.woff") format("woff");
250
- }
251
- @font-face {
252
- font-family: 'IBM Plex Mono';
253
- font-style: italic;
254
- font-weight: 600;
255
- src: url("../font-files/IBM-Plex/IBMPlexMono-SemiBoldItalic.woff2") format("woff2"),
256
- url("../font-files/IBM-Plex/IBMPlexMono-SemiBoldItalic.woff") format("woff");
257
- }
258
- @font-face {
259
- font-family: 'IBM Plex Mono';
260
- font-style: normal;
261
- font-weight: 450;
262
- src: url("../font-files/IBM-Plex/IBMPlexMono-Text.woff2") format("woff2"),
263
- url("../font-files/IBM-Plex/IBMPlexMono-Text.woff") format("woff");
264
- }
265
- @font-face {
266
- font-family: 'IBM Plex Mono';
267
- font-style: italic;
268
- font-weight: 450;
269
- src: url("../font-files/IBM-Plex/IBMPlexMono-TextItalic.woff2") format("woff2"),
270
- url("../font-files/IBM-Plex/IBMPlexMono-TextItalic.woff") format("woff");
271
- }
272
- @font-face {
273
- font-family: 'IBM Plex Mono';
274
- font-style: normal;
275
- font-weight: 100;
276
- src: url("../font-files/IBM-Plex/IBMPlexMono-Thin.woff2") format("woff2"),
277
- url("../font-files/IBM-Plex/IBMPlexMono-Thin.woff") format("woff");
278
- }
279
- @font-face {
280
- font-family: 'IBM Plex Mono';
281
- font-style: italic;
282
- font-weight: 100;
283
- src: url("../font-files/IBM-Plex/IBMPlexMono-ThinItalic.woff2") format("woff2"),
284
- url("../font-files/IBM-Plex/IBMPlexMono-ThinItalic.woff2") format("woff");
285
- }
@@ -0,0 +1,29 @@
1
+ footer {
2
+ ul {
3
+ margin: 0;
4
+ li {
5
+ display: inline;
6
+ list-style: none;
7
+ margin-left: 0.65rem;
8
+
9
+ a{
10
+ @include properties($heading-xs);
11
+ color: var(--primary-color);
12
+ border-bottom: 0;
13
+ }
14
+ }
15
+ }
16
+
17
+ .social {
18
+ text-align: right;
19
+ }
20
+ .menu{
21
+ ul {
22
+ li{
23
+ a{
24
+ font-weight: 300;
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }