diff --git a/default.nix b/default.nix index e8da70e..b2b1f23 100644 --- a/default.nix +++ b/default.nix @@ -169,7 +169,7 @@ rec pushd $(mktemp -d) ${pkgs.termtosvg}/bin/termtosvg \ - -g 82x26 -M 500 -m 500 -t window_frame_js \ + -g 82x26 -M 2000 -m 2000 -t gjm8 \ -c '${niv-svg-cmds}' $site/niv.svg echo done rendering diff --git a/site/niv.svg b/site/niv.svg index f25d16a..faaecce 100644 --- a/site/niv.svg +++ b/site/niv.svg @@ -1,21 +1,40 @@ - + - + - + + :root { + --animation-duration: 7000ms; + } + + @keyframes roll { + 0.000%{transform:translateY(0px)} +28.571%{transform:translateY(-442px)} +57.143%{transform:translateY(-884px)} +85.714%{transform:translateY(-1326px)} +100.000%{transform:translateY(-1326px)} + } + + #screen_view { + animation-duration: var(--animation-duration); + animation-iteration-count:infinite; + animation-name:roll; + animation-timing-function: steps(1,end); + animation-fill-mode: forwards; + } + ]]> - - - - - - - - - - - - - - - - - + $ niv initInitializing Creating nix/sources.nix Creating nix/sources.json Importing 'niv' ... Adding package nmattia/niv Reading sources file Writing new sources file Done: Adding package nmattia/niv Importing 'nixpkgs' ... Adding package NixOS/nixpkgs-channels Done: Adding package NixOS/nixpkgs-channelsDone: Initializing$ niv add stedolan/jqAdding package stedolan/jq Reading sources file Writing new sources fileDone: Adding package stedolan/jq - 0:00/0:00 - - - - - - - - - \ No newline at end of file