From 5a7569fe91f6b442ef5f50dc3f82764eca2aa39c Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Sun, 21 Feb 2016 23:15:24 -0300 Subject: Add a slash before the directories. --- ssg | 2 ++ styles.css | 9 ++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ssg b/ssg index 8509b7b..a81678c 100755 --- a/ssg +++ b/ssg @@ -97,6 +97,8 @@ sub generate_link { my $str = $file->basename; $str =~ s/\.md$//g; + $str = "$str/" if $file->is_dir(); + # Higlight? my $hl = ""; if($options->{hl} eq 1) { diff --git a/styles.css b/styles.css index be7a838..b50c5db 100644 --- a/styles.css +++ b/styles.css @@ -29,7 +29,6 @@ html { border: 0; margin: 0; padding: 0; - width: 80px; } #side-bar ul { @@ -72,7 +71,7 @@ html { margin: 0 auto 0 2em; padding: 1em 3em 2em 1em; border: 0; - margin-left: 80px; + margin-left: 130px; border-left: 1px solid #aaa; } @@ -84,8 +83,8 @@ html { /* Footer */ #footer { - background-color: #bdc3c7; - color: #111; + background-color: #2c3e50; + color: #bdc3c7; font-size: 91%; padding: 2em; clear: both; @@ -93,7 +92,7 @@ html { #footer .left { text-align: left; float: left; clear: left; } #footer .right { text-align: right; } -#footer a { color: #111; text-decoration: none; } +#footer a { color: #bdc3c7; text-decoration: underline; } #footer a:hover { text-decoration: underline; } abbr, acronym { border-bottom: 1px dotted #333; cursor: help; } -- cgit v1.2.3-70-g09d2