diff --git a/web/static/background.png b/web/static/background.png new file mode 100644 index 0000000..9238d80 Binary files /dev/null and b/web/static/background.png differ diff --git a/web/static/style.css b/web/static/style.css new file mode 100644 index 0000000..d18d7e0 --- /dev/null +++ b/web/static/style.css @@ -0,0 +1,68 @@ +body { + font-family: sans-serif; + background: url('background.png') repeat; +} + +a { + text-decoration: none; + color: black; +} + +table, th, td { + border: 1px solid black; +} + +.header { + width: 100%; + background-color: #94DBFF; +} + +.header * { + list-style: none; + margin: 0 0; + padding: 0 0; +} + +.header ul { + position: relative; + top: 0; + left: 0; + right: 0; + z-index: 99; + max-width: 100%; + margin: 0 auto; + padding: 0 1em; + display: block; +} + +.header ul:after { + content: ""; + clear: both; + display: block; +} + +.header a { + text-align: center; + font-size: 1em; + padding: 1.63em 2em; + float: left; +} + +.header a:hover { + background-color: #FF8533 +} + +#title { + float: left; + font-size: 1.174em; + padding: 1em; + background-color: #FF8533 +} + +.nav { + padding: 0em 0em; +} + +.page { + background-color: #eeffee; +} diff --git a/web/templates/layout.html b/web/templates/layout.html index 9afb795..dd2baa5 100644 --- a/web/templates/layout.html +++ b/web/templates/layout.html @@ -1,41 +1,25 @@ - -Data Gristle -
-

Data Gristle

- More Info - - Home> - {% set path = request.path.split('/')[1:] %} - {% set lvl = '/' %} - {% for p in path %} - {% set lvl = lvl + path[loop.index - 1] + '/' %} - {% if lvl == request.path %} - {{ p }} - {% else %} - {{ p }}> - {% endif %} - {% endfor %} - - {% block body %} - {% endblock %} -
+ + + Data Gristle + + + {% set path = request.path.split('/')[1:] %} +
+ +
+
+ {% block body %} + {% endblock %} +
+