From c4e13c4646ccd5dc1cd0c6d0941e4e99a6f0c9c6 Mon Sep 17 00:00:00 2001 From: not manx Date: Wed, 24 Jun 2020 12:16:43 +0000 Subject: [PATCH] Fix CSS thing --- README.org | 4 ++-- bantflags.user.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 4e813c3..ca387f5 100644 --- a/README.org +++ b/README.org @@ -45,8 +45,8 @@ need, plus an entry for the ~`empty flag`~ 5. Type the following into your repl: #+BEGIN_SRC lisp - (ql:quickload :bantflags) - (bantflags:main) +(ql:quickload :bantflags) +(bantflags:main) #+END_SRC 6. To use bantflags as a Systemd service, I have included an example service and an ~init.el~ file for the service to run, diff --git a/bantflags.user.js b/bantflags.user.js index df7b0be..64511ce 100644 --- a/bantflags.user.js +++ b/bantflags.user.js @@ -247,7 +247,7 @@ function main() { } // See Docs/styles.css - addStyle('.bantFlag{padding: 0px 0px 0px 5px; display: inline-block; width: 16px; height: 11px; position: relative;} .bantflags_flag{padding: 1px;} [title^="Romania"]{ position: relative; animation: shakeAnim 0.1s linear infinite;} @keyframes shakeAnim{ 0% {left: 1px;} 25% {top: 2px;} 50% {left: 1px;} 75% {left: 0px;} 100% {left: 2px;}}.flagsForm{float: right; clear: right; margin: 20px 10px;} #flagSelect{display:none;} #flagSelect ul{list-style-type: none;padding: 0;margin-bottom: 0;cursor: pointer;bottom: 100%;height: 200px;overflow: auto;position: absolute;width:200px;background-color:#fff} #flagSelect ul li {display: block;} #flagSelect ul li:hover {background-color: #ddd;}#flagSelect {position: absolute;}#flagSelect input {width: 200px;} #flagSelect .hide {display: none;}#flagSelect img {margin-left: 2px;}') + addStyle('.bantFlag{padding: 0px 0px 0px 5px; display: inline-block; width: 16px; height: 11px; position: relative;} .bantflags_flag{padding: 1px;} [title^="Romania"]{ position: relative; animation: shakeAnim 0.1s linear infinite;} @keyframes shakeAnim{ 0% {left: 1px;} 25% {top: 2px;} 50% {left: 1px;} 75% {left: 0px;} 100% {left: 2px;}}.flagsForm{float: right; clear: right; margin: 0 20px 10px 0;} #flagSelect{display:none;} #flagSelect ul{list-style-type: none;padding: 0;margin-bottom: 0;cursor: pointer;bottom: 100%;height: 200px;overflow: auto;position: absolute;width:200px;background-color:#fff} #flagSelect ul li {display: block;} #flagSelect ul li:hover {background-color: #ddd;}#flagSelect {position: absolute;}#flagSelect input {width: 200px;} #flagSelect .hide {display: none;}#flagSelect img {margin-left: 2px;}') if (software.yotsuba) { getPosts('.postContainer');