fix typo in readme
Diff
README.MD | 4 ++--
html/static/style.css | 48 ++++++++++++------------------------------------
2 files changed, 10 insertions(+), 42 deletions(-)
@@ -21,14 +21,14 @@
The parameters specific to the url shortener are:
* [application.html] → Things related to HTML and templating
* `[application.html]` → Things related to HTML and templating
* `template` → Whether to template at all or not
* `template_index` → Whether to template the index.html (/)
* `template_static` → Whether to template static html (this is sometimes needed as the submission form is often on a static page, as it is in this repo's example html)
* `path` → the path that html will be read from. Might want to make this /var/www/url_shortener, for instance.
* `static_path` → the subdirectory of `path` where static is stored. Unlike the above, this is actually displayed as part of the url.
* `domain` → The domain you're hosting from, used for templating
* [application.database] → Things related to connecting to the mSQL database
* `[application.database]` → Things related to connecting to the mySQL database
* `host`
* `port` → Usually 3306.
* `username`
@@ -135,55 +135,23 @@
min-width: 5em;
}
@keyframes buttonRaise {
0% {
transform: translateY(0px);
box-shadow: 0 0 0 0 rgb(60, 0, 0);
}
100% {
transform: translateY(-2px);
box-shadow: 0 4px 0 0 rgb(60, 0, 0);
}
}
#indexbuttonrow a:hover {
animation-name: buttonRaise;
animation-duration: 0.2s;
animation-fill-mode: forwards;
transform: translateY(-2px);
box-shadow: 0 4px 0 0 rgb(60, 0, 0);
}
#indexbuttonrow a:active {
animation-name: buttonRaise;
animation-duration: 0.2s;
animation-fill-mode: forwards;
animation-direction: reverse;
}
@keyframes buttonRaise_2 {
0% {
transform: translateY(0px);
box-shadow: 0 0 0 0 rgb(183, 183, 183);
}
100% {
transform: translateY(-2px);
box-shadow: 0 4px 0 0 rgb(183, 183, 183);
}
transform: none;
box-shadow: none;
}
.button:hover {
animation-name: buttonRaise_2;
animation-duration: 0.2s;
animation-fill-mode: forwards;
transform: translateY(-2px);
box-shadow: 0 4px 0 0 rgb(183, 183, 183);
}
.button:active {
animation-name: buttonRaise_2;
animation-duration: 0.2s;
animation-fill-mode: forwards;
animation-direction: reverse;
transform: none;
box-shadow: none;
}