jekyll-theme-mehdix-rtl 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 692ad9e25e0e859a5e672a4ba2f0fccd197869c9
4
- data.tar.gz: 7d703911f86e6867c80935387e9e2f409f7f8b89
3
+ metadata.gz: 707fb08c9cc9373254303adbb75ba122c3acb335
4
+ data.tar.gz: ff39d467cd5f013836401a2baa45e2577900ae12
5
5
  SHA512:
6
- metadata.gz: 6bc54b6beb65c86628d2d02a3fe65784d1195862b7b6f74bff3a7c09fbaa4884750cdd0ba9768a20451ad7d4329a569ba293d108a57fa9fa530a4cd5cfbf128d
7
- data.tar.gz: 5c8ba0f09ae90cb2c3dfbdd2d12bfd910f945a405632de905ca6b7166d25e4141b608dd915c553ede50c54f813cd7124471431fdc58319d59270c1f47f1045f0
6
+ metadata.gz: ba7d93096e8efae7491cef56be8f955efa8744c28b2f8f3bb67e30ac66f2f0ec7526ceac31b61f8ea838d8dead0a92154cbc53474935e844278fd36db5d5d083
7
+ data.tar.gz: d3a7a10f1112bb2ed82f06b41a0152d900c1cce98eef853fb8b92d1e0ec4f8341b5104f577af006fa8a97c0d4666dc42f685e1ed0d88bf1a26b586f67c2361cd
@@ -1,57 +1,68 @@
1
- <footer class="site-footer">
1
+ <footer>
2
2
  <div class="wrapper">
3
+
3
4
  <div class="footer-col-wrapper">
4
- <div id="gravatar_container" class="footer-col footer-col-2">
5
- <img id="gravatar" class="circle" src="{{ 'assets/img/me.png' | absolute_url }}" alt="">
6
- </div>
7
- <div id="footer_description" class="footer-col footer-col-3">
8
- <p class="text">{{ site.long_description }}</p>
9
- </div>
10
- <div class="footer-col footer-col-2">
11
- <ul class="social-media-list">
12
- {% if site.github_username %}
13
- <li>
14
- <i class="fab fa-github"></i>
15
- <a href="https://github.com/{{ site.github_username }}">
16
- <span class="username social-media-text">پروژه‌ها</span>
17
- </a>
18
- </li>
19
- {% endif %}
20
- {% if site.twitter_username %}
21
- <li>
22
- <i class="fab fa-twitter-square"></i>
23
- <a href="https://twitter.com/{{ site.twitter_username }}">
24
- <span class="username social-media-text">توئیت‌ها</span>
25
- </a>
26
- </li>
27
- {% endif %}
28
- {% if site.feedburner_id %}
29
- <li>
30
- <i class="fas fa-rss"></i>
31
- <a href="https://feedburner.google.com/fb/a/mailverify?uri={{ site.feedburner_id }}&amp;loc=en_US">
32
- <span class="username social-media-text">خبرنامه</span></a>
33
- </li>
34
- <li>
35
- <i class="fas fa-rss"></i>
36
- <a href="http://feeds.feedburner.com/mehdixir">
37
- <span class="username social-media-text">خوراک</span></a>
38
- </li>
39
- {% endif %}
40
- {% if site.email %}
5
+
6
+ <div id="footer-gravatar" class="footer-col footer-col-2">
7
+ <img src="{{ 'assets/img/me.png' | absolute_url }}" alt="">
8
+ </div>
9
+
10
+ <div id="footer_description" class="footer-col footer-col-3">
11
+ <p class="text">{{ site.long_description }}</p>
12
+ </div>
13
+
14
+ <div class="footer-col footer-col-2">
15
+
16
+ <ul class="social-media-list">
17
+ {% if site.github_username %}
18
+ <li>
19
+ <i class="fab fa-github"></i>
20
+ <a href="https://github.com/{{ site.github_username }}">
21
+ <span class="username social-media-text">پروژه‌ها</span>
22
+ </a>
23
+ </li>
24
+ {% endif %}
25
+ {% if site.twitter_username %}
41
26
  <li>
42
- <i class="fas fa-envelope-open"></i>
43
- <a href="mailto:{{ site.email }}">
44
- <span class="username social-media-text">تماس</span></a></li>
45
- {% endif %}
46
- <li id="footer_build_status">
47
- <span class="icon"><a href="https://validator.w3.org/feed/check.cgi?url={{ '' | absolute_url | append:'feed.xml'}}"><img src={{ "assets/img/valid-atom.png" | absolute_url }} alt="[Valid Atom 1.0]" title="Validate my Atom 1.0 feed" /></a></span>
48
- </li>
49
- </ul>
27
+ <i class="fab fa-twitter-square"></i>
28
+ <a href="https://twitter.com/{{ site.twitter_username }}">
29
+ <span class="username social-media-text">توئیت‌ها</span>
30
+ </a>
31
+ </li>
32
+ {% endif %}
33
+ {% if site.feedburner_id %}
34
+ <li>
35
+ <i class="fas fa-rss"></i>
36
+ <a href="https://feedburner.google.com/fb/a/mailverify?uri={{ site.feedburner_id }}&amp;loc=en_US">
37
+ <span class="username social-media-text">خبرنامه</span></a>
38
+ </li>
39
+ <li>
40
+ <i class="fas fa-rss"></i>
41
+ <a href="http://feeds.feedburner.com/mehdixir">
42
+ <span class="username social-media-text">خوراک</span></a>
43
+ </li>
44
+ {% endif %}
45
+ {% if site.email %}
46
+ <li>
47
+ <i class="fas fa-envelope-open"></i>
48
+ <a href="mailto:{{ site.email }}">
49
+ <span class="username social-media-text">تماس</span></a></li>
50
+ {% endif %}
51
+ <li id="atom">
52
+ <span class="icon"><a href="https://validator.w3.org/feed/check.cgi?url={{ '' | absolute_url | append:'feed.xml'}}"><img src={{ "assets/img/valid-atom.png" | absolute_url }} alt="[Valid Atom 1.0]" title="Validate my Atom 1.0 feed" /></a></span>
53
+ </li>
54
+ </ul>
55
+
56
+ </div>
57
+
50
58
  </div>
59
+
60
+ {% include license.html %}
61
+
51
62
  </div>
52
- {% include license.html %}
53
- </div>
54
- <div class="center">
55
- <small style="color:gray">Site generated on {{ site.time | date_to_rfc822 }}</small>
63
+
64
+ <div id="build-time">
65
+ <small>Site generated on {{ site.time | date_to_rfc822 }}</small>
56
66
  </div>
67
+
57
68
  </footer>
@@ -1,6 +1,6 @@
1
- <div id="license" class="textwidget">
2
- <a id="license_link" rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.fa"><img alt="مجوز کریتیو کامنز" style="border-width:0" src="{{'assets/img/creativecommons80x15.png' | absolute_url}}" /></a>
1
+ <div id="license"><small>
2
+ <a id="license-link" rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.fa"><img alt="مجوز کریتیو کامنز" style="border-width:0" src="{{'assets/img/creativecommons80x15.png' | absolute_url}}" /></a>
3
3
  مطالب این وبلاگ تحت مجوز
4
4
  <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.fa">
5
5
  کریتیو کامنز اتریبیوشن ۴.۰ اینترنشنال </a>قرار دارد.
6
- </div>
6
+ </small></div>
@@ -1,39 +1,27 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <div class="home">
5
- <ul class="post-list">
6
- {% if paginator %}
7
- {% for post in paginator.posts %}
8
- <li class="post-list-item">
9
- <span class="meta date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span>
10
- <h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>
11
- {{ post.content | strip_html | truncatewords: 35 }}
12
- </li>
13
- {% endfor %}
4
+ <ul class="post-list">
5
+ {% for post in paginator.posts %}
6
+ <li class="post-list-item">
7
+ <span class="meta date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span>
8
+ <h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>
9
+ {{ post.content | strip_html | truncatewords: 35 }}
10
+ </li>
11
+ {% endfor %}
12
+ </ul>
13
+
14
+ <nav class="pagination">
15
+ {% if paginator.previous_page %}
16
+ <a href="{{ paginator.previous_page_path | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">قبلی </a>
14
17
  {% else %}
15
- {% for post in site.posts %}
16
- <li>
17
- <span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
18
- <h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>
19
- {{ post.content | strip_html | truncatewords: 35 }}
20
- </li>
21
- {% endfor %}
18
+ <a href="#" class="pagination--pager disabled"">قبلی </a>
22
19
  {% endif %}
23
- </ul>
24
-
25
- <nav class="pagination">
26
- {% if paginator.previous_page %}
27
- <a href="{{ paginator.previous_page_path | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">قبلی </a>
28
- {% else %}
29
- <a href="#" class="pagination--pager disabled"">قبلی </a>
30
- {% endif %}
31
20
 
32
- {% if paginator.next_page %}
33
- <a href="{{ paginator.next_page_path | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">بعدی</a>
34
- {% else %}
35
- <a href="#" class="pagination--pager disabled"">بعدی</a>
36
- {% endif %}
37
- </nav>
21
+ {% if paginator.next_page %}
22
+ <a href="{{ paginator.next_page_path | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">بعدی</a>
23
+ {% else %}
24
+ <a href="#" class="pagination--pager disabled"">بعدی</a>
25
+ {% endif %}
26
+ </nav>
38
27
 
39
- </div>
@@ -1,18 +1,16 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <div class="home">
5
- <h1 class="page-heading">❖ &nbsp; همه‌ی نوشته‌ها</h1>
6
- <ul class="post-list-mini">
7
- {% for post in site.posts %}
8
- <li class="post-list-item">
9
- <span class="list-meta-col">
10
- <span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span>
11
- </span>
12
- <span>
13
- <a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
14
- </span>
15
- </li>
16
- {% endfor %}
17
- </ul>
18
- </div>
4
+ <h1 class="page-heading">❖ &nbsp; همه‌ی نوشته‌ها</h1>
5
+ <ul class="post-list-mini">
6
+ {% for post in site.posts %}
7
+ <li class="post-list-item">
8
+ <span class="list-meta-col date">
9
+ {{ post.date | jdate: "%A %d %b %Y" | habify }}
10
+ </span>
11
+ <span>
12
+ <a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
13
+ </span>
14
+ </li>
15
+ {% endfor %}
16
+ </ul>
@@ -1,11 +1,12 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <div>
4
+ <article class="post-content">
5
+
5
6
  <div class="post-header">
6
7
  <h1 class="post-title">{{ page.title }}</h1>
7
8
  </div>
8
- <article class="post-content">
9
- {{ content }}
10
- </article>
11
- </div>
9
+
10
+ {{ content }}
11
+
12
+ </article>
@@ -3,6 +3,7 @@ layout: default
3
3
  ---
4
4
 
5
5
  {% capture time %}{{ content | reading_time }}{% endcapture %}
6
+
6
7
  <article class="post-content">
7
8
 
8
9
  <div class="post-header">
@@ -19,20 +20,20 @@ layout: default
19
20
  {{ content }}
20
21
 
21
22
  {% if site.related_posts.size >= 1 %}
22
- <div id="related-posts">
23
- <h3>مطالب مرتبط</h3>
24
- <ul>
25
- {% for related_post in site.related_posts limit: 5 %}
26
- <li><a href="{{ related_post.url }}">{{ related_post.title }}</a></li>
27
- {% endfor %}
28
- </ul>
29
- </div>
23
+ <div id="related-posts">
24
+ <h3>مطالب مرتبط</h3>
25
+ <ul>
26
+ {% for related_post in site.related_posts limit: 5 %}
27
+ <li><a href="{{ related_post.url }}">{{ related_post.title }}</a></li>
28
+ {% endfor %}
29
+ </ul>
30
+ </div>
30
31
  {% endif %}
31
32
 
32
33
  <small id="post-tags">
33
34
  {% for tag in page.tags %}
34
- <i class="fas fa-tag"></i>
35
- <a rel="tag" href="{{ tag | tag_url }}">{{tag}}</a>
35
+ <i class="fas fa-tag"></i>
36
+ <a rel="tag" href="{{ tag | tag_url }}">{{tag}}</a>
36
37
  {% endfor %}
37
38
 
38
39
  <i class="fas fa-code"></i>
@@ -41,23 +42,23 @@ layout: default
41
42
 
42
43
  <nav class="pagination">
43
44
  {% if page.next %}
44
- <a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">قبلی</a>
45
+ <a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">قبلی</a>
45
46
  {% else %}
46
- <a href="#" class="pagination--pager disabled">قبلی</a>
47
+ <a href="#" class="pagination--pager disabled">قبلی</a>
47
48
  {% endif %}
48
49
 
49
50
  {% if page.previous %}
50
- <a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">بعدی </a>
51
+ <a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">بعدی </a>
51
52
  {% else %}
52
- <a href="#" class="pagination--pager disabled">بعدی </a>
53
+ <a href="#" class="pagination--pager disabled">بعدی </a>
53
54
  {% endif %}
54
55
  </nav>
55
56
 
56
57
  <section>
57
58
  {% if site.comment_system == 'static' %}
58
- {% include static_comments.html %}
59
+ {% include static_comments.html %}
59
60
  {% elsif site.comment_system == 'disqus' %}
60
- {% include disqus.html %}
61
+ {% include disqus.html %}
61
62
  {% endif %}
62
63
  </section>
63
64
 
@@ -1,14 +1,12 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <div class="project">
4
+ <article class="project post-content">
5
5
 
6
6
  <div class="post-header">
7
7
  <h1 class="post-title">{{ page.title }}</h1>
8
8
  </div>
9
9
 
10
- <article class="post-content">
11
- {{ content }}
12
- </article>
10
+ {{ content }}
13
11
 
14
- </div>
12
+ </article>
@@ -22,14 +22,6 @@ footer {
22
22
  margin-left: 0;
23
23
  }
24
24
 
25
- .social-media-list .icon {
26
- width: 1em;
27
- }
28
-
29
- #mail-icon {
30
- filter: invert(100);
31
- }
32
-
33
25
  .footer-col-wrapper {
34
26
  font-size: 15px;
35
27
  color: $grey-color;
@@ -77,8 +69,8 @@ footer {
77
69
  padding-left: unset;
78
70
  }
79
71
 
80
- #footer_description, #gravatar_container, #footer_build_status,
81
- .footer-heading, #license_link {
72
+ #footer_description, #footer-gravatar, #atom,
73
+ .footer-heading, #license-link {
82
74
  display: none;
83
75
  }
84
76
 
@@ -99,29 +91,29 @@ footer {
99
91
  #motto {
100
92
  display: none;
101
93
  }
102
-
103
- .social-media-list li {
104
- margin-right: 4px;
105
- }
106
-
107
- ul, ol {
108
- margin-right: auto;
109
- }
110
94
  }
111
95
 
112
- .circle {
113
- clip-path: circle();
114
- width: 100px;
115
- }
116
-
117
- #gravatar {
118
- margin-top: 1em;
96
+ #footer-gravatar {
97
+ text-align: center;
98
+ img {
99
+ margin-top: 1em;
100
+ clip-path: circle();
101
+ width: 100px;
102
+ }
119
103
  }
120
104
 
121
105
  #license {
122
106
  font-style: small;
107
+ text-align: center;
123
108
  }
124
109
 
125
- #footer_build_status {
110
+ #atom {
126
111
  width: 4em;
112
+ }
113
+
114
+ #build-time {
115
+ color: gray;
116
+ font-family: monospace;
117
+ font-size:x-small;
118
+ text-align: center;
127
119
  }
@@ -87,4 +87,3 @@ header {
87
87
  }
88
88
  }
89
89
  }
90
-
@@ -73,6 +73,10 @@
73
73
  a {
74
74
  color: $text-color;
75
75
  }
76
+
77
+ ul {
78
+ margin-top: 0;
79
+ }
76
80
  }
77
81
 
78
82
  .pagination {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-mehdix-rtl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehdi Sadeghi