diff --git a/packages/websites/stop-using-nix-env/project.nix b/packages/websites/stop-using-nix-env/project.nix index 187186d..bab782a 100644 --- a/packages/websites/stop-using-nix-env/project.nix +++ b/packages/websites/stop-using-nix-env/project.nix @@ -4,7 +4,7 @@ packages.stop-using-nix-env = let site = with pkgs; stdenvNoCC.mkDerivation rec { name = "stop-using-nix-env"; - version = "1.0.1"; + version = "1.1.0"; src = ./src; buildCommand = '' install -Dm644 $src/* -t $out/share/www/${name} diff --git a/packages/websites/stop-using-nix-env/src/index.html b/packages/websites/stop-using-nix-env/src/index.html index 96748cb..265d6b8 100644 --- a/packages/websites/stop-using-nix-env/src/index.html +++ b/packages/websites/stop-using-nix-env/src/index.html @@ -11,24 +11,55 @@ h1, h3 { text-align: center; } + @media (max-width: 64em) { + h1 { + font-size: 5em; + } + h2, p, pre { + margin-left: 7vw; + margin-right: 7vw; + } + p { + font-size: 1em; + } + x-termblock { + font-size: 2.5em; + } + .yt { + /* 16:9 */ + width: 86vw; + height: 48.375vw; + } + } + @media (min-width: 64em) { + h1 { + font-size: 10vh; + } + h2, p, pre { + margin-left: 20vw; + margin-right: 20vw; + } + p, x-termblock { + font-size: 1.5em; + } + .yt { + /* 16:9 */ + width: 60vw; + height: 33.75vw; + } + } h3 { margin-bottom: 10vh; } h1 { margin-top: 10vh; margin-bottom: 1vh; - font-size: 10vh; - } - h2, p, pre { - margin-left: 20vw; - margin-right: 20vw; } h2 { margin-top: 10vh; - font-size: 3vh; + font-size: 3em; } p { - font-size: 2vh; color: #dddddd; line-height: 1.5; } @@ -45,9 +76,6 @@ .yt { margin-top: 5vh; margin-bottom: 5vh; - /* 16:9 */ - width: 60vw; - height: 33.75vw; } @@ -83,13 +111,11 @@

     
-      {
+{
+  pkg = < derivation pkg-wrapper-1.3 >;
 
-        package = < derivation package-wrapper-1.3 >;
-
-        package-unwrapped = < derivation package-1.3 >;
-
-      }
+  pkg-unwrapped = < derivation pkg-1.3 >;
+}
     
   

Name collisions when upgrading packages

@@ -104,17 +130,15 @@

     
-      {
+{
+  zstd = < derivation zstd-2.0 >;
 
-        zstd = < derivation zstd-2.0 >;
+  haskellPackages = {
 
-        haskellPackages = {
+    zstd = < derivation zstd-3.0 >;
 
-          zstd = < derivation zstd-3.0 >;
-
-        };
-
-      }
+  };
+}
     
   

Unintentional major version jumps