neu
This commit is contained in:
parent
704bfa8f14
commit
ade676ccf7
@ -43,15 +43,15 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.button {
|
.button {
|
||||||
padding: 16px 32px; /* Doppelte Größe */
|
padding: 16px 32px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: linear-gradient(to bottom, #007bff, #0056b3); /* Blau */
|
background: linear-gradient(to bottom, #007bff, #0056b3);
|
||||||
box-shadow: 0 2px 4px rgba(0,0,0,0.7);
|
box-shadow: 0 2px 4px rgba(0,0,0,0.7);
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin-top: 20px; /* Abstand zum oberen Inhalt */
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
.button:hover {
|
.button:hover {
|
||||||
box-shadow: 0 4px 8px rgba(0,0,0,0.6);
|
box-shadow: 0 4px 8px rgba(0,0,0,0.6);
|
||||||
@ -63,57 +63,180 @@
|
|||||||
.button-text {
|
.button-text {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 1.5em; /* Textgröße anpassen */
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
</style>
|
.tooltip-container {
|
||||||
</head>
|
position: relative;
|
||||||
<body>
|
display: inline-block;
|
||||||
<!-- Ladeanimation -->
|
font-family: "Arial", sans-serif;
|
||||||
<div class="loader-container">
|
overflow: visible;
|
||||||
<l-quantum
|
}
|
||||||
size="90"
|
.button-content {
|
||||||
speed="1.75"
|
display: flex;
|
||||||
color="black"
|
align-items: center;
|
||||||
></l-quantum>
|
justify-content: center;
|
||||||
</div>
|
background: linear-gradient(135deg, #6e8efb, #a777e3);
|
||||||
|
color: white;
|
||||||
<h1><img src="/icons/Controller.png" height="150svh"><br/>Creative Crafter</h1>
|
padding: 14px 28px;
|
||||||
<h1>Flappy Witch</h1>
|
border-radius: 50px;
|
||||||
<div align='center'><img src="/programmieren/spiele/Flappy-Witch/logo.png" width="250vh"></div>
|
cursor: pointer;
|
||||||
<br/>
|
transition:
|
||||||
<div align='center'><a href="/programmieren/spiele/Flappy-Witch/FlappyWitch.html">
|
background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
|
||||||
<button class="button">
|
transform 0.3s ease,
|
||||||
<span class="button-text">Play</span>
|
box-shadow 0.4s ease;
|
||||||
</button>
|
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
|
||||||
</a>
|
position: relative;
|
||||||
<br/><br/>
|
z-index: 10;
|
||||||
<button class="button" onclick="navigator.clipboard.writeText('www.creative-crafter.de/programmieren/spiele/Flappy-Witch/'); alert('copied')">
|
overflow: hidden;
|
||||||
<div class="icon-container">
|
}
|
||||||
<svg viewBox="0 0 24 24" fill="none" class="icon">
|
.button-content::before {
|
||||||
<path d="M12 2v20m10-10H2" stroke="currentColor" stroke-width="2"/>
|
content: "";
|
||||||
<path class="bm" d="M3 3h18v18H3z" stroke="currentColor"/>
|
position: absolute;
|
||||||
</svg>
|
inset: 0;
|
||||||
</div>
|
border-radius: inherit;
|
||||||
<div class="content">
|
background: linear-gradient(
|
||||||
<div class="letters">
|
135deg,
|
||||||
<span data-label="C" style="--i:0;">C</span>
|
rgba(110, 142, 251, 0.4),
|
||||||
<span data-label="o" style="--i:1;">o</span>
|
rgba(167, 119, 227, 0.4)
|
||||||
<span data-label="p" style="--i:2;">p</span>
|
);
|
||||||
<span data-label="y" style="--i:3;">y</span>
|
filter: blur(15px);
|
||||||
</div>
|
opacity: 0;
|
||||||
</div>
|
transition: opacity 0.5s ease;
|
||||||
</button>
|
z-index: -1;
|
||||||
</div>
|
}
|
||||||
<br/><br/><br/>
|
.button-content::after {
|
||||||
<div align='center'><img src="/programmieren/spiele/Flappy-Witch/FlappyWitch1.png" width="250vh"> <img src="/programmieren/spiele/Flappy-Witch/FlappyWitch2.png" width="250vh"></div>
|
content: "";
|
||||||
<script>
|
position: absolute;
|
||||||
// Ladeanimation beim Laden der Seite anzeigen
|
top: -50%;
|
||||||
document.body.classList.add('loading');
|
left: -50%;
|
||||||
// Ladeanimation entfernen, wenn die Seite vollständig geladen ist
|
width: 200%;
|
||||||
window.addEventListener('load', () => {
|
height: 200%;
|
||||||
document.body.classList.remove('loading');
|
background: radial-gradient(
|
||||||
});
|
circle,
|
||||||
</script>
|
rgba(255, 255, 255, 0.3) 0%,
|
||||||
</body>
|
rgba(255, 255, 255, 0) 70%
|
||||||
</html>
|
);
|
||||||
```[_{{{CITATION{{{_1{](https://github.com/hd-code/pandoc-docker/tree/07f83c6deeafbff1710c5f7992a97955c298ad61/example%2Fexample.md)[_{{{CITATION{{{_2{](https://github.com/AndreasHeine/opcua-sub-to-websocket/tree/b272dca8c8abf371e5e35f05ce93949bdb775723/README.md)
|
transform: scale(0);
|
||||||
|
transition: transform 0.6s ease-out;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
.button-content:hover::before {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.button-content:hover::after {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
.button-content:hover {
|
||||||
|
background: linear-gradient(135deg, #a777e3, #6e8efb);
|
||||||
|
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
|
||||||
|
transform: translateY(-4px) scale(1.03);
|
||||||
|
}
|
||||||
|
.button-content:active {
|
||||||
|
transform: translateY(-2px) scale(0.98);
|
||||||
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
.text {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-right: 12px;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||||
|
transition: letter-spacing 0.3s ease;
|
||||||
|
}
|
||||||
|
.button-content:hover .text {
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
.share-icon {
|
||||||
|
fill: white;
|
||||||
|
transition:
|
||||||
|
transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
|
||||||
|
fill 0.3s ease;
|
||||||
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
|
||||||
|
}
|
||||||
|
.button-content:hover .share-icon {
|
||||||
|
transform: rotate(180deg) scale(1.1);
|
||||||
|
fill: #ffffff;
|
||||||
|
}
|
||||||
|
.tooltip-content {
|
||||||
|
position: absolute;
|
||||||
|
top: 102%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%) scale(0.8);
|
||||||
|
background: white;
|
||||||
|
border-radius: 15px;
|
||||||
|
padding: 22px;
|
||||||
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition:
|
||||||
|
opacity 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55),
|
||||||
|
transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55),
|
||||||
|
visibility 0.5s ease;
|
||||||
|
z-index: 100;
|
||||||
|
pointer-events: none;
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
background: rgba(255, 255, 255, 0.9);
|
||||||
|
}
|
||||||
|
.tooltip-container:hover .tooltip-content {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
transform: translateX(-50%) scale(1);
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
.social-icons {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
.social-icon {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: #f0f0f0;
|
||||||
|
transition:
|
||||||
|
transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
|
||||||
|
background 0.3s ease,
|
||||||
|
box-shadow 0.4s ease;
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.social-icon::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: radial-gradient(
|
||||||
|
circle at center,
|
||||||
|
rgba(255, 255, 255, 0.8) 0%,
|
||||||
|
rgba(255, 255, 255, 0) 70%
|
||||||
|
);
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.3s ease;
|
||||||
|
}
|
||||||
|
.social-icon:hover::before {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.social-icon svg {
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
fill: #333;
|
||||||
|
transition:
|
||||||
|
transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
|
||||||
|
fill 0.3s ease;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.social-icon:hover {
|
||||||
|
transform: translateY(-5px) scale(1.1);
|
||||||
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
.social-icon:active {
|
||||||
|
transform: translateY(-2px) scale(1.05);
|
||||||
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
.social-icon:hover svg {
|
||||||
|
transform: scale(1.2);
|
||||||
|
fill: white;
|
||||||
|
[_{{{CITATION{{{_1{](https://github.com/hd-code/pandoc-docker/tree/07f83c6deeafbff1710c5f7992a97955c298ad61/example%2Fexample.md)[_{{{CITATION{{{_2{](https://github.com/AndreasHeine/opcua-sub-to-websocket/tree/b272dca8c8abf371e5e35f05ce93949bdb775723/README.md)
|
Loading…
x
Reference in New Issue
Block a user