prettier characteristic boxes
This commit is contained in:
+6
-3
@@ -660,8 +660,9 @@ const FancyBox = ({ children }) => {
|
|||||||
style={{
|
style={{
|
||||||
color: "var(--primary-color)",
|
color: "var(--primary-color)",
|
||||||
padding: 2,
|
padding: 2,
|
||||||
background:
|
background: "var(--primary-color)",
|
||||||
"linear-gradient(-45deg, transparent 4px, var(--primary-color) 0)",
|
clipPath:
|
||||||
|
"polygon(12% 0, 100% 0, 100% 20%, 100% 88%, 88% 100%, 20% 100%, 0 100%, 0 12%)",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@@ -671,7 +672,9 @@ const FancyBox = ({ children }) => {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
background: "linear-gradient(315deg, transparent 3px, #E8EDE7 0)",
|
background: "#E8EDE7",
|
||||||
|
clipPath:
|
||||||
|
"polygon(10% 0, 100% 0, 100% 20%, 100% 90%, 90% 100%, 20% 100%, 0 100%, 0 10%)",
|
||||||
padding: 3,
|
padding: 3,
|
||||||
fontSize: "1.6em",
|
fontSize: "1.6em",
|
||||||
fontWeight: 800,
|
fontWeight: 800,
|
||||||
|
|||||||
@@ -114,7 +114,6 @@ const Weapon = ({ weapon, previousWeapon, nextWeapon, isMelee, className }) => {
|
|||||||
</td>
|
</td>
|
||||||
<td style={{ textAlign: "left" }}>
|
<td style={{ textAlign: "left" }}>
|
||||||
<div
|
<div
|
||||||
className="min-w-[24vw]"
|
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
|
|||||||
Reference in New Issue
Block a user