summaryrefslogtreecommitdiff
path: root/play.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-26 00:24:38 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-26 00:24:38 +0200
commitf71d3ff7dd4e6b4536049fe034e934182cb36cf4 (patch)
treeac587ce68236658f2a855fc15f1ec52534d68302 /play.css
parent3e30593e9986187aff35a4440bdbcb309025c58c (diff)
download1989-dawn-of-freedom-f71d3ff7dd4e6b4536049fe034e934182cb36cf4.tar.gz
Animate transitions. Card background color while image is loading.
Diffstat (limited to 'play.css')
-rw-r--r--play.css6
1 files changed, 4 insertions, 2 deletions
diff --git a/play.css b/play.css
index c339351..1a9b4dd 100644
--- a/play.css
+++ b/play.css
@@ -123,9 +123,10 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); }
height: 45px;
border: 2px solid;
border-color: #eee #bbb #bbb #eee;
- /* TODO: per marker border color */
box-shadow: 0 0 0 1px #444;
- //border-radius: 8px;
+ transition-property: top, left;
+ transition-duration: 700ms;
+ transition-timing-function: ease;
}
.demInfl { background-color: #fff; }
@@ -249,6 +250,7 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); }
.card {
background-size: cover;
background-repeat: no-repeat;
+ background-color: #fffde9;
width: 250px;
height: 350px;
border-radius: 16px;