update sponsor

This commit is contained in:
Vick Scarlet
2021-09-08 21:17:55 +08:00
parent f63bcad8eb
commit 538bd7caee
4 changed files with 12 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@@ -110,7 +110,8 @@ class App{
<ul class="g1"></ul> <ul class="g1"></ul>
<ul class="g2"></ul> <ul class="g2"></ul>
</div> </div>
<button id="sponsor" onclick="window.open('https://afdian.net/@LifeRestart')">打赏作者</button> <button class="sponsor" onclick="window.open('https://afdian.net/@LifeRestart')" style="background: linear-gradient(90deg,#946ce6,#7e5fd9); left:auto; right:50%; transform: translate(-2rem,-50%);">打赏策划(爱发电)</button>
<button class="sponsor" onclick="window.open('https://dun.mianbaoduo.com/@vickscarlet')" style="background-color:#c69; left:50%; right:auto; transform: translate(2rem,-50%);">打赏程序(顿顿饭)</button>
</div> </div>
`); `);

View File

@@ -100,7 +100,7 @@ body {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
#sponsor, .sponsor,
#specialthanks, #specialthanks,
#rank { #rank {
position: fixed; position: fixed;
@@ -123,11 +123,11 @@ body {
top: 1rem; top: 1rem;
} }
#sponsor { .sponsor {
top: auto; top: auto;
bottom: 0; bottom: 0;
right: 50%; width: auto;
transform: translate(50%, -50%); padding: 0.5rem;
} }
#spthx { #spthx {

View File

@@ -97,7 +97,7 @@ body {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
#sponsor, .sponsor,
#specialthanks, #specialthanks,
#rank { #rank {
position: fixed; position: fixed;
@@ -120,11 +120,11 @@ body {
top: 1rem; top: 1rem;
} }
#sponsor { .sponsor {
top: auto; top: auto;
bottom: 0; bottom: 0;
right: 50%; width: auto;
transform: translate(50%, -50%); padding: 0.5rem;
} }
#spthx { #spthx {