jekyll-theme-basically-basic 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +19 -0
- data/LICENSE.md +21 -0
- data/README.md +582 -0
- data/_includes/author +31 -0
- data/_includes/contact-list.html +27 -0
- data/_includes/cv/awards.html +24 -0
- data/_includes/cv/basics.html +69 -0
- data/_includes/cv/education.html +36 -0
- data/_includes/cv/interests.html +20 -0
- data/_includes/cv/intro.html +18 -0
- data/_includes/cv/languages.html +20 -0
- data/_includes/cv/publications.html +30 -0
- data/_includes/cv/references.html +24 -0
- data/_includes/cv/skills.html +20 -0
- data/_includes/cv/volunteer.html +46 -0
- data/_includes/cv/work.html +46 -0
- data/_includes/disqus_comments.html +17 -0
- data/_includes/entry.html +29 -0
- data/_includes/footer.html +9 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head-feed.html +1 -0
- data/_includes/head-seo.html +1 -0
- data/_includes/head.html +35 -0
- data/_includes/icon-arrow-left.svg +1 -0
- data/_includes/icon-arrow-right.svg +1 -0
- data/_includes/icon-bitbucket.html +4 -0
- data/_includes/icon-bitbucket.svg +1 -0
- data/_includes/icon-calendar.svg +1 -0
- data/_includes/icon-codepen.html +4 -0
- data/_includes/icon-codepen.svg +1 -0
- data/_includes/icon-download.svg +1 -0
- data/_includes/icon-dribbble.html +4 -0
- data/_includes/icon-dribbble.svg +1 -0
- data/_includes/icon-email.svg +1 -0
- data/_includes/icon-facebook.html +4 -0
- data/_includes/icon-facebook.svg +1 -0
- data/_includes/icon-flickr.html +4 -0
- data/_includes/icon-flickr.svg +1 -0
- data/_includes/icon-github.html +4 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-gitlab.html +4 -0
- data/_includes/icon-gitlab.svg +1 -0
- data/_includes/icon-googleplus.html +4 -0
- data/_includes/icon-googleplus.svg +1 -0
- data/_includes/icon-instagram.html +4 -0
- data/_includes/icon-instagram.svg +1 -0
- data/_includes/icon-lastfm.html +4 -0
- data/_includes/icon-lastfm.svg +1 -0
- data/_includes/icon-linkedin.html +4 -0
- data/_includes/icon-linkedin.svg +1 -0
- data/_includes/icon-pdf.svg +1 -0
- data/_includes/icon-pinterest.html +4 -0
- data/_includes/icon-pinterest.svg +1 -0
- data/_includes/icon-rss.svg +1 -0
- data/_includes/icon-soundcloud.html +4 -0
- data/_includes/icon-soundcloud.svg +1 -0
- data/_includes/icon-stackoverflow.html +4 -0
- data/_includes/icon-stackoverflow.svg +1 -0
- data/_includes/icon-stopwatch.svg +1 -0
- data/_includes/icon-tumblr.html +4 -0
- data/_includes/icon-tumblr.svg +1 -0
- data/_includes/icon-twitter.html +4 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/icon-xing.html +4 -0
- data/_includes/icon-xing.svg +1 -0
- data/_includes/icon-youtube.html +4 -0
- data/_includes/icon-youtube.svg +1 -0
- data/_includes/masthead.html +27 -0
- data/_includes/navigation.html +25 -0
- data/_includes/page-intro.html +42 -0
- data/_includes/posts-all.html +3 -0
- data/_includes/posts-paginated.html +16 -0
- data/_includes/read-time.html +13 -0
- data/_includes/scripts.html +5 -0
- data/_includes/skip-links.html +8 -0
- data/_layouts/about.html +21 -0
- data/_layouts/cv.html +28 -0
- data/_layouts/default.html +38 -0
- data/_layouts/home.html +30 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +20 -0
- data/_sass/basically-basic.scss +37 -0
- data/_sass/basically-basic/_base.scss +110 -0
- data/_sass/basically-basic/_buttons.scss +39 -0
- data/_sass/basically-basic/_contact-lists.scss +11 -0
- data/_sass/basically-basic/_entries.scss +155 -0
- data/_sass/basically-basic/_footer.scss +13 -0
- data/_sass/basically-basic/_global.scss +36 -0
- data/_sass/basically-basic/_icons.scss +43 -0
- data/_sass/basically-basic/_intro.scss +65 -0
- data/_sass/basically-basic/_layout.scss +178 -0
- data/_sass/basically-basic/_mixins.scss +7 -0
- data/_sass/basically-basic/_navicons.scss +144 -0
- data/_sass/basically-basic/_navigation.scss +51 -0
- data/_sass/basically-basic/_reset.scss +522 -0
- data/_sass/basically-basic/_sidebar.scss +177 -0
- data/_sass/basically-basic/_syntax-highlighting.scss +127 -0
- data/_sass/basically-basic/_tables.scss +42 -0
- data/_sass/basically-basic/_utilities.scss +5 -0
- data/_sass/basically-basic/_variables.scss +84 -0
- data/_sass/basically-basic/mixins/_clearfix.scss +11 -0
- data/_sass/basically-basic/mixins/_color.scss +21 -0
- data/_sass/basically-basic/mixins/_float.scss +15 -0
- data/_sass/basically-basic/mixins/_fluid-type.scss +33 -0
- data/_sass/basically-basic/mixins/_image.scss +38 -0
- data/_sass/basically-basic/mixins/_lists.scss +9 -0
- data/_sass/basically-basic/mixins/_text-truncate.scss +10 -0
- data/_sass/basically-basic/themes/_default.scss +5 -0
- data/_sass/basically-basic/themes/_night.scss +12 -0
- data/_sass/basically-basic/themes/_plum.scss +12 -0
- data/_sass/basically-basic/themes/_sea.scss +12 -0
- data/_sass/basically-basic/themes/_soft.scss +12 -0
- data/_sass/basically-basic/themes/_steel.scss +12 -0
- data/_sass/basically-basic/utilities/_accessibility.scss +54 -0
- data/_sass/basically-basic/utilities/_align.scss +64 -0
- data/_sass/basically-basic/utilities/_clearfix.scss +7 -0
- data/_sass/basically-basic/utilities/_float.scss +7 -0
- data/_sass/basically-basic/utilities/_text.scss +28 -0
- data/_sass/basically-basic/vendor/_breakpoint.scss +114 -0
- data/_sass/basically-basic/vendor/_su.scss +4 -0
- data/_sass/basically-basic/vendor/_susy.scss +4 -0
- data/_sass/basically-basic/vendor/_susyone.scss +4 -0
- data/_sass/basically-basic/vendor/breakpoint/_context.scss +95 -0
- data/_sass/basically-basic/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/basically-basic/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/basically-basic/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/basically-basic/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/basically-basic/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/basically-basic/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/basically-basic/vendor/susy/_su.scss +7 -0
- data/_sass/basically-basic/vendor/susy/language/_susy.scss +24 -0
- data/_sass/basically-basic/vendor/susy/language/_susyone.scss +13 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_background.scss +385 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_bleed.scss +200 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_box-sizing.scss +47 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_breakpoint-plugin.scss +185 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_container.scss +81 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_context.scss +36 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_gallery.scss +94 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_grids.scss +64 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_gutters.scss +154 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_isolate.scss +77 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_margins.scss +94 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_padding.scss +74 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_rows.scss +138 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_settings.scss +216 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_span.scss +163 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_validation.scss +16 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_background.scss +18 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_functions.scss +377 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_grid.scss +312 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_isolation.scss +51 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_margin.scss +93 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_media.scss +105 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_padding.scss +92 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_settings.scss +60 -0
- data/_sass/basically-basic/vendor/susy/output/_float.scss +9 -0
- data/_sass/basically-basic/vendor/susy/output/_shared.scss +15 -0
- data/_sass/basically-basic/vendor/susy/output/_support.scss +9 -0
- data/_sass/basically-basic/vendor/susy/output/float/_container.scss +16 -0
- data/_sass/basically-basic/vendor/susy/output/float/_end.scss +40 -0
- data/_sass/basically-basic/vendor/susy/output/float/_isolate.scss +22 -0
- data/_sass/basically-basic/vendor/susy/output/float/_span.scss +35 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_background.scss +26 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_container.scss +21 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_direction.scss +42 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_inspect.scss +25 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_margins.scss +23 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_output.scss +14 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_padding.scss +23 -0
- data/_sass/basically-basic/vendor/susy/output/support/_background.scss +58 -0
- data/_sass/basically-basic/vendor/susy/output/support/_box-sizing.scss +19 -0
- data/_sass/basically-basic/vendor/susy/output/support/_clearfix.scss +18 -0
- data/_sass/basically-basic/vendor/susy/output/support/_prefix.scss +19 -0
- data/_sass/basically-basic/vendor/susy/output/support/_rem.scss +22 -0
- data/_sass/basically-basic/vendor/susy/output/support/_support.scss +85 -0
- data/_sass/basically-basic/vendor/susy/su/_grid.scss +103 -0
- data/_sass/basically-basic/vendor/susy/su/_settings.scss +73 -0
- data/_sass/basically-basic/vendor/susy/su/_utilities.scss +111 -0
- data/_sass/basically-basic/vendor/susy/su/_validation.scss +57 -0
- data/assets/javascripts/main.js +57 -0
- data/assets/stylesheets/main.scss +10 -0
- metadata +335 -0
@@ -0,0 +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
|
+
}
|
@@ -0,0 +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
|
+
}
|
@@ -0,0 +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
|
+
}
|
@@ -0,0 +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
|
+
}
|
@@ -0,0 +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
|
+
}
|
@@ -0,0 +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
|
+
}
|
@@ -0,0 +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;
|
@@ -0,0 +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;
|
@@ -0,0 +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;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Soft theme skin
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/* Colors */
|
6
|
+
$base-color: mix(#625772, #a9eee6, 75%) !default;
|
7
|
+
$text-color: #625772 !default;
|
8
|
+
$accent-color: #e85482 !default;
|
9
|
+
$background-color: #fefaec !default;
|
10
|
+
$code-background-color: #fff !default;
|
11
|
+
$border-color: rgba($text-color, 0.5) !default;
|
12
|
+
$overlay-color: #fff !default;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Steel theme skin
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/* Colors */
|
6
|
+
$base-color: #3a4750 !default;
|
7
|
+
$text-color: #303841 !default;
|
8
|
+
$accent-color: #d72323 !default;
|
9
|
+
$background-color: #eee !default;
|
10
|
+
$code-background-color: #fff !default;
|
11
|
+
$border-color: rgba($text-color, 0.25) !default;
|
12
|
+
$overlay-color: #fff !default;
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Accessibility Modules
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/* Skip links */
|
6
|
+
.skip-links {
|
7
|
+
margin: 0;
|
8
|
+
|
9
|
+
li {
|
10
|
+
width: 0;
|
11
|
+
height: 0;
|
12
|
+
list-style: none;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
/* Text meant only for screen readers */
|
17
|
+
.screen-reader-text,
|
18
|
+
.screen-reader-text span,
|
19
|
+
.screen-reader-shortcut {
|
20
|
+
position: absolute !important;
|
21
|
+
width: 1px;
|
22
|
+
height: 1px;
|
23
|
+
clip: rect(0, 0, 0, 0);
|
24
|
+
border: 0;
|
25
|
+
overflow: hidden;
|
26
|
+
|
27
|
+
&:focus {
|
28
|
+
display: block;
|
29
|
+
top: 5px;
|
30
|
+
left: 5px;
|
31
|
+
width: auto;
|
32
|
+
height: auto;
|
33
|
+
padding: 0.75em 1em;
|
34
|
+
clip: auto !important;
|
35
|
+
border-radius: 0.125em;
|
36
|
+
background-color: $base-color;
|
37
|
+
color: #fff;
|
38
|
+
font-weight: bold;
|
39
|
+
line-height: normal;
|
40
|
+
text-decoration: none;
|
41
|
+
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
42
|
+
z-index: 100000;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.screen-reader-text:focus,
|
47
|
+
.screen-reader-shortcut:focus {
|
48
|
+
width: auto;
|
49
|
+
height: auto;
|
50
|
+
clip: auto !important;
|
51
|
+
text-decoration: none;
|
52
|
+
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
53
|
+
z-index: 100000;
|
54
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Alignment
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.align-baseline { vertical-align: baseline !important; } /* Browser default */
|
6
|
+
.align-top { vertical-align: top !important; }
|
7
|
+
.align-middle { vertical-align: middle !important; }
|
8
|
+
.align-bottom { vertical-align: bottom !important; }
|
9
|
+
.align-text-bottom { vertical-align: text-bottom !important; }
|
10
|
+
.align-text-top { vertical-align: text-top !important; }
|
11
|
+
|
12
|
+
/*
|
13
|
+
Image Alignment
|
14
|
+
========================================================================== */
|
15
|
+
|
16
|
+
.align-center,
|
17
|
+
div.align-center,
|
18
|
+
a img.align-center {
|
19
|
+
display: block;
|
20
|
+
margin-right: auto;
|
21
|
+
margin-left: auto;
|
22
|
+
}
|
23
|
+
|
24
|
+
figure.align-center {
|
25
|
+
|
26
|
+
img {
|
27
|
+
display: block;
|
28
|
+
margin-right: auto;
|
29
|
+
margin-left: auto;
|
30
|
+
}
|
31
|
+
|
32
|
+
figcaption {
|
33
|
+
text-align: center;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.align-right,
|
38
|
+
a img.align-right {
|
39
|
+
margin-bottom: 1rem;
|
40
|
+
margin-left: 1rem;
|
41
|
+
float: right;
|
42
|
+
}
|
43
|
+
|
44
|
+
.align-left,
|
45
|
+
a img.align-left {
|
46
|
+
margin-right: 1rem;
|
47
|
+
margin-bottom: 1rem;
|
48
|
+
float: left;
|
49
|
+
}
|
50
|
+
|
51
|
+
/*
|
52
|
+
Sidebar Pusher
|
53
|
+
========================================================================== */
|
54
|
+
|
55
|
+
.is--pushed {
|
56
|
+
|
57
|
+
@include breakpoint($medium) {
|
58
|
+
padding-left: $sidebar-width;
|
59
|
+
}
|
60
|
+
|
61
|
+
@include breakpoint($large) {
|
62
|
+
padding-left: (1.5 * $sidebar-width);
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Floats
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.float-left { @include float-left; }
|
6
|
+
.float-right { @include float-right; }
|
7
|
+
.float-none { @include float-none; }
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Text
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
Alignment
|
7
|
+
========================================================================== */
|
8
|
+
|
9
|
+
.text-justify { text-align: justify !important; }
|
10
|
+
.text-nowrap { white-space: nowrap !important; }
|
11
|
+
.text-left { text-align: left !important; }
|
12
|
+
.text-right { text-align: right !important; }
|
13
|
+
.text-center { text-align: center !important; }
|
14
|
+
|
15
|
+
/*
|
16
|
+
Transformation
|
17
|
+
========================================================================== */
|
18
|
+
|
19
|
+
.text-lowercase { text-transform: lowercase !important; }
|
20
|
+
.text-uppercase { text-transform: uppercase !important; }
|
21
|
+
.text-capitalize { text-transform: capitalize !important; }
|
22
|
+
.text-truncate { @include text-truncate; }
|
23
|
+
|
24
|
+
/*
|
25
|
+
Sizing
|
26
|
+
========================================================================== */
|
27
|
+
|
28
|
+
.small { font-size: 80%; }
|
@@ -0,0 +1,114 @@
|
|
1
|
+
//////////////////////////////
|
2
|
+
// Default Variables
|
3
|
+
//////////////////////////////
|
4
|
+
$Breakpoint-Settings: (
|
5
|
+
'default media': all,
|
6
|
+
'default feature': min-width,
|
7
|
+
'default pair': width,
|
8
|
+
|
9
|
+
'force all media type': false,
|
10
|
+
'to ems': false,
|
11
|
+
'transform resolutions': true,
|
12
|
+
|
13
|
+
'no queries': false,
|
14
|
+
'no query fallbacks': false,
|
15
|
+
|
16
|
+
'base font size': 16px,
|
17
|
+
|
18
|
+
'legacy syntax': false
|
19
|
+
);
|
20
|
+
|
21
|
+
$breakpoint: () !default;
|
22
|
+
|
23
|
+
//////////////////////////////
|
24
|
+
// Imports
|
25
|
+
//////////////////////////////
|
26
|
+
@import "breakpoint/settings";
|
27
|
+
@import 'breakpoint/context';
|
28
|
+
@import 'breakpoint/helpers';
|
29
|
+
@import 'breakpoint/parsers';
|
30
|
+
@import 'breakpoint/no-query';
|
31
|
+
|
32
|
+
@import 'breakpoint/respond-to';
|
33
|
+
|
34
|
+
@import "breakpoint/legacy-settings";
|
35
|
+
|
36
|
+
//////////////////////////////
|
37
|
+
// Breakpoint Mixin
|
38
|
+
//////////////////////////////
|
39
|
+
|
40
|
+
@mixin breakpoint($query, $no-query: false) {
|
41
|
+
@include legacy-settings-warning;
|
42
|
+
|
43
|
+
// Reset contexts
|
44
|
+
@include private-breakpoint-reset-contexts();
|
45
|
+
|
46
|
+
$breakpoint: breakpoint($query, false);
|
47
|
+
|
48
|
+
$query-string: map-get($breakpoint, 'query');
|
49
|
+
$query-fallback: map-get($breakpoint, 'fallback');
|
50
|
+
|
51
|
+
$private-breakpoint-context-holder: map-get($breakpoint, 'context holder') !global;
|
52
|
+
$private-breakpoint-query-count: map-get($breakpoint, 'query count') !global;
|
53
|
+
|
54
|
+
// Allow for an as-needed override or usage of no query fallback.
|
55
|
+
@if $no-query != false {
|
56
|
+
$query-fallback: $no-query;
|
57
|
+
}
|
58
|
+
|
59
|
+
@if $query-fallback != false {
|
60
|
+
$context-setter: private-breakpoint-set-context('no-query', $query-fallback);
|
61
|
+
}
|
62
|
+
|
63
|
+
// Print Out Query String
|
64
|
+
@if not breakpoint-get('no queries') {
|
65
|
+
@media #{$query-string} {
|
66
|
+
@content;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
@if breakpoint-get('no query fallbacks') != false or breakpoint-get('no queries') == true {
|
71
|
+
|
72
|
+
$type: type-of(breakpoint-get('no query fallbacks'));
|
73
|
+
$print: false;
|
74
|
+
|
75
|
+
@if ($type == 'bool') {
|
76
|
+
$print: true;
|
77
|
+
}
|
78
|
+
@else if ($type == 'string') {
|
79
|
+
@if $query-fallback == breakpoint-get('no query fallbacks') {
|
80
|
+
$print: true;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
@else if ($type == 'list') {
|
84
|
+
@each $wrapper in breakpoint-get('no query fallbacks') {
|
85
|
+
@if $query-fallback == $wrapper {
|
86
|
+
$print: true;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
// Write Fallback
|
92
|
+
@if ($query-fallback != false) and ($print == true) {
|
93
|
+
$type-fallback: type-of($query-fallback);
|
94
|
+
|
95
|
+
@if ($type-fallback != 'bool') {
|
96
|
+
#{$query-fallback} & {
|
97
|
+
@content;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
@else {
|
101
|
+
@content;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
@include private-breakpoint-reset-contexts();
|
107
|
+
}
|
108
|
+
|
109
|
+
|
110
|
+
@mixin mq($query, $no-query: false) {
|
111
|
+
@include breakpoint($query, $no-query) {
|
112
|
+
@content;
|
113
|
+
}
|
114
|
+
}
|