jekyll-theme-so-simple 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/LICENSE +49 -49
- data/README.md +15 -2
- data/_data/authors.yml +16 -16
- data/_data/navigation.yml +16 -14
- data/_data/text.yml +36 -36
- data/_includes/disqus-comments.html +19 -19
- data/_includes/documents-collection.html +19 -19
- data/_includes/entry-date.html +6 -6
- data/_includes/entry.html +41 -39
- data/_includes/footer-custom.html +3 -3
- data/_includes/footer.html +24 -24
- data/_includes/google-analytics.html +9 -9
- data/_includes/head-custom.html +5 -5
- data/_includes/head-feed.html +1 -1
- data/_includes/head-seo.html +1 -1
- data/_includes/head.html +50 -50
- data/_includes/lunr-search-scripts.html +106 -106
- data/_includes/masthead.html +13 -13
- data/_includes/navigation.html +17 -17
- data/_includes/page-author.html +37 -37
- data/_includes/page-categories.html +14 -14
- data/_includes/page-date.html +4 -4
- data/_includes/page-image.html +14 -14
- data/_includes/page-pagination.html +19 -19
- data/_includes/page-tags.html +14 -14
- data/_includes/posts-all.html +3 -3
- data/_includes/posts-category.html +3 -3
- data/_includes/posts-paginated.html +74 -74
- data/_includes/posts-tag.html +3 -3
- data/_includes/read-time.html +16 -16
- data/_includes/responsive-embed +16 -16
- data/_includes/scripts.html +1 -3
- data/_includes/skip-links.html +8 -8
- data/_includes/social-share.html +6 -6
- data/_includes/toc +9 -9
- data/_layouts/categories.html +48 -48
- data/_layouts/category.html +9 -9
- data/_layouts/collection.html +9 -9
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +17 -17
- data/_layouts/page.html +30 -30
- data/_layouts/post.html +41 -41
- data/_layouts/posts.html +29 -29
- data/_layouts/search.html +1 -1
- data/_layouts/tag.html +9 -9
- data/_layouts/tags.html +48 -48
- data/_sass/so-simple.scss +1 -1
- data/_sass/so-simple/_author.scss +45 -45
- data/_sass/so-simple/_base.scss +112 -112
- data/_sass/so-simple/_buttons.scss +92 -92
- data/_sass/so-simple/_entries.scss +182 -182
- data/_sass/so-simple/_functions.scss +4 -4
- data/_sass/so-simple/_global.scss +393 -393
- data/_sass/so-simple/_icons.scss +43 -43
- data/_sass/so-simple/_mixins.scss +5 -5
- data/_sass/so-simple/_notices.scss +93 -93
- data/_sass/so-simple/_page.scss +287 -282
- data/_sass/so-simple/_reset.scss +523 -523
- data/_sass/so-simple/_syntax-highlighting.scss +334 -334
- data/_sass/so-simple/_tables.scss +34 -34
- data/_sass/so-simple/_utilities.scss +7 -7
- data/_sass/so-simple/_variables.scss +132 -132
- data/_sass/so-simple/functions/_color.scss +21 -21
- data/_sass/so-simple/functions/_em.scss +7 -7
- data/_sass/so-simple/functions/_fluid-type.scss +33 -33
- data/_sass/so-simple/functions/_yiq.scss +38 -38
- data/_sass/so-simple/mixins/_clearfix.scss +32 -32
- data/_sass/so-simple/mixins/_float.scss +15 -15
- data/_sass/so-simple/mixins/_image.scss +38 -38
- data/_sass/so-simple/mixins/_lists.scss +9 -9
- data/_sass/so-simple/mixins/_text-truncate.scss +10 -10
- data/_sass/so-simple/utilities/_accessibility.scss +43 -43
- data/_sass/so-simple/utilities/_align.scss +60 -60
- data/_sass/so-simple/utilities/_animations.scss +99 -99
- data/_sass/so-simple/utilities/_clearfix.scss +7 -7
- data/_sass/so-simple/utilities/_float.scss +7 -7
- data/_sass/so-simple/utilities/_responsive-embed.scss +66 -66
- data/_sass/so-simple/utilities/_text.scss +48 -48
- data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/so-simple/vendor/breakpoint/_context.scss +94 -94
- data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/so-simple/vendor/lity/_lity.scss +221 -221
- data/assets/css/main.scss +7 -7
- data/assets/js/lunr/lunr.da.min.js +17 -17
- data/assets/js/lunr/lunr.de.min.js +17 -17
- data/assets/js/lunr/lunr.du.min.js +17 -17
- data/assets/js/lunr/lunr.es.min.js +17 -17
- data/assets/js/lunr/lunr.fi.min.js +17 -17
- data/assets/js/lunr/lunr.fr.min.js +17 -17
- data/assets/js/lunr/lunr.hu.min.js +17 -17
- data/assets/js/lunr/lunr.it.min.js +17 -17
- data/assets/js/lunr/lunr.jp.min.js +1 -1
- data/assets/js/lunr/lunr.min.js +6 -6
- data/assets/js/lunr/lunr.no.min.js +17 -17
- data/assets/js/lunr/lunr.pt.min.js +17 -17
- data/assets/js/lunr/lunr.ro.min.js +17 -17
- data/assets/js/lunr/lunr.ru.min.js +17 -17
- data/assets/js/lunr/lunr.sv.min.js +17 -17
- data/assets/js/lunr/lunr.tr.min.js +17 -17
- data/assets/js/main.js +17 -15
- data/assets/js/main.min.js +2 -2
- data/assets/js/plugins/jquery.smooth-scroll.js +358 -358
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
- data/assets/js/plugins/lity.js +655 -655
- data/assets/js/plugins/lity.min.js +4 -4
- data/assets/js/plugins/table-of-contents.js +59 -59
- data/assets/js/search-data.json +43 -27
- metadata +3 -3
@@ -1,38 +1,38 @@
|
|
1
|
-
/*
|
2
|
-
Compass YIQ Color Contrast
|
3
|
-
https://github.com/easy-designs/yiq-color-contrast
|
4
|
-
========================================================================== */
|
5
|
-
|
6
|
-
@function yiq-is-light(
|
7
|
-
$color,
|
8
|
-
$threshold: $yiq-contrasted-threshold
|
9
|
-
) {
|
10
|
-
$red: red($color);
|
11
|
-
$green: green($color);
|
12
|
-
$blue: blue($color);
|
13
|
-
|
14
|
-
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
|
15
|
-
|
16
|
-
@if $yiq-debug { @debug $yiq, $threshold; }
|
17
|
-
|
18
|
-
@return if($yiq >= $threshold, true, false);
|
19
|
-
}
|
20
|
-
|
21
|
-
@function yiq-contrast-color(
|
22
|
-
$color,
|
23
|
-
$dark: $yiq-contrasted-dark-default,
|
24
|
-
$light: $yiq-contrasted-light-default,
|
25
|
-
$threshold: $yiq-contrasted-threshold
|
26
|
-
) {
|
27
|
-
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
|
28
|
-
}
|
29
|
-
|
30
|
-
@mixin yiq-contrasted(
|
31
|
-
$background-color,
|
32
|
-
$dark: $yiq-contrasted-dark-default,
|
33
|
-
$light: $yiq-contrasted-light-default,
|
34
|
-
$threshold: $yiq-contrasted-threshold
|
35
|
-
) {
|
36
|
-
background-color: $background-color;
|
37
|
-
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
|
38
|
-
}
|
1
|
+
/*
|
2
|
+
Compass YIQ Color Contrast
|
3
|
+
https://github.com/easy-designs/yiq-color-contrast
|
4
|
+
========================================================================== */
|
5
|
+
|
6
|
+
@function yiq-is-light(
|
7
|
+
$color,
|
8
|
+
$threshold: $yiq-contrasted-threshold
|
9
|
+
) {
|
10
|
+
$red: red($color);
|
11
|
+
$green: green($color);
|
12
|
+
$blue: blue($color);
|
13
|
+
|
14
|
+
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
|
15
|
+
|
16
|
+
@if $yiq-debug { @debug $yiq, $threshold; }
|
17
|
+
|
18
|
+
@return if($yiq >= $threshold, true, false);
|
19
|
+
}
|
20
|
+
|
21
|
+
@function yiq-contrast-color(
|
22
|
+
$color,
|
23
|
+
$dark: $yiq-contrasted-dark-default,
|
24
|
+
$light: $yiq-contrasted-light-default,
|
25
|
+
$threshold: $yiq-contrasted-threshold
|
26
|
+
) {
|
27
|
+
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin yiq-contrasted(
|
31
|
+
$background-color,
|
32
|
+
$dark: $yiq-contrasted-dark-default,
|
33
|
+
$light: $yiq-contrasted-light-default,
|
34
|
+
$threshold: $yiq-contrasted-threshold
|
35
|
+
) {
|
36
|
+
background-color: $background-color;
|
37
|
+
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
|
38
|
+
}
|
@@ -1,32 +1,32 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
Clearfix Mixin
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
/*
|
6
|
-
* Provides an easy way to include a clearfix for containing floats.
|
7
|
-
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
8
|
-
*
|
9
|
-
* example scss - Usage
|
10
|
-
*
|
11
|
-
* .element {
|
12
|
-
* @include clearfix;
|
13
|
-
* }
|
14
|
-
*
|
15
|
-
* example css - CSS Output
|
16
|
-
*
|
17
|
-
* .element::after {
|
18
|
-
* clear: both;
|
19
|
-
* content: "";
|
20
|
-
* display: table;
|
21
|
-
* }
|
22
|
-
*/
|
23
|
-
|
24
|
-
@mixin clearfix {
|
25
|
-
clear: both;
|
26
|
-
|
27
|
-
&::after {
|
28
|
-
clear: both;
|
29
|
-
content: "";
|
30
|
-
display: table;
|
31
|
-
}
|
32
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
Clearfix Mixin
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
* Provides an easy way to include a clearfix for containing floats.
|
7
|
+
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
8
|
+
*
|
9
|
+
* example scss - Usage
|
10
|
+
*
|
11
|
+
* .element {
|
12
|
+
* @include clearfix;
|
13
|
+
* }
|
14
|
+
*
|
15
|
+
* example css - CSS Output
|
16
|
+
*
|
17
|
+
* .element::after {
|
18
|
+
* clear: both;
|
19
|
+
* content: "";
|
20
|
+
* display: table;
|
21
|
+
* }
|
22
|
+
*/
|
23
|
+
|
24
|
+
@mixin clearfix {
|
25
|
+
clear: both;
|
26
|
+
|
27
|
+
&::after {
|
28
|
+
clear: both;
|
29
|
+
content: "";
|
30
|
+
display: table;
|
31
|
+
}
|
32
|
+
}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
Float Mixins
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
@mixin float-left {
|
6
|
-
float: left !important;
|
7
|
-
}
|
8
|
-
|
9
|
-
@mixin float-right {
|
10
|
-
float: right !important;
|
11
|
-
}
|
12
|
-
|
13
|
-
@mixin float-none {
|
14
|
-
float: none !important;
|
15
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
Float Mixins
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
@mixin float-left {
|
6
|
+
float: left !important;
|
7
|
+
}
|
8
|
+
|
9
|
+
@mixin float-right {
|
10
|
+
float: right !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
@mixin float-none {
|
14
|
+
float: none !important;
|
15
|
+
}
|
@@ -1,38 +1,38 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
Image Mixins
|
3
|
-
- Responsive image
|
4
|
-
- Retina image
|
5
|
-
========================================================================== */
|
6
|
-
|
7
|
-
/*
|
8
|
-
Responsive image
|
9
|
-
Keep images from scaling beyond the width of their parents.
|
10
|
-
========================================================================== */
|
11
|
-
|
12
|
-
@mixin img-fluid {
|
13
|
-
// Part 1: Set a maximum relative to the parent
|
14
|
-
max-width: 100%;
|
15
|
-
// Part 2: Override the height to auto, otherwise images will be stretched
|
16
|
-
// when setting a width and height attribute on the img element.
|
17
|
-
height: auto;
|
18
|
-
}
|
19
|
-
|
20
|
-
/*
|
21
|
-
Retina image
|
22
|
-
Short retina mixin for setting background-image and -size.
|
23
|
-
========================================================================== */
|
24
|
-
|
25
|
-
@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
|
26
|
-
background-image: url($file-1x);
|
27
|
-
|
28
|
-
// Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,
|
29
|
-
// but doesn't convert dppx=>dpi.
|
30
|
-
// There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.
|
31
|
-
// Compatibility info: http://caniuse.com/#feat=css-media-resolution
|
32
|
-
@media
|
33
|
-
only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx
|
34
|
-
only screen and (min-resolution: 2dppx) { // Standardized
|
35
|
-
background-image: url($file-2x);
|
36
|
-
background-size: $width-1x $height-1x;
|
37
|
-
}
|
38
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
Image Mixins
|
3
|
+
- Responsive image
|
4
|
+
- Retina image
|
5
|
+
========================================================================== */
|
6
|
+
|
7
|
+
/*
|
8
|
+
Responsive image
|
9
|
+
Keep images from scaling beyond the width of their parents.
|
10
|
+
========================================================================== */
|
11
|
+
|
12
|
+
@mixin img-fluid {
|
13
|
+
// Part 1: Set a maximum relative to the parent
|
14
|
+
max-width: 100%;
|
15
|
+
// Part 2: Override the height to auto, otherwise images will be stretched
|
16
|
+
// when setting a width and height attribute on the img element.
|
17
|
+
height: auto;
|
18
|
+
}
|
19
|
+
|
20
|
+
/*
|
21
|
+
Retina image
|
22
|
+
Short retina mixin for setting background-image and -size.
|
23
|
+
========================================================================== */
|
24
|
+
|
25
|
+
@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
|
26
|
+
background-image: url($file-1x);
|
27
|
+
|
28
|
+
// Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio,
|
29
|
+
// but doesn't convert dppx=>dpi.
|
30
|
+
// There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard.
|
31
|
+
// Compatibility info: http://caniuse.com/#feat=css-media-resolution
|
32
|
+
@media
|
33
|
+
only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx
|
34
|
+
only screen and (min-resolution: 2dppx) { // Standardized
|
35
|
+
background-image: url($file-2x);
|
36
|
+
background-size: $width-1x $height-1x;
|
37
|
+
}
|
38
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
List Mixins
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
6
|
-
@mixin list-unstyled {
|
7
|
-
padding-left: 0;
|
8
|
-
list-style: none;
|
9
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
List Mixins
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
6
|
+
@mixin list-unstyled {
|
7
|
+
padding-left: 0;
|
8
|
+
list-style: none;
|
9
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
Text Truncate Mixin
|
3
|
-
Requires inline-block or block for proper styling
|
4
|
-
========================================================================== */
|
5
|
-
|
6
|
-
@mixin text-truncate() {
|
7
|
-
overflow: hidden;
|
8
|
-
text-overflow: ellipsis;
|
9
|
-
white-space: nowrap;
|
10
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
Text Truncate Mixin
|
3
|
+
Requires inline-block or block for proper styling
|
4
|
+
========================================================================== */
|
5
|
+
|
6
|
+
@mixin text-truncate() {
|
7
|
+
overflow: hidden;
|
8
|
+
text-overflow: ellipsis;
|
9
|
+
white-space: nowrap;
|
10
|
+
}
|
@@ -1,43 +1,43 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
Accessibility Modules
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
/* Text meant only for screen readers */
|
6
|
-
.screen-reader-text,
|
7
|
-
.screen-reader-text span,
|
8
|
-
.screen-reader-shortcut {
|
9
|
-
position: absolute !important;
|
10
|
-
width: 1px;
|
11
|
-
height: 1px;
|
12
|
-
clip: rect(0, 0, 0, 0);
|
13
|
-
border: 0;
|
14
|
-
overflow: hidden;
|
15
|
-
|
16
|
-
&:focus {
|
17
|
-
display: block;
|
18
|
-
top: 5px;
|
19
|
-
left: 5px;
|
20
|
-
width: auto;
|
21
|
-
height: auto;
|
22
|
-
padding: 0.75em 1em;
|
23
|
-
clip: auto !important;
|
24
|
-
border-radius: 0.125em;
|
25
|
-
background-color: $base-color;
|
26
|
-
color: #fff;
|
27
|
-
font-weight: bold;
|
28
|
-
line-height: normal;
|
29
|
-
text-decoration: none;
|
30
|
-
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
31
|
-
z-index: 100000;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.screen-reader-text:focus,
|
36
|
-
.screen-reader-shortcut:focus {
|
37
|
-
width: auto;
|
38
|
-
height: auto;
|
39
|
-
clip: auto !important;
|
40
|
-
text-decoration: none;
|
41
|
-
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
42
|
-
z-index: 100000;
|
43
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
Accessibility Modules
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/* Text meant only for screen readers */
|
6
|
+
.screen-reader-text,
|
7
|
+
.screen-reader-text span,
|
8
|
+
.screen-reader-shortcut {
|
9
|
+
position: absolute !important;
|
10
|
+
width: 1px;
|
11
|
+
height: 1px;
|
12
|
+
clip: rect(0, 0, 0, 0);
|
13
|
+
border: 0;
|
14
|
+
overflow: hidden;
|
15
|
+
|
16
|
+
&:focus {
|
17
|
+
display: block;
|
18
|
+
top: 5px;
|
19
|
+
left: 5px;
|
20
|
+
width: auto;
|
21
|
+
height: auto;
|
22
|
+
padding: 0.75em 1em;
|
23
|
+
clip: auto !important;
|
24
|
+
border-radius: 0.125em;
|
25
|
+
background-color: $base-color;
|
26
|
+
color: #fff;
|
27
|
+
font-weight: bold;
|
28
|
+
line-height: normal;
|
29
|
+
text-decoration: none;
|
30
|
+
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
31
|
+
z-index: 100000;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.screen-reader-text:focus,
|
36
|
+
.screen-reader-shortcut:focus {
|
37
|
+
width: auto;
|
38
|
+
height: auto;
|
39
|
+
clip: auto !important;
|
40
|
+
text-decoration: none;
|
41
|
+
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
42
|
+
z-index: 100000;
|
43
|
+
}
|
@@ -1,60 +1,60 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
Alignment
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
.align-baseline {
|
6
|
-
vertical-align: baseline !important;
|
7
|
-
} /* Browser default */
|
8
|
-
.align-top {
|
9
|
-
vertical-align: top !important;
|
10
|
-
}
|
11
|
-
.align-middle {
|
12
|
-
vertical-align: middle !important;
|
13
|
-
}
|
14
|
-
.align-bottom {
|
15
|
-
vertical-align: bottom !important;
|
16
|
-
}
|
17
|
-
.align-text-bottom {
|
18
|
-
vertical-align: text-bottom !important;
|
19
|
-
}
|
20
|
-
.align-text-top {
|
21
|
-
vertical-align: text-top !important;
|
22
|
-
}
|
23
|
-
|
24
|
-
/*
|
25
|
-
Image Alignment
|
26
|
-
========================================================================== */
|
27
|
-
|
28
|
-
.align-center,
|
29
|
-
div.align-center,
|
30
|
-
a img.align-center {
|
31
|
-
display: block;
|
32
|
-
margin-right: auto;
|
33
|
-
margin-left: auto;
|
34
|
-
}
|
35
|
-
|
36
|
-
figure.align-center {
|
37
|
-
img {
|
38
|
-
display: block;
|
39
|
-
margin-right: auto;
|
40
|
-
margin-left: auto;
|
41
|
-
}
|
42
|
-
|
43
|
-
figcaption {
|
44
|
-
text-align: center;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
.align-right,
|
49
|
-
a img.align-right {
|
50
|
-
margin-bottom: 1rem;
|
51
|
-
margin-left: 1rem;
|
52
|
-
float: right;
|
53
|
-
}
|
54
|
-
|
55
|
-
.align-left,
|
56
|
-
a img.align-left {
|
57
|
-
margin-right: 1rem;
|
58
|
-
margin-bottom: 1rem;
|
59
|
-
float: left;
|
60
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
Alignment
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.align-baseline {
|
6
|
+
vertical-align: baseline !important;
|
7
|
+
} /* Browser default */
|
8
|
+
.align-top {
|
9
|
+
vertical-align: top !important;
|
10
|
+
}
|
11
|
+
.align-middle {
|
12
|
+
vertical-align: middle !important;
|
13
|
+
}
|
14
|
+
.align-bottom {
|
15
|
+
vertical-align: bottom !important;
|
16
|
+
}
|
17
|
+
.align-text-bottom {
|
18
|
+
vertical-align: text-bottom !important;
|
19
|
+
}
|
20
|
+
.align-text-top {
|
21
|
+
vertical-align: text-top !important;
|
22
|
+
}
|
23
|
+
|
24
|
+
/*
|
25
|
+
Image Alignment
|
26
|
+
========================================================================== */
|
27
|
+
|
28
|
+
.align-center,
|
29
|
+
div.align-center,
|
30
|
+
a img.align-center {
|
31
|
+
display: block;
|
32
|
+
margin-right: auto;
|
33
|
+
margin-left: auto;
|
34
|
+
}
|
35
|
+
|
36
|
+
figure.align-center {
|
37
|
+
img {
|
38
|
+
display: block;
|
39
|
+
margin-right: auto;
|
40
|
+
margin-left: auto;
|
41
|
+
}
|
42
|
+
|
43
|
+
figcaption {
|
44
|
+
text-align: center;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.align-right,
|
49
|
+
a img.align-right {
|
50
|
+
margin-bottom: 1rem;
|
51
|
+
margin-left: 1rem;
|
52
|
+
float: right;
|
53
|
+
}
|
54
|
+
|
55
|
+
.align-left,
|
56
|
+
a img.align-left {
|
57
|
+
margin-right: 1rem;
|
58
|
+
margin-bottom: 1rem;
|
59
|
+
float: left;
|
60
|
+
}
|