mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-05-04 13:39:13 -04:00
add fix for about bg size to websocket fallback too and tidy up
This commit is contained in:
parent
7e1de4b8c9
commit
89d27ddf3c
2 changed files with 9 additions and 7 deletions
|
@ -1170,10 +1170,12 @@ button::-moz-focus-inner {
|
|||
|
||||
#about x-background {
|
||||
position: absolute;
|
||||
top: calc(28px - 250px);
|
||||
right: calc(36px - 250px);
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
--size: max(max(230vw, 230vh), calc(150vh + 150vw));
|
||||
--size-half: calc(var(--size)/2);
|
||||
top: calc(28px - var(--size-half));
|
||||
right: calc(36px - var(--size-half));
|
||||
width: var(--size);
|
||||
height: var(--size);
|
||||
border-radius: 50%;
|
||||
background: var(--primary-color);
|
||||
transform: scale(0);
|
||||
|
@ -1187,7 +1189,7 @@ button::-moz-focus-inner {
|
|||
}
|
||||
|
||||
#about:target x-background {
|
||||
transform: scale(10);
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
#about .row a {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue