fix background

This commit is contained in:
2024-02-13 17:32:18 +01:00
parent 45677eb1c3
commit 8a9e2d58c5
3 changed files with 6 additions and 5 deletions

View File

@@ -54,6 +54,7 @@ const routes: Routes = [
imports: [
RouterModule.forRoot(routes, {
preloadingStrategy: PreloadAllModules,
scrollPositionRestoration: 'enabled',
// relativeLinkResolution: 'legacy',
}),
],

View File

@@ -4,11 +4,10 @@
margin: 20px;
border-radius: 8px;
background: #fffc;
backdrop-filter: blur(12px);
backdrop-filter: blur(15px);
overflow: hidden;
width: 800px;
position: relative;
transition: all 150ms ease-in-out;
@media screen and (max-width: 860px) {
width: 100vw;

View File

@@ -11,18 +11,19 @@
html {
scroll-behavior: smooth;
overflow: hidden;
}
body {
margin: 0;
font-family: Roboto, "Helvetica Neue", sans-serif;
font-size: 14px;
overscroll-behavior-y: none;
color: #333;
background-attachment: fixed;
background-image: url("/assets/background.jpg");
background-size: cover;
background-position: center;
overflow: auto;
}
p {
@@ -67,7 +68,7 @@ a {
}
html, body {
height: 100%;
height: 100vh;
}
body {