sanskrit-documentation-theme 0.1.3 → 0.1.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
  SHA256:
3
- metadata.gz: 738eb872ea91014bb0134552bb0304fd2429ae2b3d09d274a88188c44bedfe9e
4
- data.tar.gz: ec39aec17373aa4b05243b25c1de62de6eb83861f438c30db2830c7d8695df1d
3
+ metadata.gz: 91bebb509dcd90ec33c29df067787ced69d4587ca1ed539bf03a6196ee2800a7
4
+ data.tar.gz: 10520b79fb985f6ed27274c229f46b404853d3cb2c663b37631eff7da92c9237
5
5
  SHA512:
6
- metadata.gz: 11e8e73181f17aeff9c6ec921a9b7db3a121803012cceca6f404670a00f93379efabc933813cf514f6fa47446d76dbe62cb82706f909e054b7c6609b58704c10
7
- data.tar.gz: 487f7e3aa1da5681efd45f37ad1a73f0fd3f4f0c5261c7c3fe6237cabc1013f69fe98fa2a099a426f32752fc32596a16b7a7dafe5c31f391f17b34ce494cbd65
6
+ metadata.gz: 05a9ee418b0a5a483d13cfe3f91401e6664bba43a4adebcad59ad64f7b6a1c2372e67e20c9ae857cefee0b078583355e457413373dbbc41e17e974d68914e977
7
+ data.tar.gz: 7eb0af650304700c6a05d2236e41ad7487daa368ae62f546fc76e76c50e87fffc5de5cb68f77536d009cccb3e3d869e0f9e9a746441327ec9c05e45e14430458
data/README.md CHANGED
@@ -45,6 +45,11 @@ Steps:
45
45
  ### Search / webmaster tips
46
46
  - sitemap.xml can be explicitly submitted to various search engines.
47
47
 
48
+ ###‌ Pick up theme updates
49
+ If you are using the `remote-theme` method described above, github might not automatically pick up changes made to the theme and regenerate your site. To force github to regenerate your site, a tip from [here](https://github.com/benbalter/jekyll-remote-theme/issues/16):
50
+ `git commit --allow-empty -m "Force rebuild of site"; git push`
51
+
52
+
48
53
  ## Contributing
49
54
  To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
50
55
 
@@ -1,8 +1,9 @@
1
1
  <footer>
2
2
  <div class="row">
3
3
  <div class="col-lg-12 footer">
4
- &copy;{{ site.time | date: "%Y" }} {{site.company_name}}. <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.<br />
5
- {% if page.last_updated %}<span>Page last updated:</span> {{page.last_updated}}<br/>{% endif %} Site last generated: {{ site.time | date: "%b %-d, %Y" }} <br />
4
+ &copy;{{ site.time | date: "%Y" }} {{site.company_name}}. <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.<br />
5
+ <!--TODO: Figure out how to show localized time below.-->
6
+ {% if page.last_updated %}<span>Page last updated:</span> {{page.last_updated}}<br/>{% endif %} Site last generated: {{ site.time }} <br />
6
7
  <p><img src="{{site.baseurl | append: "/assets/images/company_logo_big.png"}}" alt="Logo"/ height="42" width="42"></p>
7
8
  </div>
8
9
  </div>
@@ -28,9 +28,6 @@
28
28
  </ul>
29
29
  </li>
30
30
  <!-- conditional logic to control which topnav appears for the audience defined in the configuration file.-->
31
- {% if site.feedback_disable == null or site.feedback_disable == false %}
32
- {% include feedback.html %}
33
- {% endif %}
34
31
  <!--comment out this block if you want to hide search-->
35
32
  <li>
36
33
  <!--start search-->
@@ -0,0 +1,312 @@
1
+ ---
2
+ ---
3
+ // The dashes above are required by jekyll.
4
+ // This file generates a css.
5
+ /************************************************************/
6
+ /* Some boxes*/
7
+
8
+ .bs-callout {
9
+ padding: 20px;
10
+ margin: 20px 0;
11
+ border: 1px solid #eee;
12
+ border-left-width: 5px;
13
+ border-radius: 3px;
14
+ h4 {
15
+ margin-top: 0;
16
+ margin-bottom: 5px;
17
+ }
18
+ p:last-child {
19
+ margin-bottom: 0;
20
+ }
21
+ code {
22
+ border-radius: 3px;
23
+ }
24
+ + .bs-callout {
25
+ margin-top: -5px;
26
+ }
27
+ }
28
+
29
+ .bs-callout-default {
30
+ @extend .bs-callout;
31
+ border-left-color: #777;
32
+ h4 {
33
+ color: #777;
34
+ }
35
+ }
36
+
37
+ .bs-callout-success {
38
+ @extend .bs-callout;
39
+ border-left-color: #5cb85c;
40
+ h4 {
41
+ color: #5cb85c;
42
+ }
43
+ }
44
+
45
+ .bs-callout-danger {
46
+ @extend .bs-callout;
47
+ border-left-color: #d9534f;
48
+ h4 {
49
+ color: #d9534f;
50
+ }
51
+ }
52
+
53
+ .bs-callout-warning {
54
+ @extend .bs-callout;
55
+ border-left-color: #f0ad4e;
56
+ h4 {
57
+ color: #f0ad4e;
58
+ }
59
+ }
60
+
61
+ .bs-callout-info {
62
+ @extend .bs-callout;
63
+ border-left-color: #5bc0de;
64
+ h4 {
65
+ color: #5bc0de;
66
+ }
67
+ }
68
+
69
+ .bs-example {
70
+ @extend .bs-callout;
71
+ margin: 20px;
72
+ }
73
+
74
+ .breadcrumb li {
75
+ color: gray;
76
+ }
77
+
78
+ .btn-default {
79
+ margin-bottom: 10px;
80
+ }
81
+
82
+ /*For use with https://getbootstrap.com/docs/3.3/components/ */
83
+
84
+ .glyphicons-2x {
85
+ font-size: 2em;
86
+ }
87
+
88
+ .glyphicons-3x {
89
+ font-size: 3em;
90
+ }
91
+
92
+ .glyphicons-4x {
93
+ font-size: 4em;
94
+ }
95
+
96
+ .glyphicons-5x {
97
+ font-size: 5em;
98
+ }
99
+
100
+ .breadcrumb > .active {
101
+ color: #777 !important;
102
+ }
103
+
104
+ /************************************************************/
105
+
106
+ p.external a {
107
+ text-align: right;
108
+ font-size: 80%;
109
+ color: #0088cc;
110
+ display: inline;
111
+ }
112
+
113
+ *[unicode_script="devanagari"] {
114
+ font-family: 'siddhanta-cakravat1', 'Noto Sans Devanagari From Github Hinted', serif;
115
+ font-size: 130%;
116
+ }
117
+
118
+ /************************************************************/
119
+
120
+ p.post-meta {
121
+ font-size: 80%;
122
+ color: #777;
123
+ }
124
+
125
+ .post-content {
126
+ a.fa-rss {
127
+ color: orange;
128
+ }
129
+ .rssfeedLink {
130
+ color: #248EC2;
131
+ }
132
+ img {
133
+ margin: 12px 0px 3px 0px;
134
+ max-width: 100%;
135
+ max-height: 100%;
136
+ &.inline {
137
+ margin: 0px;
138
+ margin-bottom: 6px;
139
+ }
140
+ &.thumbnail {
141
+ margin: 0px 0px 0px 0px;
142
+ width: 100px;
143
+ height: 100px;
144
+ }
145
+ }
146
+ }
147
+
148
+ .post-meta {
149
+ font-size: 90%;
150
+ color: #828282;
151
+ }
152
+
153
+ .post-link {
154
+ font-size: 150%;
155
+ }
156
+
157
+ .post-list p {
158
+ margin: 10px 0px;
159
+ }
160
+
161
+ .post-content {
162
+ table th {
163
+ vertical-align: top;
164
+ }
165
+ img {
166
+ margin: 12px 0px 3px 0px;
167
+ width: auto;
168
+ height: auto;
169
+ max-width: 100%;
170
+ max-height: 100%;
171
+ }
172
+ }
173
+
174
+ /************************************************************/
175
+
176
+ .filter-options {
177
+ margin-bottom: 20px;
178
+ button {
179
+ margin: 3px;
180
+ }
181
+ }
182
+
183
+ /************************************************************/
184
+
185
+ .footer {
186
+ text-align: right;
187
+ }
188
+
189
+ .footerMeta {
190
+ background-color: whitesmoke;
191
+ padding: 10px;
192
+ max-width: 250px;
193
+ border-radius: 5px;
194
+ margin-top: 50px;
195
+ font-style: italic;
196
+ font-size: 80%;
197
+ }
198
+
199
+ /************************************************************/
200
+
201
+ .summary {
202
+ font-size: 120%;
203
+ color: #808080;
204
+ margin: 20px 0px 20px 0px;
205
+ border-left: 5px solid #ED1951;
206
+ padding-left: 10px;
207
+ &:before {
208
+ content: "Summary: ";
209
+ font-weight: bold;
210
+ }
211
+ }
212
+
213
+ /************************************************************/
214
+
215
+ .alert, .callout {
216
+ overflow: hidden;
217
+ }
218
+
219
+ .alert {
220
+ margin-bottom: 10px;
221
+ margin-top: 10px;
222
+ a {
223
+ text-decoration: underline;
224
+ }
225
+ }
226
+
227
+ /* without this, the links in these notes aren't visible.*/
228
+
229
+ /************************************************************/
230
+
231
+ .projectTitle {
232
+ font-weight: bold;
233
+ }
234
+
235
+ .githubEditButton {
236
+ margin-bottom: 7px;
237
+ }
238
+
239
+ *:hover > .anchorjs-link {
240
+ transition: color .25s linear;
241
+ text-decoration: none;
242
+ }
243
+
244
+ .col-lg-12 .nav li a {
245
+ background-color: white;
246
+ }
247
+
248
+ .col-md-9 img {
249
+ max-width: 100%;
250
+ max-height: 100%;
251
+ max-width: 100%;
252
+ max-height: 100%;
253
+ }
254
+
255
+ /************************************************************/
256
+
257
+ .box {
258
+ padding: 10px;
259
+ border: 1px solid #888;
260
+ width: 100px;
261
+ height: 80px;
262
+ background-color: #f5f5f5;
263
+ font-family: Arial;
264
+ font-size: 80%;
265
+ hyphens: auto;
266
+ float: left;
267
+ font-size: 80%;
268
+ &:hover {
269
+ background-color: #f0f0f0;
270
+ }
271
+ }
272
+
273
+ /******************************************/
274
+ /* search area */
275
+
276
+ #search-demo-container ul#results-container {
277
+ list-style: none;
278
+ font-size: 80%;
279
+ background-color: white;
280
+ position: absolute;
281
+ top: 40px;
282
+ /* if you change anything about the nav, you'll prob. need to reset the top and left values here.*/
283
+ left: 20px;
284
+ z-index: -1;
285
+ width: 223px;
286
+ border-left: 1px solid #dedede;
287
+ }
288
+
289
+ ul#results-container a {
290
+ background-color: transparent;
291
+ &:hover {
292
+ color: black;
293
+ }
294
+ }
295
+
296
+ #search-demo-container a:hover {
297
+ color: black;
298
+ }
299
+
300
+ #search-input {
301
+ padding: .5em;
302
+ margin-left: 20px;
303
+ width: 20em;
304
+ font-size: 80%;
305
+ -webkit-box-sizing: border-box;
306
+ -moz-box-sizing: border-box;
307
+ box-sizing: border-box;
308
+ margin-top: 10px;
309
+ }
310
+
311
+ /* end search */
312
+ /******************************************/
@@ -0,0 +1,95 @@
1
+ ---
2
+ ---
3
+ // The dashes above are required by jekyll.
4
+ // This file generates a css.
5
+
6
+ /*
7
+ * Let's target IE to respect aspect ratios and sizes for img tags containing SVG files
8
+ *
9
+ * [1] IE9
10
+ * [2] IE10+
11
+ */
12
+ /* 1 */
13
+
14
+ .ie9 img[src$=".svg"] {
15
+ width: 100%;
16
+ }
17
+
18
+ /* 2
19
+ The @media rule is used in media queries to apply different styles for different media types/devices.
20
+ */
21
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
22
+ img[src$=".svg"] {
23
+ width: 100%;
24
+ }
25
+ }
26
+
27
+ @media (max-width: 767px) {
28
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
29
+ color: #444;
30
+ }
31
+ }
32
+
33
+ @media (max-width: 990px) {
34
+ #displayed_sidebar {
35
+ position: relative;
36
+ }
37
+ }
38
+
39
+ @media (min-width: 1000px) {
40
+ ul#displayed_sidebar {
41
+ width: 225px;
42
+ }
43
+ }
44
+
45
+ @media (max-width: 900px) {
46
+ ul#displayed_sidebar {
47
+ max-width: 100%;
48
+ }
49
+ }
50
+
51
+ @media only screen and (min-width: 900px), only screen and (min-device-width: 900px) {
52
+ .col-md-9 img {
53
+ max-width: 700px;
54
+ max-height: 700px;
55
+ }
56
+ }
57
+
58
+ /******************************************/
59
+ /*set navbar breakpoint so that it converts to hamburger earlier */
60
+
61
+ @media (max-width: 1200px) {
62
+ .navbar-header {
63
+ float: none;
64
+ }
65
+ .navbar-left, .navbar-right {
66
+ float: none !important;
67
+ }
68
+ .navbar-toggle {
69
+ display: block;
70
+ }
71
+ .navbar-collapse {
72
+ border-top: 1px solid transparent;
73
+ }
74
+ .navbar-fixed-top {
75
+ top: 0;
76
+ border-width: 0 0 1px;
77
+ }
78
+ .navbar-collapse.collapse {
79
+ display: none !important;
80
+ }
81
+ .navbar-nav {
82
+ float: none !important;
83
+ margin-top: 7.5px;
84
+ > li {
85
+ float: none;
86
+ > a {
87
+ padding-top: 10px;
88
+ padding-bottom: 10px;
89
+ }
90
+ }
91
+ }
92
+ .collapse.in {
93
+ display: block !important;
94
+ }
95
+ }