profile as bg

This commit is contained in:
ThatOneCalculator 2022-07-25 16:04:30 -07:00
parent 5adf4c2b8a
commit 319e7f4d2c
4 changed files with 26 additions and 13 deletions

View file

@ -20,7 +20,6 @@
## Work in progress
- Profile background as banner
- Less cluttered notification summary
- Better timeline top bar
@ -31,6 +30,7 @@
- Star as default reaction
- Rosé Pine by default (+ non-themable elements made Rosé Pine)
- Better sidebar/navbar
- Profile background as banner
- Mark as read from notifications widget
- Better welcome screen (not logged in)
- Ability to turn off "Connection lost" message

View file

@ -48,17 +48,6 @@ defineProps<{
background-size: cover;
background-position: center;
&::after {
content: "";
background-image: inherit;
position: fixed;
inset: 0;
background-size: cover;
background-position: center;
pointer-events: none;
opacity: .1;
filter: blur(10px);
}
}
> .avatar {

View file

@ -120,6 +120,18 @@ export default defineComponent({
background-color: rgba(0, 0, 0, 0.1);
background-size: cover;
background-position: center;
&::after {
content: "";
background-image: inherit;
position: fixed;
inset: 0;
background-size: cover;
background-position: center;
pointer-events: none;
opacity: .1;
filter: blur(10px);
}
}
> .avatar {

View file

@ -213,11 +213,23 @@ onUnmounted(() => {
> .banner {
height: 100%;
background-color: #4c5e6d;
background-color: #26233a;
background-size: cover;
background-position: center;
box-shadow: 0 0 128px rgba(0, 0, 0, 0.5) inset;
will-change: background-position;
&::after {
content: "";
background-image: inherit;
position: fixed;
inset: 0;
background-size: cover;
background-position: center;
pointer-events: none;
opacity: .1;
filter: blur(10px);
}
}
> .fade {