ons-jt 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +149 -0
  4. data/_includes/disqus_comments.html +20 -0
  5. data/_includes/footer.html +9 -0
  6. data/_includes/google-analytics.html +11 -0
  7. data/_includes/head.html +63 -0
  8. data/_includes/header.html +33 -0
  9. data/_includes/icon-email.html +1 -0
  10. data/_includes/icon-email.svg +1 -0
  11. data/_includes/icon-facebook-share.html +1 -0
  12. data/_includes/icon-facebook.html +1 -0
  13. data/_includes/icon-facebook.svg +1 -0
  14. data/_includes/icon-github.html +1 -0
  15. data/_includes/icon-github.svg +1 -0
  16. data/_includes/icon-linkedin-share.html +1 -0
  17. data/_includes/icon-linkedin.html +1 -0
  18. data/_includes/icon-linkedin.svg +1 -0
  19. data/_includes/icon-twitter-share.html +1 -0
  20. data/_includes/icon-twitter.html +1 -0
  21. data/_includes/icon-twitter.svg +1 -0
  22. data/_includes/icon-whatsapp-share.html +1 -0
  23. data/_includes/icon-whatsapp.svg +1 -0
  24. data/_includes/icon-youtube.html +1 -0
  25. data/_includes/icon-youtube.svg +12 -0
  26. data/_includes/post-js-include.html +16 -0
  27. data/_includes/profiles.html +28 -0
  28. data/_includes/share.html +5 -0
  29. data/_layouts/author.html +16 -0
  30. data/_layouts/base.html +8 -0
  31. data/_layouts/coverwrapper.html +16 -0
  32. data/_layouts/index.html +51 -0
  33. data/_layouts/page.html +19 -0
  34. data/_layouts/post.html +63 -0
  35. data/_layouts/postwrapper.html +8 -0
  36. data/_sass/ons/_base.scss +228 -0
  37. data/_sass/ons/_layout.scss +246 -0
  38. data/_sass/ons/_postgrid.scss +36 -0
  39. data/_sass/ons/_postnav.scss +170 -0
  40. data/_sass/ons/_syntax-highlighting.scss +71 -0
  41. data/_sass/ons.scss +53 -0
  42. data/assets/img/author.png +0 -0
  43. data/assets/img/baidyanath.jpg +0 -0
  44. data/assets/img/bhimashankar.jpg +0 -0
  45. data/assets/img/grishneshwar.jpg +0 -0
  46. data/assets/img/kedarnath.jpg +0 -0
  47. data/assets/img/mahakaleshwar.JPG +0 -0
  48. data/assets/img/mallikarjun.jpg +0 -0
  49. data/assets/img/nageshwar.jpg +0 -0
  50. data/assets/img/omkareshwar.jpg +0 -0
  51. data/assets/img/ons.svg +20 -0
  52. data/assets/img/rameshwar.jpg +0 -0
  53. data/assets/img/shiva-trident.svg +22 -0
  54. data/assets/img/somnath.jpg +0 -0
  55. data/assets/img/trimbakeshwar.jpg +0 -0
  56. data/assets/img/vishwanath.jpg +0 -0
  57. data/assets/js/imagesloaded.pkgd.min.js +7 -0
  58. data/assets/js/infinite-scroll.pkgd.min.js +12 -0
  59. data/assets/js/jquery-3.2.1.min.js +4 -0
  60. data/assets/js/jquery.fitvids.js +87 -0
  61. data/assets/js/masonry.pkgd.min.js +9 -0
  62. data/assets/js/readingTime.min.js +11 -0
  63. data/assets/main.scss +5 -0
  64. metadata +135 -0
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+ <main class="page-content" aria-label="Content">
5
+ <div class="wrapper">
6
+ {{ content }}
7
+ </div>
8
+ </main>
@@ -0,0 +1,228 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+
12
+
13
+ /**
14
+ * Basic styling
15
+ */
16
+ body {
17
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
18
+ color: $text-color;
19
+ background-color: $background-color;
20
+ -webkit-text-size-adjust: 100%;
21
+ -webkit-font-feature-settings: "kern" 1;
22
+ -moz-font-feature-settings: "kern" 1;
23
+ -o-font-feature-settings: "kern" 1;
24
+ font-feature-settings: "kern" 1;
25
+ font-kerning: normal;
26
+ }
27
+
28
+
29
+
30
+ /**
31
+ * Set `margin-bottom` to maintain vertical rhythm
32
+ */
33
+ h1, h2, h3, h4, h5, h6,
34
+ p, blockquote, pre,
35
+ ul, ol, dl, figure,
36
+ %vertical-rhythm {
37
+ margin-bottom: $spacing-unit / 2;
38
+ }
39
+
40
+
41
+
42
+ /**
43
+ * Images
44
+ */
45
+ img {
46
+ max-width: 100%;
47
+ vertical-align: middle;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Figures
54
+ */
55
+ figure > img {
56
+ display: block;
57
+ }
58
+
59
+ figcaption {
60
+ font-size: $small-font-size;
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Lists
67
+ */
68
+ ul, ol {
69
+ margin-left: $spacing-unit;
70
+ }
71
+
72
+ li {
73
+ > ul,
74
+ > ol {
75
+ margin-bottom: 0;
76
+ }
77
+ }
78
+
79
+
80
+
81
+ /**
82
+ * Headings
83
+ */
84
+ h1, h2, h3, h4, h5, h6 {
85
+ font-weight: $base-font-weight;
86
+ }
87
+
88
+
89
+
90
+ /**
91
+ * Links
92
+ */
93
+ a {
94
+ color: $brand-color;
95
+ text-decoration: none;
96
+
97
+ &:visited {
98
+ color: darken($brand-color, 15%);
99
+ }
100
+
101
+ &:hover {
102
+ color: $text-color;
103
+ text-decoration: none; /*underline;*/
104
+ }
105
+
106
+ .social-media-list &:hover {
107
+ text-decoration: none;
108
+
109
+ .username {
110
+ text-decoration: underline;
111
+ }
112
+ }
113
+ }
114
+
115
+
116
+ /**
117
+ * Blockquotes
118
+ */
119
+ blockquote {
120
+ color: $grey-color;
121
+ border-left: 4px solid $brand-color;
122
+ padding-left: $spacing-unit / 2;
123
+ @include relative-font-size(1.125);
124
+ letter-spacing: -1px;
125
+ font-style: italic;
126
+
127
+ > :last-child {
128
+ margin-bottom: 0;
129
+ }
130
+ }
131
+
132
+
133
+
134
+ /**
135
+ * Code formatting
136
+ */
137
+ pre,
138
+ code {
139
+ @include relative-font-size(0.9375);
140
+ border: 1px solid $grey-color-light;
141
+ border-radius: 3px;
142
+ background-color: $brand-color-light; /*#eef*/
143
+ }
144
+
145
+ code {
146
+ padding: 1px 5px;
147
+ }
148
+
149
+ pre {
150
+ padding: 8px 12px;
151
+ overflow-x: auto;
152
+
153
+ > code {
154
+ border: 0;
155
+ padding-right: 0;
156
+ padding-left: 0;
157
+ }
158
+ }
159
+
160
+
161
+
162
+ /**
163
+ * Wrapper
164
+ */
165
+ .wrapper {
166
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
167
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
168
+ margin-right: auto;
169
+ margin-left: auto;
170
+ padding-right: $spacing-unit;
171
+ padding-left: $spacing-unit;
172
+ @extend %clearfix;
173
+
174
+ @include media-query($on-laptop) {
175
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
176
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
177
+ padding-right: $spacing-unit / 2;
178
+ padding-left: $spacing-unit / 2;
179
+ }
180
+ }
181
+
182
+ .txtcentered {
183
+ margin-top: 10px;
184
+ margin-bottom: 10px;
185
+ text-align: center;
186
+ }
187
+
188
+ .imgcentered {
189
+ width: 200px;
190
+ height: auto;
191
+ display: block;
192
+ margin: auto;
193
+ }
194
+
195
+
196
+
197
+ /**
198
+ * Clearfix
199
+ */
200
+ %clearfix:after {
201
+ content: "";
202
+ display: table;
203
+ clear: both;
204
+ }
205
+
206
+
207
+
208
+ /**
209
+ * Icons
210
+ */
211
+ .icon > svg {
212
+ display: inline-block;
213
+ vertical-align: middle;
214
+
215
+ path {
216
+ fill: $grey-color;
217
+ }
218
+ }
219
+
220
+ .social-media-list {
221
+ .icon {
222
+ padding-right: 5px;
223
+ }
224
+
225
+ li + li {
226
+ padding-top: 5px;
227
+ }
228
+ }
@@ -0,0 +1,246 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ /*border-top: 5px solid $grey-color-dark;*/
6
+ /*border-bottom: 1px solid $grey-color-light;*/
7
+ min-height: $spacing-unit * 4.90;
8
+
9
+ // Positioning context for the mobile navigation icon
10
+ position: relative;
11
+ }
12
+
13
+ .site-logo {
14
+ margin-top: 5px;
15
+ margin-left: 1%;
16
+ height: 36px;
17
+ width: auto;
18
+ float: left;
19
+ fill: $brand-color;
20
+ }
21
+
22
+ .site-logo > svg {
23
+ display: inline-block;
24
+ vertical-align: middle;
25
+
26
+ path {
27
+ fill: $brand-color;
28
+ }
29
+ }
30
+
31
+ .site-title {
32
+ @include relative-font-size(1.625);
33
+ font-weight: 300;
34
+ line-height: $base-line-height * $base-font-size * 2.25;
35
+ letter-spacing: -1px;
36
+ margin-bottom: 0;
37
+ float: left;
38
+
39
+ &,
40
+ &:visited {
41
+ color: $grey-color-dark;
42
+ }
43
+ }
44
+
45
+ .site-nav {
46
+ float: right;
47
+ margin-right: $spacing-unit;
48
+ /*line-height: $base-line-height* $base-font-size* 2.25;*/
49
+ z-index: 3;
50
+ position: absolute;
51
+ top: 9px;
52
+ right: $spacing-unit/2;
53
+ background-color: $background-color;
54
+ border: 1px solid$grey-color-light;
55
+ border-radius: 5px;
56
+ text-align: right;
57
+
58
+ .nav-trigger {
59
+ display: none;
60
+ }
61
+
62
+ label[for="nav-trigger"] {
63
+ display: block;
64
+ float: right;
65
+ width: 36px;
66
+ height: 36px;
67
+ z-index: 2;
68
+ cursor: pointer;
69
+ }
70
+
71
+ .menu-icon {
72
+ display: block;
73
+ float: right;
74
+ width: 36px;
75
+ height: 26px;
76
+ line-height: 0;
77
+ padding-top: 10px;
78
+ text-align: center;
79
+ > svg path {
80
+ fill: $grey-color-dark;
81
+ }
82
+ }
83
+
84
+ input ~ .trigger {
85
+ clear: both;
86
+ display: none;
87
+ }
88
+
89
+ input:checked ~ .trigger {
90
+ display: block;
91
+ padding-bottom: 5px;
92
+ }
93
+
94
+ .page-link {
95
+ display: block;
96
+ padding: 5px 5px;
97
+
98
+ &:not(:last-child) {
99
+ margin-right: 0;
100
+ }
101
+ margin-left: 20px;
102
+ }
103
+ }
104
+
105
+ /* Big cover image on the home page */
106
+ .main-cover {
107
+ padding: 30px 0;
108
+ position: relative;
109
+ display: table;
110
+ width: 100%;
111
+ height: 85vh;
112
+ margin-bottom: 1rem;
113
+ text-align: center;
114
+ vertical-align: bottom;
115
+ background: transparent no-repeat center center;
116
+ background-size: auto 100%;
117
+ overflow: hidden;
118
+ }
119
+
120
+ .main-cover-vertical {
121
+ display: table-cell;
122
+ vertical-align: middle;
123
+ font-size: 4em;
124
+ font-weight: 800;
125
+
126
+ @media only screen and (max-width: $on-palm) {
127
+ font-size: 2em;
128
+ font-weight: 400;
129
+ }
130
+ }
131
+
132
+ .main-cover-vertical .downarrow {
133
+ font-size: 5em;
134
+ @media only screen and (max-width: $on-palm) {
135
+ font-size: 4em;
136
+ }
137
+ }
138
+
139
+ .main-cover-vertical .downarrow a {
140
+ color: $grey-color;
141
+ text-decoration: none;
142
+
143
+ &:visited {
144
+ color: darken($grey-color, 15%);
145
+ }
146
+
147
+ &:hover {
148
+ color: lighten($grey-color, 15%);
149
+ text-decoration: none; /*underline;*/
150
+ }
151
+ }
152
+
153
+ /**
154
+ * Page content
155
+ */
156
+ .page-content {
157
+ padding: $spacing-unit 0;
158
+ }
159
+
160
+ .page-heading {
161
+ @include relative-font-size(1.25);
162
+ }
163
+
164
+ .post-meta {
165
+ font-size: $small-font-size;
166
+ color: $grey-color;
167
+ }
168
+
169
+ .post-link {
170
+ display: block;
171
+ @include relative-font-size(1.5);
172
+ }
173
+
174
+ /**
175
+ * Posts
176
+ */
177
+ .post-header {
178
+ margin-bottom: $spacing-unit;
179
+ }
180
+
181
+ .post-title {
182
+ @include relative-font-size(2.625);
183
+ letter-spacing: -1px;
184
+ line-height: 1;
185
+
186
+ @include media-query($on-laptop) {
187
+ @include relative-font-size(2.25);
188
+ }
189
+ }
190
+
191
+ .post-content {
192
+ margin-bottom: $spacing-unit;
193
+
194
+ h2 {
195
+ @include relative-font-size(2);
196
+
197
+ @include media-query($on-laptop) {
198
+ @include relative-font-size(1.75);
199
+ }
200
+ }
201
+
202
+ h3 {
203
+ @include relative-font-size(1.625);
204
+
205
+ @include media-query($on-laptop) {
206
+ @include relative-font-size(1.375);
207
+ }
208
+ }
209
+
210
+ h4 {
211
+ @include relative-font-size(1.25);
212
+
213
+ @include media-query($on-laptop) {
214
+ @include relative-font-size(1.125);
215
+ }
216
+ }
217
+ }
218
+
219
+ /**
220
+ * Site footer
221
+ */
222
+ .site-footer {
223
+ border-top: 1px solid $grey-color-light;
224
+ padding: $spacing-unit 0;
225
+ }
226
+
227
+ .footer-col-wrapper {
228
+ @include relative-font-size(0.9375);
229
+ color: $grey-color;
230
+ margin-left: -$spacing-unit / 2;
231
+ @extend %clearfix;
232
+ }
233
+
234
+ .footer-col {
235
+ float: left;
236
+ margin-bottom: $spacing-unit / 2;
237
+ padding-left: $spacing-unit / 2;
238
+ }
239
+
240
+ @include media-query($on-palm) {
241
+ .footer-col {
242
+ float: none;
243
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
244
+ width: calc(100% - (#{$spacing-unit} / 2));
245
+ }
246
+ }
@@ -0,0 +1,36 @@
1
+ /* ---- grid ---- */
2
+ .grid {
3
+ background: transparent;
4
+ margin: 0 auto;
5
+ }
6
+
7
+ /* clear fix */
8
+ .grid:after {
9
+ content: '';
10
+ display: block;
11
+ clear: both;
12
+ }
13
+
14
+ /* ---- .grid-item ---- */
15
+ .grid-sizer, .grid-item {
16
+ width: 250px;
17
+ }
18
+
19
+ .grid-item {
20
+ float: left;
21
+ margin-bottom: 10px;
22
+ background: transparent;
23
+ border: 1px solid black;
24
+ border-radius: 3px;
25
+ }
26
+
27
+ .grid-item img {
28
+ display: block;
29
+ max-width: 98%;
30
+ padding-top: 3px;
31
+ margin: auto;
32
+ }
33
+
34
+ .grid-item h2, p {
35
+ margin: 5px;
36
+ }
@@ -0,0 +1,170 @@
1
+ /* ==========================================================================
2
+ Post Nav
3
+ ========================================================================== */
4
+
5
+ .post-nav {
6
+ position: relative;
7
+
8
+ @media only screen and (max-width: $on-laptop) {
9
+ height: 7em;
10
+ margin: 2em 0;
11
+ }
12
+
13
+ &:after {
14
+ clear: both;
15
+ content: '';
16
+ display: table;
17
+ }
18
+
19
+ .post-nav-item {
20
+ position: fixed;
21
+ top: 50%;
22
+ display: block;
23
+ margin-top: -4em;
24
+ overflow: hidden;
25
+ border-radius: 10em;
26
+ transition: none;
27
+
28
+ @media only screen and (max-width: $on-laptop) {
29
+ position: absolute;
30
+ top: auto;
31
+ margin: auto;
32
+ max-width: 50%;
33
+ }
34
+
35
+ &:hover,
36
+ &:focus {
37
+ border-radius: 0;
38
+
39
+ .post-nav-teaser {
40
+
41
+ .post-nav-icon {
42
+ border: 2px solid $brand-color-light;
43
+ box-shadow: 0 0 0 25em $brand-color-light;
44
+
45
+ @media only screen and (max-width: $on-laptop) {
46
+ border: 2px solid $brand-color-light;
47
+ box-shadow: 0 0 0 2px $brand-color-light;
48
+ }
49
+ }
50
+
51
+ .post-nav-info {
52
+ display: block;
53
+
54
+ @media only screen and (max-width: $on-laptop) {
55
+ display: none;
56
+ }
57
+
58
+ .post-nav-title {
59
+ color: $grey-color-dark;
60
+ }
61
+
62
+ .post-nav-excerpt {
63
+ color: #fff;
64
+ }
65
+ }
66
+ }
67
+ }
68
+
69
+ &.post-nav-next {
70
+ left: 0;
71
+ text-align: left;
72
+
73
+ .post-nav-icon {
74
+ float: left;
75
+
76
+ i {
77
+ left: -0.05em;
78
+ }
79
+ }
80
+
81
+ .post-nav-info {
82
+ padding-left: 6em;
83
+ }
84
+ }
85
+
86
+ &.post-nav-prev {
87
+ right: 0;
88
+ text-align: right;
89
+
90
+ .post-nav-icon {
91
+ float: right;
92
+
93
+ i {
94
+ right: -0.05em;
95
+ }
96
+ }
97
+
98
+ .post-nav-info {
99
+ padding-right: 6em;
100
+ }
101
+ }
102
+
103
+ .post-nav-teaser {
104
+ display: block;
105
+ padding: 1em;
106
+ transition: all ease-out 0.2s;
107
+ max-width: 25em;
108
+ overflow: visible;
109
+
110
+ &:after {
111
+ clear: both;
112
+ content: '';
113
+ display: table;
114
+ }
115
+
116
+ .post-nav-icon {
117
+ display: block;
118
+ width: 5em;
119
+ height: 5em;
120
+ line-height: 5em;
121
+ text-align: center;
122
+ box-sizing: border-box;
123
+ border-radius: 10em;
124
+ border: 2px solid $brand-color;
125
+ box-shadow: 0 0 0 0 transparent;
126
+ transition: all ease-out 0.1s;
127
+ background: transparent;
128
+
129
+ @media only screen and (max-width: $on-palm) {
130
+ width: 4em;
131
+ height: 4em;
132
+ line-height: 4em;
133
+ }
134
+ }
135
+
136
+ .post-nav-info {
137
+ display: none;
138
+ width: 100%;
139
+ box-sizing: border-box;
140
+ transition: all ease-out 0.2s;
141
+
142
+ .post-nav-title {
143
+ display: block;
144
+ max-height: 1.25em;
145
+ overflow: hidden;
146
+ white-space: nowrap;
147
+ text-overflow: ellipsis;
148
+ margin: 1.25em 0 0.25em;
149
+ font-size: 1em;
150
+ line-height: 1.25em;
151
+ font-weight: 700;
152
+ color: $grey-color-dark;
153
+ }
154
+
155
+ .post-nav-excerpt {
156
+ display: block;
157
+ max-height: 1.334em;
158
+ overflow: hidden;
159
+ white-space: nowrap;
160
+ text-overflow: ellipsis;
161
+ margin: 0;
162
+ font-size: 0.75em;
163
+ line-height: 1.334em;
164
+ font-weight: 400;
165
+ color: $grey-color-dark;
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }