jekyll-theme-mehdix-rtl 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +60 -0
- data/_includes/analyticstracking.html +10 -0
- data/_includes/credits.html +1 -0
- data/_includes/disqus.html +10 -0
- data/_includes/disqus_count.html +12 -0
- data/_includes/footer.html +75 -0
- data/_includes/head.html +31 -0
- data/_includes/header.html +32 -0
- data/_includes/license.html +6 -0
- data/_includes/post-image.html +4 -0
- data/_includes/support.html +3 -0
- data/_layouts/default.html +29 -0
- data/_layouts/home.html +17 -0
- data/_layouts/message.html +23 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +36 -0
- data/_layouts/project.html +18 -0
- data/_layouts/tag_page.html +25 -0
- data/_sass/_base.scss +204 -0
- data/_sass/_layout.scss +281 -0
- data/_sass/_print.scss +9 -0
- data/_sass/_ux-theme.scss +361 -0
- data/assets/css/main.scss +63 -0
- data/assets/img/background.gif +0 -0
- data/assets/img/favicon.png +0 -0
- data/assets/img/feed-icon-14x14.png +0 -0
- data/assets/img/feed_gray_50.png +0 -0
- data/assets/img/frontpage.png +0 -0
- data/assets/img/me.png +0 -0
- data/assets/img/noun_4018.png +0 -0
- data/assets/img/valid-atom.png +0 -0
- data/assets/js/disqus.js +73 -0
- data/assets/js/main.js +15 -0
- metadata +218 -0
data/_sass/_print.scss
ADDED
@@ -0,0 +1,361 @@
|
|
1
|
+
ul, ol {
|
2
|
+
margin-right: 30px;
|
3
|
+
list-style-type: persian;
|
4
|
+
}
|
5
|
+
|
6
|
+
a {
|
7
|
+
color: $text-color;
|
8
|
+
}
|
9
|
+
|
10
|
+
a:hover {
|
11
|
+
text-decoration:none;
|
12
|
+
color: $brand-color;
|
13
|
+
}
|
14
|
+
|
15
|
+
a:visited {
|
16
|
+
color: darken($brand-color, 20%);
|
17
|
+
}
|
18
|
+
|
19
|
+
h1, h2:not(.footer-heading), h3, h4, h5, h6 {
|
20
|
+
color: darken($header-color, 20%);
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
/* Style for glyphs in quotation marks, courtesy of EnigmaRM http://stackoverflow.com/a/16326442/157216 */
|
25
|
+
blockquote {
|
26
|
+
border-left: none;
|
27
|
+
padding-right: $spacing-unit / 2;
|
28
|
+
padding-left: none;
|
29
|
+
font-size: x-large;
|
30
|
+
margin: 0.25em 0;
|
31
|
+
padding: 0.35em;
|
32
|
+
line-height: 1.45;
|
33
|
+
position: relative;
|
34
|
+
background-color: lighten($grey-color, 47%);
|
35
|
+
}
|
36
|
+
|
37
|
+
blockquote p {
|
38
|
+
border-right: 4px solid $brand-color;
|
39
|
+
padding-right: $spacing-unit / 2;
|
40
|
+
}
|
41
|
+
|
42
|
+
pre {
|
43
|
+
overflow-x: auto;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* To adapt different screen sizes, mostly for code blocks */
|
47
|
+
@media screen and (max-width: 240px){
|
48
|
+
pre {
|
49
|
+
width: 200px;
|
50
|
+
}
|
51
|
+
|
52
|
+
li .list-meta-col {
|
53
|
+
display: none;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
@media screen and (max-width: 540px){
|
58
|
+
li .list-meta-col {
|
59
|
+
display: none;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
@media screen and (min-width: 240px) and (max-width: 280px){
|
64
|
+
pre {
|
65
|
+
width: 240px;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
/*Including Apple iPhone 5 */
|
70
|
+
@media screen and (min-width: 280px) and (max-width: 320px){
|
71
|
+
pre {
|
72
|
+
width: 260px;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
/*Including Apple iPhone 5 */
|
77
|
+
@media screen and (min-width: 321px) and (max-width: 360px) {
|
78
|
+
pre {
|
79
|
+
width: 300px;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
@media screen and (min-width: 361px) and (max-width: 400px) {
|
84
|
+
pre {
|
85
|
+
width: 340px;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
/* Nexus 4 */
|
90
|
+
@media screen and (min-width: 384px) and (max-width: 384px) {
|
91
|
+
pre {
|
92
|
+
width: 330px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
|
97
|
+
@media screen and (min-width: 401px) and (max-width: 540px) {
|
98
|
+
pre {
|
99
|
+
width: 365px;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
@media screen and (min-width: 541px) and (max-width: 640px) {
|
104
|
+
pre {
|
105
|
+
width: 500px;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
@media screen and (min-width: 641px) and (max-width: 768px) {
|
110
|
+
pre {
|
111
|
+
width: 600px;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
/* iPad */
|
116
|
+
@media screen and (min-width: 768px) and (max-width: 768px) {
|
117
|
+
pre {
|
118
|
+
width: 705px;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
/* Apple iPhone 6 */
|
123
|
+
@media screen and (min-width: 375px) and (max-width: 375px) {
|
124
|
+
pre {
|
125
|
+
width: 323px;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
/* Apple iPhone 6 Plus */
|
130
|
+
@media screen and (min-width: 414px) and (max-width: 414px) {
|
131
|
+
pre {
|
132
|
+
width: 363px;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
.site-header, .site-footer {
|
137
|
+
background:
|
138
|
+
radial-gradient(black 15%, transparent 16%) 0 0,
|
139
|
+
radial-gradient(black 15%, transparent 16%) 8px 8px,
|
140
|
+
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
|
141
|
+
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
|
142
|
+
background-color:#282828;
|
143
|
+
background-size:16px 16px;
|
144
|
+
}
|
145
|
+
|
146
|
+
.site-title {
|
147
|
+
float: right;
|
148
|
+
}
|
149
|
+
|
150
|
+
.site-nav {
|
151
|
+
float: left;
|
152
|
+
@include media-query($on-palm) {
|
153
|
+
right: -webkit-calc(88% - (#{$spacing-unit} / 2));
|
154
|
+
right: calc(88% - (#{$spacing-unit} / 2));
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
.footer-col {
|
159
|
+
float: right;
|
160
|
+
}
|
161
|
+
|
162
|
+
/* Correcting direction for code blocks */
|
163
|
+
.code, .highlighter-coderay, .highlight {
|
164
|
+
direction: ltr;
|
165
|
+
}
|
166
|
+
|
167
|
+
.post-title, a.post-link {
|
168
|
+
color: darken($brand-color, 10%);
|
169
|
+
}
|
170
|
+
|
171
|
+
/* Center page titles */
|
172
|
+
.post-title {
|
173
|
+
text-align: center;
|
174
|
+
font-weight: bold;
|
175
|
+
font-size: 2em;
|
176
|
+
}
|
177
|
+
|
178
|
+
.footnotes {
|
179
|
+
font-size: small;
|
180
|
+
}
|
181
|
+
|
182
|
+
/* To center images */
|
183
|
+
.center {
|
184
|
+
text-align: center;
|
185
|
+
}
|
186
|
+
|
187
|
+
.post-meta {
|
188
|
+
@extend .center;
|
189
|
+
//font-family: 'Open Sans', sans-serif;
|
190
|
+
}
|
191
|
+
|
192
|
+
/* Dotted bottom border for links */
|
193
|
+
.post-content p a:hover {
|
194
|
+
border-bottom: 1px dotted;
|
195
|
+
color: $brand-color;
|
196
|
+
}
|
197
|
+
|
198
|
+
.post-content a {
|
199
|
+
border-bottom: 1px dotted;
|
200
|
+
color: darken($brand-color, 10%);
|
201
|
+
}
|
202
|
+
|
203
|
+
.site-footer{
|
204
|
+
padding-bottom: 0px;
|
205
|
+
}
|
206
|
+
|
207
|
+
/* Contrast for header and footer */
|
208
|
+
.site-header, .site-footer {
|
209
|
+
border-top: none;
|
210
|
+
color: white;
|
211
|
+
}
|
212
|
+
|
213
|
+
.site-header{
|
214
|
+
border-bottom: none;
|
215
|
+
}
|
216
|
+
|
217
|
+
/* Overwrite colors for header and footer */
|
218
|
+
.site-title, .site-title:visited {
|
219
|
+
color: white;
|
220
|
+
}
|
221
|
+
|
222
|
+
.site-title a, .site-footer a {
|
223
|
+
color: white;
|
224
|
+
}
|
225
|
+
|
226
|
+
/* Fix incorrect video sizes in post content (which messes the gradient lines */
|
227
|
+
.post-content iframe {
|
228
|
+
width: 100%
|
229
|
+
}
|
230
|
+
|
231
|
+
.border {
|
232
|
+
border-style: dotted;
|
233
|
+
border-radius: 10px;
|
234
|
+
border-color: $brand-color;
|
235
|
+
}
|
236
|
+
|
237
|
+
.post-image {
|
238
|
+
text-align: center;
|
239
|
+
img {
|
240
|
+
width: 50%;
|
241
|
+
display: inline;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
.list-meta-col {
|
246
|
+
display: inline-block;
|
247
|
+
width: 160px;
|
248
|
+
text-align: right;
|
249
|
+
}
|
250
|
+
|
251
|
+
#post-list {
|
252
|
+
list-style: none;
|
253
|
+
}
|
254
|
+
|
255
|
+
#post-list a {
|
256
|
+
color: $text-color;
|
257
|
+
}
|
258
|
+
|
259
|
+
#post-list a:hover {
|
260
|
+
color: $brand-color;
|
261
|
+
}
|
262
|
+
|
263
|
+
/* For license text */
|
264
|
+
#license {
|
265
|
+
font-style: small;
|
266
|
+
}
|
267
|
+
|
268
|
+
#forkme {
|
269
|
+
@include media-query($on-palm) {
|
270
|
+
display: none;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
/* Tag cloud sets. Numbers demonstrate repeat frequency for each tag */
|
275
|
+
|
276
|
+
#post-tags {
|
277
|
+
vertical-align: middle;
|
278
|
+
|
279
|
+
> i {
|
280
|
+
background-image: url($assets-dir + '/img/noun_4018.png');
|
281
|
+
display: inline-block;
|
282
|
+
width: 14px;
|
283
|
+
height: 14px;
|
284
|
+
margin-top: 1px;
|
285
|
+
line-height: 14px;
|
286
|
+
background-repeat: no-repeat;
|
287
|
+
background-size: 15px 15px;
|
288
|
+
}
|
289
|
+
|
290
|
+
> a {
|
291
|
+
vertical-align: middle;
|
292
|
+
}
|
293
|
+
|
294
|
+
}
|
295
|
+
|
296
|
+
#tag-cloud [class^=set-] {
|
297
|
+
color: $text-color;
|
298
|
+
|
299
|
+
&:hover {
|
300
|
+
color: $brand-color;
|
301
|
+
}
|
302
|
+
}
|
303
|
+
|
304
|
+
.set-1 {
|
305
|
+
font-size: 0.7em;
|
306
|
+
}
|
307
|
+
|
308
|
+
.set-2 {
|
309
|
+
font-size: 0.8em;
|
310
|
+
}
|
311
|
+
|
312
|
+
.set-3 {
|
313
|
+
font-size: 0.9em;
|
314
|
+
}
|
315
|
+
|
316
|
+
.set-4 {
|
317
|
+
font-size: 1.0em;
|
318
|
+
}
|
319
|
+
|
320
|
+
.set-5 {
|
321
|
+
font-size: 1.1em;
|
322
|
+
}
|
323
|
+
|
324
|
+
.set-6 {
|
325
|
+
font-size: 1.2em;
|
326
|
+
}
|
327
|
+
|
328
|
+
.set-7 {
|
329
|
+
font-size: 1.3em;
|
330
|
+
}
|
331
|
+
|
332
|
+
.set-8 {
|
333
|
+
font-size: 1.4em;
|
334
|
+
}
|
335
|
+
|
336
|
+
.set-9 {
|
337
|
+
font-size: 1.5em;
|
338
|
+
}
|
339
|
+
|
340
|
+
.set-10 {
|
341
|
+
font-size: 1.6em;
|
342
|
+
}
|
343
|
+
|
344
|
+
@counter-style abjad {
|
345
|
+
system: additive;
|
346
|
+
range: 1 1000;
|
347
|
+
additive-symbols: 1000 "\63A", 900 "\638", 800 "\636", 700 "\630", 600 "\62E", 500 "\62B", 400 "\62A", 300 "\634",
|
348
|
+
200 "\631", 100 "\642", 90 "\635", 80 "\641", 70 "\639", 60 "\633", 50 "\646", 40 "\645", 30 "\644",
|
349
|
+
20 "\6A9", 10 "\649", 9 "\637", 8 "\62D", 7 "\632", 6 "\648", 5 "\FEEB", 4 "\62F", 3 "\62C",
|
350
|
+
2 "\628", 1 "\627\644\641";
|
351
|
+
}
|
352
|
+
|
353
|
+
@counter-style abjad-persian {
|
354
|
+
system: additive;
|
355
|
+
range: 1 1000;
|
356
|
+
additive-symbols: 1000 "\63A", 900 "\638", 800 "\636", 700 "\630", 600 "\62E", 500 "\62B", 400 "\62A", 300 "\634",
|
357
|
+
200 "\631", 100 "\642", 90 "\635", 80 "\641", 70 "\639", 60 "\633", 50 "\646", 40 "\645", 30 "\644",
|
358
|
+
20 "\6AF", 10 "\649", 9 "\637", 8 "\62D", 7 "\698", 6 "\648", 5 "\FEEB", 4 "\62F", 3 "\686",
|
359
|
+
2 "\67E", 1 "\627\644\641";
|
360
|
+
suffix: ". ";
|
361
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
# Only the main Sass file needs front matter (the dashes are enough)
|
3
|
+
---
|
4
|
+
@charset "utf-8";
|
5
|
+
/* Droid Arabic Naskh */
|
6
|
+
@import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);
|
7
|
+
|
8
|
+
// Our variables
|
9
|
+
$base-font-family: 'Droid Arabic Naskh', Arial, sans-serif;
|
10
|
+
$base-font-size: 16px;
|
11
|
+
$small-font-size: $base-font-size * 0.875;
|
12
|
+
$base-line-height: normal;
|
13
|
+
$spacing-unit: 30px;
|
14
|
+
|
15
|
+
/* Palette from
|
16
|
+
https://coolors.co/app/000000-14213d-fca311-e5e5e5-ffffff
|
17
|
+
$brand-color: #fca311;
|
18
|
+
$anti-color: #e5e5e5;
|
19
|
+
$text-color: #000000;
|
20
|
+
$background-color: #ffffff;
|
21
|
+
$header-color: #14213d;
|
22
|
+
*/
|
23
|
+
|
24
|
+
/* Palett source:
|
25
|
+
https://coolors.co/app/2b2d42-8d99ae-edf2f4-ef233c-d90429 */
|
26
|
+
$brand-color: #d90429;
|
27
|
+
$anti-color: #8d99ae;
|
28
|
+
$text-color: #2b2d42;
|
29
|
+
$background-color: #ffffff; /* original one was edf2f4 */
|
30
|
+
$header-color: #ef233c;
|
31
|
+
|
32
|
+
$grey-color: gray;
|
33
|
+
$grey-color-light: lighten($grey-color, 40%);
|
34
|
+
$grey-color-dark: darken($grey-color, 25%);
|
35
|
+
|
36
|
+
$on-palm: 600px;
|
37
|
+
$on-laptop: 800px;
|
38
|
+
|
39
|
+
// Store asset directory to be used in imports
|
40
|
+
$assets-dir: '{{ "assets" | absolute_url }}';
|
41
|
+
|
42
|
+
|
43
|
+
// Use media queries like this:
|
44
|
+
// @include media-query($palm) {
|
45
|
+
// .wrapper {
|
46
|
+
// padding-right: $spacing-unit / 2;
|
47
|
+
// padding-left: $spacing-unit / 2;
|
48
|
+
// }
|
49
|
+
// }
|
50
|
+
@mixin media-query($device) {
|
51
|
+
@media screen and (max-width: $device) {
|
52
|
+
@content;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
// Import partials from `sass_dir` (defaults to `_sass`)
|
57
|
+
@import
|
58
|
+
"base",
|
59
|
+
"layout",
|
60
|
+
"print",
|
61
|
+
"ux-theme"
|
62
|
+
;
|
63
|
+
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/img/me.png
ADDED
Binary file
|
Binary file
|
Binary file
|