Apply consistent color schema. Remove duplicated links.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 20 Feb 2016 02:42:01 +0200
changeset 64 e1866d4fdbad
parent 63 638be4cee0fe
child 65 6e28048f3e74
Apply consistent color schema. Remove duplicated links.
Makefile
--- a/Makefile	Sat Feb 20 02:02:43 2016 +0200
+++ b/Makefile	Sat Feb 20 02:42:01 2016 +0200
@@ -100,9 +100,11 @@
 
 $(HTML_DIR)/iframe.html: $(RST_FILES) $(MAKEFILE_LIST) | $(HTML_DIR)
 	{ \
-echo '<html><head></head><body>'; \
+echo '<html><head><style>'; \
+echo 'a { text-decoration: none; color: hsl(240, 100%, 50%); }'; \
+echo '</style></head><body>'; \
 echo '<ul style="padding-left: 1em;">'; \
-for f in $(RST_FILES); do \
+for f in $(sort $(RST_FILES)); do \
   n=$${f%.rst}; \
   printf '<li><a target="_parent" href="%s.html">%s</a></li>' $$n $$n; \
 done; \
@@ -117,15 +119,17 @@
 echo '  <div id="sidebar"><iframe src="iframe.html"></iframe></div>'; \
 echo; \
 echo '.. _About: README.html'; \
-echo '.. _`About author`: http://resume.defun.work/'; \
+echo '.. _`Contacts`: http://resume.defun.work/'; \
 echo '.. _`Oleksandr Gavenko`: http://resume.defun.work/'; \
 echo '.. _`gavenkoa`: http://resume.defun.work/'; \
 echo '.. _Licence: README.html#tips-licence'; \
-echo '.. _`Contact`: gavenkoa@gmail.com'; \
+echo; \
+echo '.. container:: header'; \
 echo; \
-echo '[ About_ | Licence_ | `About author`_ | `Contact`_ ]'; \
+echo '  [ About_ | Licence_ | `Contacts`_ ]'; \
+echo '.. container:: header small'; \
 echo; \
-echo 'Written by Oleksandr Gavenko (AKA gavenkoa), compiled at ``'`date +%F`'`` from rev ``'`hg id -i`'``.'; \
+echo '  Written by Oleksandr Gavenko (AKA gavenkoa), compiled at ``'`date +%F`'`` from rev ``'`hg id -i`'``.'; \
 } >$@
 
 $(HTML_DIR)/frame-index.html: index.sh $(RST_HTML_FILES) $(MAKEFILE_LIST) | $(HTML_DIR)