fix errors from template sass

This commit is contained in:
Shay 2023-02-02 11:13:02 -08:00
parent f05de6fa06
commit c873aee631
10 changed files with 1367 additions and 1580 deletions

File diff suppressed because it is too large Load diff

1
css/main.css.map Normal file

File diff suppressed because one or more lines are too long

View file

@ -352,11 +352,11 @@ print 'It took ' + i + ' iterations to sort the deck.';</code></pre>
<div id="bg"></div> <div id="bg"></div>
<!-- Scripts --> <!-- Scripts -->
<script src="assets/js/jquery.min.js"></script> <script src="js/jquery.min.js"></script>
<script src="assets/js/browser.min.js"></script> <script src="js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script> <script src="js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script> <script src="js/util.js"></script>
<script src="assets/js/main.js"></script> <script src="js/main.js"></script>
</body> </body>
</html> </html>

View file

@ -138,7 +138,7 @@
border-left: solid (_size(border-width) * 4) _palette(border); border-left: solid (_size(border-width) * 4) _palette(border);
font-style: italic; font-style: italic;
margin: 0 0 _size(element-margin) 0; margin: 0 0 _size(element-margin) 0;
padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin); padding: (calc(_size(element-margin) / 4)) 0 (calc(_size(element-margin) / 4)) _size(element-margin);
} }
code { code {

View file

@ -32,7 +32,7 @@
} }
&.third { &.third {
width: calc(#{100% / 3} - #{$gutter * (1 / 3)}); width: calc(#{100% / 3} - #{$gutter * (calc(1 / 3))});
} }
&.quarter { &.quarter {

View file

@ -14,7 +14,7 @@
&:before { &:before {
@include vendor('pointer-events', 'none'); @include vendor('pointer-events', 'none');
background-image: url('../../images/overlay.png'); background-image: url('../images/overlay.png');
background-color: _palette(bg-overlay); background-color: _palette(bg-overlay);
border-radius: _size(border-radius); border-radius: _size(border-radius);
content: ''; content: '';

View file

@ -9,6 +9,7 @@
#bg { #bg {
@include vendor('transform', 'scale(1.0)'); @include vendor('transform', 'scale(1.0)');
-webkit-backface-visibility: hidden; -webkit-backface-visibility: hidden;
backface-visibility: hidden;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
@ -29,8 +30,8 @@
&:before { &:before {
@include vendor('transition', 'background-color #{_duration(bg)} ease-in-out'); @include vendor('transition', 'background-color #{_duration(bg)} ease-in-out');
@include vendor('transition-delay', '#{_duration(intro)}'); @include vendor('transition-delay', '#{_duration(intro)}');
background-image: linear-gradient(to top, #{_palette(bg-overlay)}, #{_palette(bg-overlay)}), // background-image: linear-gradient(to top, #{_palette(bg-overlay)}, #{_palette(bg-overlay)}),
url('../../images/overlay.png'); // url('../images/overlay.png');
background-size: auto, background-size: auto,
256px 256px; 256px 256px;
background-position: center, background-position: center,
@ -46,7 +47,7 @@
'transform #{_duration(article)} ease-in-out', 'transform #{_duration(article)} ease-in-out',
'filter #{_duration(article)} ease-in-out' 'filter #{_duration(article)} ease-in-out'
)); ));
background-image: url('../../images/bg.jpg'); // background-image: url('../images/bg.jpg');
background-position: center; background-position: center;
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;

View file

@ -4,7 +4,7 @@
/// Breakpoints. /// Breakpoints.
/// @var {list} /// @var {list}
$breakpoints: () !global; $breakpoints: ();
// Mixins. // Mixins.
@ -41,7 +41,7 @@
} }
// Less than or equal. // Less than or equal.
@elseif (str-slice($query, 0, 2) == '<=') { @else if (str-slice($query, 0, 2) == '<=') {
$op: 'lte'; $op: 'lte';
$breakpoint: str-slice($query, 3); $breakpoint: str-slice($query, 3);
@ -49,7 +49,7 @@
} }
// Greater than. // Greater than.
@elseif (str-slice($query, 0, 1) == '>') { @else if (str-slice($query, 0, 1) == '>') {
$op: 'gt'; $op: 'gt';
$breakpoint: str-slice($query, 2); $breakpoint: str-slice($query, 2);
@ -57,7 +57,7 @@
} }
// Less than. // Less than.
@elseif (str-slice($query, 0, 1) == '<') { @else if (str-slice($query, 0, 1) == '<') {
$op: 'lt'; $op: 'lt';
$breakpoint: str-slice($query, 2); $breakpoint: str-slice($query, 2);
@ -65,7 +65,7 @@
} }
// Not. // Not.
@elseif (str-slice($query, 0, 1) == '!') { @else if (str-slice($query, 0, 1) == '!') {
$op: 'not'; $op: 'not';
$breakpoint: str-slice($query, 2); $breakpoint: str-slice($query, 2);
@ -100,22 +100,22 @@
} }
// Less than or equal (<= y) // Less than or equal (<= y)
@elseif ($op == 'lte') { @else if ($op == 'lte') {
$media: 'screen and (max-width: ' + $y + ')'; $media: 'screen and (max-width: ' + $y + ')';
} }
// Greater than (> y) // Greater than (> y)
@elseif ($op == 'gt') { @else if ($op == 'gt') {
$media: 'screen and (min-width: ' + ($y + 1) + ')'; $media: 'screen and (min-width: ' + ($y + 1) + ')';
} }
// Less than (< 0 / invalid) // Less than (< 0 / invalid)
@elseif ($op == 'lt') { @else if ($op == 'lt') {
$media: 'screen and (max-width: -1px)'; $media: 'screen and (max-width: -1px)';
} }
// Not (> y) // Not (> y)
@elseif ($op == 'not') { @else if ($op == 'not') {
$media: 'screen and (min-width: ' + ($y + 1) + ')'; $media: 'screen and (min-width: ' + ($y + 1) + ')';
} }
@ -135,22 +135,22 @@
} }
// Less than or equal (<= inf / anything) // Less than or equal (<= inf / anything)
@elseif ($op == 'lte') { @else if ($op == 'lte') {
$media: 'screen'; $media: 'screen';
} }
// Greater than (> inf / invalid) // Greater than (> inf / invalid)
@elseif ($op == 'gt') { @else if ($op == 'gt') {
$media: 'screen and (max-width: -1px)'; $media: 'screen and (max-width: -1px)';
} }
// Less than (< x) // Less than (< x)
@elseif ($op == 'lt') { @else if ($op == 'lt') {
$media: 'screen and (max-width: ' + ($x - 1) + ')'; $media: 'screen and (max-width: ' + ($x - 1) + ')';
} }
// Not (< x) // Not (< x)
@elseif ($op == 'not') { @else if ($op == 'not') {
$media: 'screen and (max-width: ' + ($x - 1) + ')'; $media: 'screen and (max-width: ' + ($x - 1) + ')';
} }
@ -170,22 +170,22 @@
} }
// Less than or equal (<= y) // Less than or equal (<= y)
@elseif ($op == 'lte') { @else if ($op == 'lte') {
$media: 'screen and (max-width: ' + $y + ')'; $media: 'screen and (max-width: ' + $y + ')';
} }
// Greater than (> y) // Greater than (> y)
@elseif ($op == 'gt') { @else if ($op == 'gt') {
$media: 'screen and (min-width: ' + ($y + 1) + ')'; $media: 'screen and (min-width: ' + ($y + 1) + ')';
} }
// Less than (< x) // Less than (< x)
@elseif ($op == 'lt') { @else if ($op == 'lt') {
$media: 'screen and (max-width: ' + ($x - 1) + ')'; $media: 'screen and (max-width: ' + ($x - 1) + ')';
} }
// Not (< x and > y) // Not (< x and > y)
@elseif ($op == 'not') { @else if ($op == 'not') {
$media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')'; $media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')';
} }

View file

@ -24,7 +24,7 @@
@if ($category == brands) { @if ($category == brands) {
font-family: 'Font Awesome 5 Brands'; font-family: 'Font Awesome 5 Brands';
} }
@elseif ($category == solid) { @else if ($category == solid) {
font-family: 'Font Awesome 5 Free'; font-family: 'Font Awesome 5 Free';
font-weight: 900; font-weight: 900;
} }

View file

@ -362,7 +362,7 @@
} }
// Expand just the value? // Expand just the value?
@elseif $expandValue { @else if $expandValue {
@each $vendor in $vendor-prefixes { @each $vendor in $vendor-prefixes {
#{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; #{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
} }