fix background
This commit is contained in:
@@ -54,6 +54,7 @@ const routes: Routes = [
|
|||||||
imports: [
|
imports: [
|
||||||
RouterModule.forRoot(routes, {
|
RouterModule.forRoot(routes, {
|
||||||
preloadingStrategy: PreloadAllModules,
|
preloadingStrategy: PreloadAllModules,
|
||||||
|
scrollPositionRestoration: 'enabled',
|
||||||
// relativeLinkResolution: 'legacy',
|
// relativeLinkResolution: 'legacy',
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,11 +4,10 @@
|
|||||||
margin: 20px;
|
margin: 20px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #fffc;
|
background: #fffc;
|
||||||
backdrop-filter: blur(12px);
|
backdrop-filter: blur(15px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 800px;
|
width: 800px;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: all 150ms ease-in-out;
|
|
||||||
|
|
||||||
@media screen and (max-width: 860px) {
|
@media screen and (max-width: 860px) {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
|||||||
@@ -11,18 +11,19 @@
|
|||||||
|
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: Roboto, "Helvetica Neue", sans-serif;
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
overscroll-behavior-y: none;
|
|
||||||
color: #333;
|
color: #333;
|
||||||
|
|
||||||
background-attachment: fixed;
|
|
||||||
background-image: url("/assets/background.jpg");
|
background-image: url("/assets/background.jpg");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@@ -67,7 +68,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|||||||
Reference in New Issue
Block a user