Browse Source

adding a standalone opentab css sheet

master
manetta 4 years ago
parent
commit
640a990850
  1. 2
      LogBot/README.md
  2. 2
      LogBot/logbot.py
  3. 52
      LogBot/stylesheets/float.css
  4. 50
      LogBot/stylesheets/opentab.css

2
LogBot/README.md

@ -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.

2
LogBot/logbot.py

@ -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.

52
LogBot/stylesheets/float.css

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

50
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);
}
Loading…
Cancel
Save