Browse Source

renaming linear to timeline, updating README + @help text

master
manetta 4 years ago
parent
commit
3a0f5aa2ea
  1. 11
      LogBot/README.md
  2. 4
      LogBot/logbot.py
  3. 11
      LogBot/stylesheets/float.css
  4. 31
      LogBot/stylesheets/linear.css
  5. 1
      LogBot/template.html

11
LogBot/README.md

@ -23,9 +23,9 @@ logbot @delete <num>: Delete posts from the log. For example: @logbot @delete 5
logbot @title <string>: Set the title of your log.
logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: log. See https://git.vvvvvvaria.org/varia/bots/ for examples.
logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float.
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. See https://git.vvvvvvaria.org/varia/bots/ for examples.
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 @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

4
LogBot/logbot.py

@ -22,9 +22,9 @@ class Logbot(Bot):
logbot @title <string>: Set the title of your log.
logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: log. See https://git.vvvvvvaria.org/varia/bots/ for examples.
logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline, float.
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. See https://git.vvvvvvaria.org/varia/bots/ for examples.
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 @uptime: To check how long @logbot has been around

11
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;
}

31
LogBot/stylesheets/linear.css

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

1
LogBot/template.html

@ -4,6 +4,7 @@
<meta charset="utf8">
<title>{{ title }} - (Generator: LogBot)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>{{ title }}</h1>

Loading…
Cancel
Save