From f46201ca50a01908adf63774d282fca77357a8c2 Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 1 Feb 2025 17:20:14 +0100 Subject: [PATCH] button style --- programmieren/spiele/Flappy-Witch/index.html | 81 ++++++++------------ 1 file changed, 34 insertions(+), 47 deletions(-) diff --git a/programmieren/spiele/Flappy-Witch/index.html b/programmieren/spiele/Flappy-Witch/index.html index e7a3112..5555427 100644 --- a/programmieren/spiele/Flappy-Witch/index.html +++ b/programmieren/spiele/Flappy-Witch/index.html @@ -39,8 +39,8 @@ .loading .loader-container { display: flex; } - /* Button-Stile */ - .button { + /* Button-Style */ + .button-share { --white: #fff; cursor: pointer; background: linear-gradient(to bottom, #6e3bff, #7e51ff); @@ -58,6 +58,33 @@ margin-top: 20px; } + .button { + padding: 16px 32px; /* Doppelte Größe */ + border-radius: 8px; + background: linear-gradient(to bottom, #007bff, #0056b3); /* Blau */ + box-shadow: 0 2px 4px rgba(0,0,0,0.7); + transition: all 0.2s; + display: flex; + align-items: center; + gap: 8px; + margin-top: 20px; /* Abstand zum oberen Inhalt */ + } + + .button:hover { + box-shadow: 0 4px 8px rgba(0,0,0,0.6); + } + + .button:active { + box-shadow: 0 0px 1px rgba(0,0,0,0.8); + transform: scale(0.995); + } + + .button-text { + font-weight: 600; + color: white; + font-size: 1.5em; /* Textgröße anpassen */ + } + .icon path.bm { stroke-dasharray: 3; stroke-dashoffset: 3; @@ -221,56 +248,16 @@
- - -
-
- -
-
- +


-