diff --git a/LogBot/README.md b/LogBot/README.md index 8fbd337..13999e5 100644 --- a/LogBot/README.md +++ b/LogBot/README.md @@ -23,7 +23,7 @@ logbot @delete : Delete posts from the log. For example: @logbot @delete 5 logbot @title : Set the title of your log. -logbot @style : Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float. +logbot @style : Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float, opentab. logbot @font : Switch to another font. For example: logbot @font font. Available fonts include: polsku, notcouriersans; or select None to switch back to default serif. diff --git a/LogBot/logbot.py b/LogBot/logbot.py index f460c10..a4de56b 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -22,7 +22,7 @@ class Logbot(Bot): logbot @title : Set the title of your log. - logbot @style : Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float. + logbot @style : Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float, opentab. logbot @font : Switch to another font. For example: logbot @font font. Available fonts include: polsku, notcouriersans; or select None to switch back to default serif. diff --git a/LogBot/stylesheets/float.css b/LogBot/stylesheets/float.css index 14384ca..e3be607 100644 --- a/LogBot/stylesheets/float.css +++ b/LogBot/stylesheets/float.css @@ -37,56 +37,4 @@ video { hr{ clear: both; padding: 4em 0 0 0; -} -@media print{ - page{ - size: A3; - orientation: portrait; - margin: 10mm; - background-color: white; - color: black; - - @top-left{ - content: "VARIA's OPEN TAB"; - font-family: monospace; - font-size: 10pt; - } - @top-center{ - content: "Daily encounters with Everyday Technology"; - font-family: monospace; - font-size: 10pt; - } - @bottom-center{ - content: "Dagelijkse ontmoetingen met Alledaagse Technologie"; - font-family: monospace; - font-size: 10pt; - } - @bottom-right{ - content: "VARIA's OPEN TAB"; - font-family: monospace; - font-size: 10pt; - } - } - h1{ - width: 100%; - text-align: center; - } - p.key, - hr, - span{ - display: none; - } - .post{ - margin: 1.5em 0.75em; - } - .post p.message{ - font-size: 12pt; - line-height: 1.5; - width: 100%; - max-width: none; - } - .post p.message img{ - max-width: 50mm; - transform: rotate(5deg); - } } \ No newline at end of file diff --git a/LogBot/stylesheets/opentab.css b/LogBot/stylesheets/opentab.css new file mode 100644 index 0000000..1452b28 --- /dev/null +++ b/LogBot/stylesheets/opentab.css @@ -0,0 +1,50 @@ +@page{ + size: A3; + orientation: portrait; + margin: 10mm; + background-color: white; + color: black; + + @top-left{ + content: "VARIA's OPEN TAB"; + font-family: monospace; + font-size: 10pt; + } + @top-center{ + content: "Daily encounters with Everyday Technology"; + font-family: monospace; + font-size: 10pt; + } + @bottom-center{ + content: "Dagelijkse ontmoetingen met Alledaagse Technologie"; + font-family: monospace; + font-size: 10pt; + } + @bottom-right{ + content: "VARIA's OPEN TAB"; + font-family: monospace; + font-size: 10pt; + } +} +h1{ + width: 100%; + text-align: center; +} +p.key, +hr, +span{ + display: none; +} +.post{ + margin: 1.5em 0.75em; +} +.post p.message{ + font-size: 12pt; + line-height: 1.5; + width: 100%; + max-width: none; +} +.post p.message img{ + max-width: 50mm; + transform: rotate(5deg); +} \ No newline at end of file