diff --git a/LogBot/README.md b/LogBot/README.md index f8e4e60..8fbd337 100644 --- a/LogBot/README.md +++ b/LogBot/README.md @@ -23,9 +23,9 @@ 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: log. See https://git.vvvvvvaria.org/varia/bots/ for examples. +logbot @style : Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float. -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. See https://git.vvvvvvaria.org/varia/bots/ for examples. +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. logbot @uptime: To check how long @logbot has been around @@ -34,10 +34,17 @@ logbot @uptime: To check how long @logbot has been around ## Stylesheets +* timeline +* float + Examples soon. ## Fonts +* polsku +* notcouriersans +* None + Examples soon. ## Situated tails diff --git a/LogBot/logbot.py b/LogBot/logbot.py index f25e14e..39b5bfd 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -22,9 +22,9 @@ 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: log. See https://git.vvvvvvaria.org/varia/bots/ for examples. + logbot @style : Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float. - 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. See https://git.vvvvvvaria.org/varia/bots/ for examples. + 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. logbot @uptime: To check how long @logbot has been around diff --git a/LogBot/stylesheets/float.css b/LogBot/stylesheets/float.css index 724f2af..e3be607 100644 --- a/LogBot/stylesheets/float.css +++ b/LogBot/stylesheets/float.css @@ -6,7 +6,7 @@ body { margin: 1em 1em 3em 1em; background-color: #eeebeb; font-family: "font", serif; - font-size: 16px; + font-size: 125%; line-height: 1.6; } .post { @@ -16,8 +16,8 @@ body { .post p.key { float: left; margin: 0 1em; - font-size: 10px; - line-height: 1px; + font-size: small; + line-height: 0.5; } .post p.message { float: left; @@ -33,3 +33,8 @@ video { clear: both; margin: 0.4em 0; } + +hr{ + clear: both; + padding: 4em 0 0 0; +} \ No newline at end of file diff --git a/LogBot/stylesheets/linear.css b/LogBot/stylesheets/linear.css deleted file mode 100644 index 9ac83b1..0000000 --- a/LogBot/stylesheets/linear.css +++ /dev/null @@ -1,31 +0,0 @@ -@font-face{ - font-family: "font"; - src: url("font.ttf") format("truetype"); -} -body { - margin: 1em; - max-width: 800px; - background-color: lightyellow; - font-family: "font", serif; - font-size: 16px; - line-height: 1.6; -} -.post { - margin: 1em 0; - clear: both; -} -.post p.key { - float: left; - margin: 0 1em 1em; - font-size: 10px; -} -.post p.message { -} -img, -iframe, -audio, -video { - max-width: calc(100% - 100px); - height: auto; - margin: 0.6em 0; -} diff --git a/LogBot/template.html b/LogBot/template.html index 0b74587..62e0811 100644 --- a/LogBot/template.html +++ b/LogBot/template.html @@ -4,6 +4,7 @@ {{ title }} - (Generator: LogBot) +

{{ title }}