diff options
| author | Pitu <[email protected]> | 2020-12-25 20:17:47 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-12-25 20:17:47 +0900 |
| commit | 7190e035b441aef96c8249bb02d12f7cd55a17d9 (patch) | |
| tree | 9af45225da6f6e5d4d8e89cea59e843c533a67c8 /src/site/layouts/default.vue | |
| parent | Chore: prevent server from starting if .env config missing (diff) | |
| download | host.fuwn.me-7190e035b441aef96c8249bb02d12f7cd55a17d9.tar.xz host.fuwn.me-7190e035b441aef96c8249bb02d12f7cd55a17d9.zip | |
chore: style changes
Diffstat (limited to 'src/site/layouts/default.vue')
| -rw-r--r-- | src/site/layouts/default.vue | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/src/site/layouts/default.vue b/src/site/layouts/default.vue index b2b2633..1a53292 100644 --- a/src/site/layouts/default.vue +++ b/src/site/layouts/default.vue @@ -3,6 +3,7 @@ v-bar class="scroll-area"> <div class="default-body"> + <div class="background" /> <Navbar :is-white="true" /> <nuxt-child id="app" @@ -50,8 +51,8 @@ export default { mounted() { // eslint-disable-next-line no-console console.log( - `%c lolisafe %c v${this.config.version} %c`, - 'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff', + `%c chibisafe %c v${this.config.version} %c`, + 'background:#35495e; padding: 1px; border-radius: 3px 0 0 3px; color: #fff', 'background:#ff015b; padding: 1px; border-radius: 0 3px 3px 0; color: #fff', 'background:transparent' ); @@ -60,6 +61,7 @@ export default { </script> <style lang="scss"> +@import '~/assets/styles/style.scss'; html { overflow: hidden !important; } @@ -71,12 +73,32 @@ html { min-height: auto !important; height: auto !important; } -@import '~/assets/styles/style.scss'; -@import '~/assets/styles/icons.min.css'; </style> <style lang="scss" scoped> .default-body { align-items: baseline !important; + overflow: auto; + height: 100vh; + .background { + position: fixed; + top: 0; + left: 0; + background: no-repeat scroll 50% 50%; + background-size: cover; + z-index: -1; + height: 100vh; + width: 100%; + pointer-events: none; + background-image: url('~assets/images/background.jpg'); + // Uncomment the following to test different backgrounds + /* + top: -10%; + left: -10%; + height: 120vh; + width: 120%; + filter: blur(15px); + */ + } } .scroll-area { height: 100vh; |