summaryrefslogtreecommitdiffstats
path: root/assets/css/_functions.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-27 22:03:42 +0100
committerVolpeon <git@volpeon.ink>2020-12-27 22:03:42 +0100
commit517fc58cf46595990fd5af64a1bd647ee5ac3c08 (patch)
tree3720064c91a95230b1208352b9fa63b554e1b0cd /assets/css/_functions.scss
parentBuild script: Improved path and relative link calculation, added vars to conf... (diff)
downloadvolpeon.ink-517fc58cf46595990fd5af64a1bd647ee5ac3c08.tar.gz
volpeon.ink-517fc58cf46595990fd5af64a1bd647ee5ac3c08.tar.bz2
volpeon.ink-517fc58cf46595990fd5af64a1bd647ee5ac3c08.zip
Added stylelint, generate some metadata automatically
Diffstat (limited to 'assets/css/_functions.scss')
-rw-r--r--assets/css/_functions.scss14
1 files changed, 7 insertions, 7 deletions
diff --git a/assets/css/_functions.scss b/assets/css/_functions.scss
index cd8947e..1523772 100644
--- a/assets/css/_functions.scss
+++ b/assets/css/_functions.scss
@@ -1,12 +1,12 @@
1@function px-to-em($s, $b: $font-size) { 1@function px-to-em($s, $b: $font-size) {
2 @return 1 / ($b / 1px) * ($s / 1px) * 1em; 2 @return 1 / ($b / 1px) * ($s / 1px) * 1em;
3} 3}
4 4
5@function str-repeat($s, $n) { 5@function str-repeat($s, $n) {
6 $r: ""; 6 $r: '';
7 @while $n > 0 { 7 @while $n > 0 {
8 $r: $r + $s; 8 $r: $r + $s;
9 $n: $n - 1; 9 $n: $n - 1;
10 } 10 }
11 @return $r; 11 @return $r;
12} 12}