From fc015d92c3df7f562dc587799121e7ee254397f5 Mon Sep 17 00:00:00 2001 From: nek0 Date: Sun, 16 Dec 2018 18:16:55 +0100 Subject: [PATCH] twiddled with responsive design --- shell.nix | 2 +- site/css/default.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/shell.nix b/shell.nix index 2d3b025..f0081ce 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,4 @@ -{ nixpkgs ? import {}, compiler ? "ghc843", doBenchmark ? false }: +{ nixpkgs ? import {}, compiler ? "default", doBenchmark ? false }: let diff --git a/site/css/default.css b/site/css/default.css index 31b75bd..d2da35a 100644 --- a/site/css/default.css +++ b/site/css/default.css @@ -84,7 +84,7 @@ article li { .sidebar { position: fixed; - width: 300px; + width: 17em; } .navigation, .tags, .plugs { @@ -335,7 +335,7 @@ h2 { columns: 2; } -@media screen and (max-width: 600px){ +@media screen and (max-width: 1100px){ .sidebar{ position: relative; width: auto; @@ -344,6 +344,7 @@ h2 { } .navigation{ border-radius: 5px; + columns: auto; } .plugs, .tagcloud{ display: none;