From 7a85339b37ffa1a61be06640df4405325dcbfbe2 Mon Sep 17 00:00:00 2001 From: flaviut Date: Sun, 13 Jul 2014 14:02:22 -0400 Subject: [PATCH] More css, make chrome better --- content/stylesheets/main.css | 6 ++++++ layouts/default.html | 1 + 2 files changed, 7 insertions(+) diff --git a/content/stylesheets/main.css b/content/stylesheets/main.css index 26e6db6..a25d54a 100644 --- a/content/stylesheets/main.css +++ b/content/stylesheets/main.css @@ -169,3 +169,9 @@ a:hover { color: #EEE; text-shadow: -1px 0 #2B2B2B, 0 1px #2B2B2B, 1px 0 #2B2B2B, 0 -1px #2B2B2B } + +/* Chrome */ +@media screen and (-webkit-min-device-pixel-ratio:0) { + #sidebar ul { text-indent: -5px; } + #sidebar #toc-list { left: 25px; } +} \ No newline at end of file diff --git a/layouts/default.html b/layouts/default.html index 364b8e1..62e006c 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -3,6 +3,7 @@ Nimrod by Example - <%= @item[:title] %> +