From 3109df62fb2d6ee345979064b3cb2eaa786193d9 Mon Sep 17 00:00:00 2001 From: tirilane Date: Sun, 6 Mar 2011 21:55:28 +0000 Subject: [PATCH] Pimpa opp hyllene litt, i henhold til #12. --- python/web/media/styles/scaffold.css | 32 ++++++++++++++++++++++++++ python/web/templates/book/index.html | 14 +++++++++++ python/web/templates/person/index.html | 14 +++++++++++ 3 files changed, 60 insertions(+) create mode 100644 python/web/templates/book/index.html create mode 100644 python/web/templates/person/index.html diff --git a/python/web/media/styles/scaffold.css b/python/web/media/styles/scaffold.css index 17f47e9..0794bd8 100644 --- a/python/web/media/styles/scaffold.css +++ b/python/web/media/styles/scaffold.css @@ -68,6 +68,37 @@ img.aligncenter { margin-right: auto; } +table.shelf{ + width: 100px; + height: 100px; + border: 2px solid #27606E; + background-color: #44A4BD rgba(0.1,0.1,0.1,0.5); + color: #27606E; + box-shadow: 64px 64px 24px 40px rgba(0,0,0,0.4), 12px 12px 0px 18px rgba(0,0,0,0.4) inset; + font-family: "Trebuchet MS", sans-serif; + font-size: 16px; + font-weight: bold; + line-height: 1.4em; + font-style: normal; + border-collapse:separate; +} + +.shelf tfoot td { + color: #9CD009; + font-size:32px; + text-align:center; + padding:10px 0px; + text-shadow:1px 1px 1px #444; +} + +.shelf tfoot th { + color:#666; +} + +.highlight { + background-color: #3399CC; +} + .key { color: #27606E; font-family: verdana, sans-serif, arial, courier new; @@ -102,6 +133,7 @@ img.aligncenter { .link { color: #27606E; font-family: verdana, sans-serif, arial, courier new; + text-decoration: none; text-align: center; font-weight: bolder; text-shadow: 1px 1px 1px #44A4BD; diff --git a/python/web/templates/book/index.html b/python/web/templates/book/index.html new file mode 100644 index 0000000..998c626 --- /dev/null +++ b/python/web/templates/book/index.html @@ -0,0 +1,14 @@ +{% extends "base/main.html" %} + +{%block title%} +Bøker +{% endblock %} + +{% block content %} +

Bøker:

+ +{% endblock %} diff --git a/python/web/templates/person/index.html b/python/web/templates/person/index.html new file mode 100644 index 0000000..d4540a5 --- /dev/null +++ b/python/web/templates/person/index.html @@ -0,0 +1,14 @@ +{% extends "base/main.html" %} + +{%block title%} +Personer +{% endblock %} + +{% block content %} +

Personer:

+ +{% endblock %}