jekyll-mrsnailo 0.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: c7cd169ee473d81c0f6871a4fe99890c8ff1b58f4a3f1010db0d26525440125a
4
+ data.tar.gz: 3f9587c6d2d014bcb8130d14b2800fec70b9f6f267ec5eaf711dd979e13e14ea
5
+ SHA512:
6
+ metadata.gz: 2cec3e55647913926dba421bfc3e35c2ed8bd534fba1092e92d22e6c4b845f46e801011293906db7ed52d80f7dcec16d9ed6b35d48ba14f8adc85b840de59157
7
+ data.tar.gz: f679c16246a07007abfdea96aa7ac102a36002455b3f125feee77ae6729fe5c5d1c298896f4d8440c0f69b8d06b2df6daecf7ec83b6aac15ba17e1fd879b7b89
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 mrsnailo
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,52 @@
1
+ # jekyll-mrsnailo
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`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "jekyll-mrsnailo"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: jekyll-mrsnailo
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install jekyll-mrsnailo
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ 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.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ 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.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-mrsnailo.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,22 @@
1
+ <footer class="footer-16371 bg-dark py-4">
2
+ <div class="container">
3
+ <div class="row justify-content-center">
4
+ <div class="footer-site-logo mb-4">
5
+ <p class="sponsor text-center">Built With <a href="#">Jekyll.</a></p>
6
+ </div>
7
+ <div class="social mb-4">
8
+ <ul class="list-unstyled text-center">
9
+ <li class="fb"><a href="www.facebook.com/{{}}}"><i class="fab fa-facebook"></i></span></a></li>
10
+ <li class="gh"><a href="www.facebook.com/{{}}}"><i class="fab fa-github"></i></span></a></li>
11
+ <li class="yt"><a href="www.facebook.com/{{}}}"><i class="fab fa-youtube"></i></span></a></li>
12
+ <li class="gh"><a href="www.facebook.com/{{}}}"><i class="fab fa-telegram"></i></span></a></li>
13
+ <li class="gh"><a href="www.facebook.com/{{}}}"><i class="fab fa-linkedin"></i></span></a></li>
14
+ <li class="gh"><a href="www.facebook.com/{{}}}"><i class="fab fa-twitter"></i></span></a></li>
15
+ </ul>
16
+ </div>
17
+ </div>
18
+ <div class="copyright text-center">
19
+ <p class="mb-0"><small>&copy; <a href="#">Mrsnailo</a>. All Rights Reserved.</small></p>
20
+ </div>
21
+ </div>
22
+ </footer>
@@ -0,0 +1,14 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ <!-- icomoon -->
6
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/icomoon@1.0.0/style.min.css">
7
+ <!-- Bootstrap 5 -->
8
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
9
+
10
+ <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
11
+
12
+
13
+
14
+ </head>
@@ -0,0 +1,28 @@
1
+
2
+
3
+ <header class="site-header">
4
+ <div class="nav-container">
5
+ <nav class="navbar navbar-expand-lg navbar-dark">
6
+ <a class="navbar-brand" href="#"><img src="{{site.avatar}}" class="site-avatar"></a>
7
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
8
+ <span class="navbar-toggler-icon"></span>
9
+ </button>
10
+ <div class="collapse navbar-collapse justify-content-center" id="navbarNavDropdown">
11
+ <ul class="navbar-nav">
12
+ <li class="nav-item">
13
+ <a class="nav-link" href="#">Categories</a>
14
+ </li>
15
+ <li class="nav-item">
16
+ <a class="nav-link" href="#">Tags</a>
17
+ </li>
18
+ <li class="nav-item">
19
+ <a class="nav-link" href="#">About</a>
20
+ </li>
21
+ <li class="nav-item">
22
+ <a class="nav-link" href="#">Search</a>
23
+ </li>
24
+ </ul>
25
+ </div>
26
+ </nav>
27
+ </div>
28
+ </header>
@@ -0,0 +1,5 @@
1
+ <!-- All Js and other scripts -->
2
+
3
+ <!-- font owsome -->
4
+ <script src="https://kit.fontawesome.com/8868b16adf.js" crossorigin="anonymous"></script>
5
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include head.html %}
4
+ <title>{{site.name}}</title>
5
+ <body>
6
+ {% include header.html %}
7
+
8
+
9
+ {{ content }}
10
+
11
+
12
+ {% include footer.html %}
13
+
14
+
15
+ <!-- Scripts -->
16
+ {% include scripts.html %}
17
+ </body>
18
+ </html>
19
+
20
+
21
+
@@ -0,0 +1,34 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {{ content }}
5
+ <div class="site-info text-center py-5">
6
+ <h4>{{site.name}}</h4>
7
+ <p class="site-description">{{site.description}}</p>
8
+ </div>
9
+
10
+ <div class="home">
11
+
12
+ <div class="container">
13
+ {% for post in site.posts %}
14
+ <div class="row justify-content-center my-4">
15
+ <div class="articles shadow-sm p-3 rounded">
16
+ <div class="post-container" style="width: 18rem;">
17
+ <div class="post-body">
18
+ <h5 class="post-title">{{post.title}}</h5>
19
+ <span class="text-muted py-1">{{post.date}}</span>
20
+ <div class="post-excerpt">
21
+ {{post.excerpt}}
22
+ </div>
23
+ <a href="{{post.url}}" class="card-link text-warning">আরও পড়ুন..</a>
24
+ </div>
25
+ </div>
26
+ </div>
27
+ </div>
28
+ {% endfor %}
29
+ </div>
30
+
31
+
32
+
33
+
34
+ </div>
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="site-info text-center py-5">
5
+ <h4>{{page.title}}</h4>
6
+
7
+ </div>
8
+
9
+ <div class="container">
10
+ <div class="article-body">
11
+ <div class="post-content e-content" itemprop="articleBody">
12
+ {{ content }}
13
+ </div>
14
+ </div>
15
+ </div>
16
+
@@ -0,0 +1,7 @@
1
+ container {
2
+ max-width: $md-screen;
3
+ padding-left: var(--spacer);
4
+ padding-right: var(--spacer);
5
+ margin-left: auto;
6
+ margin-right: auto;
7
+ }
@@ -0,0 +1,335 @@
1
+ $breakpoints: (
2
+ "phone": 420px,
3
+ "tablet": 768px,
4
+ "desktop": 1366px,
5
+ "LGdesktop": 1920px
6
+ ) !default;
7
+
8
+ ///
9
+ /// Creates a list of static expressions or media types
10
+ ///
11
+ /// @author Eduardo Boucas
12
+ ///
13
+ /// @example scss - Creates a single media type (screen)
14
+ /// $media-expressions: ('screen': 'screen');
15
+ ///
16
+ /// @example scss - Creates a static expression with logical disjunction (OR operator)
17
+ /// $media-expressions: (
18
+ /// 'retina2x': (
19
+ /// '(-webkit-min-device-pixel-ratio: 2)',
20
+ /// '(min-resolution: 192dpi)'
21
+ /// )
22
+ /// );
23
+ ///
24
+ $media-expressions: (
25
+ "screen": "screen",
26
+ "print": "print",
27
+ "handheld": "handheld",
28
+ "retina2x": (
29
+ "(-webkit-min-device-pixel-ratio: 2)",
30
+ "(min-resolution: 192dpi)"
31
+ ),
32
+ "retina3x": (
33
+ "(-webkit-min-device-pixel-ratio: 3)",
34
+ "(min-resolution: 350dpi)"
35
+ )
36
+ ) !default;
37
+
38
+ ///
39
+ /// Defines a number to be added or subtracted from each unit when declaring breakpoints with exclusive intervals
40
+ ///
41
+ /// @author Eduardo Boucas
42
+ ///
43
+ /// @example scss - Interval for pixels is defined as `1` by default
44
+ /// @include media(">128px") {}
45
+ ///
46
+ /// /* Generates: */
47
+ /// @media (min-width: 129px) {}
48
+ ///
49
+ /// @example scss - Interval for ems is defined as `0.01` by default
50
+ /// @include media(">20em") {}
51
+ ///
52
+ /// /* Generates: */
53
+ /// @media (min-width: 20.01em) {}
54
+ ///
55
+ /// @example scss - Interval for rems is defined as `0.1` by default, to be used with `font-size: 62.5%;`
56
+ /// @include media(">2.0rem") {}
57
+ ///
58
+ /// /* Generates: */
59
+ /// @media (min-width: 2.1rem) {}
60
+ ///
61
+ $unit-intervals: (
62
+ "px": 1,
63
+ "em": 0.01,
64
+ "rem": 0.1
65
+ ) !default;
66
+ ///
67
+ /// Generates a media query based on a list of conditions
68
+ ///
69
+ /// @author Eduardo Boucas
70
+ ///
71
+ /// @param {List} $conditions - Media query conditions
72
+ ///
73
+ /// @example scss - With a single set breakpoint
74
+ /// @include media(">phone") { }
75
+ ///
76
+ /// @example scss - With two set breakpoints
77
+ /// @include media(">phone", "<=tablet") { }
78
+ ///
79
+ /// @example scss - With custom values
80
+ /// @include media(">=358px", "<850px") { }
81
+ ///
82
+ /// @example scss - With set breakpoints with custom values
83
+ /// @include media(">desktop", "<=1350px") { }
84
+ ///
85
+ /// @example scss - With a static expression
86
+ /// @include media("retina2x") { }
87
+ ///
88
+ /// @example scss - Mixing everything
89
+ /// @include media(">=350px", "<tablet", "retina3x") { }
90
+ ///
91
+ @mixin media($conditions...) {
92
+ @for $i from 1 through length($conditions) {
93
+ $conditions: set-nth(
94
+ $conditions,
95
+ $i,
96
+ parse-expression(nth($conditions, $i))
97
+ );
98
+ }
99
+
100
+ $branches: get-query-branches($conditions);
101
+ $query: "";
102
+
103
+ @each $branch in $branches {
104
+ @if (str-length($query) != 0) {
105
+ $query: $query + ", ";
106
+ }
107
+
108
+ $query: $query + $branch;
109
+ }
110
+
111
+ @media #{$query} {
112
+ @content;
113
+ }
114
+ }
115
+
116
+ ///
117
+ /// Reads a list of media query expressions and separates logical disjunctions into different branches
118
+ ///
119
+ /// @author Eduardo Boucas
120
+ ///
121
+ /// @param {List} $expressions - list of expressions
122
+ ///
123
+ /// @throws `$expression` is not a valid expression
124
+ ///
125
+ /// @return {List | Null}
126
+ ///
127
+ @function get-query-branches($expressions) {
128
+ $result: "";
129
+ $has-groups: false;
130
+
131
+ // Getting initial snapshot and looking for groups
132
+ @each $expression in $expressions {
133
+ @if (str-length($result) != 0) {
134
+ $result: $result + " and ";
135
+ }
136
+
137
+ @if (type-of($expression) == "string") {
138
+ $result: $result + $expression;
139
+ } @else if (type-of($expression) == "list") {
140
+ $result: $result + nth($expression, 1);
141
+ $has-groups: true;
142
+ } @else {
143
+ @warn '#{$expression} is not a valid expression.';
144
+ }
145
+ }
146
+
147
+ // If we have groups, we have to create all possible combinations
148
+ @if $has-groups {
149
+ @each $expression in $expressions {
150
+ @if (type-of($expression) == "list") {
151
+ $first: nth($expression, 1);
152
+
153
+ @each $member in $expression {
154
+ @if ($member != $first) {
155
+ @each $partial in $result {
156
+ $result: join(
157
+ $result,
158
+ str-replace-first($first, $member, $partial)
159
+ );
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+
167
+ @return $result;
168
+ }
169
+
170
+ ///
171
+ /// Parses a string to form a media query expression
172
+ ///
173
+ /// @author Eduardo Boucas
174
+ ///
175
+ /// @param {String} $expression - expression (in string)
176
+ ///
177
+ /// @throws Expression with type `type-of($expression)` detected, string expected
178
+ /// @throws `$expression` is missing an operator
179
+ /// @throws Unknown unit: `$unit`
180
+ ///
181
+ /// @return {String | Null}
182
+ ///
183
+ @function parse-expression($expression) {
184
+ $operator: "";
185
+ $value: "";
186
+ $element: "";
187
+ $result: "";
188
+ $is-width: true;
189
+
190
+ @if (type-of($expression) != "string") {
191
+ @warn 'Expression with type `#{type-of($expression)}` detected, string expected.';
192
+ }
193
+
194
+ // Separating the operator from the rest of the expression
195
+ @if (str-slice($expression, 2, 2) == "=") {
196
+ $operator: str-slice($expression, 1, 2);
197
+ $value: str-slice($expression, 3);
198
+ } @else {
199
+ $operator: str-slice($expression, 1, 1);
200
+ $value: str-slice($expression, 2);
201
+ }
202
+
203
+ // Checking what type of expression we're dealing with
204
+ @if map-has-key($breakpoints, $value) {
205
+ $result: map-get($breakpoints, $value);
206
+ } @else if map-has-key($media-expressions, $expression) {
207
+ $result: map-get($media-expressions, $expression);
208
+ $is-width: false;
209
+ } @else {
210
+ $result: to-number($value);
211
+ }
212
+
213
+ @if ($is-width) {
214
+ $unit: unit($result);
215
+ $interval: 0;
216
+
217
+ @if (map-has-key($unit-intervals, $unit)) {
218
+ $interval: map-get($unit-intervals, $unit);
219
+ } @else {
220
+ @warn 'Unknown unit: #{$unit}';
221
+ }
222
+
223
+ @if ($operator == ">") {
224
+ $element: "(min-width: #{$result + $interval})";
225
+ } @else if ($operator == "<") {
226
+ $element: "(max-width: #{$result - $interval})";
227
+ } @else if ($operator == ">=") {
228
+ $element: "(min-width: #{$result})";
229
+ } @else if ($operator == "<=") {
230
+ $element: "(max-width: #{$result})";
231
+ } @else {
232
+ @warn '#{$expression} is missing an operator.';
233
+ }
234
+ } @else {
235
+ $element: $result;
236
+ }
237
+
238
+ @return $element;
239
+ }
240
+
241
+ ///
242
+ /// Replaces the first occurence of the string with the replacement string
243
+ ///
244
+ /// @author Eduardo Boucas
245
+ ///
246
+ /// @param {String} $search - The value being searched for
247
+ /// @param {String} $replace - The replacement string
248
+ /// @param {String} $subject - The string being replaced on
249
+ ///
250
+ /// @return {String | Null}
251
+ ///
252
+ @function str-replace-first($search, $replace, $subject) {
253
+ $search-start: str-index($subject, $search);
254
+
255
+ @if $search-start == null {
256
+ @return $subject;
257
+ }
258
+
259
+ $result: str-slice($subject, 0, $search-start - 1);
260
+ $result: $result + $replace;
261
+ $result: $result + str-slice($subject, $search-start + str-length($search));
262
+
263
+ @return $result;
264
+ }
265
+
266
+ ///
267
+ /// Casts a number to a string
268
+ ///
269
+ /// @author Hugo Giraudel
270
+ ///
271
+ /// @param {String} $string - Number to be parsed
272
+ ///
273
+ /// @return {List | Null}
274
+ ///
275
+ @function to-number($string) {
276
+ // Matrices
277
+ $strings: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9";
278
+ $numbers: 0 1 2 3 4 5 6 7 8 9;
279
+
280
+ // Result
281
+ $result: 0;
282
+ $divider: 0;
283
+ $minus: false;
284
+
285
+ // Looping through all characters
286
+ @for $i from 1 through str-length($string) {
287
+ $character: str-slice($string, $i, $i);
288
+ $index: index($strings, $character);
289
+
290
+ @if $character == "-" {
291
+ $minus: true;
292
+ } @else if $character == "." {
293
+ $divider: 1;
294
+ } @else {
295
+ @if type-of($index) != "number" {
296
+ $result: if($minus, $result * -1, $result);
297
+ @return _length($result, str-slice($string, $i));
298
+ }
299
+
300
+ $number: nth($numbers, $index);
301
+
302
+ @if $divider == 0 {
303
+ $result: $result * 10;
304
+ } @else {
305
+ // Move the decimal dot to the left
306
+ $divider: $divider * 10;
307
+ $number: $number / $divider;
308
+ }
309
+
310
+ $result: $result + $number;
311
+ }
312
+ }
313
+
314
+ @return if($minus, $result * -1, $result);
315
+ }
316
+
317
+ @function _length($number, $unit) {
318
+ $strings: "px" "cm" "mm" "%" "ch" "pica" "in" "em" "rem" "pt" "pc" "ex" "vw"
319
+ "vh" "vmin" "vmax";
320
+ $units: 1px 1cm 1mm 1% 1ch 1pica 1in 1em 1rem 1pt 1pc 1ex 1vw 1vh 1vmin 1vmax;
321
+ $index: index($strings, $unit);
322
+
323
+ @if type-of($index) != "number" {
324
+ @warn 'Unknown unit `#{$unit}`.';
325
+ @return false;
326
+ }
327
+
328
+ @return $number * nth($units, $index);
329
+ }
330
+
331
+ /**
332
+ *
333
+ * Testing
334
+ *
335
+ **/
data/_sass/main.scss ADDED
@@ -0,0 +1,113 @@
1
+ @import "breakpoint.scss";
2
+ @import "variable";
3
+ @import "layout";
4
+
5
+
6
+ * {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ ul li {
11
+ list-style: none;
12
+ }
13
+ a {
14
+ text-decoration: none;
15
+ color: #ffff;
16
+ }
17
+ body {
18
+ background: $bodyBg;
19
+ color: $textColor;
20
+ font-family: $bnFont;
21
+ }
22
+
23
+ // header Designs
24
+ .nav-container {
25
+ max-width: 640px;
26
+ margin: 0 auto;
27
+ @include media("<=phone"){
28
+ max-width: 300px;
29
+ }
30
+ @include media('>420px', '<644px'){
31
+ max-width: 400px;
32
+ }
33
+ }
34
+
35
+ nav {
36
+ max-width:100%;
37
+
38
+ //
39
+ ul{
40
+ //
41
+ li {
42
+ display: inline-block;
43
+ text-align: center;
44
+ margin: 0 2rem;
45
+ a {
46
+ color: #ffff;
47
+ }
48
+ &:hover { color:rgba(117, 19, 93, 0.73); }
49
+ &:active { background: linear-gradient(to top, green 4px, transparent 0); }
50
+ }
51
+ }
52
+ }
53
+
54
+ .site-avatar {
55
+ width: 2.5rem;
56
+ border-radius: 50%;
57
+ }
58
+ .site-info {
59
+ background: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(117, 19, 93, 0.73)), url('https://i.ibb.co/hYtG1Mn/nature-g63e13ff21-1280.jpg');
60
+ background-repeat: no-repeat;
61
+ background-size: cover;
62
+ background-position: center center;
63
+ }
64
+
65
+ // home layout
66
+ .articles {
67
+ background-color: $postBg;
68
+ width: 35rem;
69
+ @include media('<=tablet'){
70
+ width: 25rem;
71
+ }
72
+ @include media('<=phone'){
73
+ width: 15rem;
74
+ }
75
+ }
76
+ .post-container{
77
+ width: 32rem !important;
78
+
79
+ @include media('<=tablet'){
80
+ width: 22rem !important;
81
+ }
82
+ @include media('<=phone'){
83
+ width: 12rem !important;
84
+ }
85
+ }
86
+ .post-title {
87
+ color: $postTitle;
88
+ }
89
+ .post-excerpt{
90
+ color: $postExcerptColor;
91
+ }
92
+
93
+ .article-body, .comments, .box {
94
+ padding: 30px;
95
+ background: #272726;
96
+ border-radius: 20px;
97
+ box-shadow: 0 0 40px rgba(0,0,0,0.5);
98
+ margin: 25px 0;
99
+ }
100
+
101
+
102
+ // footer
103
+
104
+ .social ul li {
105
+ display: inline-block;
106
+ }
107
+ .social .fb, .yt, .gh i {
108
+ font-size: 2rem;
109
+ margin-left: 1rem;
110
+ }
111
+ .sponsor a{
112
+ text-decoration: underline;
113
+ }
@@ -0,0 +1,24 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
2
+
3
+ // definig environment
4
+
5
+
6
+ $sm-screen: 35.5rem;
7
+ $md-screen: 48rem;
8
+ $lg-screen: 64rem;
9
+ $xl-screen: 80rem;
10
+
11
+ :root {
12
+ --spacer: 1rem;
13
+ --spacer-2: calc(var(--spacer) * 2);
14
+ --spacer-3: calc(var(--spacer) * 3);
15
+
16
+ }
17
+
18
+
19
+ $bnFont: Hind Siliguri, sans-serif;
20
+ $bodyBg: #212f3c;
21
+ $postBg: #000000;
22
+ $textColor: #f8f9f9;
23
+ $postTitle: #b4d3d3;
24
+ $postExcerptColor: #ffffff;
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "main";
metadata ADDED
@@ -0,0 +1,71 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-mrsnailo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - mrsnailo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-12-11 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.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
27
+ description:
28
+ email:
29
+ - shahidparvez.official@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _includes/footer.html
37
+ - _includes/head.html
38
+ - _includes/header.html
39
+ - _includes/scripts.html
40
+ - _layouts/default.html
41
+ - _layouts/home.html
42
+ - _layouts/post.html
43
+ - _sass/_layout.scss
44
+ - _sass/breakpoint.scss
45
+ - _sass/main.scss
46
+ - _sass/variable.scss
47
+ - assets/css/style.scss
48
+ homepage: https://mrsnailo.github.io/jekyll-theme-mrsnailo
49
+ licenses:
50
+ - MIT
51
+ metadata: {}
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubygems_version: 3.2.22
68
+ signing_key:
69
+ specification_version: 4
70
+ summary: A short description of my theme
71
+ test_files: []