jekyll-theme-warpcore 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +29 -0
  4. data/_data/nav.yml +7 -0
  5. data/_includes/docsearch.html +15 -0
  6. data/_includes/footer-links.html +120 -0
  7. data/_includes/mathjax.html +25 -0
  8. data/_includes/menu.svg +1 -0
  9. data/_includes/scripts.html +15 -0
  10. data/_includes/sidebar.html +44 -0
  11. data/_includes/toc.html +96 -0
  12. data/_layouts/default.html +45 -0
  13. data/_sass/.DS_Store +0 -0
  14. data/_sass/bootstrap/.DS_Store +0 -0
  15. data/_sass/bootstrap/_alert.scss +51 -0
  16. data/_sass/bootstrap/_badge.scss +54 -0
  17. data/_sass/bootstrap/_breadcrumb.scss +44 -0
  18. data/_sass/bootstrap/_button-group.scss +163 -0
  19. data/_sass/bootstrap/_buttons.scss +142 -0
  20. data/_sass/bootstrap/_card.scss +282 -0
  21. data/_sass/bootstrap/_carousel.scss +197 -0
  22. data/_sass/bootstrap/_close.scss +40 -0
  23. data/_sass/bootstrap/_code.scss +48 -0
  24. data/_sass/bootstrap/_custom-forms.scss +522 -0
  25. data/_sass/bootstrap/_dropdown.scss +192 -0
  26. data/_sass/bootstrap/_forms.scss +347 -0
  27. data/_sass/bootstrap/_functions.scss +141 -0
  28. data/_sass/bootstrap/_grid.scss +77 -0
  29. data/_sass/bootstrap/_images.scss +42 -0
  30. data/_sass/bootstrap/_input-group.scss +192 -0
  31. data/_sass/bootstrap/_jumbotron.scss +17 -0
  32. data/_sass/bootstrap/_list-group.scss +154 -0
  33. data/_sass/bootstrap/_media.scss +8 -0
  34. data/_sass/bootstrap/_mixins.scss +47 -0
  35. data/_sass/bootstrap/_modal.scss +241 -0
  36. data/_sass/bootstrap/_nav.scss +121 -0
  37. data/_sass/bootstrap/_navbar.scss +324 -0
  38. data/_sass/bootstrap/_pagination.scss +74 -0
  39. data/_sass/bootstrap/_popover.scss +170 -0
  40. data/_sass/bootstrap/_print.scss +141 -0
  41. data/_sass/bootstrap/_progress.scss +47 -0
  42. data/_sass/bootstrap/_reboot.scss +480 -0
  43. data/_sass/bootstrap/_root.scss +20 -0
  44. data/_sass/bootstrap/_spinners.scss +56 -0
  45. data/_sass/bootstrap/_tables.scss +185 -0
  46. data/_sass/bootstrap/_toasts.scss +44 -0
  47. data/_sass/bootstrap/_tooltip.scss +115 -0
  48. data/_sass/bootstrap/_transitions.scss +20 -0
  49. data/_sass/bootstrap/_type.scss +125 -0
  50. data/_sass/bootstrap/_utilities.scss +18 -0
  51. data/_sass/bootstrap/_variables.scss +1147 -0
  52. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  53. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  54. data/_sass/bootstrap/bootstrap.scss +44 -0
  55. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  56. data/_sass/bootstrap/mixins/_background-variant.scss +23 -0
  57. data/_sass/bootstrap/mixins/_badge.scss +17 -0
  58. data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
  59. data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
  60. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  61. data/_sass/bootstrap/mixins/_buttons.scss +110 -0
  62. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  63. data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
  64. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  65. data/_sass/bootstrap/mixins/_float.scss +14 -0
  66. data/_sass/bootstrap/mixins/_forms.scss +177 -0
  67. data/_sass/bootstrap/mixins/_gradients.scss +45 -0
  68. data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
  69. data/_sass/bootstrap/mixins/_grid.scss +69 -0
  70. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  71. data/_sass/bootstrap/mixins/_image.scss +36 -0
  72. data/_sass/bootstrap/mixins/_list-group.scss +21 -0
  73. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  74. data/_sass/bootstrap/mixins/_nav-divider.scss +11 -0
  75. data/_sass/bootstrap/mixins/_pagination.scss +22 -0
  76. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  77. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  78. data/_sass/bootstrap/mixins/_screen-reader.scss +34 -0
  79. data/_sass/bootstrap/mixins/_size.scss +7 -0
  80. data/_sass/bootstrap/mixins/_table-row.scss +39 -0
  81. data/_sass/bootstrap/mixins/_text-emphasis.scss +17 -0
  82. data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
  83. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  84. data/_sass/bootstrap/mixins/_transition.scss +26 -0
  85. data/_sass/bootstrap/mixins/_visibility.scss +8 -0
  86. data/_sass/bootstrap/utilities/_align.scss +8 -0
  87. data/_sass/bootstrap/utilities/_background.scss +19 -0
  88. data/_sass/bootstrap/utilities/_borders.scss +75 -0
  89. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  90. data/_sass/bootstrap/utilities/_display.scss +26 -0
  91. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  92. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  93. data/_sass/bootstrap/utilities/_float.scss +11 -0
  94. data/_sass/bootstrap/utilities/_interactions.scss +5 -0
  95. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  96. data/_sass/bootstrap/utilities/_position.scss +32 -0
  97. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  98. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  99. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  100. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  101. data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
  102. data/_sass/bootstrap/utilities/_text.scss +71 -0
  103. data/_sass/bootstrap/utilities/_visibility.scss +13 -0
  104. data/_sass/bootstrap/vendor/_rfs.scss +204 -0
  105. data/_sass/jekyll-theme-warpcore.scss +2 -0
  106. data/_sass/warpcore/_anchor.scss +11 -0
  107. data/_sass/warpcore/_content.scss +166 -0
  108. data/_sass/warpcore/_docsearch.scss +8 -0
  109. data/_sass/warpcore/_footer-links.scss +20 -0
  110. data/_sass/warpcore/_sidebar.scss +126 -0
  111. data/_sass/warpcore/_syntax.scss +72 -0
  112. data/_sass/warpcore/_toc.scss +46 -0
  113. data/_sass/warpcore/warpcore.scss +7 -0
  114. data/assets/.DS_Store +0 -0
  115. data/assets/css/style.scss +4 -0
  116. data/assets/js/.DS_Store +0 -0
  117. data/assets/js/bootstrap.bundle.min.js +7 -0
  118. data/assets/js/bootstrap.bundle.min.js.map +1 -0
  119. data/assets/js/bootstrap.min.js +7 -0
  120. data/assets/js/bootstrap.min.js.map +1 -0
  121. metadata +280 -0
@@ -0,0 +1,282 @@
1
+ //
2
+ // Base styles
3
+ //
4
+
5
+ .card {
6
+ position: relative;
7
+ display: flex;
8
+ flex-direction: column;
9
+ min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
10
+ height: $card-height;
11
+ word-wrap: break-word;
12
+ background-color: $card-bg;
13
+ background-clip: border-box;
14
+ border: $card-border-width solid $card-border-color;
15
+ @include border-radius($card-border-radius);
16
+
17
+ > hr {
18
+ margin-right: 0;
19
+ margin-left: 0;
20
+ }
21
+
22
+ > .list-group {
23
+ border-top: inherit;
24
+ border-bottom: inherit;
25
+
26
+ &:first-child {
27
+ border-top-width: 0;
28
+ @include border-top-radius($card-inner-border-radius);
29
+ }
30
+
31
+ &:last-child {
32
+ border-bottom-width: 0;
33
+ @include border-bottom-radius($card-inner-border-radius);
34
+ }
35
+ }
36
+ }
37
+
38
+ .card-body {
39
+ // Enable `flex-grow: 1` for decks and groups so that card blocks take up
40
+ // as much space as possible, ensuring footers are aligned to the bottom.
41
+ flex: 1 1 auto;
42
+ // Workaround for the image size bug in IE
43
+ // See: https://github.com/twbs/bootstrap/pull/28855
44
+ min-height: 1px;
45
+ padding: $card-spacer-x;
46
+ color: $card-color;
47
+ }
48
+
49
+ .card-title {
50
+ margin-bottom: $card-spacer-y;
51
+ }
52
+
53
+ .card-subtitle {
54
+ margin-top: -$card-spacer-y / 2;
55
+ margin-bottom: 0;
56
+ }
57
+
58
+ .card-text:last-child {
59
+ margin-bottom: 0;
60
+ }
61
+
62
+ .card-link {
63
+ @include hover() {
64
+ text-decoration: none;
65
+ }
66
+
67
+ + .card-link {
68
+ margin-left: $card-spacer-x;
69
+ }
70
+ }
71
+
72
+ //
73
+ // Optional textual caps
74
+ //
75
+
76
+ .card-header {
77
+ padding: $card-spacer-y $card-spacer-x;
78
+ margin-bottom: 0; // Removes the default margin-bottom of <hN>
79
+ color: $card-cap-color;
80
+ background-color: $card-cap-bg;
81
+ border-bottom: $card-border-width solid $card-border-color;
82
+
83
+ &:first-child {
84
+ @include border-radius($card-inner-border-radius $card-inner-border-radius 0 0);
85
+ }
86
+
87
+ + .list-group {
88
+ .list-group-item:first-child {
89
+ border-top: 0;
90
+ }
91
+ }
92
+ }
93
+
94
+ .card-footer {
95
+ padding: $card-spacer-y $card-spacer-x;
96
+ color: $card-cap-color;
97
+ background-color: $card-cap-bg;
98
+ border-top: $card-border-width solid $card-border-color;
99
+
100
+ &:last-child {
101
+ @include border-radius(0 0 $card-inner-border-radius $card-inner-border-radius);
102
+ }
103
+ }
104
+
105
+
106
+ //
107
+ // Header navs
108
+ //
109
+
110
+ .card-header-tabs {
111
+ margin-right: -$card-spacer-x / 2;
112
+ margin-bottom: -$card-spacer-y;
113
+ margin-left: -$card-spacer-x / 2;
114
+ border-bottom: 0;
115
+ }
116
+
117
+ .card-header-pills {
118
+ margin-right: -$card-spacer-x / 2;
119
+ margin-left: -$card-spacer-x / 2;
120
+ }
121
+
122
+ // Card image
123
+ .card-img-overlay {
124
+ position: absolute;
125
+ top: 0;
126
+ right: 0;
127
+ bottom: 0;
128
+ left: 0;
129
+ padding: $card-img-overlay-padding;
130
+ }
131
+
132
+ .card-img,
133
+ .card-img-top,
134
+ .card-img-bottom {
135
+ flex-shrink: 0; // For IE: https://github.com/twbs/bootstrap/issues/29396
136
+ width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
137
+ }
138
+
139
+ .card-img,
140
+ .card-img-top {
141
+ @include border-top-radius($card-inner-border-radius);
142
+ }
143
+
144
+ .card-img,
145
+ .card-img-bottom {
146
+ @include border-bottom-radius($card-inner-border-radius);
147
+ }
148
+
149
+
150
+ // Card deck
151
+
152
+ .card-deck {
153
+ .card {
154
+ margin-bottom: $card-deck-margin;
155
+ }
156
+
157
+ @include media-breakpoint-up(sm) {
158
+ display: flex;
159
+ flex-flow: row wrap;
160
+ margin-right: -$card-deck-margin;
161
+ margin-left: -$card-deck-margin;
162
+
163
+ .card {
164
+ // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
165
+ flex: 1 0 0%;
166
+ margin-right: $card-deck-margin;
167
+ margin-bottom: 0; // Override the default
168
+ margin-left: $card-deck-margin;
169
+ }
170
+ }
171
+ }
172
+
173
+
174
+ //
175
+ // Card groups
176
+ //
177
+
178
+ .card-group {
179
+ // The child selector allows nested `.card` within `.card-group`
180
+ // to display properly.
181
+ > .card {
182
+ margin-bottom: $card-group-margin;
183
+ }
184
+
185
+ @include media-breakpoint-up(sm) {
186
+ display: flex;
187
+ flex-flow: row wrap;
188
+ // The child selector allows nested `.card` within `.card-group`
189
+ // to display properly.
190
+ > .card {
191
+ // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
192
+ flex: 1 0 0%;
193
+ margin-bottom: 0;
194
+
195
+ + .card {
196
+ margin-left: 0;
197
+ border-left: 0;
198
+ }
199
+
200
+ // Handle rounded corners
201
+ @if $enable-rounded {
202
+ &:not(:last-child) {
203
+ @include border-right-radius(0);
204
+
205
+ .card-img-top,
206
+ .card-header {
207
+ // stylelint-disable-next-line property-blacklist
208
+ border-top-right-radius: 0;
209
+ }
210
+ .card-img-bottom,
211
+ .card-footer {
212
+ // stylelint-disable-next-line property-blacklist
213
+ border-bottom-right-radius: 0;
214
+ }
215
+ }
216
+
217
+ &:not(:first-child) {
218
+ @include border-left-radius(0);
219
+
220
+ .card-img-top,
221
+ .card-header {
222
+ // stylelint-disable-next-line property-blacklist
223
+ border-top-left-radius: 0;
224
+ }
225
+ .card-img-bottom,
226
+ .card-footer {
227
+ // stylelint-disable-next-line property-blacklist
228
+ border-bottom-left-radius: 0;
229
+ }
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
235
+
236
+
237
+ //
238
+ // Columns
239
+ //
240
+
241
+ .card-columns {
242
+ .card {
243
+ margin-bottom: $card-columns-margin;
244
+ }
245
+
246
+ @include media-breakpoint-up(sm) {
247
+ column-count: $card-columns-count;
248
+ column-gap: $card-columns-gap;
249
+ orphans: 1;
250
+ widows: 1;
251
+
252
+ .card {
253
+ display: inline-block; // Don't let them vertically span multiple columns
254
+ width: 100%; // Don't let their width change
255
+ }
256
+ }
257
+ }
258
+
259
+
260
+ //
261
+ // Accordion
262
+ //
263
+
264
+ .accordion {
265
+ > .card {
266
+ overflow: hidden;
267
+
268
+ &:not(:last-of-type) {
269
+ border-bottom: 0;
270
+ @include border-bottom-radius(0);
271
+ }
272
+
273
+ &:not(:first-of-type) {
274
+ @include border-top-radius(0);
275
+ }
276
+
277
+ > .card-header {
278
+ @include border-radius(0);
279
+ margin-bottom: -$card-border-width;
280
+ }
281
+ }
282
+ }
@@ -0,0 +1,197 @@
1
+ // Notes on the classes:
2
+ //
3
+ // 1. .carousel.pointer-event should ideally be pan-y (to allow for users to scroll vertically)
4
+ // even when their scroll action started on a carousel, but for compatibility (with Firefox)
5
+ // we're preventing all actions instead
6
+ // 2. The .carousel-item-left and .carousel-item-right is used to indicate where
7
+ // the active slide is heading.
8
+ // 3. .active.carousel-item is the current slide.
9
+ // 4. .active.carousel-item-left and .active.carousel-item-right is the current
10
+ // slide in its in-transition state. Only one of these occurs at a time.
11
+ // 5. .carousel-item-next.carousel-item-left and .carousel-item-prev.carousel-item-right
12
+ // is the upcoming slide in transition.
13
+
14
+ .carousel {
15
+ position: relative;
16
+ }
17
+
18
+ .carousel.pointer-event {
19
+ touch-action: pan-y;
20
+ }
21
+
22
+ .carousel-inner {
23
+ position: relative;
24
+ width: 100%;
25
+ overflow: hidden;
26
+ @include clearfix();
27
+ }
28
+
29
+ .carousel-item {
30
+ position: relative;
31
+ display: none;
32
+ float: left;
33
+ width: 100%;
34
+ margin-right: -100%;
35
+ backface-visibility: hidden;
36
+ @include transition($carousel-transition);
37
+ }
38
+
39
+ .carousel-item.active,
40
+ .carousel-item-next,
41
+ .carousel-item-prev {
42
+ display: block;
43
+ }
44
+
45
+ .carousel-item-next:not(.carousel-item-left),
46
+ .active.carousel-item-right {
47
+ transform: translateX(100%);
48
+ }
49
+
50
+ .carousel-item-prev:not(.carousel-item-right),
51
+ .active.carousel-item-left {
52
+ transform: translateX(-100%);
53
+ }
54
+
55
+
56
+ //
57
+ // Alternate transitions
58
+ //
59
+
60
+ .carousel-fade {
61
+ .carousel-item {
62
+ opacity: 0;
63
+ transition-property: opacity;
64
+ transform: none;
65
+ }
66
+
67
+ .carousel-item.active,
68
+ .carousel-item-next.carousel-item-left,
69
+ .carousel-item-prev.carousel-item-right {
70
+ z-index: 1;
71
+ opacity: 1;
72
+ }
73
+
74
+ .active.carousel-item-left,
75
+ .active.carousel-item-right {
76
+ z-index: 0;
77
+ opacity: 0;
78
+ @include transition(opacity 0s $carousel-transition-duration);
79
+ }
80
+ }
81
+
82
+
83
+ //
84
+ // Left/right controls for nav
85
+ //
86
+
87
+ .carousel-control-prev,
88
+ .carousel-control-next {
89
+ position: absolute;
90
+ top: 0;
91
+ bottom: 0;
92
+ z-index: 1;
93
+ // Use flex for alignment (1-3)
94
+ display: flex; // 1. allow flex styles
95
+ align-items: center; // 2. vertically center contents
96
+ justify-content: center; // 3. horizontally center contents
97
+ width: $carousel-control-width;
98
+ color: $carousel-control-color;
99
+ text-align: center;
100
+ opacity: $carousel-control-opacity;
101
+ @include transition($carousel-control-transition);
102
+
103
+ // Hover/focus state
104
+ @include hover-focus() {
105
+ color: $carousel-control-color;
106
+ text-decoration: none;
107
+ outline: 0;
108
+ opacity: $carousel-control-hover-opacity;
109
+ }
110
+ }
111
+ .carousel-control-prev {
112
+ left: 0;
113
+ @if $enable-gradients {
114
+ background-image: linear-gradient(90deg, rgba($black, .25), rgba($black, .001));
115
+ }
116
+ }
117
+ .carousel-control-next {
118
+ right: 0;
119
+ @if $enable-gradients {
120
+ background-image: linear-gradient(270deg, rgba($black, .25), rgba($black, .001));
121
+ }
122
+ }
123
+
124
+ // Icons for within
125
+ .carousel-control-prev-icon,
126
+ .carousel-control-next-icon {
127
+ display: inline-block;
128
+ width: $carousel-control-icon-width;
129
+ height: $carousel-control-icon-width;
130
+ background: no-repeat 50% / 100% 100%;
131
+ }
132
+ .carousel-control-prev-icon {
133
+ background-image: escape-svg($carousel-control-prev-icon-bg);
134
+ }
135
+ .carousel-control-next-icon {
136
+ background-image: escape-svg($carousel-control-next-icon-bg);
137
+ }
138
+
139
+
140
+ // Optional indicator pips
141
+ //
142
+ // Add an ordered list with the following class and add a list item for each
143
+ // slide your carousel holds.
144
+
145
+ .carousel-indicators {
146
+ position: absolute;
147
+ right: 0;
148
+ bottom: 0;
149
+ left: 0;
150
+ z-index: 15;
151
+ display: flex;
152
+ justify-content: center;
153
+ padding-left: 0; // override <ol> default
154
+ // Use the .carousel-control's width as margin so we don't overlay those
155
+ margin-right: $carousel-control-width;
156
+ margin-left: $carousel-control-width;
157
+ list-style: none;
158
+
159
+ li {
160
+ box-sizing: content-box;
161
+ flex: 0 1 auto;
162
+ width: $carousel-indicator-width;
163
+ height: $carousel-indicator-height;
164
+ margin-right: $carousel-indicator-spacer;
165
+ margin-left: $carousel-indicator-spacer;
166
+ text-indent: -999px;
167
+ cursor: pointer;
168
+ background-color: $carousel-indicator-active-bg;
169
+ background-clip: padding-box;
170
+ // Use transparent borders to increase the hit area by 10px on top and bottom.
171
+ border-top: $carousel-indicator-hit-area-height solid transparent;
172
+ border-bottom: $carousel-indicator-hit-area-height solid transparent;
173
+ opacity: .5;
174
+ @include transition($carousel-indicator-transition);
175
+ }
176
+
177
+ .active {
178
+ opacity: 1;
179
+ }
180
+ }
181
+
182
+
183
+ // Optional captions
184
+ //
185
+ //
186
+
187
+ .carousel-caption {
188
+ position: absolute;
189
+ right: (100% - $carousel-caption-width) / 2;
190
+ bottom: 20px;
191
+ left: (100% - $carousel-caption-width) / 2;
192
+ z-index: 10;
193
+ padding-top: 20px;
194
+ padding-bottom: 20px;
195
+ color: $carousel-caption-color;
196
+ text-align: center;
197
+ }