From d2f563ab6001ead9c890433d887e5c8482ab94ea Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Sat, 6 Dec 2014 20:56:41 +0100 Subject: [PATCH] Add infrastructure / template --- html/main.css | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ r2w.ini | 5 +++++ src/template.txt | 20 ++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 html/main.css create mode 100644 r2w.ini create mode 100644 src/template.txt diff --git a/html/main.css b/html/main.css new file mode 100644 index 0000000..94f41cb --- /dev/null +++ b/html/main.css @@ -0,0 +1,55 @@ +* { + margin: 0; + padding: 0; +} + +body { + background-color: #B3E1FF; +} + +#frame { + margin-left: auto; + margin-right: auto; + margin-top: 1em; + width: 90%; + max-width: 80em; + background-color: #fff; + border: 2px solid #0011CA; +} + +#header { + background-color: #A2A5CA; + border-bottom: 2px solid #0011CA; + color: #000; +} + +#header h1 { + margin: 0; + padding: 0; + text-align: center; +} + +#nav li { + display: inline-block; + border: 2px solid #0011CA; + background-color: #A2A5CA; + margin-left: 0.5em; + margin-top: -2px; +} + +#nav a { + display: inline-block; + text-decoration: none; + font-weight: bold; + color: #000; + padding: 2px; +} + +#nav a:hover { + color: #fff; + background-color: #0011CA; +} + +.document { + margin:1em; +} diff --git a/r2w.ini b/r2w.ini new file mode 100644 index 0000000..e5c833d --- /dev/null +++ b/r2w.ini @@ -0,0 +1,5 @@ +start_directory = src +target_directory = html +compare_directory = html +log_file = r2w.log +macros = '' diff --git a/src/template.txt b/src/template.txt new file mode 100644 index 0000000..12b8392 --- /dev/null +++ b/src/template.txt @@ -0,0 +1,20 @@ + + + + <% title %> + + +
+ + + <% body %> +
+ + -- 2.39.2