jekyll-theme-basically-basic 1.3.1 → 1.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +150 -42
- data/_includes/author +30 -30
- data/_includes/contact-list.html +27 -27
- data/_includes/cv/awards.html +23 -23
- data/_includes/cv/basics.html +68 -68
- data/_includes/cv/education.html +36 -36
- data/_includes/cv/interests.html +19 -19
- data/_includes/cv/intro.html +18 -18
- data/_includes/cv/languages.html +19 -19
- data/_includes/cv/publications.html +29 -29
- data/_includes/cv/references.html +23 -23
- data/_includes/cv/volunteer.html +46 -46
- data/_includes/cv/work.html +46 -46
- data/_includes/disqus_comments.html +16 -16
- data/_includes/documents-collection.html +19 -0
- data/_includes/entry.html +37 -29
- data/_includes/footer.html +11 -9
- data/_includes/google-analytics.html +8 -8
- data/_includes/head.html +35 -35
- data/_includes/icon-bitbucket.html +4 -4
- data/_includes/icon-codepen.html +4 -4
- data/_includes/icon-dribbble.html +4 -4
- data/_includes/icon-facebook.html +4 -4
- data/_includes/icon-flickr.html +4 -4
- data/_includes/icon-github.html +4 -4
- data/_includes/icon-gitlab.html +4 -4
- data/_includes/icon-googleplus.html +4 -4
- data/_includes/icon-instagram.html +4 -4
- data/_includes/icon-lastfm.html +4 -4
- data/_includes/icon-linkedin.html +4 -4
- data/_includes/icon-pinterest.html +4 -4
- data/_includes/icon-soundcloud.html +4 -4
- data/_includes/icon-stackoverflow.html +4 -4
- data/_includes/icon-tumblr.html +4 -4
- data/_includes/icon-twitter.html +4 -4
- data/_includes/icon-xing.html +4 -4
- data/_includes/icon-youtube.html +4 -4
- data/_includes/masthead.html +27 -27
- data/_includes/navigation.html +25 -25
- data/_includes/page-intro.html +42 -42
- data/_includes/page-tags.html +14 -0
- data/_includes/posts-all.html +2 -2
- data/_includes/posts-category.html +3 -0
- data/_includes/posts-paginated.html +15 -15
- data/_includes/posts-tag.html +3 -0
- data/_includes/read-time.html +13 -13
- data/_includes/search-form.html +14 -13
- data/_includes/search/algolia-search-scripts.html +52 -52
- data/_includes/search/lunr-search-scripts.html +1 -1
- data/_includes/skip-links.html +8 -8
- data/_layouts/about.html +0 -2
- data/_layouts/categories.html +48 -0
- data/_layouts/category.html +9 -0
- data/_layouts/collection.html +9 -0
- data/_layouts/cv.html +28 -28
- data/_layouts/default.html +2 -1
- data/_layouts/home.html +28 -30
- data/_layouts/page.html +15 -17
- data/_layouts/post.html +18 -20
- data/_layouts/posts.html +29 -0
- data/_layouts/tag.html +9 -0
- data/_layouts/tags.html +48 -0
- data/_sass/basically-basic.scss +1 -1
- data/_sass/basically-basic/_base.scss +116 -118
- data/_sass/basically-basic/_contact-lists.scss +11 -11
- data/_sass/basically-basic/_entries.scss +230 -152
- data/_sass/basically-basic/_footer.scss +37 -13
- data/_sass/basically-basic/_functions.scss +2 -2
- data/_sass/basically-basic/_global.scss +116 -42
- data/_sass/basically-basic/_icons.scss +43 -43
- data/_sass/basically-basic/_intro.scss +3 -1
- data/_sass/basically-basic/_layout.scss +188 -188
- data/_sass/basically-basic/_mixins.scss +5 -5
- data/_sass/basically-basic/_navicons.scss +148 -148
- data/_sass/basically-basic/_navigation.scss +66 -66
- data/_sass/basically-basic/_print.scss +252 -252
- data/_sass/basically-basic/_reset.scss +522 -522
- data/_sass/basically-basic/_responsive-embed.scss +70 -70
- data/_sass/basically-basic/_search.scss +101 -101
- data/_sass/basically-basic/_sidebar.scss +166 -166
- data/_sass/basically-basic/_tables.scss +34 -34
- data/_sass/basically-basic/_utilities.scss +6 -6
- data/_sass/basically-basic/_variables.scss +3 -0
- data/_sass/basically-basic/functions/_color.scss +21 -21
- data/_sass/basically-basic/functions/_fluid-type.scss +33 -33
- data/_sass/basically-basic/mixins/_clearfix.scss +11 -11
- data/_sass/basically-basic/mixins/_float.scss +15 -15
- data/_sass/basically-basic/mixins/_image.scss +38 -38
- data/_sass/basically-basic/mixins/_lists.scss +9 -9
- data/_sass/basically-basic/mixins/_text-truncate.scss +10 -10
- data/_sass/basically-basic/themes/_default.scss +5 -5
- data/_sass/basically-basic/themes/_night.scss +12 -12
- data/_sass/basically-basic/themes/_plum.scss +12 -12
- data/_sass/basically-basic/themes/_sea.scss +12 -12
- data/_sass/basically-basic/utilities/_accessibility.scss +43 -43
- data/_sass/basically-basic/utilities/_align.scss +62 -62
- data/_sass/basically-basic/utilities/_clearfix.scss +7 -7
- data/_sass/basically-basic/utilities/_float.scss +7 -7
- data/_sass/basically-basic/utilities/_text.scss +28 -28
- data/_sass/basically-basic/utilities/_visibility.scss +32 -32
- data/_sass/basically-basic/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/basically-basic/vendor/breakpoint/_context.scss +94 -94
- data/_sass/basically-basic/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/basically-basic/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/basically-basic/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/basically-basic/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/basically-basic/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/basically-basic/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/basically-basic/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/basically-basic/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/basically-basic/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/basically-basic/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/basically-basic/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/basically-basic/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/basically-basic/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/basically-basic/vendor/susy/_su.scss +4 -4
- data/_sass/basically-basic/vendor/susy/_susy-prefix.scss +13 -13
- data/_sass/basically-basic/vendor/susy/_susy.scss +5 -5
- data/_sass/basically-basic/vendor/susy/plugins/_svg-grid.scss +5 -5
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_prefix.scss +7 -7
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -114
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -67
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -14
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -18
- data/_sass/basically-basic/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -133
- data/_sass/basically-basic/vendor/susy/susy/_api.scss +318 -318
- data/_sass/basically-basic/vendor/susy/susy/_normalize.scss +261 -261
- data/_sass/basically-basic/vendor/susy/susy/_parse.scss +163 -163
- data/_sass/basically-basic/vendor/susy/susy/_settings.scss +329 -329
- data/_sass/basically-basic/vendor/susy/susy/_su-math.scss +441 -441
- data/_sass/basically-basic/vendor/susy/susy/_su-validate.scss +213 -213
- data/_sass/basically-basic/vendor/susy/susy/_syntax-helpers.scss +191 -191
- data/_sass/basically-basic/vendor/susy/susy/_unprefix.scss +56 -56
- data/_sass/basically-basic/vendor/susy/susy/_utilities.scss +167 -167
- data/assets/javascripts/lunr/lunr.da.min.js +17 -17
- data/assets/javascripts/lunr/lunr.de.min.js +17 -17
- data/assets/javascripts/lunr/lunr.du.min.js +17 -17
- data/assets/javascripts/lunr/lunr.es.min.js +17 -17
- data/assets/javascripts/lunr/lunr.fi.min.js +17 -17
- data/assets/javascripts/lunr/lunr.fr.min.js +17 -17
- data/assets/javascripts/lunr/lunr.hu.min.js +17 -17
- data/assets/javascripts/lunr/lunr.it.min.js +17 -17
- data/assets/javascripts/lunr/lunr.jp.min.js +1 -1
- data/assets/javascripts/lunr/lunr.min.js +6 -6
- data/assets/javascripts/lunr/lunr.no.min.js +17 -17
- data/assets/javascripts/lunr/lunr.pt.min.js +17 -17
- data/assets/javascripts/lunr/lunr.ro.min.js +17 -17
- data/assets/javascripts/lunr/lunr.ru.min.js +17 -17
- data/assets/javascripts/lunr/lunr.sv.min.js +17 -17
- data/assets/javascripts/lunr/lunr.tr.min.js +17 -17
- data/assets/javascripts/main.js +12 -12
- data/assets/javascripts/search-data.json +43 -27
- data/assets/stylesheets/main.scss +9 -9
- metadata +21 -5
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Tables
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
table {
|
|
6
|
-
@include fluid-type($min-vw, $max-vw, 12px, 18px);
|
|
7
|
-
width: 100%;
|
|
8
|
-
border-collapse: collapse;
|
|
9
|
-
/* For Firefox to horizontally scroll wider tables */
|
|
10
|
-
// scss-lint:disable DuplicateProperty
|
|
11
|
-
word-break: normal;
|
|
12
|
-
word-break: keep-all;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
th,
|
|
16
|
-
td {
|
|
17
|
-
border-bottom: 1px solid $border-color;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
th {
|
|
21
|
-
padding: 0.5em;
|
|
22
|
-
font-weight: bold;
|
|
23
|
-
text-align: left;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
td {
|
|
27
|
-
padding: 0.5em;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
tr,
|
|
31
|
-
td,
|
|
32
|
-
th {
|
|
33
|
-
vertical-align: middle;
|
|
34
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Tables
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
table {
|
|
6
|
+
@include fluid-type($min-vw, $max-vw, 12px, 18px);
|
|
7
|
+
width: 100%;
|
|
8
|
+
border-collapse: collapse;
|
|
9
|
+
/* For Firefox to horizontally scroll wider tables */
|
|
10
|
+
// scss-lint:disable DuplicateProperty
|
|
11
|
+
word-break: normal;
|
|
12
|
+
word-break: keep-all;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
th,
|
|
16
|
+
td {
|
|
17
|
+
border-bottom: 1px solid $border-color;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
th {
|
|
21
|
+
padding: 0.5em;
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
text-align: left;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
td {
|
|
27
|
+
padding: 0.5em;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
tr,
|
|
31
|
+
td,
|
|
32
|
+
th {
|
|
33
|
+
vertical-align: middle;
|
|
34
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import "utilities/accessibility";
|
|
2
|
-
@import "utilities/align";
|
|
3
|
-
@import "utilities/clearfix";
|
|
4
|
-
@import "utilities/float";
|
|
5
|
-
@import "utilities/text";
|
|
6
|
-
@import "utilities/visibility";
|
|
1
|
+
@import "utilities/accessibility";
|
|
2
|
+
@import "utilities/align";
|
|
3
|
+
@import "utilities/clearfix";
|
|
4
|
+
@import "utilities/float";
|
|
5
|
+
@import "utilities/text";
|
|
6
|
+
@import "utilities/visibility";
|
|
@@ -84,6 +84,9 @@ $sidebar-width: $small !default;
|
|
|
84
84
|
/* Background color of the sidebar */
|
|
85
85
|
$sidebar-background-color: #fff !default;
|
|
86
86
|
|
|
87
|
+
/* Intro image color overlay */
|
|
88
|
+
$intro-image-color-overlay: false !default;
|
|
89
|
+
|
|
87
90
|
/* Border radius */
|
|
88
91
|
$border-radius: 0.25em !default;
|
|
89
92
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Color Functions
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
/// Slightly lighten a color
|
|
6
|
-
/// @access public
|
|
7
|
-
/// @param {Color} $color - color to tint
|
|
8
|
-
/// @param {Number} $percentage - percentage of `$color` in returned color
|
|
9
|
-
/// @return {Color}
|
|
10
|
-
@function tint($color, $percentage) {
|
|
11
|
-
@return mix(#fff, $color, $percentage);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/// Slightly darken a color
|
|
15
|
-
/// @access public
|
|
16
|
-
/// @param {Color} $color - color to shade
|
|
17
|
-
/// @param {Number} $percentage - percentage of `$color` in returned color
|
|
18
|
-
/// @return {Color}
|
|
19
|
-
@function shade($color, $percentage) {
|
|
20
|
-
@return mix(#000, $color, $percentage);
|
|
21
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Color Functions
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/// Slightly lighten a color
|
|
6
|
+
/// @access public
|
|
7
|
+
/// @param {Color} $color - color to tint
|
|
8
|
+
/// @param {Number} $percentage - percentage of `$color` in returned color
|
|
9
|
+
/// @return {Color}
|
|
10
|
+
@function tint($color, $percentage) {
|
|
11
|
+
@return mix(#fff, $color, $percentage);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/// Slightly darken a color
|
|
15
|
+
/// @access public
|
|
16
|
+
/// @param {Color} $color - color to shade
|
|
17
|
+
/// @param {Number} $percentage - percentage of `$color` in returned color
|
|
18
|
+
/// @return {Color}
|
|
19
|
+
@function shade($color, $percentage) {
|
|
20
|
+
@return mix(#000, $color, $percentage);
|
|
21
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Fluid Type
|
|
3
|
-
as seen on https://madebymike.com.au/writing/fluid-type-calc-examples/
|
|
4
|
-
========================================================================== */
|
|
5
|
-
|
|
6
|
-
@function strip-unit($value) {
|
|
7
|
-
@return $value / ($value * 0 + 1);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@mixin fluid-type($min-vw, $max-vw, $min-font-size, $max-font-size) {
|
|
11
|
-
// scss-lint:disable UnnecessaryParentReference
|
|
12
|
-
$u1: unit($min-vw);
|
|
13
|
-
$u2: unit($max-vw);
|
|
14
|
-
$u3: unit($min-font-size);
|
|
15
|
-
$u4: unit($max-font-size);
|
|
16
|
-
|
|
17
|
-
@if $u1 == $u2 and $u1 == $u3 and $u1 == $u4 {
|
|
18
|
-
& {
|
|
19
|
-
|
|
20
|
-
font-size: $min-font-size;
|
|
21
|
-
|
|
22
|
-
@media screen and (min-width: $min-vw) {
|
|
23
|
-
font-size: calc(#{$min-font-size} + #{strip-unit($max-font-size - $min-font-size)} * ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)}));
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media screen and (min-width: $max-vw) {
|
|
27
|
-
font-size: $max-font-size;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
} @else {
|
|
31
|
-
@error "Detected mixed units. Please use the same units for all parameters. " + $u1 +", " + $u2 + ", " + $u3 +", "+ $u4;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Fluid Type
|
|
3
|
+
as seen on https://madebymike.com.au/writing/fluid-type-calc-examples/
|
|
4
|
+
========================================================================== */
|
|
5
|
+
|
|
6
|
+
@function strip-unit($value) {
|
|
7
|
+
@return $value / ($value * 0 + 1);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin fluid-type($min-vw, $max-vw, $min-font-size, $max-font-size) {
|
|
11
|
+
// scss-lint:disable UnnecessaryParentReference
|
|
12
|
+
$u1: unit($min-vw);
|
|
13
|
+
$u2: unit($max-vw);
|
|
14
|
+
$u3: unit($min-font-size);
|
|
15
|
+
$u4: unit($max-font-size);
|
|
16
|
+
|
|
17
|
+
@if $u1 == $u2 and $u1 == $u3 and $u1 == $u4 {
|
|
18
|
+
& {
|
|
19
|
+
|
|
20
|
+
font-size: $min-font-size;
|
|
21
|
+
|
|
22
|
+
@media screen and (min-width: $min-vw) {
|
|
23
|
+
font-size: calc(#{$min-font-size} + #{strip-unit($max-font-size - $min-font-size)} * ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)}));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media screen and (min-width: $max-vw) {
|
|
27
|
+
font-size: $max-font-size;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
} @else {
|
|
31
|
+
@error "Detected mixed units. Please use the same units for all parameters. " + $u1 +", " + $u2 + ", " + $u3 +", "+ $u4;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Clearfix Mixin
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
@mixin clearfix() {
|
|
6
|
-
&::after {
|
|
7
|
-
display: block;
|
|
8
|
-
clear: both;
|
|
9
|
-
content: '';
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Clearfix Mixin
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
@mixin clearfix() {
|
|
6
|
+
&::after {
|
|
7
|
+
display: block;
|
|
8
|
+
clear: both;
|
|
9
|
+
content: '';
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Default theme skin
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
// Intentionally left blank
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Default theme skin
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
// Intentionally left blank
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Night theme skin
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
/* Colors */
|
|
6
|
-
$base-color: #252a34 !default;
|
|
7
|
-
$text-color: #eaeaea !default;
|
|
8
|
-
$accent-color: #00adb5 !default;
|
|
9
|
-
$background-color: #252a34 !default;
|
|
10
|
-
$code-background-color: #fff !default;
|
|
11
|
-
$border-color: rgba($text-color, 0.5) !default;
|
|
12
|
-
$overlay-color: #fff !default;
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Night theme skin
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* Colors */
|
|
6
|
+
$base-color: #252a34 !default;
|
|
7
|
+
$text-color: #eaeaea !default;
|
|
8
|
+
$accent-color: #00adb5 !default;
|
|
9
|
+
$background-color: #252a34 !default;
|
|
10
|
+
$code-background-color: #fff !default;
|
|
11
|
+
$border-color: rgba($text-color, 0.5) !default;
|
|
12
|
+
$overlay-color: #fff !default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Plum theme skin
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
/* Colors */
|
|
6
|
-
$base-color: #561050 !default;
|
|
7
|
-
$text-color: #35013f !default;
|
|
8
|
-
$accent-color: #951556 !default;
|
|
9
|
-
$background-color: #e9b5d2 !default;
|
|
10
|
-
$code-background-color: #fff !default;
|
|
11
|
-
$border-color: rgba($text-color, 0.5) !default;
|
|
12
|
-
$overlay-color: #fff !default;
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Plum theme skin
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* Colors */
|
|
6
|
+
$base-color: #561050 !default;
|
|
7
|
+
$text-color: #35013f !default;
|
|
8
|
+
$accent-color: #951556 !default;
|
|
9
|
+
$background-color: #e9b5d2 !default;
|
|
10
|
+
$code-background-color: #fff !default;
|
|
11
|
+
$border-color: rgba($text-color, 0.5) !default;
|
|
12
|
+
$overlay-color: #fff !default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Sea theme skin
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
/* Colors */
|
|
6
|
-
$base-color: #41506b !default;
|
|
7
|
-
$text-color: #90f6d7 !default;
|
|
8
|
-
$accent-color: #35bcbf !default;
|
|
9
|
-
$background-color: #263849 !default;
|
|
10
|
-
$code-background-color: #fff !default;
|
|
11
|
-
$border-color: rgba($text-color, 0.5) !default;
|
|
12
|
-
$overlay-color: #fff !default;
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Sea theme skin
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* Colors */
|
|
6
|
+
$base-color: #41506b !default;
|
|
7
|
+
$text-color: #90f6d7 !default;
|
|
8
|
+
$accent-color: #35bcbf !default;
|
|
9
|
+
$background-color: #263849 !default;
|
|
10
|
+
$code-background-color: #fff !default;
|
|
11
|
+
$border-color: rgba($text-color, 0.5) !default;
|
|
12
|
+
$overlay-color: #fff !default;
|