github-docs 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/default.html +11 -4
  3. data/assets/css/cherry/_base-normalize.scss +274 -0
  4. data/assets/css/cherry/_buttons.scss +305 -0
  5. data/assets/css/cherry/_columns.scss +220 -0
  6. data/assets/css/cherry/_elements.scss +339 -0
  7. data/assets/css/cherry/_forms-vue-select.scss +250 -0
  8. data/assets/css/cherry/_forms.scss +567 -0
  9. data/assets/css/cherry/_functions.scss +201 -0
  10. data/assets/css/cherry/_index.scss +14 -0
  11. data/assets/css/cherry/_layout.scss +207 -0
  12. data/assets/css/cherry/_modal.scss +82 -0
  13. data/assets/css/cherry/_spacing.scss +56 -0
  14. data/assets/css/cherry/_tooltips.scss +113 -0
  15. data/assets/css/cherry/_typography.scss +90 -0
  16. data/assets/css/cherry/_utilities.scss +552 -0
  17. data/assets/css/cherry/_variables-computed.scss +79 -0
  18. data/assets/css/cherry/_variables.scss +48 -0
  19. data/assets/css/index.scss +9 -7
  20. data/{_sass/github-docs.scss → assets/css/main.scss} +18 -15
  21. data/assets/css/primer-markdown/blob-csv.scss +25 -0
  22. data/assets/css/primer-markdown/code.scss +49 -0
  23. data/{_sass → assets/css}/primer-markdown/headings.scss +5 -19
  24. data/{_sass → assets/css}/primer-markdown/images.scss +1 -19
  25. data/{_sass/primer-markdown/markdown-body.scss → assets/css/primer-markdown/index.scss} +66 -55
  26. data/assets/css/primer-markdown/lists.scss +42 -0
  27. data/{_sass → assets/css}/primer-markdown/tables.scss +4 -9
  28. data/{_sass → assets/css}/rouge.scss +16 -8
  29. data/readme.md +2 -2
  30. metadata +27 -43
  31. data/_sass/primer-base/base.scss +0 -84
  32. data/_sass/primer-base/index.scss +0 -3
  33. data/_sass/primer-base/normalize.scss +0 -421
  34. data/_sass/primer-base/typography-base.scss +0 -86
  35. data/_sass/primer-layout/columns.scss +0 -54
  36. data/_sass/primer-layout/container.scss +0 -30
  37. data/_sass/primer-layout/grid-offset.scss +0 -19
  38. data/_sass/primer-layout/grid.scss +0 -64
  39. data/_sass/primer-layout/index.scss +0 -4
  40. data/_sass/primer-markdown/blob-csv.scss +0 -27
  41. data/_sass/primer-markdown/code.scss +0 -63
  42. data/_sass/primer-markdown/index.scss +0 -7
  43. data/_sass/primer-markdown/lists.scss +0 -76
  44. data/_sass/primer-support/index.scss +0 -11
  45. data/_sass/primer-support/mixins/buttons.scss +0 -160
  46. data/_sass/primer-support/mixins/layout.scss +0 -58
  47. data/_sass/primer-support/mixins/misc.scss +0 -29
  48. data/_sass/primer-support/mixins/typography.scss +0 -84
  49. data/_sass/primer-support/variables/color-system.scss +0 -114
  50. data/_sass/primer-support/variables/colors.scss +0 -67
  51. data/_sass/primer-support/variables/layout.scss +0 -78
  52. data/_sass/primer-support/variables/misc.scss +0 -40
  53. data/_sass/primer-support/variables/typography.scss +0 -43
  54. data/_sass/primer-utilities/animations.scss +0 -184
  55. data/_sass/primer-utilities/borders.scss +0 -100
  56. data/_sass/primer-utilities/box-shadow.scss +0 -26
  57. data/_sass/primer-utilities/colors.scss +0 -106
  58. data/_sass/primer-utilities/details.scss +0 -18
  59. data/_sass/primer-utilities/flexbox.scss +0 -52
  60. data/_sass/primer-utilities/index.scss +0 -13
  61. data/_sass/primer-utilities/layout.scss +0 -85
  62. data/_sass/primer-utilities/margin.scss +0 -53
  63. data/_sass/primer-utilities/padding.scss +0 -54
  64. data/_sass/primer-utilities/typography.scss +0 -215
  65. data/_sass/primer-utilities/visibility-display.scss +0 -87
@@ -1,3 +0,0 @@
1
- @import "./normalize.scss";
2
- @import "./base.scss";
3
- @import "./typography-base.scss";
@@ -1,421 +0,0 @@
1
- // stylelint-disable
2
- /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
3
-
4
- /**
5
- * 1. Change the default font family in all browsers (opinionated).
6
- * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
7
- */
8
-
9
- html {
10
- font-family: sans-serif; /* 1 */
11
- -ms-text-size-adjust: 100%; /* 2 */
12
- -webkit-text-size-adjust: 100%; /* 2 */
13
- }
14
-
15
- /**
16
- * Remove the margin in all browsers (opinionated).
17
- */
18
-
19
- body {
20
- margin: 0;
21
- }
22
-
23
- /* HTML5 display definitions
24
- ========================================================================== */
25
-
26
- /**
27
- * Add the correct display in IE 9-.
28
- * 1. Add the correct display in Edge, IE, and Firefox.
29
- * 2. Add the correct display in IE.
30
- */
31
-
32
- article,
33
- aside,
34
- details, /* 1 */
35
- figcaption,
36
- figure,
37
- footer,
38
- header,
39
- main, /* 2 */
40
- menu,
41
- nav,
42
- section { /* 1 */
43
- display: block;
44
- }
45
-
46
- summary {
47
- display: list-item;
48
- }
49
-
50
- /**
51
- * Add the correct display in IE 9-.
52
- */
53
-
54
- audio,
55
- canvas,
56
- progress,
57
- video {
58
- display: inline-block;
59
- }
60
-
61
- /**
62
- * Add the correct display in iOS 4-7.
63
- */
64
-
65
- audio:not([controls]) {
66
- display: none;
67
- height: 0;
68
- }
69
-
70
- /**
71
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
72
- */
73
-
74
- progress {
75
- vertical-align: baseline;
76
- }
77
-
78
- /**
79
- * Add the correct display in IE 10-.
80
- * 1. Add the correct display in IE.
81
- */
82
-
83
- template, /* 1 */
84
- [hidden] {
85
- display: none !important;
86
- }
87
-
88
- /* Links
89
- ========================================================================== */
90
-
91
- /**
92
- * Remove the gray background on active links in IE 10.
93
- */
94
-
95
- a {
96
- background-color: transparent; /* 1 */
97
- }
98
-
99
- /**
100
- * Remove the outline on focused links when they are also active or hovered
101
- * in all browsers (opinionated).
102
- */
103
-
104
- a:active,
105
- a:hover {
106
- outline-width: 0;
107
- }
108
-
109
- /* Text-level semantics
110
- ========================================================================== */
111
-
112
- /**
113
- * 1. Remove the bottom border in Firefox 39-.
114
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
115
- */
116
-
117
- abbr[title] {
118
- border-bottom: none; /* 1 */
119
- text-decoration: underline; /* 2 */
120
- text-decoration: underline dotted; /* 2 */
121
- }
122
-
123
- /**
124
- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
125
- */
126
-
127
- b,
128
- strong {
129
- font-weight: inherit;
130
- }
131
-
132
- /**
133
- * Add the correct font weight in Chrome, Edge, and Safari.
134
- */
135
-
136
- b,
137
- strong {
138
- font-weight: bolder;
139
- }
140
-
141
- /**
142
- * Add the correct font style in Android 4.3-.
143
- */
144
-
145
- dfn {
146
- font-style: italic;
147
- }
148
-
149
- /**
150
- * Correct the font size and margin on `h1` elements within `section` and
151
- * `article` contexts in Chrome, Firefox, and Safari.
152
- */
153
-
154
- h1 {
155
- font-size: 2em;
156
- margin: 0.67em 0;
157
- }
158
-
159
- /**
160
- * Add the correct background and color in IE 9-.
161
- */
162
-
163
- mark {
164
- background-color: #ff0;
165
- color: #000;
166
- }
167
-
168
- /**
169
- * Add the correct font size in all browsers.
170
- */
171
-
172
- small {
173
- font-size: 80%;
174
- }
175
-
176
- /**
177
- * Prevent `sub` and `sup` elements from affecting the line height in
178
- * all browsers.
179
- */
180
-
181
- sub,
182
- sup {
183
- font-size: 75%;
184
- line-height: 0;
185
- position: relative;
186
- vertical-align: baseline;
187
- }
188
-
189
- sub {
190
- bottom: -0.25em;
191
- }
192
-
193
- sup {
194
- top: -0.5em;
195
- }
196
-
197
- /* Embedded content
198
- ========================================================================== */
199
-
200
- /**
201
- * Remove the border on images inside links in IE 10-.
202
- */
203
-
204
- img {
205
- border-style: none;
206
- }
207
-
208
- /**
209
- * Hide the overflow in IE.
210
- */
211
-
212
- svg:not(:root) {
213
- overflow: hidden;
214
- }
215
-
216
- /* Grouping content
217
- ========================================================================== */
218
-
219
- /**
220
- * 1. Correct the inheritance and scaling of font size in all browsers.
221
- * 2. Correct the odd `em` font sizing in all browsers.
222
- */
223
-
224
- code,
225
- kbd,
226
- pre,
227
- samp {
228
- font-family: monospace, monospace; /* 1 */
229
- font-size: 1em; /* 2 */
230
- }
231
-
232
- /**
233
- * Add the correct margin in IE 8.
234
- */
235
-
236
- figure {
237
- margin: 1em 40px;
238
- }
239
-
240
- /**
241
- * 1. Add the correct box sizing in Firefox.
242
- * 2. Show the overflow in Edge and IE.
243
- */
244
-
245
- hr {
246
- box-sizing: content-box; /* 1 */
247
- height: 0; /* 1 */
248
- overflow: visible; /* 2 */
249
- }
250
-
251
- /* Forms
252
- ========================================================================== */
253
-
254
- /**
255
- * 1. Change font properties to `inherit` in all browsers (opinionated).
256
- * 2. Remove the margin in Firefox and Safari.
257
- */
258
-
259
- button,
260
- input,
261
- select,
262
- textarea {
263
- font: inherit; /* 1 */
264
- margin: 0; /* 2 */
265
- }
266
-
267
- /**
268
- * Restore the font weight unset by the previous rule.
269
- */
270
-
271
- optgroup {
272
- font-weight: bold;
273
- }
274
-
275
- /**
276
- * Show the overflow in IE.
277
- * 1. Show the overflow in Edge.
278
- */
279
-
280
- button,
281
- input { /* 1 */
282
- overflow: visible;
283
- }
284
-
285
- /**
286
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
287
- * 1. Remove the inheritance of text transform in Firefox.
288
- */
289
-
290
- button,
291
- select { /* 1 */
292
- text-transform: none;
293
- }
294
-
295
- /**
296
- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
297
- * controls in Android 4.
298
- * 2. Correct the inability to style clickable types in iOS and Safari.
299
- */
300
-
301
- button,
302
- html [type="button"], /* 1 */
303
- [type="reset"],
304
- [type="submit"] {
305
- -webkit-appearance: button; /* 2 */
306
- }
307
-
308
- /**
309
- * Remove the inner border and padding in Firefox.
310
- */
311
-
312
- button::-moz-focus-inner,
313
- [type="button"]::-moz-focus-inner,
314
- [type="reset"]::-moz-focus-inner,
315
- [type="submit"]::-moz-focus-inner {
316
- border-style: none;
317
- padding: 0;
318
- }
319
-
320
- /**
321
- * Restore the focus styles unset by the previous rule.
322
- */
323
-
324
- button:-moz-focusring,
325
- [type="button"]:-moz-focusring,
326
- [type="reset"]:-moz-focusring,
327
- [type="submit"]:-moz-focusring {
328
- outline: 1px dotted ButtonText;
329
- }
330
-
331
- /**
332
- * Change the border, margin, and padding in all browsers (opinionated).
333
- */
334
-
335
- fieldset {
336
- border: 1px solid #c0c0c0;
337
- margin: 0 2px;
338
- padding: 0.35em 0.625em 0.75em;
339
- }
340
-
341
- /**
342
- * 1. Correct the text wrapping in Edge and IE.
343
- * 2. Correct the color inheritance from `fieldset` elements in IE.
344
- * 3. Remove the padding so developers are not caught out when they zero out
345
- * `fieldset` elements in all browsers.
346
- */
347
-
348
- legend {
349
- box-sizing: border-box; /* 1 */
350
- color: inherit; /* 2 */
351
- display: table; /* 1 */
352
- max-width: 100%; /* 1 */
353
- padding: 0; /* 3 */
354
- white-space: normal; /* 1 */
355
- }
356
-
357
- /**
358
- * Remove the default vertical scrollbar in IE.
359
- */
360
-
361
- textarea {
362
- overflow: auto;
363
- }
364
-
365
- /**
366
- * 1. Add the correct box sizing in IE 10-.
367
- * 2. Remove the padding in IE 10-.
368
- */
369
-
370
- [type="checkbox"],
371
- [type="radio"] {
372
- box-sizing: border-box; /* 1 */
373
- padding: 0; /* 2 */
374
- }
375
-
376
- /**
377
- * Correct the cursor style of increment and decrement buttons in Chrome.
378
- */
379
-
380
- [type="number"]::-webkit-inner-spin-button,
381
- [type="number"]::-webkit-outer-spin-button {
382
- height: auto;
383
- }
384
-
385
- /**
386
- * 1. Correct the odd appearance in Chrome and Safari.
387
- * 2. Correct the outline style in Safari.
388
- */
389
-
390
- [type="search"] {
391
- -webkit-appearance: textfield; /* 1 */
392
- outline-offset: -2px; /* 2 */
393
- }
394
-
395
- /**
396
- * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
397
- */
398
-
399
- [type="search"]::-webkit-search-cancel-button,
400
- [type="search"]::-webkit-search-decoration {
401
- -webkit-appearance: none;
402
- }
403
-
404
- /**
405
- * Correct the text style of placeholders in Chrome, Edge, and Safari.
406
- */
407
-
408
- ::-webkit-input-placeholder {
409
- color: inherit;
410
- opacity: 0.54;
411
- }
412
-
413
- /**
414
- * 1. Correct the inability to style clickable types in iOS and Safari.
415
- * 2. Change font properties to `inherit` in Safari.
416
- */
417
-
418
- ::-webkit-file-upload-button {
419
- -webkit-appearance: button; /* 1 */
420
- font: inherit; /* 2 */
421
- }
@@ -1,86 +0,0 @@
1
- // Headings
2
- // --------------------------------------------------
3
- // stylelint-disable selector-max-type
4
- h1,
5
- h2,
6
- h3,
7
- h4,
8
- h5,
9
- h6 {
10
- margin-top: 0;
11
- margin-bottom: 0;
12
- }
13
-
14
- h1 { @include h1; }
15
- h2 { @include h2; }
16
- h3 { @include h3; }
17
- h4 { @include h4; }
18
- h5 { @include h5; }
19
- h6 { @include h6; }
20
-
21
- // Body text
22
- // --------------------------------------------------
23
-
24
- p {
25
- margin-top: 0;
26
- margin-bottom: 10px;
27
- }
28
-
29
- small {
30
- font-size: 90%;
31
- }
32
-
33
- blockquote {
34
- margin: 0;
35
- }
36
-
37
- // Lists
38
- // --------------------------------------------------
39
-
40
- ul,
41
- ol {
42
- padding-left: 0;
43
- margin-top: 0;
44
- margin-bottom: 0;
45
- }
46
-
47
- ol ol,
48
- ul ol {
49
- list-style-type: lower-roman;
50
- }
51
-
52
- ul ul ol,
53
- ul ol ol,
54
- ol ul ol,
55
- ol ol ol {
56
- list-style-type: lower-alpha;
57
- }
58
-
59
- dd {
60
- margin-left: 0;
61
- }
62
-
63
- // Code
64
- // --------------------------------------------------
65
-
66
- tt,
67
- code {
68
- font-family: $mono-font;
69
- font-size: $font-size-small;
70
- }
71
-
72
- pre {
73
- margin-top: 0;
74
- margin-bottom: 0;
75
- font-family: $mono-font;
76
- font-size: $font-size-small;
77
- }
78
-
79
- // Octicons
80
- // --------------------------------------------------
81
-
82
- // Move this over here as a temporary override to the octicons source repo
83
- // instead of updating that upstream.
84
- .octicon {
85
- vertical-align: text-bottom;
86
- }