From 5deb6fc5a506f0253aaa88744a77d2b8afd82154 Mon Sep 17 00:00:00 2001 From: Nicolas Fritz Date: Thu, 26 Jan 2023 12:16:43 +0100 Subject: [PATCH] Stapel auf dem Tisch CSS --- uno/css/uno.css | 28 ++++++++++++++++++++++++++++ uno/index.html | 21 ++++++++++++++++++++- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/uno/css/uno.css b/uno/css/uno.css index e339ff8..e13653d 100644 --- a/uno/css/uno.css +++ b/uno/css/uno.css @@ -2,4 +2,32 @@ *{ font-family: 'Cabin', sans-serif; +} + +body +{ + overflow: hidden; +} + + +/* ### Stapel-"Karte ziehen" ### */ +.stack-draw +{ + max-width: 25vh; + min-width: 20vh; + position: absolute; + top: 47vh; + right: min(90%, (53% + 10vh)); + transform: translate(50%, -50%); +} + +/* ### Stapel-"Karte legen" ### */ +.stack-put +{ + max-width: 25vh; + min-width: 20vh; + position: absolute; + top: 47vh; + left: min(90%, (53% + 10vh)); + transform: translate(-50%, -50%); } \ No newline at end of file diff --git a/uno/index.html b/uno/index.html index a5aca8d..30bcc4f 100644 --- a/uno/index.html +++ b/uno/index.html @@ -9,7 +9,8 @@ - + +

@@ -17,5 +18,23 @@
+ +
+ + + + + + + + +
+ +
+ + + +
+ \ No newline at end of file