adding a standalone opentab css sheet

This commit is contained in:
manetta 2021-04-23 16:52:55 +02:00
parent 378d4666fd
commit 640a990850
4 changed files with 52 additions and 54 deletions

View File

@ -23,7 +23,7 @@ logbot @delete <num>: Delete posts from the log. For example: @logbot @delete 5
logbot @title <string>: Set the title of your log. logbot @title <string>: Set the title of your log.
logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float. logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float, opentab.
logbot @font <font>: Switch to another font. For example: logbot @font font. Available fonts include: polsku, notcouriersans; or select None to switch back to default serif. logbot @font <font>: Switch to another font. For example: logbot @font font. Available fonts include: polsku, notcouriersans; or select None to switch back to default serif.

View File

@ -22,7 +22,7 @@ class Logbot(Bot):
logbot @title <string>: Set the title of your log. logbot @title <string>: Set the title of your log.
logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float. logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float, opentab.
logbot @font <font>: Switch to another font. For example: logbot @font font. Available fonts include: polsku, notcouriersans; or select None to switch back to default serif. logbot @font <font>: Switch to another font. For example: logbot @font font. Available fonts include: polsku, notcouriersans; or select None to switch back to default serif.

View File

@ -37,56 +37,4 @@ video {
hr{ hr{
clear: both; clear: both;
padding: 4em 0 0 0; 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);
}
} }

View File

@ -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);
}