geekyll 0.0.9
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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/_includes/footer.html +20 -0
- data/_includes/head.html +27 -0
- data/_includes/header.html +18 -0
- data/_includes/image.html +14 -0
- data/_includes/javascripts.html +7 -0
- data/_includes/navigation.html +16 -0
- data/_includes/social.html +15 -0
- data/_layouts/default.html +10 -0
- data/_layouts/index.html +48 -0
- data/_layouts/page.html +23 -0
- data/_layouts/post.html +5 -0
- data/_layouts/root.html +14 -0
- data/_sass/geekyll/_icons.scss +9 -0
- data/_sass/geekyll/_layout.scss +233 -0
- data/_sass/geekyll/_pages.scss +232 -0
- data/_sass/geekyll/_typography.scss +4 -0
- data/_sass/geekyll/bootstrap4alpha4/_alert.scss +56 -0
- data/_sass/geekyll/bootstrap4alpha4/_animation.scss +27 -0
- data/_sass/geekyll/bootstrap4alpha4/_breadcrumb.scss +38 -0
- data/_sass/geekyll/bootstrap4alpha4/_button-group.scss +234 -0
- data/_sass/geekyll/bootstrap4alpha4/_buttons.scss +176 -0
- data/_sass/geekyll/bootstrap4alpha4/_card.scss +320 -0
- data/_sass/geekyll/bootstrap4alpha4/_carousel.scss +253 -0
- data/_sass/geekyll/bootstrap4alpha4/_close.scss +31 -0
- data/_sass/geekyll/bootstrap4alpha4/_code.scss +57 -0
- data/_sass/geekyll/bootstrap4alpha4/_custom-forms.scss +265 -0
- data/_sass/geekyll/bootstrap4alpha4/_custom.scss +4 -0
- data/_sass/geekyll/bootstrap4alpha4/_dropdown.scss +179 -0
- data/_sass/geekyll/bootstrap4alpha4/_forms.scss +364 -0
- data/_sass/geekyll/bootstrap4alpha4/_grid.scss +39 -0
- data/_sass/geekyll/bootstrap4alpha4/_images.scss +52 -0
- data/_sass/geekyll/bootstrap4alpha4/_input-group.scss +188 -0
- data/_sass/geekyll/bootstrap4alpha4/_jumbotron.scss +20 -0
- data/_sass/geekyll/bootstrap4alpha4/_list-group.scss +123 -0
- data/_sass/geekyll/bootstrap4alpha4/_media.scss +81 -0
- data/_sass/geekyll/bootstrap4alpha4/_mixins.scss +54 -0
- data/_sass/geekyll/bootstrap4alpha4/_modal.scss +132 -0
- data/_sass/geekyll/bootstrap4alpha4/_nav.scss +157 -0
- data/_sass/geekyll/bootstrap4alpha4/_navbar.scss +256 -0
- data/_sass/geekyll/bootstrap4alpha4/_normalize.scss +424 -0
- data/_sass/geekyll/bootstrap4alpha4/_pagination.scss +73 -0
- data/_sass/geekyll/bootstrap4alpha4/_popover.scss +147 -0
- data/_sass/geekyll/bootstrap4alpha4/_print.scss +116 -0
- data/_sass/geekyll/bootstrap4alpha4/_progress.scss +145 -0
- data/_sass/geekyll/bootstrap4alpha4/_reboot.scss +393 -0
- data/_sass/geekyll/bootstrap4alpha4/_responsive-embed.scss +39 -0
- data/_sass/geekyll/bootstrap4alpha4/_tables.scss +196 -0
- data/_sass/geekyll/bootstrap4alpha4/_tags.scss +77 -0
- data/_sass/geekyll/bootstrap4alpha4/_tooltip.scss +87 -0
- data/_sass/geekyll/bootstrap4alpha4/_type.scss +150 -0
- data/_sass/geekyll/bootstrap4alpha4/_utilities.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/_variables.scss +830 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-flex.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-grid.scss +23 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap-reboot.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/bootstrap.scss +54 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_alert.scss +14 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_background-variant.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_border-radius.scss +35 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_breakpoints.scss +86 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_buttons.scss +113 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_cards.scss +44 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_clearfix.scss +7 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_forms.scss +86 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_gradients.scss +43 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_grid-framework.scss +70 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_grid.scss +84 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_hover.scss +60 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_image.scss +34 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_list-group.scss +30 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_lists.scss +7 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_nav-divider.scss +10 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_navbar-align.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_pagination.scss +21 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_progress.scss +23 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_pulls.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-filter.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-text.scss +17 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_resize.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss +32 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_size.scss +6 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_tab-focus.scss +9 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_table-row.scss +30 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_tag.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-emphasis.scss +12 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-hide.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/mixins/_text-truncate.scss +8 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_background.scss +19 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_clearfix.scss +3 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_display.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_flex.scss +37 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_pulls.scss +13 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_screenreaders.scss +11 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss +43 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_text.scss +51 -0
- data/_sass/geekyll/bootstrap4alpha4/utilities/_visibility.scss +55 -0
- data/_sass/geekyll/reset.scss +9 -0
- data/_sass/geekyll/social.scss +5 -0
- data/_sass/geekyll.scss +39 -0
- data/screenshot.png +0 -0
- metadata +188 -0
@@ -0,0 +1,176 @@
|
|
1
|
+
// scss-lint:disable QualifyingElement
|
2
|
+
|
3
|
+
//
|
4
|
+
// Base styles
|
5
|
+
//
|
6
|
+
|
7
|
+
.btn {
|
8
|
+
display: inline-block;
|
9
|
+
font-weight: $btn-font-weight;
|
10
|
+
line-height: $btn-line-height;
|
11
|
+
text-align: center;
|
12
|
+
white-space: nowrap;
|
13
|
+
vertical-align: middle;
|
14
|
+
cursor: pointer;
|
15
|
+
user-select: none;
|
16
|
+
border: $input-btn-border-width solid transparent;
|
17
|
+
@include button-size($btn-padding-y, $btn-padding-x, $font-size-base, $btn-border-radius);
|
18
|
+
@include transition(all .2s ease-in-out);
|
19
|
+
|
20
|
+
&,
|
21
|
+
&:active,
|
22
|
+
&.active {
|
23
|
+
&:focus,
|
24
|
+
&.focus {
|
25
|
+
@include tab-focus();
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
@include hover-focus {
|
30
|
+
text-decoration: none;
|
31
|
+
}
|
32
|
+
&.focus {
|
33
|
+
text-decoration: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
&:active,
|
37
|
+
&.active {
|
38
|
+
background-image: none;
|
39
|
+
outline: 0;
|
40
|
+
@include box-shadow($btn-active-box-shadow);
|
41
|
+
}
|
42
|
+
|
43
|
+
&.disabled,
|
44
|
+
&:disabled {
|
45
|
+
cursor: $cursor-disabled;
|
46
|
+
opacity: .65;
|
47
|
+
@include box-shadow(none);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
// Future-proof disabling of clicks on `<a>` elements
|
52
|
+
a.btn.disabled,
|
53
|
+
fieldset[disabled] a.btn {
|
54
|
+
pointer-events: none;
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
//
|
59
|
+
// Alternate buttons
|
60
|
+
//
|
61
|
+
|
62
|
+
.btn-primary {
|
63
|
+
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
|
64
|
+
}
|
65
|
+
.btn-secondary {
|
66
|
+
@include button-variant($btn-secondary-color, $btn-secondary-bg, $btn-secondary-border);
|
67
|
+
}
|
68
|
+
.btn-info {
|
69
|
+
@include button-variant($btn-info-color, $btn-info-bg, $btn-info-border);
|
70
|
+
}
|
71
|
+
.btn-success {
|
72
|
+
@include button-variant($btn-success-color, $btn-success-bg, $btn-success-border);
|
73
|
+
}
|
74
|
+
.btn-warning {
|
75
|
+
@include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border);
|
76
|
+
}
|
77
|
+
.btn-danger {
|
78
|
+
@include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border);
|
79
|
+
}
|
80
|
+
|
81
|
+
// Remove all backgrounds
|
82
|
+
.btn-outline-primary {
|
83
|
+
@include button-outline-variant($btn-primary-bg);
|
84
|
+
}
|
85
|
+
.btn-outline-secondary {
|
86
|
+
@include button-outline-variant($btn-secondary-border);
|
87
|
+
}
|
88
|
+
.btn-outline-info {
|
89
|
+
@include button-outline-variant($btn-info-bg);
|
90
|
+
}
|
91
|
+
.btn-outline-success {
|
92
|
+
@include button-outline-variant($btn-success-bg);
|
93
|
+
}
|
94
|
+
.btn-outline-warning {
|
95
|
+
@include button-outline-variant($btn-warning-bg);
|
96
|
+
}
|
97
|
+
.btn-outline-danger {
|
98
|
+
@include button-outline-variant($btn-danger-bg);
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
//
|
103
|
+
// Link buttons
|
104
|
+
//
|
105
|
+
|
106
|
+
// Make a button look and behave like a link
|
107
|
+
.btn-link {
|
108
|
+
font-weight: normal;
|
109
|
+
color: $link-color;
|
110
|
+
border-radius: 0;
|
111
|
+
|
112
|
+
&,
|
113
|
+
&:active,
|
114
|
+
&.active,
|
115
|
+
&:disabled {
|
116
|
+
background-color: transparent;
|
117
|
+
@include box-shadow(none);
|
118
|
+
}
|
119
|
+
&,
|
120
|
+
&:focus,
|
121
|
+
&:active {
|
122
|
+
border-color: transparent;
|
123
|
+
}
|
124
|
+
@include hover {
|
125
|
+
border-color: transparent;
|
126
|
+
}
|
127
|
+
@include hover-focus {
|
128
|
+
color: $link-hover-color;
|
129
|
+
text-decoration: $link-hover-decoration;
|
130
|
+
background-color: transparent;
|
131
|
+
}
|
132
|
+
&:disabled {
|
133
|
+
@include hover-focus {
|
134
|
+
color: $btn-link-disabled-color;
|
135
|
+
text-decoration: none;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
|
141
|
+
//
|
142
|
+
// Button Sizes
|
143
|
+
//
|
144
|
+
|
145
|
+
.btn-lg {
|
146
|
+
// line-height: ensure even-numbered height of button next to large input
|
147
|
+
@include button-size($btn-padding-y-lg, $btn-padding-x-lg, $font-size-lg, $btn-border-radius-lg);
|
148
|
+
}
|
149
|
+
.btn-sm {
|
150
|
+
// line-height: ensure proper height of button next to small input
|
151
|
+
@include button-size($btn-padding-y-sm, $btn-padding-x-sm, $font-size-sm, $btn-border-radius-sm);
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
//
|
156
|
+
// Block button
|
157
|
+
//
|
158
|
+
|
159
|
+
.btn-block {
|
160
|
+
display: block;
|
161
|
+
width: 100%;
|
162
|
+
}
|
163
|
+
|
164
|
+
// Vertically space out multiple block buttons
|
165
|
+
.btn-block + .btn-block {
|
166
|
+
margin-top: $btn-block-spacing-y;
|
167
|
+
}
|
168
|
+
|
169
|
+
// Specificity overrides
|
170
|
+
input[type="submit"],
|
171
|
+
input[type="reset"],
|
172
|
+
input[type="button"] {
|
173
|
+
&.btn-block {
|
174
|
+
width: 100%;
|
175
|
+
}
|
176
|
+
}
|
@@ -0,0 +1,320 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.card {
|
6
|
+
position: relative;
|
7
|
+
display: block;
|
8
|
+
margin-bottom: $card-spacer-y;
|
9
|
+
background-color: $card-bg;
|
10
|
+
// border: $card-border-width solid $card-border-color;
|
11
|
+
@include border-radius($card-border-radius);
|
12
|
+
border: $card-border-width solid $card-border-color;
|
13
|
+
}
|
14
|
+
|
15
|
+
.card-block {
|
16
|
+
@include clearfix;
|
17
|
+
padding: $card-spacer-x;
|
18
|
+
}
|
19
|
+
|
20
|
+
.card-title {
|
21
|
+
margin-bottom: $card-spacer-y;
|
22
|
+
}
|
23
|
+
|
24
|
+
.card-subtitle {
|
25
|
+
margin-top: -($card-spacer-y / 2);
|
26
|
+
margin-bottom: 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
.card-text:last-child {
|
30
|
+
margin-bottom: 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
// .card-actions {
|
34
|
+
// padding: $card-spacer-y $card-spacer-x;
|
35
|
+
|
36
|
+
// .card-link + .card-link {
|
37
|
+
// margin-left: $card-spacer-x;
|
38
|
+
// }
|
39
|
+
// }
|
40
|
+
|
41
|
+
.card-link {
|
42
|
+
@include hover {
|
43
|
+
text-decoration: none;
|
44
|
+
}
|
45
|
+
|
46
|
+
+ .card-link {
|
47
|
+
margin-left: $card-spacer-x;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.card {
|
52
|
+
> .list-group:first-child {
|
53
|
+
.list-group-item:first-child {
|
54
|
+
@include border-top-radius($card-border-radius);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
> .list-group:last-child {
|
59
|
+
.list-group-item:last-child {
|
60
|
+
@include border-bottom-radius($card-border-radius);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
//
|
67
|
+
// Optional textual caps
|
68
|
+
//
|
69
|
+
|
70
|
+
.card-header {
|
71
|
+
@include clearfix;
|
72
|
+
padding: $card-spacer-y $card-spacer-x;
|
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-border-radius-inner $card-border-radius-inner 0 0);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
.card-footer {
|
82
|
+
@include clearfix;
|
83
|
+
padding: $card-spacer-y $card-spacer-x;
|
84
|
+
background-color: $card-cap-bg;
|
85
|
+
border-top: $card-border-width solid $card-border-color;
|
86
|
+
|
87
|
+
&:last-child {
|
88
|
+
@include border-radius(0 0 $card-border-radius-inner $card-border-radius-inner);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
//
|
94
|
+
// Header navs
|
95
|
+
//
|
96
|
+
|
97
|
+
.card-header-tabs {
|
98
|
+
margin-right: -($card-spacer-x / 2);
|
99
|
+
margin-bottom: -$card-spacer-y;
|
100
|
+
margin-left: -($card-spacer-x / 2);
|
101
|
+
border-bottom: 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
.card-header-pills {
|
105
|
+
margin-right: -($card-spacer-x / 2);
|
106
|
+
margin-left: -($card-spacer-x / 2);
|
107
|
+
}
|
108
|
+
|
109
|
+
|
110
|
+
//
|
111
|
+
// Background variations
|
112
|
+
//
|
113
|
+
|
114
|
+
.card-primary {
|
115
|
+
@include card-variant($brand-primary, $brand-primary);
|
116
|
+
}
|
117
|
+
.card-success {
|
118
|
+
@include card-variant($brand-success, $brand-success);
|
119
|
+
}
|
120
|
+
.card-info {
|
121
|
+
@include card-variant($brand-info, $brand-info);
|
122
|
+
}
|
123
|
+
.card-warning {
|
124
|
+
@include card-variant($brand-warning, $brand-warning);
|
125
|
+
}
|
126
|
+
.card-danger {
|
127
|
+
@include card-variant($brand-danger, $brand-danger);
|
128
|
+
}
|
129
|
+
|
130
|
+
// Remove all backgrounds
|
131
|
+
.card-outline-primary {
|
132
|
+
@include card-outline-variant($btn-primary-bg);
|
133
|
+
}
|
134
|
+
.card-outline-secondary {
|
135
|
+
@include card-outline-variant($btn-secondary-border);
|
136
|
+
}
|
137
|
+
.card-outline-info {
|
138
|
+
@include card-outline-variant($btn-info-bg);
|
139
|
+
}
|
140
|
+
.card-outline-success {
|
141
|
+
@include card-outline-variant($btn-success-bg);
|
142
|
+
}
|
143
|
+
.card-outline-warning {
|
144
|
+
@include card-outline-variant($btn-warning-bg);
|
145
|
+
}
|
146
|
+
.card-outline-danger {
|
147
|
+
@include card-outline-variant($btn-danger-bg);
|
148
|
+
}
|
149
|
+
|
150
|
+
//
|
151
|
+
// Inverse text within a card for use with dark backgrounds
|
152
|
+
//
|
153
|
+
|
154
|
+
.card-inverse {
|
155
|
+
@include card-inverse;
|
156
|
+
}
|
157
|
+
|
158
|
+
//
|
159
|
+
// Blockquote
|
160
|
+
//
|
161
|
+
|
162
|
+
.card-blockquote {
|
163
|
+
padding: 0;
|
164
|
+
margin-bottom: 0;
|
165
|
+
border-left: 0;
|
166
|
+
}
|
167
|
+
|
168
|
+
// Card image
|
169
|
+
.card-img {
|
170
|
+
// margin: -1.325rem;
|
171
|
+
@include border-radius(.25rem);
|
172
|
+
}
|
173
|
+
.card-img-overlay {
|
174
|
+
position: absolute;
|
175
|
+
top: 0;
|
176
|
+
right: 0;
|
177
|
+
bottom: 0;
|
178
|
+
left: 0;
|
179
|
+
padding: $card-img-overlay-padding;
|
180
|
+
}
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
// Card image caps
|
185
|
+
.card-img-top {
|
186
|
+
@include border-top-radius($card-border-radius-inner);
|
187
|
+
}
|
188
|
+
.card-img-bottom {
|
189
|
+
@include border-bottom-radius($card-border-radius-inner);
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
// Card set
|
194
|
+
//
|
195
|
+
// Heads up! We do some funky style resetting here for margins across our two
|
196
|
+
// variations (one flex, one table). Individual cards have margin-bottom by
|
197
|
+
// default, but they're ignored due to table styles. For a consistent design,
|
198
|
+
// we've done the same to the flex variation.
|
199
|
+
//
|
200
|
+
// Those changes are noted by `// Margin balancing`.
|
201
|
+
|
202
|
+
@if $enable-flex {
|
203
|
+
@include media-breakpoint-up(sm) {
|
204
|
+
.card-deck {
|
205
|
+
display: flex;
|
206
|
+
flex-flow: row wrap;
|
207
|
+
margin-right: -$card-deck-margin;
|
208
|
+
margin-bottom: $card-spacer-y; // Margin balancing
|
209
|
+
margin-left: -$card-deck-margin;
|
210
|
+
|
211
|
+
.card {
|
212
|
+
flex: 1 0 0;
|
213
|
+
margin-right: $card-deck-margin;
|
214
|
+
margin-bottom: 0; // Margin balancing
|
215
|
+
margin-left: $card-deck-margin;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
} @else {
|
220
|
+
@include media-breakpoint-up(sm) {
|
221
|
+
$space-between-cards: (2 * $card-deck-margin);
|
222
|
+
.card-deck {
|
223
|
+
display: table;
|
224
|
+
width: 100%;
|
225
|
+
margin-bottom: $card-spacer-y; // Margin balancing
|
226
|
+
table-layout: fixed;
|
227
|
+
border-spacing: $space-between-cards 0;
|
228
|
+
|
229
|
+
.card {
|
230
|
+
display: table-cell;
|
231
|
+
margin-bottom: 0; // Margin balancing
|
232
|
+
vertical-align: top;
|
233
|
+
}
|
234
|
+
}
|
235
|
+
.card-deck-wrapper {
|
236
|
+
margin-right: (-$space-between-cards);
|
237
|
+
margin-left: (-$space-between-cards);
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
//
|
243
|
+
// Card groups
|
244
|
+
//
|
245
|
+
|
246
|
+
@include media-breakpoint-up(sm) {
|
247
|
+
.card-group {
|
248
|
+
@if $enable-flex {
|
249
|
+
display: flex;
|
250
|
+
flex-flow: row wrap;
|
251
|
+
} @else {
|
252
|
+
display: table;
|
253
|
+
width: 100%;
|
254
|
+
table-layout: fixed;
|
255
|
+
}
|
256
|
+
|
257
|
+
.card {
|
258
|
+
@if $enable-flex {
|
259
|
+
flex: 1 0 0;
|
260
|
+
} @else {
|
261
|
+
display: table-cell;
|
262
|
+
vertical-align: top;
|
263
|
+
}
|
264
|
+
|
265
|
+
+ .card {
|
266
|
+
margin-left: 0;
|
267
|
+
border-left: 0;
|
268
|
+
}
|
269
|
+
|
270
|
+
// Handle rounded corners
|
271
|
+
@if $enable-rounded {
|
272
|
+
&:first-child {
|
273
|
+
@include border-right-radius(0);
|
274
|
+
|
275
|
+
.card-img-top {
|
276
|
+
border-top-right-radius: 0;
|
277
|
+
}
|
278
|
+
.card-img-bottom {
|
279
|
+
border-bottom-right-radius: 0;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
&:last-child {
|
283
|
+
@include border-left-radius(0);
|
284
|
+
|
285
|
+
.card-img-top {
|
286
|
+
border-top-left-radius: 0;
|
287
|
+
}
|
288
|
+
.card-img-bottom {
|
289
|
+
border-bottom-left-radius: 0;
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
&:not(:first-child):not(:last-child) {
|
294
|
+
border-radius: 0;
|
295
|
+
|
296
|
+
.card-img-top,
|
297
|
+
.card-img-bottom {
|
298
|
+
border-radius: 0;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
|
307
|
+
//
|
308
|
+
// Card
|
309
|
+
//
|
310
|
+
|
311
|
+
@include media-breakpoint-up(sm) {
|
312
|
+
.card-columns {
|
313
|
+
column-count: 3;
|
314
|
+
column-gap: $card-columns-sm-up-column-gap;
|
315
|
+
|
316
|
+
.card {
|
317
|
+
width: 100%; // Don't let them exceed the column width
|
318
|
+
}
|
319
|
+
}
|
320
|
+
}
|