aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2016-02-21 23:15:24 -0300
committerMatias Linares <matiaslina@openmailbox.org>2016-02-21 23:15:24 -0300
commit5a7569fe91f6b442ef5f50dc3f82764eca2aa39c (patch)
tree5f24019422ff9ba8610880a7a22ad92453de2b76
parent3180fbb3712c454c50df4f5f7713fcbff73a7546 (diff)
downloadssg-5a7569fe91f6b442ef5f50dc3f82764eca2aa39c.tar.gz
Add a slash before the directories.
-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; }