aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-02-27 19:10:19 +0100
committersD <stoned@derpymail.org>2020-02-27 19:10:19 +0100
commit26c0fa10d231c0bebf4c95b8695429bf9cdfd372 (patch)
tree9f5ecafb29159d78c0e35a92336d1b406709affc /webAO
parentb3313b0ee727b63b9432a624364a5310f433d654 (diff)
green bars
Diffstat (limited to 'webAO')
-rw-r--r--webAO/styles/cyber.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/webAO/styles/cyber.css b/webAO/styles/cyber.css
index 15abfcb..6a303d3 100644
--- a/webAO/styles/cyber.css
+++ b/webAO/styles/cyber.css
@@ -214,4 +214,38 @@ img {
color: white;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAFElEQVQImWNgYGDYjAVTV/A/w2YAfxQSe53wkNkAAAAASUVORK5CYII=) repeat;
animation: bg-scrolling 0.2s infinite linear;
+}
+
+#client_defense_hp {
+ text-align: left;
+}
+
+#client_prosecutor_hp {
+ text-align: right;
+}
+
+.health-box {
+ background-color: #292929;
+ height: 18px;
+ width: 50%;
+ margin: 0 auto;
+ border: ridge 2px #dedede;
+ border-radius: 2px;
+ box-sizing: border-box;
+ display: block;
+}
+
+.health-bar {
+ width: 100%;
+ height: 60%;
+ height: calc(100% - 4px);
+ bottom: 0;
+ border-width: 2px;
+ border-style: groove none ridge none;
+ position: relative;
+ display: inline-block;
+ transition: 1s linear;
+ transition-property: width;
+ background-color: #00b800;
+ border-color: #84ff84 transparent #009c00 transparent;
} \ No newline at end of file