jekyll-theme-fica 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yaml +13 -13
  3. data/404.html +5 -3
  4. data/README.md +58 -89
  5. data/_includes/BTT.html +6 -8
  6. data/_includes/Footer.html +84 -71
  7. data/_includes/Google-Analytics.html +8 -7
  8. data/_includes/Head.html +12 -11
  9. data/_includes/Header.html +34 -23
  10. data/_layouts/default.html +14 -14
  11. data/_layouts/home.html +67 -51
  12. data/_layouts/page.html +3 -14
  13. data/_layouts/post.html +51 -50
  14. data/_layouts/post_home.html +113 -81
  15. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -8
  16. data/_posts/2022-04-1-Demo.md +113 -113
  17. data/_posts/2022-04-5-Getting-Started.md +149 -103
  18. data/_posts/2022-04-6-Creating-a-new-post.md +136 -124
  19. data/_sass/custom/variables.scss +1 -1
  20. data/_sass/jekyll-theme-fica.scss +8 -7
  21. data/_sass/layouts/Google-fonts.scss +139 -0
  22. data/_sass/layouts/base.scss +579 -587
  23. data/_sass/layouts/layout.scss +717 -676
  24. data/_sass/layouts/variables.scss +229 -88
  25. data/_sass/themes/dark theme/highlight.scss +362 -362
  26. data/_sass/themes/dark theme/theme-dark.scss +141 -134
  27. data/_sass/themes/light theme/highlight.scss +198 -198
  28. data/_sass/themes/light theme/theme-light.scss +135 -131
  29. data/assets/css/Style.scss +12 -41
  30. data/assets/fica-icons.svg +64 -64
  31. data/assets/img/{fica_ad.png → homepage-pic.png} +0 -0
  32. data/bin/run +150 -0
  33. data/docs/contributing.md +69 -69
  34. data/js/back-to-top.js +47 -47
  35. data/post/index.html +3 -3
  36. metadata +11 -8
  37. data/_includes/Custom-Head.html +0 -9
  38. data/assets/css/fica-icons.svg +0 -68
  39. data/bin/build +0 -7
  40. data/bin/server +0 -7
@@ -1,124 +1,136 @@
1
- ---
2
- layout: post
3
- site-title: Creating a new post
4
- author: Involts
5
- ---
6
-
7
- This post shows how to create a new post on the `Fica` Theme. Even if you have previous experience with Jekyll, this article is worth reading, because many features require specific variables to be set.
8
-
9
- # Creating a File and Naming a post
10
-
11
- Create a new file named `YYY-MM-DD-TITLE.EXTENSION` (.EXTENSION may be `.md` or `.markdown`) and put it on the `_posts` folder.
12
-
13
- # Font Matter
14
-
15
- Basic Font Matter
16
-
17
- | Font Matter | Description
18
- | --------------------------------------|------------------
19
- | `layouts` | This specifies the layout file to use. It may be `home` layout for the homepage, `post` layout for post, `default` or `page` layout/s the original look of the site, and `post-home` layout for homepage of the post/s.
20
- | `site-title` | This displays the website title. **EXCEPT THE HOMEPAGE**
21
- | `author` | This is optional for the post because the authour is set on the `_config.yml` file.
22
- | `home` | **This is only for the homepage** It displays the website title so that you will not write the website title.
23
-
24
- Examples:
25
-
26
- - Homepage:
27
-
28
- ```yml
29
- ---
30
- layout: home
31
- home: true
32
- ---
33
-
34
- ```
35
-
36
- - About
37
-
38
- ```yml
39
- ---
40
- layout: default
41
- site-title: About
42
- permalink: /About/
43
- ---
44
-
45
- ```
46
-
47
- - Post Home
48
-
49
- ```yml
50
- ---
51
- layout: post_home
52
- site-title: post
53
- ---
54
- ```
55
-
56
- - Post
57
-
58
- ```yml
59
- ---
60
- layout: post
61
- site-title: Creating a new post
62
- author: Involts
63
- ---
64
- ```
65
-
66
- # Syntax
67
-
68
- - Inline Code
69
-
70
- ```
71
- `inline code part`
72
- ```
73
-
74
- - Code Block
75
-
76
- Markdown symbol ``` can easily create a code block as follows:
77
-
78
- ```
79
- Plaintext Code Snippet.
80
- ```
81
- ### Specifying Language in Code Block
82
-
83
- Markdown symbol ```{language} can easily create a code block as follows:
84
-
85
- ````yml
86
- ```yml
87
- title: Fica Theme
88
- ```
89
- ````
90
-
91
- ### Line Number
92
-
93
- All languages except `plaintext`, `console`, and `terminal` will display line numbers. When you want to hide the line number of a code block, add the class `nolineno` to it:
94
-
95
- ````markdown
96
- ```bash
97
- echo 'No more line numbers'
98
- ```
99
- {: .nolineno }
100
- ````
101
-
102
- #### Liquid Codes
103
-
104
- If you want to display the `Liquid` snippet, surround the liquid code with `{% raw %}` and `{% endraw %}`:
105
-
106
- ````markdown
107
- {% raw %}
108
- ```liquid
109
- {% if product.title contains 'Pack' %}
110
- This product's title contains the word Pack.
111
- {% endif %}
112
- ```
113
- {% endraw %}
114
- ````
115
-
116
- Or adding `render_with_liquid: false` (Requires Jekyll 4.0 or higher) to the post's YAML block.
117
-
118
- ## Learn More
119
-
120
- For more knowledge about Jekyll posts, visit the [Jekyll Docs: Posts](https://jekyllrb.com/docs/posts/).
121
-
122
-
123
-
124
-
1
+ ---
2
+ layout: post
3
+ site-title: Creating a new post
4
+ author: Involts
5
+ ---
6
+
7
+ This post shows how to create a new post on the `Fica` Theme. Even if you have previous experience with Jekyll, this article is worth reading, because many features require specific variables to be set.
8
+
9
+ # Creating a File and Naming a post
10
+
11
+ Create a new file named `YYY-MM-DD-TITLE.EXTENSION` (.EXTENSION may be `.md` or `.markdown`) and put it on the `_posts` folder.
12
+
13
+ # Font Matter
14
+
15
+ Basic Font Matter
16
+
17
+ | Font Matter | Description
18
+ | --------------------------------------|------------------
19
+ | `layouts` | This specifies the layout file to use. It may be `home` layout for the homepage, `post` layout for post, `default` or `page` layout/s the original look of the site, and `post-home` layout for homepage of the post/s.
20
+ | `site-title` | This displays the website title. **EXCEPT THE HOMEPAGE**
21
+ | `author` | This is optional for the post because the authour is set on the `_config.yml` file.
22
+ | `home` | **This is only for the homepage** It displays the website title so that you will not write the website title.
23
+ | `pin` | This pins the post to the top of the post-home layout.
24
+
25
+ Examples:
26
+
27
+ - Homepage:
28
+
29
+ ```yml
30
+ ---
31
+ layout: home
32
+ home: true
33
+ ---
34
+
35
+ ```
36
+
37
+ - About
38
+
39
+ ```yml
40
+ ---
41
+ layout: default
42
+ site-title: About
43
+ permalink: /About/
44
+ ---
45
+
46
+ ```
47
+
48
+ - Post Home
49
+
50
+ ```yml
51
+ ---
52
+ layout: post_home
53
+ site-title: post
54
+ ---
55
+ ```
56
+
57
+ - Post
58
+
59
+ ```yml
60
+ ---
61
+ layout: post
62
+ site-title: Creating a new post
63
+ author: Involts
64
+ ---
65
+ ```
66
+
67
+ if it is pinned:
68
+ ```yml
69
+ ---
70
+ layout: post
71
+ site-title: Creating a new post
72
+ author: Involts
73
+ pin: true
74
+ ---
75
+ ```
76
+
77
+
78
+ # Syntax
79
+
80
+ - Inline Code
81
+
82
+ ```
83
+ `inline code part`
84
+ ```
85
+
86
+ - Code Block
87
+
88
+ Markdown symbol ``` can easily create a code block as follows:
89
+
90
+ ```
91
+ Plaintext Code Snippet.
92
+ ```
93
+ ### Specifying Language in Code Block
94
+
95
+ Markdown symbol ```{language} can easily create a code block as follows:
96
+
97
+ ````yml
98
+ ```yml
99
+ title: Fica Theme
100
+ ```
101
+ ````
102
+
103
+ ### Line Number
104
+
105
+ All languages except `plaintext`, `console`, and `terminal` will display line numbers. When you want to hide the line number of a code block, add the class `nolineno` to it:
106
+
107
+ ````markdown
108
+ ```bash
109
+ echo 'No more line numbers'
110
+ ```
111
+ {: .nolineno }
112
+ ````
113
+
114
+ #### Liquid Codes
115
+
116
+ If you want to display the `Liquid` snippet, surround the liquid code with `{% raw %}` and `{% endraw %}`:
117
+
118
+ ````markdown
119
+ {% raw %}
120
+ ```liquid
121
+ {% if product.title contains 'Pack' %}
122
+ This product's title contains the word Pack.
123
+ {% endif %}
124
+ ```
125
+ {% endraw %}
126
+ ````
127
+
128
+ Or adding `render_with_liquid: false` (Requires Jekyll 4.0 or higher) to the post's YAML block.
129
+
130
+ ## Learn More
131
+
132
+ For more knowledge about Jekyll posts, visit the [Jekyll Docs: Posts](https://jekyllrb.com/docs/posts/).
133
+
134
+
135
+
136
+
@@ -1 +1 @@
1
- // put your custom variables here!
1
+ // put your custom variables here!
@@ -1,7 +1,8 @@
1
- @import
2
- "themes/dark theme/theme-dark",
3
- "custom/variables",
4
- "layouts/variables",
5
- "custom/styles",
6
- "layouts/layout",
7
- "layouts/base";
1
+ @import
2
+ "themes/dark theme/theme-dark",
3
+ "custom/variables",
4
+ "layouts/variables",
5
+ "layouts/Google-fonts",
6
+ "custom/styles",
7
+ "layouts/layout",
8
+ "layouts/base";
@@ -0,0 +1,139 @@
1
+ @mixin material-icons {
2
+ font-family: 'Material Icons';
3
+ font-weight: normal;
4
+ font-style: normal;
5
+ font-size: 24px;
6
+ /* Preferred icon size */
7
+ display: inline-block;
8
+ line-height: 1;
9
+ text-transform: none;
10
+ letter-spacing: normal;
11
+ word-wrap: normal;
12
+ white-space: nowrap;
13
+ direction: ltr;
14
+ user-select: none;
15
+ -moz-user-select: none;
16
+ -khtml-user-select: none;
17
+ -webkit-user-select: none;
18
+ -o-user-select: none;
19
+
20
+ /* Support for all WebKit browsers. */
21
+ -webkit-font-smoothing: antialiased;
22
+ /* Support for Safari and Chrome. */
23
+ text-rendering: optimizeLegibility;
24
+
25
+ /* Support for Firefox. */
26
+ -moz-osx-font-smoothing: grayscale;
27
+
28
+ /* Support for IE. */
29
+ font-feature-settings: 'liga';
30
+ }
31
+
32
+ .material-icons {
33
+ @include material-icons();
34
+ }
35
+
36
+ /* Rules for sizing the icon. */
37
+ .material-icons.md-18 {
38
+ font-size: 18px;
39
+ }
40
+
41
+ .material-icons.md-24 {
42
+ font-size: 24px;
43
+ }
44
+
45
+ .material-icons.md-36 {
46
+ font-size: 36px;
47
+ }
48
+
49
+ .material-icons.md-48 {
50
+ font-size: 48px;
51
+ }
52
+
53
+ /* Rules for using icons as black on a light background. */
54
+ .material-icons.md-dark {
55
+ color: rgba(0, 0, 0, 0.54);
56
+ }
57
+
58
+ .material-icons.md-dark.md-inactive {
59
+ color: rgba(0, 0, 0, 0.26);
60
+ }
61
+
62
+ /* Rules for using icons as white on a dark background. */
63
+ .material-icons.md-light {
64
+ color: rgba(255, 255, 255, 1);
65
+ }
66
+
67
+ .material-icons.md-light.md-inactive {
68
+ color: rgba(255, 255, 255, 0.3);
69
+ }
70
+
71
+ /* fallback */
72
+ @font-face {
73
+ font-family: 'Material Icons';
74
+ font-style: normal;
75
+ font-weight: 400;
76
+ src: url(https://fonts.gstatic.com/s/materialicons/v128/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
77
+ }
78
+ /* fallback */
79
+ @font-face {
80
+ font-family: 'Material Icons Outlined';
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ src: url(https://fonts.gstatic.com/s/materialiconsoutlined/v103/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2) format('woff2');
84
+ }
85
+ /* fallback */
86
+ @font-face {
87
+ font-family: 'Material Icons Round';
88
+ font-style: normal;
89
+ font-weight: 400;
90
+ src: url(https://fonts.gstatic.com/s/materialiconsround/v102/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmP.woff2) format('woff2');
91
+ }
92
+
93
+ .material-icons {
94
+ font-family: 'Material Icons';
95
+ font-weight: normal;
96
+ font-style: normal;
97
+ font-size: 24px;
98
+ line-height: 1;
99
+ letter-spacing: normal;
100
+ text-transform: none;
101
+ display: inline-block;
102
+ white-space: nowrap;
103
+ word-wrap: normal;
104
+ direction: ltr;
105
+ -webkit-font-feature-settings: 'liga';
106
+ -webkit-font-smoothing: antialiased;
107
+ }
108
+
109
+ .material-icons-outlined {
110
+ font-family: 'Material Icons Outlined';
111
+ font-weight: normal;
112
+ font-style: normal;
113
+ font-size: 24px;
114
+ line-height: 1;
115
+ letter-spacing: normal;
116
+ text-transform: none;
117
+ display: inline-block;
118
+ white-space: nowrap;
119
+ word-wrap: normal;
120
+ direction: ltr;
121
+ -webkit-font-feature-settings: 'liga';
122
+ -webkit-font-smoothing: antialiased;
123
+ }
124
+
125
+ .material-icons-round {
126
+ font-family: 'Material Icons Round';
127
+ font-weight: normal;
128
+ font-style: normal;
129
+ font-size: 24px;
130
+ line-height: 1;
131
+ letter-spacing: normal;
132
+ text-transform: none;
133
+ display: inline-block;
134
+ white-space: nowrap;
135
+ word-wrap: normal;
136
+ direction: ltr;
137
+ -webkit-font-feature-settings: 'liga';
138
+ -webkit-font-smoothing: antialiased;
139
+ }