Riddle_4 improvements
This commit is contained in:
1 parent
376640092e
commit
d107533b8a
6 files changed
+12
-20
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<svg id="Ebene_2" data-name="Ebene 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 453.08 404.5">
|
|
||||||
<defs>
|
|
||||||
<style>
|
|
||||||
.cls-1 {
|
|
||||||
fill: #bfb2a1;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</defs>
|
|
||||||
<g id="Ebene_1-2" data-name="Ebene 1">
|
|
||||||
<path class="cls-1" d="M362.68,155.97l-29.66,29.66-31.49-24.18c-8.67-7.3-8.67-10.5-1.37-17.8l22.36-22.34c2.73-2.75,5.02-4.11,7.3-4.11s5.02,1.36,8.68,4.11l20.99,17.32c6.83,5.02,10.02,10.5,3.19,17.33M258.22,155.97l-29.66,29.66-31.49-24.18c-8.67-7.3-8.67-10.5-1.37-17.8l22.36-22.34c2.73-2.75,5.02-4.11,7.3-4.11s5.02,1.36,8.68,4.11l20.99,17.32c6.83,5.02,10.02,10.5,3.19,17.33M154.44,155.97l-29.66,29.66-31.49-24.18c-8.67-7.3-8.67-10.5-1.37-17.8l22.36-22.34c2.73-2.75,5.02-4.11,7.3-4.11s5.02,1.36,8.67,4.11l20.99,17.32c6.83,5.02,10.03,10.5,3.2,17.33M452.3,48.7c-2.84-17.39-20.75-37.01-39.64-43.44C399.32.71,374.06,0,225.38,0,105.84,0,50.1,1.15,42.31,3.74,29.07,8.17,14.56,20.82,6.94,34.58,2.2,43.14,1.33,59.6.45,157.49c-1,110.48-.87,113.36,6.17,127.86,10.06,20.8,26.9,31.25,52.66,32.64,11.14.6,20.97,1.8,21.84,2.67.86.86-1.53,16.08-5.29,33.83-3.76,17.74-6.83,36.57-6.83,41.83,0,6.29,1.41,9.01,4.11,7.96,2.27-.89,29.89-21.05,61.38-44.83l57.27-43.23h111.07c110.07,0,111.16-.06,122.19-7.49,6.12-4.12,14.24-12.13,18.06-17.8,6.61-9.81,7.06-15.74,9.08-120.15,1.17-60.42,1.23-115.35.13-122.08"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -14,7 +14,7 @@ export default function SelectionButton({
|
|||||||
}: SelectionButtonProps) {
|
}: SelectionButtonProps) {
|
||||||
return (
|
return (
|
||||||
<button className={clsx(styles["button"], selected ? styles["selected"] : null, "lancelot-regular")} onClick={onSelect}>
|
<button className={clsx(styles["button"], selected ? styles["selected"] : null, "lancelot-regular")} onClick={onSelect}>
|
||||||
<img src={"/buttons/Button_leer.webp"} />
|
<img src={"/buttons/Button_groß.webp"} />
|
||||||
<span>{children}</span>
|
<span>{children}</span>
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ export default function Riddle_4({
|
|||||||
<OldButton red={false} onAction={() => {
|
<OldButton red={false} onAction={() => {
|
||||||
setPage(2);
|
setPage(2);
|
||||||
}} disabled={false}>WEITER</OldButton>
|
}} disabled={false}>WEITER</OldButton>
|
||||||
|
<OldButton red={true} onAction={() => setPage(0)}>ZURÜCK</OldButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
.button {
|
.button {
|
||||||
|
--w: 300px;
|
||||||
|
--h: 5rem;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -7,11 +9,11 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
-webkit-mask-image: url("/buttons/Button_leer_mask.webp");
|
-webkit-mask-image: url("/buttons/Button_groß_mask.webp");
|
||||||
mask-image: url("/buttons/Button_leer_mask.webp");
|
mask-image: url("/buttons/Button_groß_mask.webp");
|
||||||
|
|
||||||
-webkit-mask-size: 220px 3.5rem;
|
-webkit-mask-size: var(--w) var(--h);
|
||||||
mask-size: 220px 3.5rem;
|
mask-size: var(--w) var(--h);
|
||||||
|
|
||||||
-webkit-mask-position: center;
|
-webkit-mask-position: center;
|
||||||
mask-position: center;
|
mask-position: center;
|
||||||
@@ -20,14 +22,16 @@
|
|||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: 3.5rem;
|
height: var(--h);
|
||||||
width: 220px;
|
width: var(--w);
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
color: var(--dark-brown);
|
color: var(--dark-brown);
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
text-wrap: balance;
|
||||||
|
padding: 0rem 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user