From a6c6839bf65895180e22aaa6ccc266bb6219e46e Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Wed, 24 Aug 2011 22:12:25 +0200 Subject: Added CSS for annotated HTML output --- server/style.css | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 server/style.css diff --git a/server/style.css b/server/style.css new file mode 100644 index 0000000..19756f6 --- /dev/null +++ b/server/style.css @@ -0,0 +1,64 @@ +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, +small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, figcaption, figure, +footer, header, hgroup, menu, nav, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} + +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} + +body { + background: #ccc; + font-family: Courier; + font-size: 12pt; +} + +.block { + margin-left: 20px; + margin-right: 20px; + position: relative; +} + +.type { + position: absolute; + left: 0; + font-family: serif; + font-size: 11pt; + border-radius: .2em; + color: #fff; +} + +.block > p { + background: #fff; + margin-left: 80px; + max-width: 68em; +} + +.typeSlug { + background: #f84; +} +.typeDialog { + background: #080; +} +.typeDual { + background: #088; +} +.typeAction { + background: #333; +} +.typeTransition { + background: #888; +} -- cgit