diff --git a/doc/Makefile b/doc/Makefile index 4a546342..495c043b 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -18,15 +18,17 @@ SETTING_FONTSIZE=11pt ## Source directory SRC_DIR=$(shell pwd)/src +## Templates +TEMPLATES=$(shell pwd)/templates + ## CSS directory -CSS_DIR=$(SRC_DIR)/css +CSS_DIR=$(TEMPLATES)/css +CSS_SRC=$(shell find $(CSS_DIR) -type f -name "*.css") +CSS_INCLUDES=$(foreach x, $(CSS_SRC), --variable css=$(x)) ## All markdown files in the working directory export SRC=$(shell find $(SRC_DIR) -name "*.md" | sort) -## Templates -TEMPLATES=$(shell pwd)/templates - DOCUMENT_SETTINGS_PDF= \ --listings \ --variable fontsize=$(SETTING_FONTSIZE) \ @@ -41,6 +43,7 @@ DOCUMENT_SETTINGS_PDF= \ --variable geometry=portrait DOCUMENT_SETTINGS_HTML= \ + $(CSS_INCLUDES) \ --variable lang=de \ --variable lof=true \ --variable lol=true \ diff --git a/doc/templates/css/table.css b/doc/templates/css/table.css new file mode 100644 index 00000000..492744b3 --- /dev/null +++ b/doc/templates/css/table.css @@ -0,0 +1,27 @@ +table { + margin-left: auto; + margin-right: auto; + font-family: verdana,arial,sans-serif; + font-size:11px; + color:#333333; + border-width: 1px; + border-color: #666666; + border-collapse: collapse; +} + +table th { + border-width: 1px; + padding: 8px; + border-style: solid; + border-color: #666666; + background-color: #dedede; +} + +table td { + border-width: 1px; + padding: 8px; + border-style: solid; + border-color: #666666; + background-color: #ffffff; +} +