switch to no-class.css

Wed, 16 Dec 2020 15:19:17 +0100

author
David Demelier <markand@malikania.fr>
date
Wed, 16 Dec 2020 15:19:17 +0100
changeset 30
0ccb3b76e2ed
parent 29
08131face9d0
child 31
e902ab63f718

switch to no-class.css

.hgignore file | annotate | diff | comparison | revisions
Makefile file | annotate | diff | comparison | revisions
css/no-class.css file | annotate | diff | comparison | revisions
templates/template.html file | annotate | diff | comparison | revisions
--- a/.hgignore	Wed Dec 16 11:30:47 2020 +0100
+++ b/.hgignore	Wed Dec 16 15:19:17 2020 +0100
@@ -3,4 +3,4 @@
 \.tar\.xz$
 ^doxygen$
 ^irccd-(\d+)\.(\d+).(\d+)$
-^out$
+^www$
--- a/Makefile	Wed Dec 16 11:30:47 2020 +0100
+++ b/Makefile	Wed Dec 16 15:19:17 2020 +0100
@@ -80,8 +80,6 @@
 .1.pdf .5.pdf .7.pdf:
 	sed "s/@IRCCD_MAN_DATE@/October 06, 2019/" $< | ${MANDOC} ${MANDOC_PDF} > $@
 
-site: ${SITE_HTML}
-
 man: ${WRKDIR} ${MAN1HTML} ${MAN5HTML} ${MAN7HTML} ${MAN1PDF} ${MAN5PDF} ${MAN7PDF}
 
 doxygen: ${WKRDIR}
@@ -90,14 +88,13 @@
 	cmake --build irccd-${VERSION}/build --target doxygen > /dev/null
 	rsync -a --delete irccd-${VERSION}/build/doc/doxygen/html/ doxygen
 
-publish: site man doxygen
-	rm -rf out
-	mkdir out
-	cp -R css out
-	cp -R doxygen out/api
-	cp ${MAN1HTML} ${MAN5HTML} ${MAN7HTML} out
-	cp ${MAN1PDF} ${MAN5PDF} ${MAN7PDF} out
-	cp ${SITE_HTML} out
+www: ${SITE_HTML} man doxygen
+	mkdir $@
+	cp -R css $@
+	cp -R doxygen $@/api
+	cp ${MAN1HTML} ${MAN5HTML} ${MAN7HTML} $@
+	cp ${MAN1PDF} ${MAN5PDF} ${MAN7PDF} $@
+	cp ${SITE_HTML} $@
 
 clean:
 	rm -f ${MAN1HTML} ${MAN5HTML} ${MAN7HTML}
@@ -107,4 +104,4 @@
 	rm -rf doxygen
 	rm -rf ${WRKDIR}
 
-.PHONY: all clean man publish site
+.PHONY: all clean man
--- a/css/no-class.css	Wed Dec 16 11:30:47 2020 +0100
+++ b/css/no-class.css	Wed Dec 16 15:19:17 2020 +0100
@@ -68,7 +68,7 @@
 }
 b,
 strong {
-  font-weight: bolder
+  font-weight: bold
 }
 code,
 kbd,
@@ -403,14 +403,6 @@
   padding: .25em;
   text-align: left
 }
-td:first-child,
-th:first-child {
-  padding-left: 0
-}
-td:last-child,
-th:last-child {
-  padding-right: 0
-}
 tbody tr:nth-of-type(odd) {
   background-color: #f7f7f7
 }
--- a/templates/template.html	Wed Dec 16 11:30:47 2020 +0100
+++ b/templates/template.html	Wed Dec 16 15:19:17 2020 +0100
@@ -16,4 +16,9 @@
 		</header>
 $body$
 	</body>
+
+	<footer>
+	<hr>
+	Copyright (c) <a href="http://markand.fr">David Demelier</a>. irccd is a <a href="http://malikania.fr"> malikania project</a>.
+	</footer>
 </html>

mercurial