aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xssg2
-rw-r--r--styles.css9
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; }