Merge branch 'dev' into experimental

This commit is contained in:
2023-06-16 02:27:36 +00:00
5 changed files with 24 additions and 23 deletions
+1
View File
@@ -15,6 +15,7 @@ lang: en
# Matomo Tracking
# matomo_url: "://track.tld"
# matomo_siteId: 1
# google_analytics: "G-XXXXXXXXXX"
# Contact Me About This Page
page_contact: false
+1 -1
View File
@@ -4,7 +4,7 @@
{%- seo -%}
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- if site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
+18 -18
View File
@@ -4,7 +4,7 @@
/// Breakpoints.
/// @var {list}
$breakpoints: () !global;
//$breakpoints: () !global;
// Mixins.
@@ -41,7 +41,7 @@
}
// Less than or equal.
@elseif (str-slice($query, 0, 2) == '<=') {
@else if (str-slice($query, 0, 2) == '<=') {
$op: 'lte';
$breakpoint: str-slice($query, 3);
@@ -49,7 +49,7 @@
}
// Greater than.
@elseif (str-slice($query, 0, 1) == '>') {
@else if (str-slice($query, 0, 1) == '>') {
$op: 'gt';
$breakpoint: str-slice($query, 2);
@@ -57,7 +57,7 @@
}
// Less than.
@elseif (str-slice($query, 0, 1) == '<') {
@else if (str-slice($query, 0, 1) == '<') {
$op: 'lt';
$breakpoint: str-slice($query, 2);
@@ -65,7 +65,7 @@
}
// Not.
@elseif (str-slice($query, 0, 1) == '!') {
@else if (str-slice($query, 0, 1) == '!') {
$op: 'not';
$breakpoint: str-slice($query, 2);
@@ -100,22 +100,22 @@
}
// Less than or equal (<= y)
@elseif ($op == 'lte') {
@else if ($op == 'lte') {
$media: 'screen and (max-width: ' + $y + ')';
}
// Greater than (> y)
@elseif ($op == 'gt') {
@else if ($op == 'gt') {
$media: 'screen and (min-width: ' + ($y + 1) + ')';
}
// Less than (< 0 / invalid)
@elseif ($op == 'lt') {
@else if ($op == 'lt') {
$media: 'screen and (max-width: -1px)';
}
// Not (> y)
@elseif ($op == 'not') {
@else if ($op == 'not') {
$media: 'screen and (min-width: ' + ($y + 1) + ')';
}
@@ -135,22 +135,22 @@
}
// Less than or equal (<= inf / anything)
@elseif ($op == 'lte') {
@else if ($op == 'lte') {
$media: 'screen';
}
// Greater than (> inf / invalid)
@elseif ($op == 'gt') {
@else if ($op == 'gt') {
$media: 'screen and (max-width: -1px)';
}
// Less than (< x)
@elseif ($op == 'lt') {
@else if ($op == 'lt') {
$media: 'screen and (max-width: ' + ($x - 1) + ')';
}
// Not (< x)
@elseif ($op == 'not') {
@else if ($op == 'not') {
$media: 'screen and (max-width: ' + ($x - 1) + ')';
}
@@ -170,22 +170,22 @@
}
// Less than or equal (<= y)
@elseif ($op == 'lte') {
@else if ($op == 'lte') {
$media: 'screen and (max-width: ' + $y + ')';
}
// Greater than (> y)
@elseif ($op == 'gt') {
@else if ($op == 'gt') {
$media: 'screen and (min-width: ' + ($y + 1) + ')';
}
// Less than (< x)
@elseif ($op == 'lt') {
@else if ($op == 'lt') {
$media: 'screen and (max-width: ' + ($x - 1) + ')';
}
// Not (< x and > y)
@elseif ($op == 'not') {
@else if ($op == 'not') {
$media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')';
}
@@ -220,4 +220,4 @@
@content;
}
}
}
+2 -2
View File
@@ -10,7 +10,7 @@
// Initialize.
$cols: 12;
$multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00;
$unit: 100% / $cols;
$unit: calc(100% / $cols);
// Suffixes.
$suffixes: null;
@@ -146,4 +146,4 @@
}
}
}
+2 -2
View File
@@ -362,7 +362,7 @@
}
// Expand just the value?
@elseif $expandValue {
@else if $expandValue {
@each $vendor in $vendor-prefixes {
#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
}
@@ -373,4 +373,4 @@
#{$property}: #{$value};
}
}
}