truesight-rtd-theme 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +100 -0
  4. data/_includes/README.md +9 -0
  5. data/_includes/common/assets/data.liquid +3 -0
  6. data/_includes/common/assets/robots.liquid +4 -0
  7. data/_includes/common/assets/sitemap.liquid +12 -0
  8. data/_includes/common/assets/sw.caches.js +39 -0
  9. data/_includes/common/core/_list.liquid +15 -0
  10. data/_includes/common/core/list.liquid +10 -0
  11. data/_includes/common/google_adsense.liquid +3 -0
  12. data/_includes/common/google_gtag.liquid +11 -0
  13. data/_includes/common/links.liquid +26 -0
  14. data/_includes/common/mathjax.liquid +6 -0
  15. data/_includes/common/mermaid.liquid +10 -0
  16. data/_includes/common/metadata.liquid +12 -0
  17. data/_includes/common/opengraph.liquid +8 -0
  18. data/_includes/common/rest/content.liquid +6 -0
  19. data/_includes/common/rest/defaults.liquid +7 -0
  20. data/_includes/common/rest/description.liquid +6 -0
  21. data/_includes/common/rest/i18n.liquid +1 -0
  22. data/_includes/common/rest/nav.liquid +20 -0
  23. data/_includes/common/rest/site_pages.liquid +8 -0
  24. data/_includes/common/rest/tabs.liquid +2 -0
  25. data/_includes/common/rest/title.liquid +18 -0
  26. data/_includes/common/rest/variables.liquid +41 -0
  27. data/_includes/common/rest/workdir.liquid +19 -0
  28. data/_includes/common/schema.liquid +27 -0
  29. data/_includes/common/script.liquid +11 -0
  30. data/_includes/common/title.liquid +1 -0
  31. data/_includes/common/twitter_cards.liquid +6 -0
  32. data/_includes/extra/body.html +0 -0
  33. data/_includes/extra/head.html +0 -0
  34. data/_includes/extra/script.js +0 -0
  35. data/_includes/extra/styles.scss +0 -0
  36. data/_includes/list.liquid +1 -0
  37. data/_includes/rest/defaults.liquid +2 -0
  38. data/_includes/rest/script.liquid +7 -0
  39. data/_includes/rest/styles.liquid +5 -0
  40. data/_includes/shortcodes/danger.liquid +9 -0
  41. data/_includes/shortcodes/mermaid.liquid +3 -0
  42. data/_includes/shortcodes/note.liquid +9 -0
  43. data/_includes/shortcodes/tip.liquid +9 -0
  44. data/_includes/shortcodes/warning.liquid +9 -0
  45. data/_includes/templates/_toctree.liquid +41 -0
  46. data/_includes/templates/addons.liquid +43 -0
  47. data/_includes/templates/breadcrumbs.liquid +33 -0
  48. data/_includes/templates/content.liquid +20 -0
  49. data/_includes/templates/footer.liquid +54 -0
  50. data/_includes/templates/sidebar.liquid +18 -0
  51. data/_includes/templates/toctree.liquid +23 -0
  52. data/_layouts/default.liquid +32 -0
  53. data/_layouts/tasks/compress.liquid +21 -0
  54. data/_layouts/tasks/shortcodes.liquid +33 -0
  55. data/_sass/_direction.scss +107 -0
  56. data/_sass/_font-face.scss +66 -0
  57. data/_sass/_layout.scss +76 -0
  58. data/_sass/_rest.scss +26 -0
  59. data/_sass/_root.scss +9 -0
  60. data/_sass/_variables.scss +34 -0
  61. data/_sass/core/addons.scss +39 -0
  62. data/_sass/core/container.scss +11 -0
  63. data/_sass/core/content.scss +4 -0
  64. data/_sass/core/header.scss +10 -0
  65. data/_sass/core/markdown.scss +113 -0
  66. data/_sass/core/sidebar.scss +100 -0
  67. data/_sass/core/title.scss +12 -0
  68. data/_sass/core/toasts.scss +53 -0
  69. data/_sass/lib/@primer/css/base/README.md +24 -0
  70. data/_sass/lib/@primer/css/base/base.scss +90 -0
  71. data/_sass/lib/@primer/css/base/index.scss +6 -0
  72. data/_sass/lib/@primer/css/base/kbd.scss +21 -0
  73. data/_sass/lib/@primer/css/base/normalize.scss +424 -0
  74. data/_sass/lib/@primer/css/base/typography-base.scss +100 -0
  75. data/_sass/lib/@primer/css/breadcrumb/README.md +24 -0
  76. data/_sass/lib/@primer/css/breadcrumb/breadcrumb.scss +28 -0
  77. data/_sass/lib/@primer/css/breadcrumb/index.scss +3 -0
  78. data/_sass/lib/@primer/css/buttons/README.md +24 -0
  79. data/_sass/lib/@primer/css/buttons/button-group.scss +91 -0
  80. data/_sass/lib/@primer/css/buttons/button.scss +296 -0
  81. data/_sass/lib/@primer/css/buttons/index.scss +4 -0
  82. data/_sass/lib/@primer/css/buttons/misc.scss +205 -0
  83. data/_sass/lib/@primer/css/forms/README.md +24 -0
  84. data/_sass/lib/@primer/css/forms/form-control.scss +281 -0
  85. data/_sass/lib/@primer/css/forms/form-group.scss +279 -0
  86. data/_sass/lib/@primer/css/forms/form-select.scss +38 -0
  87. data/_sass/lib/@primer/css/forms/form-validation.scss +369 -0
  88. data/_sass/lib/@primer/css/forms/index.scss +7 -0
  89. data/_sass/lib/@primer/css/forms/input-group.scss +53 -0
  90. data/_sass/lib/@primer/css/forms/radio-group.scss +43 -0
  91. data/_sass/lib/@primer/css/loaders/README.md +24 -0
  92. data/_sass/lib/@primer/css/loaders/index.scss +2 -0
  93. data/_sass/lib/@primer/css/loaders/loaders.scss +21 -0
  94. data/_sass/lib/@primer/css/markdown/README.md +24 -0
  95. data/_sass/lib/@primer/css/markdown/blob-csv.scss +31 -0
  96. data/_sass/lib/@primer/css/markdown/code.scss +73 -0
  97. data/_sass/lib/@primer/css/markdown/headings.scss +72 -0
  98. data/_sass/lib/@primer/css/markdown/images.scss +131 -0
  99. data/_sass/lib/@primer/css/markdown/index.scss +8 -0
  100. data/_sass/lib/@primer/css/markdown/lists.scss +77 -0
  101. data/_sass/lib/@primer/css/markdown/markdown-body.scss +99 -0
  102. data/_sass/lib/@primer/css/markdown/tables.scss +38 -0
  103. data/_sass/lib/@primer/css/support/README.md +24 -0
  104. data/_sass/lib/@primer/css/support/index.scss +11 -0
  105. data/_sass/lib/@primer/css/support/mixins/buttons.scss +184 -0
  106. data/_sass/lib/@primer/css/support/mixins/layout.scss +55 -0
  107. data/_sass/lib/@primer/css/support/mixins/misc.scss +32 -0
  108. data/_sass/lib/@primer/css/support/mixins/typography.scss +88 -0
  109. data/_sass/lib/@primer/css/support/variables/color-system.scss +243 -0
  110. data/_sass/lib/@primer/css/support/variables/colors.scss +55 -0
  111. data/_sass/lib/@primer/css/support/variables/layout.scss +149 -0
  112. data/_sass/lib/@primer/css/support/variables/misc.scss +43 -0
  113. data/_sass/lib/@primer/css/support/variables/typography.scss +43 -0
  114. data/_sass/lib/@primer/css/utilities/README.md +24 -0
  115. data/_sass/lib/@primer/css/utilities/animations.scss +187 -0
  116. data/_sass/lib/@primer/css/utilities/borders.scss +187 -0
  117. data/_sass/lib/@primer/css/utilities/box-shadow.scss +25 -0
  118. data/_sass/lib/@primer/css/utilities/colors.scss +185 -0
  119. data/_sass/lib/@primer/css/utilities/details.scss +34 -0
  120. data/_sass/lib/@primer/css/utilities/flexbox.scss +124 -0
  121. data/_sass/lib/@primer/css/utilities/index.scss +14 -0
  122. data/_sass/lib/@primer/css/utilities/layout.scss +151 -0
  123. data/_sass/lib/@primer/css/utilities/margin.scss +68 -0
  124. data/_sass/lib/@primer/css/utilities/padding.scss +59 -0
  125. data/_sass/lib/@primer/css/utilities/typography.scss +325 -0
  126. data/_sass/lib/@primer/css/utilities/visibility-display.scss +82 -0
  127. data/_sass/lib/font-awesome/_icons.scss +2139 -0
  128. data/_sass/lib/font-awesome/_variables.scss +799 -0
  129. data/_sass/lib/material-design-lite/_color-definitions.scss +378 -0
  130. data/_sass/lib/material-design-lite/_functions.scss +19 -0
  131. data/_sass/lib/material-design-lite/_mixins.scss +301 -0
  132. data/_sass/lib/material-design-lite/_variables.scss +612 -0
  133. data/_sass/lib/rouge/github.scss +214 -0
  134. data/_sass/theme.scss +37 -0
  135. data/assets/404.liquid +9 -0
  136. data/assets/css/fonts/Roboto-Slab-Bold.woff +0 -0
  137. data/assets/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  138. data/assets/css/fonts/Roboto-Slab-Regular.woff +0 -0
  139. data/assets/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  140. data/assets/css/fonts/fontawesome-webfont.eot +0 -0
  141. data/assets/css/fonts/fontawesome-webfont.svg +2671 -0
  142. data/assets/css/fonts/fontawesome-webfont.ttf +0 -0
  143. data/assets/css/fonts/fontawesome-webfont.woff +0 -0
  144. data/assets/css/fonts/fontawesome-webfont.woff2 +0 -0
  145. data/assets/css/fonts/lato-bold-italic.woff +0 -0
  146. data/assets/css/fonts/lato-bold-italic.woff2 +0 -0
  147. data/assets/css/fonts/lato-bold.woff +0 -0
  148. data/assets/css/fonts/lato-bold.woff2 +0 -0
  149. data/assets/css/fonts/lato-normal-italic.woff +0 -0
  150. data/assets/css/fonts/lato-normal-italic.woff2 +0 -0
  151. data/assets/css/fonts/lato-normal.woff +0 -0
  152. data/assets/css/fonts/lato-normal.woff2 +0 -0
  153. data/assets/css/theme.min.css +1 -0
  154. data/assets/css/theme.scss +4 -0
  155. data/assets/data.liquid +6 -0
  156. data/assets/images/apple-touch-icon-300x300.jpg +0 -0
  157. data/assets/images/favicon-16x16.png +0 -0
  158. data/assets/images/favicon-32x32.png +0 -0
  159. data/assets/images/favicon-96x96.png +0 -0
  160. data/assets/images/favicon.liquid +13 -0
  161. data/assets/js/jquery.min.js +2 -0
  162. data/assets/js/mermaid.min.js +31 -0
  163. data/assets/js/theme.js +287 -0
  164. data/assets/js/theme.min.js +1 -0
  165. data/assets/robots.liquid +6 -0
  166. data/assets/search.liquid +12 -0
  167. data/assets/sitemap.liquid +6 -0
  168. data/assets/sw.caches.liquid +8 -0
  169. metadata +224 -0
@@ -0,0 +1,325 @@
1
+ // stylelint-disable block-closing-brace-space-before, comment-empty-line-before
2
+
3
+ // Type scale variables found in ../support/lib/variables.scss
4
+ // $h00-size-mobile: 40px;
5
+ // $h0-size-mobile: 32px;
6
+ // $h1-size-mobile: 26px;
7
+ // $h2-size-mobile: 22px;
8
+ // $h3-size-mobile: 18px;
9
+ // $h00-size: 48px;
10
+ // $h0-size: 40px;
11
+ // $h1-size: 32px;
12
+ // $h2-size: 24px;
13
+ // $h3-size: 20px;
14
+ // $h4-size: 16px;
15
+ // $h5-size: 14px;
16
+ // $h6-size: 12px;
17
+
18
+ /* Set the font size to 26px */
19
+ .h1 {
20
+ // stylelint-disable-next-line primer/typography
21
+ font-size: $h1-size-mobile !important;
22
+
23
+ @include breakpoint(md) {
24
+ font-size: $h1-size !important;
25
+ }
26
+ }
27
+
28
+ /* Set the font size to 22px */
29
+ .h2 {
30
+ // stylelint-disable-next-line primer/typography
31
+ font-size: $h2-size-mobile !important;
32
+
33
+ @include breakpoint(md) {
34
+ font-size: $h2-size !important;
35
+ }
36
+ }
37
+
38
+ /* Set the font size to 18px */
39
+ .h3 {
40
+ // stylelint-disable-next-line primer/typography
41
+ font-size: $h3-size-mobile !important;
42
+
43
+ @include breakpoint(md) {
44
+ font-size: $h3-size !important;
45
+ }
46
+ }
47
+
48
+ /* Set the font size to #{$h4-size} */
49
+ .h4 {
50
+ font-size: $h4-size !important;
51
+ }
52
+
53
+ /* Set the font size to #{$h5-size} */
54
+ .h5 {
55
+ font-size: $h5-size !important;
56
+ }
57
+
58
+ // Does not include color property like typography base
59
+ // styles, color should be applied with color utilities.
60
+ /* Set the font size to #{$h6-size} */
61
+ .h6 {
62
+ font-size: $h6-size !important;
63
+ }
64
+
65
+ // Heading utilities
66
+ .h1,
67
+ .h2,
68
+ .h3,
69
+ .h4,
70
+ .h5,
71
+ .h6 {
72
+ font-weight: $font-weight-bold !important;
73
+ }
74
+
75
+ // Type utilities that match type sale
76
+ /* Set the font size to 26px */
77
+ .f1 {
78
+ // stylelint-disable-next-line primer/typography
79
+ font-size: $h1-size-mobile !important;
80
+
81
+ @include breakpoint(md) {
82
+ font-size: $h1-size !important;
83
+ }
84
+ }
85
+
86
+ /* Set the font size to 22px */
87
+ .f2 {
88
+ // stylelint-disable-next-line primer/typography
89
+ font-size: $h2-size-mobile !important;
90
+
91
+ @include breakpoint(md) {
92
+ font-size: $h2-size !important;
93
+ }
94
+ }
95
+
96
+ /* Set the font size to 18px */
97
+ .f3 {
98
+ // stylelint-disable-next-line primer/typography
99
+ font-size: $h3-size-mobile !important;
100
+
101
+ @include breakpoint(md) {
102
+ font-size: $h3-size !important;
103
+ }
104
+ }
105
+
106
+ /* Set the font size to #{$h4-size} */
107
+ .f4 {
108
+ font-size: $h4-size !important;
109
+
110
+ @include breakpoint(md) {
111
+ font-size: $h4-size !important;
112
+ }
113
+ }
114
+
115
+ /* Set the font size to #{$h5-size} */
116
+ .f5 {
117
+ font-size: $h5-size !important;
118
+ }
119
+ /* Set the font size to #{$h6-size} */
120
+ .f6 {
121
+ font-size: $h6-size !important;
122
+ }
123
+
124
+ // Type utils with light weight that match type scale
125
+ /* Set the font size to 40px and weight to light */
126
+ .f00-light {
127
+ // stylelint-disable-next-line primer/typography
128
+ font-size: $h00-size-mobile !important;
129
+ font-weight: $font-weight-light !important;
130
+
131
+ @include breakpoint(md) {
132
+ font-size: $h00-size !important;
133
+ }
134
+ }
135
+
136
+ /* Set the font size to 32px and weight to light */
137
+ .f0-light {
138
+ // stylelint-disable-next-line primer/typography
139
+ font-size: $h0-size-mobile !important;
140
+ font-weight: $font-weight-light !important;
141
+
142
+ @include breakpoint(md) {
143
+ font-size: $h0-size !important;
144
+ }
145
+ }
146
+
147
+ /* Set the font size to 26px and weight to light */
148
+ .f1-light {
149
+ // stylelint-disable-next-line primer/typography
150
+ font-size: $h1-size-mobile !important;
151
+ font-weight: $font-weight-light !important;
152
+
153
+ @include breakpoint(md) {
154
+ font-size: $h1-size !important;
155
+ }
156
+ }
157
+
158
+ /* Set the font size to 22px and weight to light */
159
+ .f2-light {
160
+ // stylelint-disable-next-line primer/typography
161
+ font-size: $h2-size-mobile !important;
162
+ font-weight: $font-weight-light !important;
163
+
164
+ @include breakpoint(md) {
165
+ font-size: $h2-size !important;
166
+ }
167
+ }
168
+
169
+ // Same size and weight as .lead but without color property
170
+ /* Set the font size to 18px and weight to light */
171
+ .f3-light {
172
+ // stylelint-disable-next-line primer/typography
173
+ font-size: $h3-size-mobile !important;
174
+ font-weight: $font-weight-light !important;
175
+
176
+ @include breakpoint(md) {
177
+ font-size: $h3-size !important;
178
+ }
179
+ }
180
+
181
+ // Smallest text size
182
+ /* Set the font size to ${#h6-size} */
183
+ .text-small {
184
+ font-size: $h6-size !important;
185
+ } // 12px
186
+
187
+ /* Large leading paragraphs */
188
+ .lead {
189
+ // stylelint-disable-next-line primer/spacing
190
+ margin-bottom: 30px;
191
+ font-size: $h3-size;
192
+ font-weight: $font-weight-light;
193
+ color: $text-gray;
194
+ }
195
+
196
+ // Line-height variations
197
+ // Close to commonly used line-heights. Most line-heights
198
+ // combined with type size equate to whole pixels.
199
+ // Will be improved with future typography scale updates.
200
+ // Responsive line-height
201
+ @each $breakpoint, $variant in $responsive-variants {
202
+ @include breakpoint($breakpoint) {
203
+ /* Set the line height to ultra condensed */
204
+ .lh#{$variant}-condensed-ultra {
205
+ line-height: $lh-condensed-ultra !important;
206
+ }
207
+ /* Set the line height to condensed */
208
+ .lh#{$variant}-condensed {
209
+ line-height: $lh-condensed !important;
210
+ }
211
+ /* Set the line height to default */
212
+ .lh#{$variant}-default {
213
+ line-height: $lh-default !important;
214
+ }
215
+ /* Set the line height to zero */
216
+ .lh#{$variant}-0 {
217
+ line-height: 0 !important;
218
+ }
219
+ }
220
+ }
221
+
222
+ // Text alignments
223
+ // Responsive text alignment
224
+ @each $breakpoint, $variant in $responsive-variants {
225
+ @include breakpoint($breakpoint) {
226
+ /* Text align to the right */
227
+ .text#{$variant}-right {
228
+ text-align: right !important;
229
+ }
230
+ /* Text align to the left */
231
+ .text#{$variant}-left {
232
+ text-align: left !important;
233
+ }
234
+ /* Text align to the center */
235
+ .text#{$variant}-center {
236
+ text-align: center !important;
237
+ }
238
+ }
239
+ }
240
+
241
+ // Text styles
242
+ /* Set the font weight to normal */
243
+ .text-normal {
244
+ font-weight: $font-weight-normal !important;
245
+ }
246
+ /* Set the font weight to bold */
247
+ .text-bold {
248
+ font-weight: $font-weight-bold !important;
249
+ }
250
+ /* Set the font to italic */
251
+ .text-italic {
252
+ font-style: italic !important;
253
+ }
254
+ /* Make text uppercase */
255
+ .text-uppercase {
256
+ text-transform: uppercase !important;
257
+ }
258
+ /* Underline text */
259
+ .text-underline {
260
+ text-decoration: underline !important;
261
+ }
262
+ /* Don't underline text */
263
+ .no-underline {
264
+ text-decoration: none !important;
265
+ }
266
+ /* Don't wrap white space */
267
+ .no-wrap {
268
+ white-space: nowrap !important;
269
+ }
270
+ /* Normal white space */
271
+ .ws-normal {
272
+ white-space: normal !important;
273
+ }
274
+
275
+ /* Force long "words" to wrap if they exceed the width of the container */
276
+ .break-word {
277
+ word-break: break-word !important;
278
+ // this is for backwards compatibility with browsers that don't respect overflow-wrap
279
+ word-wrap: break-word !important;
280
+ overflow-wrap: break-word !important;
281
+ }
282
+
283
+ /*
284
+ * Specifically apply word-break: break-all; per MDN:
285
+ *
286
+ * > Note: In contrast to `word-break: break-word` and `overflow-wrap: break-word`,
287
+ * > `word-break: break-all` will create a break at the exact place where text would
288
+ * > otherwise overflow its container (even if putting an entire word on its own line
289
+ * > would negate the need for a break).
290
+ *
291
+ * see: https://developer.mozilla.org/en-US/docs/Web/CSS/word-break#Values
292
+ */
293
+ .wb-break-all {
294
+ word-break: break-all !important;
295
+ }
296
+
297
+ .text-emphasized {
298
+ font-weight: $font-weight-bold;
299
+ color: $text-gray-dark;
300
+ }
301
+
302
+ // List styles
303
+ .list-style-none {
304
+ list-style: none !important;
305
+ }
306
+
307
+ // Text Shadows
308
+ /* Add a dark text shadow */
309
+ .text-shadow-dark {
310
+ text-shadow: 0 1px 1px rgba($black, 0.25), 0 1px 25px rgba($black, 0.75);
311
+ }
312
+ /* Add a light text shadow */
313
+ .text-shadow-light {
314
+ text-shadow: 0 1px 0 rgba($white, 0.5);
315
+ }
316
+
317
+ /* Set to monospace font */
318
+ .text-mono {
319
+ font-family: $mono-font !important;
320
+ }
321
+
322
+ /* Disallow user from selecting text */
323
+ .user-select-none {
324
+ user-select: none !important;
325
+ }
@@ -0,0 +1,82 @@
1
+ // Visibility and display utilities
2
+
3
+ // Responsive display utilities
4
+ @each $breakpoint, $variant in $responsive-variants {
5
+ @include breakpoint($breakpoint) {
6
+ @each $display in $display-values {
7
+ .d#{$variant}-#{$display} {
8
+ display: $display !important;
9
+ }
10
+ }
11
+ }
12
+ }
13
+
14
+ .v-hidden {
15
+ visibility: hidden !important;
16
+ }
17
+ .v-visible {
18
+ visibility: visible !important;
19
+ }
20
+
21
+ // Hide utilities for each breakpoint
22
+ // Each hide utility only applies to one breakpoint range.
23
+ @media (max-width: $width-sm - 1px) {
24
+ .hide-sm {
25
+ display: none !important;
26
+ }
27
+ }
28
+
29
+ @media (min-width: $width-sm) and (max-width: $width-md - 1px) {
30
+ .hide-md {
31
+ display: none !important;
32
+ }
33
+ }
34
+
35
+ @media (min-width: $width-md) and (max-width: $width-lg - 1px) {
36
+ .hide-lg {
37
+ display: none !important;
38
+ }
39
+ }
40
+
41
+ @media (min-width: $width-lg) {
42
+ .hide-xl {
43
+ display: none !important;
44
+ }
45
+ }
46
+
47
+ /* Set the table-layout to fixed */
48
+ .table-fixed {
49
+ table-layout: fixed !important;
50
+ }
51
+
52
+ // Only display content to screen readers
53
+ //
54
+ // See: http://a11yproject.com/posts/how-to-hide-content/
55
+ .sr-only {
56
+ position: absolute;
57
+ width: 1px;
58
+ height: 1px;
59
+ padding: 0;
60
+ overflow: hidden;
61
+ clip: rect(0, 0, 0, 0);
62
+ // Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1241631
63
+ word-wrap: normal;
64
+ border: 0;
65
+ }
66
+
67
+ // Only display content on focus
68
+ .show-on-focus {
69
+ position: absolute;
70
+ width: 1px;
71
+ height: 1px;
72
+ margin: 0;
73
+ overflow: hidden;
74
+ clip: rect(1px, 1px, 1px, 1px);
75
+
76
+ &:focus {
77
+ z-index: 20;
78
+ width: auto;
79
+ height: auto;
80
+ clip: auto;
81
+ }
82
+ }