summaryrefslogtreecommitdiff
path: root/play.css
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-03-31 17:12:00 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-03-31 17:12:00 -0400
commite5db278efbf5f22204526b9f8fafb853d1718e9e (patch)
tree110b100b0c62bfc71d3704731f23893947268ab6 /play.css
parent607b8a7e6e1f4542ad42bae73b16516d9e57051c (diff)
downloadvijayanagara-e5db278efbf5f22204526b9f8fafb853d1718e9e.tar.gz
Localized battle box
Diffstat (limited to 'play.css')
-rw-r--r--play.css24
1 files changed, 20 insertions, 4 deletions
diff --git a/play.css b/play.css
index feb06e5..b65830f 100644
--- a/play.css
+++ b/play.css
@@ -216,18 +216,16 @@ img.f {
z-index: 200;
box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
border: 1px solid black;
- min-width: 425px;
- background-color: #d6c4a9;
+ min-width: 494px;
}
-@media (max-width: 400px) {
+@media (max-width: 494px) {
#attack_table {
min-width: 90vw;
min-width: 90dvw;
}
}
-#attack_header { background-color: brown; color: gold }
#attack_header {
list-style: none;
cursor: move;
@@ -237,8 +235,26 @@ img.f {
text-align: center;
font-weight: bold;
font-size: 18px;
+
+ background-repeat: no-repeat;
+ background-position: 100% 50%;
+ background-image: url(images/gui_box_maximize.svg);
+ background-color: rgba(165, 42, 42, 0.637);
+ color: gold;
}
+#attack_table[open] {
+ background-color: #d6c4a9;
+}
+
+#attack_table[open] #attack_header {
+ cursor: n-resize;
+ border-bottom: 1px solid black;
+ background-image: url(images/gui_box_minimize.svg);
+ background-color: brown;
+}
+
+
/* SPACES */
path { fill: none; stroke-width: 4; }