diff --git a/sass/static/style.scss b/sass/static/style.scss index ae0f68a..0de084a 100644 --- a/sass/static/style.scss +++ b/sass/static/style.scss @@ -6,11 +6,11 @@ /// @return {String} - Updated string @function str-replace($string, $search, $replace: '') { $index: str-index($string, $search); - + @if $index { @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); } - + @return $string; } @@ -61,11 +61,11 @@ font-family: $family; src: url('#{$path}.eot'); src: url('#{$path}.eot?#iefix') format('embedded-opentype'), - url('#{$path}.woff2') format('woff2'), - url('#{$path}.woff') format('woff'), - url('#{$path}.ttf') format('truetype'); - // TODO: local fonts disabled during devel - // src: local($variant), local($hyphenated); + url('#{$path}.woff2') format('woff2'), + url('#{$path}.woff') format('woff'), + url('#{$path}.ttf') format('truetype'); + // TODO: local fonts disabled during devel + // src: local($variant), local($hyphenated); font-weight: $weight; font-style: $style; } @@ -156,41 +156,41 @@ $icon_h2_slash: url("data:image/svg+xml; utf8, #{url-encode($icon_h2_slash_svg)} // CC0; based on: https://www.svgrepo.com/svg/211498/rss $icon_rss_svg: ' \ \ + viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"> \ \ - \ - \ - \ + \ + \ + \ \ \ - \ - \ - \ + \ + \ + \ \ \ - \ - \ - \ + \ + \ + \ \ \ \ @@ -438,7 +438,7 @@ body { content: $marker_title; font-size: 1.5rem; - } + } h2::before { content: $marker_section; @@ -481,17 +481,17 @@ body .listing { - .title - { - font-size: 1.3rem; - margin-top: 0.5rem; - } + .title + { + font-size: 1.3rem; + margin-top: 0.5rem; + } .subtitle { font-style: italic; font-size: 0.9rem; margin-left: 1rem; - margin-top: 0.1rem; + margin-top: 0.1rem; } } }