aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2011-08-24 22:12:25 +0200
committerMartin Vilcans <martin@librador.com>2011-08-24 22:12:25 +0200
commita6c6839bf65895180e22aaa6ccc266bb6219e46e (patch)
tree49ae63cfb724dc596183b81339659806e4005652
parent92330238d7701d1d0c372000aa3122de6cd63c02 (diff)
downloadscreenplain-a6c6839bf65895180e22aaa6ccc266bb6219e46e.tar.gz
Added CSS for annotated HTML output
-rw-r--r--server/style.css64
1 files changed, 64 insertions, 0 deletions
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;
+}