renaming linear to timeline, updating README + @help text

This commit is contained in:
manetta 2021-03-12 21:19:40 +01:00
parent 5d09d6bda4
commit 3a0f5aa2ea
5 changed files with 20 additions and 38 deletions

View File

@ -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 @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 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 ## Stylesheets
* timeline
* float
Examples soon. Examples soon.
## Fonts ## Fonts
* polsku
* notcouriersans
* None
Examples soon. Examples soon.
## Situated tails ## Situated tails

View File

@ -22,9 +22,9 @@ 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: 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 logbot @uptime: To check how long @logbot has been around

View File

@ -6,7 +6,7 @@ body {
margin: 1em 1em 3em 1em; margin: 1em 1em 3em 1em;
background-color: #eeebeb; background-color: #eeebeb;
font-family: "font", serif; font-family: "font", serif;
font-size: 16px; font-size: 125%;
line-height: 1.6; line-height: 1.6;
} }
.post { .post {
@ -16,8 +16,8 @@ body {
.post p.key { .post p.key {
float: left; float: left;
margin: 0 1em; margin: 0 1em;
font-size: 10px; font-size: small;
line-height: 1px; line-height: 0.5;
} }
.post p.message { .post p.message {
float: left; float: left;
@ -33,3 +33,8 @@ video {
clear: both; clear: both;
margin: 0.4em 0; margin: 0.4em 0;
} }
hr{
clear: both;
padding: 4em 0 0 0;
}

View File

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

View File

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