changeset 64:e1866d4fdbad

Apply consistent color schema. Remove duplicated links.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sat, 20 Feb 2016 02:42:01 +0200
parents 638be4cee0fe
children 6e28048f3e74
files Makefile
diffstat 1 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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 '[ About_ | Licence_ | `About author`_ | `Contact`_ ]'; \
+echo '.. container:: header'; \
 echo; \
-echo 'Written by Oleksandr Gavenko (AKA gavenkoa), compiled at ``'`date +%F`'`` from rev ``'`hg id -i`'``.'; \
+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`'``.'; \
 } >$@
 
 $(HTML_DIR)/frame-index.html: index.sh $(RST_HTML_FILES) $(MAKEFILE_LIST) | $(HTML_DIR)