jekyll-theme-dinky 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 15dfa503a0659acbc2f0f4ce8ab53fc22a97c0c0
4
+ data.tar.gz: d8dcd54c36b45f163e39ab03494e0c81d97924fb
5
+ SHA512:
6
+ metadata.gz: b963381dc816f51a01af483da4d25bf4eca1a043c58a914003aa62ee4daae3a6e248d219e5acf02453e368f4ba4d45991cfc777f4e55cdbc9d084f94039dc7e1
7
+ data.tar.gz: f16bb4e14b28afb2aee6654da7fb94adf8788310e213a336021ba2782c6bf451634df89f314a5f288c09adf6fa6b86f15da5ea5d8ca31562dca048328ef64caa
data/LICENSE ADDED
@@ -0,0 +1,116 @@
1
+ CC0 1.0 Universal
2
+
3
+ Statement of Purpose
4
+
5
+ The laws of most jurisdictions throughout the world automatically confer
6
+ exclusive Copyright and Related Rights (defined below) upon the creator and
7
+ subsequent owner(s) (each and all, an "owner") of an original work of
8
+ authorship and/or a database (each, a "Work").
9
+
10
+ Certain owners wish to permanently relinquish those rights to a Work for the
11
+ purpose of contributing to a commons of creative, cultural and scientific
12
+ works ("Commons") that the public can reliably and without fear of later
13
+ claims of infringement build upon, modify, incorporate in other works, reuse
14
+ and redistribute as freely as possible in any form whatsoever and for any
15
+ purposes, including without limitation commercial purposes. These owners may
16
+ contribute to the Commons to promote the ideal of a free culture and the
17
+ further production of creative, cultural and scientific works, or to gain
18
+ reputation or greater distribution for their Work in part through the use and
19
+ efforts of others.
20
+
21
+ For these and/or other purposes and motivations, and without any expectation
22
+ of additional consideration or compensation, the person associating CC0 with a
23
+ Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24
+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25
+ and publicly distribute the Work under its terms, with knowledge of his or her
26
+ Copyright and Related Rights in the Work and the meaning and intended legal
27
+ effect of CC0 on those rights.
28
+
29
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
30
+ protected by copyright and related or neighboring rights ("Copyright and
31
+ Related Rights"). Copyright and Related Rights include, but are not limited
32
+ to, the following:
33
+
34
+ i. the right to reproduce, adapt, distribute, perform, display, communicate,
35
+ and translate a Work;
36
+
37
+ ii. moral rights retained by the original author(s) and/or performer(s);
38
+
39
+ iii. publicity and privacy rights pertaining to a person's image or likeness
40
+ depicted in a Work;
41
+
42
+ iv. rights protecting against unfair competition in regards to a Work,
43
+ subject to the limitations in paragraph 4(a), below;
44
+
45
+ v. rights protecting the extraction, dissemination, use and reuse of data in
46
+ a Work;
47
+
48
+ vi. database rights (such as those arising under Directive 96/9/EC of the
49
+ European Parliament and of the Council of 11 March 1996 on the legal
50
+ protection of databases, and under any national implementation thereof,
51
+ including any amended or successor version of such directive); and
52
+
53
+ vii. other similar, equivalent or corresponding rights throughout the world
54
+ based on applicable law or treaty, and any national implementations thereof.
55
+
56
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
57
+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58
+ unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59
+ and Related Rights and associated claims and causes of action, whether now
60
+ known or unknown (including existing as well as future claims and causes of
61
+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
62
+ duration provided by applicable law or treaty (including future time
63
+ extensions), (iii) in any current or future medium and for any number of
64
+ copies, and (iv) for any purpose whatsoever, including without limitation
65
+ commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66
+ the Waiver for the benefit of each member of the public at large and to the
67
+ detriment of Affirmer's heirs and successors, fully intending that such Waiver
68
+ shall not be subject to revocation, rescission, cancellation, termination, or
69
+ any other legal or equitable action to disrupt the quiet enjoyment of the Work
70
+ by the public as contemplated by Affirmer's express Statement of Purpose.
71
+
72
+ 3. Public License Fallback. Should any part of the Waiver for any reason be
73
+ judged legally invalid or ineffective under applicable law, then the Waiver
74
+ shall be preserved to the maximum extent permitted taking into account
75
+ Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76
+ is so judged Affirmer hereby grants to each affected person a royalty-free,
77
+ non transferable, non sublicensable, non exclusive, irrevocable and
78
+ unconditional license to exercise Affirmer's Copyright and Related Rights in
79
+ the Work (i) in all territories worldwide, (ii) for the maximum duration
80
+ provided by applicable law or treaty (including future time extensions), (iii)
81
+ in any current or future medium and for any number of copies, and (iv) for any
82
+ purpose whatsoever, including without limitation commercial, advertising or
83
+ promotional purposes (the "License"). The License shall be deemed effective as
84
+ of the date CC0 was applied by Affirmer to the Work. Should any part of the
85
+ License for any reason be judged legally invalid or ineffective under
86
+ applicable law, such partial invalidity or ineffectiveness shall not
87
+ invalidate the remainder of the License, and in such case Affirmer hereby
88
+ affirms that he or she will not (i) exercise any of his or her remaining
89
+ Copyright and Related Rights in the Work or (ii) assert any associated claims
90
+ and causes of action with respect to the Work, in either case contrary to
91
+ Affirmer's express Statement of Purpose.
92
+
93
+ 4. Limitations and Disclaimers.
94
+
95
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
96
+ surrendered, licensed or otherwise affected by this document.
97
+
98
+ b. Affirmer offers the Work as-is and makes no representations or warranties
99
+ of any kind concerning the Work, express, implied, statutory or otherwise,
100
+ including without limitation warranties of title, merchantability, fitness
101
+ for a particular purpose, non infringement, or the absence of latent or
102
+ other defects, accuracy, or the present or absence of errors, whether or not
103
+ discoverable, all to the greatest extent permissible under applicable law.
104
+
105
+ c. Affirmer disclaims responsibility for clearing rights of other persons
106
+ that may apply to the Work or any use thereof, including without limitation
107
+ any person's Copyright and Related Rights in the Work. Further, Affirmer
108
+ disclaims responsibility for obtaining any necessary consents, permissions
109
+ or other rights required for any use of the Work.
110
+
111
+ d. Affirmer understands and acknowledges that Creative Commons is not a
112
+ party to this document and has no duty or obligation with respect to this
113
+ CC0 or use of the Work.
114
+
115
+ For more information, please see
116
+ <http://creativecommons.org/publicdomain/zero/1.0/>
data/README.md ADDED
@@ -0,0 +1,92 @@
1
+ # The Dinky theme
2
+
3
+ [![Build Status](https://travis-ci.org/pages-themes/jekyll-theme-dinky.svg?branch=master)](https://travis-ci.org/pages-themes/jekyll-theme-dinky) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-dinky.svg)](https://badge.fury.io/rb/jekyll-theme-dinky)
4
+
5
+ *Dinky is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/dinky), or even [use it today](#usage).*
6
+
7
+ ![Thumbnail of dinky](thumbnail.png)
8
+
9
+ ## Usage
10
+
11
+ To use the Dinky theme:
12
+
13
+ 1. Add the following to your site's `_config.yml`:
14
+
15
+ ```yml
16
+ theme: jekyll-theme-dinky
17
+ ```
18
+
19
+ 2. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:
20
+
21
+ ```ruby
22
+ gem "github-pages", group: :jekyll_plugins
23
+ ```
24
+
25
+
26
+
27
+ ## Customizing
28
+
29
+ ### Configuration variables
30
+
31
+ Dinky will respect the following variables, if set in your site's `_config.yml`:
32
+
33
+ ```yml
34
+ title: [The title of your site]
35
+ description: [A short description of your site's purpose]
36
+ ```
37
+
38
+ Additionally, you may choose to set the following optional variables:
39
+
40
+ ```yml
41
+ show_downloads: ["true" or "false" to indicate whether to provide a download URL]
42
+ google_analytics: [Your Google Analytics tracking ID]
43
+ ```
44
+
45
+ ### Stylesheet
46
+
47
+ If you'd like to add your own custom styles:
48
+
49
+ 1. Create a file called `/assets/css/style.css` in your site
50
+ 2. Add the following content to the top of the file, exactly as shown:
51
+ ```scss
52
+ ---
53
+ ---
54
+
55
+ @import "{{ site.theme }}";
56
+ ```
57
+ 3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
58
+
59
+ ### Layouts
60
+
61
+ If you'd like to change the theme's HTML layout:
62
+
63
+ 1. [Copy the original template](https://github.com/pages-themes/dinky/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
64
+ 2. Create a file called `/_layouts/default.html` in your site
65
+ 3. Paste the default layout content copied in the first step
66
+ 4. Customize the layout as you'd like
67
+
68
+ ## Roadmap
69
+
70
+ See the [open issues](https://github.com/pagse-themes/dinky/issues) for a list of proposed features (and known issues).
71
+
72
+ ## Project philosophy
73
+
74
+ The Dinky theme is intended to make it quick and easy for GitHub Pages users to create their first (or 100th) website. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.
75
+
76
+ ## Contributing
77
+
78
+ Interested in contributing to Dinky? We'd love your help. Dinky is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](CONTRIBUTING.md) for instructions on how to contribute.
79
+
80
+ ### Previewing the theme locally
81
+
82
+ If you'd like to preview the theme locally (for example, in the process of proposing a change):
83
+
84
+ 1. Clone down the theme's repository (`git clone https://github.com/pages-themes/dinky`)
85
+ 2. `cd` into the theme's directory
86
+ 3. Run `script/bootstrap` to install the necessary dependencies
87
+ 4. Run `bundle exec jekyll serve` to start the preview server
88
+ 5. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme
89
+
90
+ ### Running tests
91
+
92
+ The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` one before the test script will work.
@@ -0,0 +1,62 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="chrome=1">
6
+ <title>{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title>
7
+ <link href='https://fonts.googleapis.com/css?family=Arvo:400,700,400italic' rel='stylesheet' type='text/css'>
8
+ <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
9
+ <script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
10
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
11
+ <!--[if lt IE 9]>
12
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
+ <![endif]-->
14
+ </head>
15
+ <body>
16
+ <div class="wrapper">
17
+ <header>
18
+ <h1 class="header">{{ site.title | default: site.github.repository_name }}</h1>
19
+ <p class="header">{{ site.description | default: site.github.project_tagline }}</p>
20
+
21
+ <ul>
22
+ {% if site.show_downloads %}
23
+ <li class="download"><a class="buttons" href="{{ site.github.zip_url }}">Download ZIP</a></li>
24
+ <li class="download"><a class="buttons" href="{{ site.github.tar_url }}">Download TAR</a></li>
25
+ {% endif %}
26
+ <li><a class="buttons github" href="{{ site.github.repository_url }}">View On GitHub</a></li>
27
+ </ul>
28
+
29
+ {% if site.github.is_project_page %}
30
+ <p class="header">This project is maintained by <a class="header name" href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
31
+ {% endif %}
32
+
33
+ {% if site.github.is_user_page %}
34
+ <ul>
35
+ <li><a class="buttons github" href="{{ site.github.repository_url }}">GitHub Profile</a></li>
36
+ </ul>
37
+ {% endif %}
38
+ </header>
39
+
40
+ <section>
41
+ {{ content }}
42
+ </section>
43
+
44
+ <footer>
45
+ <p><small>Hosted on <a href="https://pages.github.com">GitHub Pages</a> using the Dinky theme</small></p>
46
+ </footer>
47
+ </div>
48
+ <!--[if !IE]><script>fixScale(document);</script><![endif]-->
49
+ {% if site.google_analytics %}
50
+ <script type="text/javascript">
51
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
52
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
53
+ </script>
54
+ <script type="text/javascript">
55
+ try {
56
+ var pageTracker = _gat._getTracker("{{ site.google_analytics }}");
57
+ pageTracker._trackPageview();
58
+ } catch(err) {}
59
+ </script>
60
+ {% endif %}
61
+ </body>
62
+ </html>
@@ -0,0 +1,423 @@
1
+ @import "rouge-github";
2
+
3
+ /* MeyerWeb Reset */
4
+
5
+ html, body, div, span, applet, object, iframe,
6
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
7
+ a, abbr, acronym, address, big, cite, code,
8
+ del, dfn, em, img, ins, kbd, q, s, samp,
9
+ small, strike, strong, sub, sup, tt, var,
10
+ b, u, i, center,
11
+ dl, dt, dd, ol, ul, li,
12
+ fieldset, form, label, legend,
13
+ table, caption, tbody, tfoot, thead, tr, th, td,
14
+ article, aside, canvas, details, embed,
15
+ figure, figcaption, footer, header, hgroup,
16
+ menu, nav, output, ruby, section, summary,
17
+ time, mark, audio, video {
18
+ margin: 0;
19
+ padding: 0;
20
+ border: 0;
21
+ font: inherit;
22
+ vertical-align: baseline;
23
+ }
24
+
25
+
26
+ /* Base text styles */
27
+
28
+ body {
29
+ padding:10px 50px 0 0;
30
+ font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
31
+ font-size: 14px;
32
+ color: #232323;
33
+ background-color: #FBFAF7;
34
+ margin: 0;
35
+ line-height: 1.8em;
36
+ -webkit-font-smoothing: antialiased;
37
+
38
+ }
39
+
40
+ h1, h2, h3, h4, h5, h6 {
41
+ color:#232323;
42
+ margin:36px 0 10px;
43
+ }
44
+
45
+ p, ul, ol, table, dl {
46
+ margin:0 0 22px;
47
+ }
48
+
49
+ h1, h2, h3 {
50
+ font-family: Arvo, Monaco, serif;
51
+ line-height:1.3;
52
+ font-weight: normal;
53
+ }
54
+
55
+ h1,h2, h3 {
56
+ display: block;
57
+ border-bottom: 1px solid #ccc;
58
+ padding-bottom: 5px;
59
+ }
60
+
61
+ h1 {
62
+ font-size: 30px;
63
+ }
64
+
65
+ h2 {
66
+ font-size: 24px;
67
+ }
68
+
69
+ h3 {
70
+ font-size: 18px;
71
+ }
72
+
73
+ h4, h5, h6 {
74
+ font-family: Arvo, Monaco, serif;
75
+ font-weight: 700;
76
+ }
77
+
78
+ a {
79
+ color:#C30000;
80
+ font-weight:200;
81
+ text-decoration:none;
82
+ }
83
+
84
+ a:hover {
85
+ text-decoration: underline;
86
+ }
87
+
88
+ a small {
89
+ font-size: 12px;
90
+ }
91
+
92
+ em {
93
+ font-style: italic;
94
+ }
95
+
96
+ strong {
97
+ font-weight:700;
98
+ }
99
+
100
+ ul {
101
+ list-style-position: inside;
102
+ list-style: disc;
103
+ padding-left: 25px;
104
+ }
105
+
106
+ ol {
107
+ list-style-position: inside;
108
+ list-style: decimal;
109
+ padding-left: 25px;
110
+ }
111
+
112
+ blockquote {
113
+ margin: 0;
114
+ padding: 0 0 0 20px;
115
+ font-style: italic;
116
+ }
117
+
118
+ dl, dt, dd, dl p {
119
+ font-color: #444;
120
+ }
121
+
122
+ dl dt {
123
+ font-weight: bold;
124
+ }
125
+
126
+ dl dd {
127
+ padding-left: 20px;
128
+ font-style: italic;
129
+ }
130
+
131
+ dl p {
132
+ padding-left: 20px;
133
+ font-style: italic;
134
+ }
135
+
136
+ hr {
137
+ border:0;
138
+ background:#ccc;
139
+ height:1px;
140
+ margin:0 0 24px;
141
+ }
142
+
143
+ /* Images */
144
+
145
+ img {
146
+ position: relative;
147
+ margin: 0 auto;
148
+ max-width: 650px;
149
+ padding: 5px;
150
+ margin: 10px 0 32px 0;
151
+ border: 1px solid #ccc;
152
+ }
153
+
154
+ p img {
155
+ display: inline;
156
+ margin: 0;
157
+ padding: 0;
158
+ vertical-align: middle;
159
+ text-align: center;
160
+ border: none;
161
+ }
162
+
163
+ /* Code blocks */
164
+
165
+ code, pre {
166
+ font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
167
+ color:#000;
168
+ font-size:14px;
169
+ }
170
+
171
+ pre {
172
+ padding: 4px 12px;
173
+ background: #FDFEFB;
174
+ border-radius:4px;
175
+ border:1px solid #D7D8C8;
176
+ overflow: auto;
177
+ overflow-y: hidden;
178
+ margin-bottom: 32px;
179
+ }
180
+
181
+
182
+ /* Tables */
183
+
184
+ table {
185
+ width:100%;
186
+ }
187
+
188
+ table {
189
+ border: 1px solid #ccc;
190
+ margin-bottom: 32px;
191
+ text-align: left;
192
+ }
193
+
194
+ th {
195
+ font-family: 'Arvo', Helvetica, Arial, sans-serif;
196
+ font-size: 18px;
197
+ font-weight: normal;
198
+ padding: 10px;
199
+ background: #232323;
200
+ color: #FDFEFB;
201
+ }
202
+
203
+ td {
204
+ padding: 10px;
205
+ background: #ccc;
206
+ }
207
+
208
+
209
+ /* Wrapper */
210
+ .wrapper {
211
+ width:960px;
212
+ }
213
+
214
+
215
+ /* Header */
216
+
217
+ header {
218
+ background-color: #171717;
219
+ color: #FDFDFB;
220
+ width:170px;
221
+ float:left;
222
+ position:fixed;
223
+ border: 1px solid #000;
224
+ -webkit-border-top-right-radius: 4px;
225
+ -webkit-border-bottom-right-radius: 4px;
226
+ -moz-border-radius-topright: 4px;
227
+ -moz-border-radius-bottomright: 4px;
228
+ border-top-right-radius: 4px;
229
+ border-bottom-right-radius: 4px;
230
+ padding: 34px 25px 22px 50px;
231
+ margin: 30px 25px 0 0;
232
+ -webkit-font-smoothing: antialiased;
233
+ }
234
+
235
+ p.header {
236
+ font-size: 16px;
237
+ }
238
+
239
+ h1.header {
240
+ font-family: Arvo, sans-serif;
241
+ font-size: 30px;
242
+ font-weight: 300;
243
+ line-height: 1.3em;
244
+ border-bottom: none;
245
+ margin-top: 0;
246
+ }
247
+
248
+
249
+ h1.header, a.header, a.name, header a{
250
+ color: #fff;
251
+ }
252
+
253
+ a.header {
254
+ text-decoration: underline;
255
+ }
256
+
257
+ a.name {
258
+ white-space: nowrap;
259
+ }
260
+
261
+ header ul {
262
+ list-style:none;
263
+ padding:0;
264
+ }
265
+
266
+ header li {
267
+ list-style-type: none;
268
+ width:132px;
269
+ height:15px;
270
+ margin-bottom: 12px;
271
+ line-height: 1em;
272
+ padding: 6px 6px 6px 7px;
273
+
274
+ background: #AF0011;
275
+ background: -moz-linear-gradient(top, #AF0011 0%, #820011 100%);
276
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
277
+ background: -webkit-linear-gradient(top, #AF0011 0%,#820011 100%);
278
+ background: -o-linear-gradient(top, #AF0011 0%,#820011 100%);
279
+ background: -ms-linear-gradient(top, #AF0011 0%,#820011 100%);
280
+ background: linear-gradient(top, #AF0011 0%,#820011 100%);
281
+
282
+ border-radius:4px;
283
+ border:1px solid #0D0D0D;
284
+
285
+ -webkit-box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1);
286
+ box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1);
287
+
288
+ }
289
+
290
+ header li:hover {
291
+ background: #C3001D;
292
+ background: -moz-linear-gradient(top, #C3001D 0%, #950119 100%);
293
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
294
+ background: -webkit-linear-gradient(top, #C3001D 0%,#950119 100%);
295
+ background: -o-linear-gradient(top, #C3001D 0%,#950119 100%);
296
+ background: -ms-linear-gradient(top, #C3001D 0%,#950119 100%);
297
+ background: linear-gradient(top, #C3001D 0%,#950119 100%);
298
+ }
299
+
300
+ a.buttons {
301
+ -webkit-font-smoothing: antialiased;
302
+ background: url(../images/arrow-down.png) no-repeat;
303
+ font-weight: normal;
304
+ text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
305
+ padding: 2px 2px 2px 22px;
306
+ height: 30px;
307
+ }
308
+
309
+ a.github {
310
+ background: url(../images/octocat-small.png) no-repeat 1px;
311
+ }
312
+
313
+ a.buttons:hover {
314
+ color: #fff;
315
+ text-decoration: none;
316
+ }
317
+
318
+
319
+ /* Section - for main page content */
320
+
321
+ section {
322
+ width:650px;
323
+ float:right;
324
+ padding-bottom:50px;
325
+ }
326
+
327
+
328
+ /* Footer */
329
+
330
+ footer {
331
+ width:170px;
332
+ float:left;
333
+ position:fixed;
334
+ bottom:10px;
335
+ padding-left: 50px;
336
+ }
337
+
338
+ @media print, screen and (max-width: 960px) {
339
+
340
+ div.wrapper {
341
+ width:auto;
342
+ margin:0;
343
+ }
344
+
345
+ header, section, footer {
346
+ float:none;
347
+ position:static;
348
+ width:auto;
349
+ }
350
+
351
+ footer {
352
+ border-top: 1px solid #ccc;
353
+ margin:0 84px 0 50px;
354
+ padding:0;
355
+ }
356
+
357
+ header {
358
+ padding-right:320px;
359
+ }
360
+
361
+ section {
362
+ padding:20px 84px 20px 50px;
363
+ margin:0 0 20px;
364
+ }
365
+
366
+ header a small {
367
+ display:inline;
368
+ }
369
+
370
+ header ul {
371
+ position:absolute;
372
+ right:130px;
373
+ top:84px;
374
+ }
375
+ }
376
+
377
+ @media print, screen and (max-width: 720px) {
378
+ body {
379
+ word-wrap:break-word;
380
+ }
381
+
382
+ header {
383
+ padding:10px 20px 0;
384
+ margin-right: 0;
385
+ }
386
+
387
+ section {
388
+ padding:10px 0 10px 20px;
389
+ margin:0 0 30px;
390
+ }
391
+
392
+ footer {
393
+ margin: 0 0 0 30px;
394
+ }
395
+
396
+ header ul, header p.view {
397
+ position:static;
398
+ }
399
+ }
400
+
401
+ @media print, screen and (max-width: 480px) {
402
+
403
+ header ul li.download {
404
+ display:none;
405
+ }
406
+
407
+ footer {
408
+ margin: 0 0 0 20px;
409
+ }
410
+
411
+ footer a{
412
+ display:block;
413
+ }
414
+
415
+ }
416
+
417
+ @media print {
418
+ body {
419
+ padding:0.4in;
420
+ font-size:12pt;
421
+ color:#444;
422
+ }
423
+ }
@@ -0,0 +1,209 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight .cm {
4
+ color: #999988;
5
+ font-style: italic;
6
+ }
7
+ .highlight .cp {
8
+ color: #999999;
9
+ font-weight: bold;
10
+ }
11
+ .highlight .c1 {
12
+ color: #999988;
13
+ font-style: italic;
14
+ }
15
+ .highlight .cs {
16
+ color: #999999;
17
+ font-weight: bold;
18
+ font-style: italic;
19
+ }
20
+ .highlight .c, .highlight .cd {
21
+ color: #999988;
22
+ font-style: italic;
23
+ }
24
+ .highlight .err {
25
+ color: #a61717;
26
+ background-color: #e3d2d2;
27
+ }
28
+ .highlight .gd {
29
+ color: #000000;
30
+ background-color: #ffdddd;
31
+ }
32
+ .highlight .ge {
33
+ color: #000000;
34
+ font-style: italic;
35
+ }
36
+ .highlight .gr {
37
+ color: #aa0000;
38
+ }
39
+ .highlight .gh {
40
+ color: #999999;
41
+ }
42
+ .highlight .gi {
43
+ color: #000000;
44
+ background-color: #ddffdd;
45
+ }
46
+ .highlight .go {
47
+ color: #888888;
48
+ }
49
+ .highlight .gp {
50
+ color: #555555;
51
+ }
52
+ .highlight .gs {
53
+ font-weight: bold;
54
+ }
55
+ .highlight .gu {
56
+ color: #aaaaaa;
57
+ }
58
+ .highlight .gt {
59
+ color: #aa0000;
60
+ }
61
+ .highlight .kc {
62
+ color: #000000;
63
+ font-weight: bold;
64
+ }
65
+ .highlight .kd {
66
+ color: #000000;
67
+ font-weight: bold;
68
+ }
69
+ .highlight .kn {
70
+ color: #000000;
71
+ font-weight: bold;
72
+ }
73
+ .highlight .kp {
74
+ color: #000000;
75
+ font-weight: bold;
76
+ }
77
+ .highlight .kr {
78
+ color: #000000;
79
+ font-weight: bold;
80
+ }
81
+ .highlight .kt {
82
+ color: #445588;
83
+ font-weight: bold;
84
+ }
85
+ .highlight .k, .highlight .kv {
86
+ color: #000000;
87
+ font-weight: bold;
88
+ }
89
+ .highlight .mf {
90
+ color: #009999;
91
+ }
92
+ .highlight .mh {
93
+ color: #009999;
94
+ }
95
+ .highlight .il {
96
+ color: #009999;
97
+ }
98
+ .highlight .mi {
99
+ color: #009999;
100
+ }
101
+ .highlight .mo {
102
+ color: #009999;
103
+ }
104
+ .highlight .m, .highlight .mb, .highlight .mx {
105
+ color: #009999;
106
+ }
107
+ .highlight .sb {
108
+ color: #d14;
109
+ }
110
+ .highlight .sc {
111
+ color: #d14;
112
+ }
113
+ .highlight .sd {
114
+ color: #d14;
115
+ }
116
+ .highlight .s2 {
117
+ color: #d14;
118
+ }
119
+ .highlight .se {
120
+ color: #d14;
121
+ }
122
+ .highlight .sh {
123
+ color: #d14;
124
+ }
125
+ .highlight .si {
126
+ color: #d14;
127
+ }
128
+ .highlight .sx {
129
+ color: #d14;
130
+ }
131
+ .highlight .sr {
132
+ color: #009926;
133
+ }
134
+ .highlight .s1 {
135
+ color: #d14;
136
+ }
137
+ .highlight .ss {
138
+ color: #990073;
139
+ }
140
+ .highlight .s {
141
+ color: #d14;
142
+ }
143
+ .highlight .na {
144
+ color: #008080;
145
+ }
146
+ .highlight .bp {
147
+ color: #999999;
148
+ }
149
+ .highlight .nb {
150
+ color: #0086B3;
151
+ }
152
+ .highlight .nc {
153
+ color: #445588;
154
+ font-weight: bold;
155
+ }
156
+ .highlight .no {
157
+ color: #008080;
158
+ }
159
+ .highlight .nd {
160
+ color: #3c5d5d;
161
+ font-weight: bold;
162
+ }
163
+ .highlight .ni {
164
+ color: #800080;
165
+ }
166
+ .highlight .ne {
167
+ color: #990000;
168
+ font-weight: bold;
169
+ }
170
+ .highlight .nf {
171
+ color: #990000;
172
+ font-weight: bold;
173
+ }
174
+ .highlight .nl {
175
+ color: #990000;
176
+ font-weight: bold;
177
+ }
178
+ .highlight .nn {
179
+ color: #555555;
180
+ }
181
+ .highlight .nt {
182
+ color: #000080;
183
+ }
184
+ .highlight .vc {
185
+ color: #008080;
186
+ }
187
+ .highlight .vg {
188
+ color: #008080;
189
+ }
190
+ .highlight .vi {
191
+ color: #008080;
192
+ }
193
+ .highlight .nv {
194
+ color: #008080;
195
+ }
196
+ .highlight .ow {
197
+ color: #000000;
198
+ font-weight: bold;
199
+ }
200
+ .highlight .o {
201
+ color: #000000;
202
+ font-weight: bold;
203
+ }
204
+ .highlight .w {
205
+ color: #bbbbbb;
206
+ }
207
+ .highlight {
208
+ background-color: #f8f8f8;
209
+ }
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import 'jekyll-theme-dinky';
Binary file
Binary file
@@ -0,0 +1,20 @@
1
+ fixScale = function(doc) {
2
+
3
+ var addEvent = 'addEventListener',
4
+ type = 'gesturestart',
5
+ qsa = 'querySelectorAll',
6
+ scales = [1, 1],
7
+ meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
8
+
9
+ function fix() {
10
+ meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
11
+ doc.removeEventListener(type, fix, true);
12
+ }
13
+
14
+ if ((meta = meta[meta.length - 1]) && addEvent in doc) {
15
+ fix();
16
+ scales = [.25, 1.6];
17
+ doc[addEvent](type, fix, true);
18
+ }
19
+
20
+ };
metadata ADDED
@@ -0,0 +1,67 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-dinky
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Diana Mounter
8
+ - GitHub, Inc.
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2016-12-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: jekyll
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '3.3'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '3.3'
28
+ description:
29
+ email:
30
+ - opensource+jekyll-theme-dinky@github.com
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - LICENSE
36
+ - README.md
37
+ - _layouts/default.html
38
+ - _sass/jekyll-theme-dinky.scss
39
+ - _sass/rouge-github.scss
40
+ - assets/css/style.scss
41
+ - assets/images/arrow-down.png
42
+ - assets/images/octocat-small.png
43
+ - assets/js/scale.fix.js
44
+ homepage: https://github.com/pages-themes/dinky
45
+ licenses: []
46
+ metadata: {}
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubyforge_project:
63
+ rubygems_version: 2.5.2
64
+ signing_key:
65
+ specification_version: 4
66
+ summary: Dinky is a Jekyll theme for GitHub Pages
67
+ test_files: []