jekyll-theme-portfolio 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +21 -0
  3. data/README.md +19 -0
  4. data/_includes/footer.html +57 -0
  5. data/_includes/head.html +12 -0
  6. data/_includes/header.html +43 -0
  7. data/_layouts/default.html +20 -0
  8. data/_layouts/home.html +41 -0
  9. data/_layouts/page.html +13 -0
  10. data/_layouts/portfolio.html +66 -0
  11. data/_layouts/post.html +23 -0
  12. data/_sass/_bootstrap_customization.scss +332 -0
  13. data/_sass/_syntax-highlighting.scss +74 -0
  14. data/_sass/_variables.scss +106 -0
  15. data/_sass/bootstrap-4-jekyll/_bootstrap-4-jekyll.scss +8 -0
  16. data/_sass/bootstrap/__DO_NOT_MODIFY +0 -0
  17. data/_sass/bootstrap/_alert.scss +51 -0
  18. data/_sass/bootstrap/_badge.scss +54 -0
  19. data/_sass/bootstrap/_breadcrumb.scss +41 -0
  20. data/_sass/bootstrap/_button-group.scss +163 -0
  21. data/_sass/bootstrap/_buttons.scss +137 -0
  22. data/_sass/bootstrap/_card.scss +289 -0
  23. data/_sass/bootstrap/_carousel.scss +197 -0
  24. data/_sass/bootstrap/_close.scss +41 -0
  25. data/_sass/bootstrap/_code.scss +48 -0
  26. data/_sass/bootstrap/_custom-forms.scss +507 -0
  27. data/_sass/bootstrap/_dropdown.scss +191 -0
  28. data/_sass/bootstrap/_forms.scss +330 -0
  29. data/_sass/bootstrap/_functions.scss +86 -0
  30. data/_sass/bootstrap/_grid.scss +52 -0
  31. data/_sass/bootstrap/_images.scss +42 -0
  32. data/_sass/bootstrap/_input-group.scss +193 -0
  33. data/_sass/bootstrap/_jumbotron.scss +17 -0
  34. data/_sass/bootstrap/_list-group.scss +149 -0
  35. data/_sass/bootstrap/_media.scss +8 -0
  36. data/_sass/bootstrap/_mixins.scss +47 -0
  37. data/_sass/bootstrap/_modal.scss +229 -0
  38. data/_sass/bootstrap/_nav.scss +120 -0
  39. data/_sass/bootstrap/_navbar.scss +294 -0
  40. data/_sass/bootstrap/_pagination.scss +73 -0
  41. data/_sass/bootstrap/_popover.scss +171 -0
  42. data/_sass/bootstrap/_print.scss +141 -0
  43. data/_sass/bootstrap/_progress.scss +43 -0
  44. data/_sass/bootstrap/_reboot.scss +483 -0
  45. data/_sass/bootstrap/_root.scss +19 -0
  46. data/_sass/bootstrap/_spinners.scss +55 -0
  47. data/_sass/bootstrap/_tables.scss +185 -0
  48. data/_sass/bootstrap/_toasts.scss +44 -0
  49. data/_sass/bootstrap/_tooltip.scss +115 -0
  50. data/_sass/bootstrap/_transitions.scss +20 -0
  51. data/_sass/bootstrap/_type.scss +125 -0
  52. data/_sass/bootstrap/_utilities.scss +17 -0
  53. data/_sass/bootstrap/_variables.scss +1123 -0
  54. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  55. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  56. data/_sass/bootstrap/bootstrap.scss +44 -0
  57. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  58. data/_sass/bootstrap/mixins/_background-variant.scss +21 -0
  59. data/_sass/bootstrap/mixins/_badge.scss +17 -0
  60. data/_sass/bootstrap/mixins/_border-radius.scss +63 -0
  61. data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
  62. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  63. data/_sass/bootstrap/mixins/_buttons.scss +107 -0
  64. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  65. data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
  66. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  67. data/_sass/bootstrap/mixins/_float.scss +14 -0
  68. data/_sass/bootstrap/mixins/_forms.scss +192 -0
  69. data/_sass/bootstrap/mixins/_gradients.scss +45 -0
  70. data/_sass/bootstrap/mixins/_grid-framework.scss +66 -0
  71. data/_sass/bootstrap/mixins/_grid.scss +51 -0
  72. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  73. data/_sass/bootstrap/mixins/_image.scss +36 -0
  74. data/_sass/bootstrap/mixins/_list-group.scss +21 -0
  75. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  76. data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
  77. data/_sass/bootstrap/mixins/_pagination.scss +22 -0
  78. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  79. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  80. data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
  81. data/_sass/bootstrap/mixins/_size.scss +7 -0
  82. data/_sass/bootstrap/mixins/_table-row.scss +39 -0
  83. data/_sass/bootstrap/mixins/_text-emphasis.scss +16 -0
  84. data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
  85. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  86. data/_sass/bootstrap/mixins/_transition.scss +16 -0
  87. data/_sass/bootstrap/mixins/_visibility.scss +8 -0
  88. data/_sass/bootstrap/utilities/_align.scss +8 -0
  89. data/_sass/bootstrap/utilities/_background.scss +19 -0
  90. data/_sass/bootstrap/utilities/_borders.scss +75 -0
  91. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  92. data/_sass/bootstrap/utilities/_display.scss +26 -0
  93. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  94. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  95. data/_sass/bootstrap/utilities/_float.scss +11 -0
  96. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  97. data/_sass/bootstrap/utilities/_position.scss +32 -0
  98. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  99. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  100. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  101. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  102. data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
  103. data/_sass/bootstrap/utilities/_text.scss +72 -0
  104. data/_sass/bootstrap/utilities/_visibility.scss +13 -0
  105. data/_sass/bootstrap/vendor/_rfs.scss +204 -0
  106. data/assets/images/projects/nativescript.png +0 -0
  107. data/assets/images/projects/puppet.png +0 -0
  108. data/assets/javascript/bootstrap/__DO_NOT_MODIFY +0 -0
  109. data/assets/javascript/bootstrap/bootstrap.bundle.min.js +7 -0
  110. data/assets/javascript/bootstrap/bootstrap.bundle.min.js.map +1 -0
  111. data/assets/javascript/bootstrap/jquery.min.js +2 -0
  112. data/assets/javascript/bootstrap/jquery.min.map +1 -0
  113. data/assets/main.scss +9 -0
  114. metadata +219 -0
@@ -0,0 +1,137 @@
1
+ // stylelint-disable selector-no-qualifying-type
2
+
3
+ //
4
+ // Base styles
5
+ //
6
+
7
+ .btn {
8
+ display: inline-block;
9
+ font-family: $btn-font-family;
10
+ font-weight: $btn-font-weight;
11
+ color: $body-color;
12
+ text-align: center;
13
+ vertical-align: middle;
14
+ user-select: none;
15
+ background-color: transparent;
16
+ border: $btn-border-width solid transparent;
17
+ @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
18
+ @include transition($btn-transition);
19
+
20
+ @include hover {
21
+ color: $body-color;
22
+ text-decoration: none;
23
+ }
24
+
25
+ &:focus,
26
+ &.focus {
27
+ outline: 0;
28
+ box-shadow: $btn-focus-box-shadow;
29
+ }
30
+
31
+ // Disabled comes first so active can properly restyle
32
+ &.disabled,
33
+ &:disabled {
34
+ opacity: $btn-disabled-opacity;
35
+ @include box-shadow(none);
36
+ }
37
+
38
+ &:not(:disabled):not(.disabled):active,
39
+ &:not(:disabled):not(.disabled).active {
40
+ @include box-shadow($btn-active-box-shadow);
41
+
42
+ &:focus {
43
+ @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
44
+ }
45
+ }
46
+ }
47
+
48
+ // Future-proof disabling of clicks on `<a>` elements
49
+ a.btn.disabled,
50
+ fieldset:disabled a.btn {
51
+ pointer-events: none;
52
+ }
53
+
54
+
55
+ //
56
+ // Alternate buttons
57
+ //
58
+
59
+ @each $color, $value in $theme-colors {
60
+ .btn-#{$color} {
61
+ @include button-variant($value, $value);
62
+ }
63
+ }
64
+
65
+ @each $color, $value in $theme-colors {
66
+ .btn-outline-#{$color} {
67
+ @include button-outline-variant($value);
68
+ }
69
+ }
70
+
71
+
72
+ //
73
+ // Link buttons
74
+ //
75
+
76
+ // Make a button look and behave like a link
77
+ .btn-link {
78
+ font-weight: $font-weight-normal;
79
+ color: $link-color;
80
+ text-decoration: $link-decoration;
81
+
82
+ @include hover {
83
+ color: $link-hover-color;
84
+ text-decoration: $link-hover-decoration;
85
+ }
86
+
87
+ &:focus,
88
+ &.focus {
89
+ text-decoration: $link-hover-decoration;
90
+ box-shadow: none;
91
+ }
92
+
93
+ &:disabled,
94
+ &.disabled {
95
+ color: $btn-link-disabled-color;
96
+ pointer-events: none;
97
+ }
98
+
99
+ // No need for an active state here
100
+ }
101
+
102
+
103
+ //
104
+ // Button Sizes
105
+ //
106
+
107
+ .btn-lg {
108
+ @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
109
+ }
110
+
111
+ .btn-sm {
112
+ @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
113
+ }
114
+
115
+
116
+ //
117
+ // Block button
118
+ //
119
+
120
+ .btn-block {
121
+ display: block;
122
+ width: 100%;
123
+
124
+ // Vertically space out multiple block buttons
125
+ + .btn-block {
126
+ margin-top: $btn-block-spacing-y;
127
+ }
128
+ }
129
+
130
+ // Specificity overrides
131
+ input[type="submit"],
132
+ input[type="reset"],
133
+ input[type="button"] {
134
+ &.btn-block {
135
+ width: 100%;
136
+ }
137
+ }
@@ -0,0 +1,289 @@
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
+ word-wrap: break-word;
11
+ background-color: $card-bg;
12
+ background-clip: border-box;
13
+ border: $card-border-width solid $card-border-color;
14
+ @include border-radius($card-border-radius);
15
+
16
+ > hr {
17
+ margin-right: 0;
18
+ margin-left: 0;
19
+ }
20
+
21
+ > .list-group:first-child {
22
+ .list-group-item:first-child {
23
+ @include border-top-radius($card-border-radius);
24
+ }
25
+ }
26
+
27
+ > .list-group:last-child {
28
+ .list-group-item:last-child {
29
+ @include border-bottom-radius($card-border-radius);
30
+ }
31
+ }
32
+ }
33
+
34
+ .card-body {
35
+ // Enable `flex-grow: 1` for decks and groups so that card blocks take up
36
+ // as much space as possible, ensuring footers are aligned to the bottom.
37
+ flex: 1 1 auto;
38
+ padding: $card-spacer-x;
39
+ color: $card-color;
40
+ }
41
+
42
+ .card-title {
43
+ margin-bottom: $card-spacer-y;
44
+ }
45
+
46
+ .card-subtitle {
47
+ margin-top: -$card-spacer-y / 2;
48
+ margin-bottom: 0;
49
+ }
50
+
51
+ .card-text:last-child {
52
+ margin-bottom: 0;
53
+ }
54
+
55
+ .card-link {
56
+ @include hover {
57
+ text-decoration: none;
58
+ }
59
+
60
+ + .card-link {
61
+ margin-left: $card-spacer-x;
62
+ }
63
+ }
64
+
65
+ //
66
+ // Optional textual caps
67
+ //
68
+
69
+ .card-header {
70
+ padding: $card-spacer-y $card-spacer-x;
71
+ margin-bottom: 0; // Removes the default margin-bottom of <hN>
72
+ color: $card-cap-color;
73
+ background-color: $card-cap-bg;
74
+ border-bottom: $card-border-width solid $card-border-color;
75
+
76
+ &:first-child {
77
+ @include border-radius($card-inner-border-radius $card-inner-border-radius 0 0);
78
+ }
79
+
80
+ + .list-group {
81
+ .list-group-item:first-child {
82
+ border-top: 0;
83
+ }
84
+ }
85
+ }
86
+
87
+ .card-footer {
88
+ padding: $card-spacer-y $card-spacer-x;
89
+ background-color: $card-cap-bg;
90
+ border-top: $card-border-width solid $card-border-color;
91
+
92
+ &:last-child {
93
+ @include border-radius(0 0 $card-inner-border-radius $card-inner-border-radius);
94
+ }
95
+ }
96
+
97
+
98
+ //
99
+ // Header navs
100
+ //
101
+
102
+ .card-header-tabs {
103
+ margin-right: -$card-spacer-x / 2;
104
+ margin-bottom: -$card-spacer-y;
105
+ margin-left: -$card-spacer-x / 2;
106
+ border-bottom: 0;
107
+ }
108
+
109
+ .card-header-pills {
110
+ margin-right: -$card-spacer-x / 2;
111
+ margin-left: -$card-spacer-x / 2;
112
+ }
113
+
114
+ // Card image
115
+ .card-img-overlay {
116
+ position: absolute;
117
+ top: 0;
118
+ right: 0;
119
+ bottom: 0;
120
+ left: 0;
121
+ padding: $card-img-overlay-padding;
122
+ }
123
+
124
+ .card-img {
125
+ width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
126
+ @include border-radius($card-inner-border-radius);
127
+ }
128
+
129
+ // Card image caps
130
+ .card-img-top {
131
+ width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
132
+ @include border-top-radius($card-inner-border-radius);
133
+ }
134
+
135
+ .card-img-bottom {
136
+ width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
137
+ @include border-bottom-radius($card-inner-border-radius);
138
+ }
139
+
140
+
141
+ // Card deck
142
+
143
+ .card-deck {
144
+ display: flex;
145
+ flex-direction: column;
146
+
147
+ .card {
148
+ margin-bottom: $card-deck-margin;
149
+ }
150
+
151
+ @include media-breakpoint-up(sm) {
152
+ flex-flow: row wrap;
153
+ margin-right: -$card-deck-margin;
154
+ margin-left: -$card-deck-margin;
155
+
156
+ .card {
157
+ display: flex;
158
+ // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
159
+ flex: 1 0 0%;
160
+ flex-direction: column;
161
+ margin-right: $card-deck-margin;
162
+ margin-bottom: 0; // Override the default
163
+ margin-left: $card-deck-margin;
164
+ }
165
+ }
166
+ }
167
+
168
+
169
+ //
170
+ // Card groups
171
+ //
172
+
173
+ .card-group {
174
+ display: flex;
175
+ flex-direction: column;
176
+
177
+ // The child selector allows nested `.card` within `.card-group`
178
+ // to display properly.
179
+ > .card {
180
+ margin-bottom: $card-group-margin;
181
+ }
182
+
183
+ @include media-breakpoint-up(sm) {
184
+ flex-flow: row wrap;
185
+ // The child selector allows nested `.card` within `.card-group`
186
+ // to display properly.
187
+ > .card {
188
+ // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
189
+ flex: 1 0 0%;
190
+ margin-bottom: 0;
191
+
192
+ + .card {
193
+ margin-left: 0;
194
+ border-left: 0;
195
+ }
196
+
197
+ // Handle rounded corners
198
+ @if $enable-rounded {
199
+ &:not(:last-child) {
200
+ @include border-right-radius(0);
201
+
202
+ .card-img-top,
203
+ .card-header {
204
+ // stylelint-disable-next-line property-blacklist
205
+ border-top-right-radius: 0;
206
+ }
207
+ .card-img-bottom,
208
+ .card-footer {
209
+ // stylelint-disable-next-line property-blacklist
210
+ border-bottom-right-radius: 0;
211
+ }
212
+ }
213
+
214
+ &:not(:first-child) {
215
+ @include border-left-radius(0);
216
+
217
+ .card-img-top,
218
+ .card-header {
219
+ // stylelint-disable-next-line property-blacklist
220
+ border-top-left-radius: 0;
221
+ }
222
+ .card-img-bottom,
223
+ .card-footer {
224
+ // stylelint-disable-next-line property-blacklist
225
+ border-bottom-left-radius: 0;
226
+ }
227
+ }
228
+ }
229
+ }
230
+ }
231
+ }
232
+
233
+
234
+ //
235
+ // Columns
236
+ //
237
+
238
+ .card-columns {
239
+ .card {
240
+ margin-bottom: $card-columns-margin;
241
+ }
242
+
243
+ @include media-breakpoint-up(sm) {
244
+ column-count: $card-columns-count;
245
+ column-gap: $card-columns-gap;
246
+ orphans: 1;
247
+ widows: 1;
248
+
249
+ .card {
250
+ display: inline-block; // Don't let them vertically span multiple columns
251
+ width: 100%; // Don't let their width change
252
+ }
253
+ }
254
+ }
255
+
256
+
257
+ //
258
+ // Accordion
259
+ //
260
+
261
+ .accordion {
262
+ > .card {
263
+ overflow: hidden;
264
+
265
+ &:not(:first-of-type) {
266
+ .card-header:first-child {
267
+ @include border-radius(0);
268
+ }
269
+
270
+ &:not(:last-of-type) {
271
+ border-bottom: 0;
272
+ @include border-radius(0);
273
+ }
274
+ }
275
+
276
+ &:first-of-type {
277
+ border-bottom: 0;
278
+ @include border-bottom-radius(0);
279
+ }
280
+
281
+ &:last-of-type {
282
+ @include border-top-radius(0);
283
+ }
284
+
285
+ .card-header {
286
+ margin-bottom: -$card-border-width;
287
+ }
288
+ }
289
+ }
@@ -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(0s $carousel-transition-duration opacity);
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: linear-gradient(90deg, rgba($black, .25), rgba($black, .001));
115
+ }
116
+ }
117
+ .carousel-control-next {
118
+ right: 0;
119
+ @if $enable-gradients {
120
+ background: 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: $carousel-control-prev-icon-bg;
134
+ }
135
+ .carousel-control-next-icon {
136
+ background-image: $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
+ }