From 674e0060fb5fa666037a11fb9af7925b7bb08b7b Mon Sep 17 00:00:00 2001 From: syui Date: Thu, 11 Apr 2024 00:39:11 +0900 Subject: [PATCH] fix --- src/App.vue | 277 +++++++++++++--------------------------------------- 1 file changed, 69 insertions(+), 208 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1f8c526..ebd836b 100755 --- a/src/App.vue +++ b/src/App.vue @@ -63,56 +63,27 @@ + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -155,10 +126,6 @@ - - @@ -183,80 +150,16 @@ {{ ii = cards.data.find((v) => v.id == user_fav) }} - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -1375,60 +1278,6 @@ span.card-fav-su { display:none; } -span.pattern-s { - background: repeating-radial-gradient(circle at -150% -25%, #000, #777 3px, #000 3px); - background-position: 50% 50%; - background-size: 120% 120%; - mix-blend-mode: color-dodge; - opacity: 0.3; -} - -span.color-s { - background: linear-gradient(115deg, transparent 20%, #000 30%, transparent 48% 52%, #000 70%, transparent); - background-position: 50% 50%; - background-size: 200% 200%; - mix-blend-mode: overlay; -} - -span.card-wrapper:hover > span.pattern-s { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); -} - -span.card-wrapper:hover > span.color-s { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); -} - -span.card-wrapper:hover > span.highlight-s { - background-repeat: no-repeat; -} - -span.pattern-t { - background: repeating-radial-gradient(circle at -150% -25%, #c71585, #777 3px, #ffff00 3px); - background-position: 50% 50%; - background-size: 120% 120%; - mix-blend-mode: color-dodge; - opacity: 0.3; -} - -span.color-t { - background: linear-gradient(115deg, transparent 20%, #c71585 30%, transparent 48% 52%, #c71585 70%, transparent); - background-position: 50% 50%; - background-size: 200% 200%; - mix-blend-mode: overlay; -} - -span.card-wrapper:hover > span.pattern-t { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); -} - -span.card-wrapper:hover > span.color-t { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); -} - -span.card-wrapper:hover > span.highlight-t { - background-repeat: no-repeat; -} - span.pattern-yui { background: repeating-radial-gradient(circle at -150% -25%, #ffff00, #000 3px, #ffff00 3px); background-position: 50% 50%; @@ -1444,19 +1293,7 @@ span.color-yui { mix-blend-mode: overlay; } -span.card-wrapper:hover > span.pattern-yui { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); -} - -span.card-wrapper:hover > span.color-yui { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); -} - -span.card-wrapper:hover > span.highlight-yui { - background-repeat: no-repeat; -} - -span.pattern-f { +span.pattern-first { background: repeating-radial-gradient(circle at -150% -25%, #000, #32cd32 3px, #1e90ff 3px); background-position: 50% 50%; background-size: 120% 120%; @@ -1464,19 +1301,56 @@ span.pattern-f { opacity: 0.3; } -span.color-f { +span.color-first { background: linear-gradient(115deg, transparent 20%, #00ffff 30%, transparent 48% 52%, #40e0d0 70%, transparent); background-position: 50% 50%; background-size: 200% 200%; mix-blend-mode: overlay; } -span.card-wrapper:hover > span.pattern-f { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); +span.pattern-second { + background: repeating-radial-gradient(circle at -150% -25%, #000, #777 3px, #000 3px); + background-position: 50% 50%; + background-size: 120% 120%; + mix-blend-mode: color-dodge; + opacity: 0.3; } -span.card-wrapper:hover > span.color-f { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); +span.color-second { + background: linear-gradient(115deg, transparent 20%, #000 30%, transparent 48% 52%, #000 70%, transparent); + background-position: 50% 50%; + background-size: 200% 200%; + mix-blend-mode: overlay; +} + +span.pattern-third { + background: repeating-radial-gradient(circle at -150% -25%, #c71585, #777 3px, #ffff00 3px); + background-position: 50% 50%; + background-size: 120% 120%; + mix-blend-mode: color-dodge; + opacity: 0.3; +} + +span.color-third { + background: linear-gradient(115deg, transparent 20%, #c71585 30%, transparent 48% 52%, #c71585 70%, transparent); + background-position: 50% 50%; + background-size: 200% 200%; + mix-blend-mode: overlay; +} + +span.pattern-fourth { + background: repeating-radial-gradient(circle at -150% -25%, #fff, #777 3px, #fff 3px); + background-position: 50% 50%; + background-size: 120% 120%; + mix-blend-mode: color-dodge; + opacity: 0.3; +} + +span.color-fourth { + background: linear-gradient(115deg, transparent 20%, #40A4BF 30%, transparent 48% 52%, #404FBF 70%, transparent); + background-position: 50% 50%; + background-size: 200% 200%; + mix-blend-mode: overlay; } span.pattern-fifth { @@ -1494,43 +1368,30 @@ span.color-fifth { mix-blend-mode: overlay; } -span.card-wrapper:hover > span.pattern-fifth { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); -} - -span.card-wrapper:hover > span.color-fifth { - background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); -} - -span.card-wrapper:hover > span.highlight-yui { - background-repeat: no-repeat; -} - -span.pattern { - background: repeating-radial-gradient(circle at -150% -25%, #fff, #777 3px, #fff 3px); +span.pattern-sixth { + background: repeating-radial-gradient(circle at center, #f1f1f1, #313131 3px, #fff700 3px); background-position: 50% 50%; background-size: 120% 120%; mix-blend-mode: color-dodge; opacity: 0.3; } -span.color { - background: linear-gradient(115deg, transparent 20%, #40A4BF 30%, transparent 48% 52%, #404FBF 70%, transparent); +span.color-sixth { + background: linear-gradient(115deg, transparent 20%, #f1f1f1 30%, transparent 48% 52%, #313131 70%, transparent); background-position: 50% 50%; background-size: 200% 200%; mix-blend-mode: overlay; } -span.card-wrapper:hover > span.pattern { +span.card-wrapper:hover > span.pattern-yui,span.card-wrapper:hover > span.pattern-first,span.card-wrapper:hover > span.pattern-second,span.card-wrapper:hover > span.pattern-third,span.card-wrapper:hover > span.pattern-fourth,span.card-wrapper:hover > span.pattern-fifth,span.card-wrapper:hover > span.pattern-sixth { background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); } -span.card-wrapper:hover > span.color { +span.card-wrapper:hover > span.color-yui,span.card-wrapper:hover > span.color-first,span.card-wrapper:hover > span.color-second,span.card-wrapper:hover > span.color-third,span.card-wrapper:hover > span.color-fourth,span.card-wrapper:hover > span.color-fifth,span.card-wrapper:hover > span.color-sixth { background-position: calc(50% + (var(--ratio-x) * -50%)) calc(50% + (var(--ratio-y) * -50%)); } -span.card-wrapper:hover > span.highlight { - background: radial-gradient(circle at calc(var(--ratio-x) * 100%) calc(var(--ratio-y) * 100%), hsl(0 0% 100% / 0.2), transparent 50%); +span.card-wrapper:hover > span.highlight-yui,span.card-wrapper:hover > span.highlight-first,span.card-wrapper:hover > span.highlight-second,span.card-wrapper:hover > span.highlight-third,span.card-wrapper:hover > span.highlight-fourth,span.card-wrapper:hover > span.highlight-fifth,span.card-wrapper:hover > span.highlight-sixth { background-repeat: no-repeat; }