Skip to content

Commit

Permalink
move background & update position and overlay styles
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonWingerAir committed Jan 19, 2024
1 parent 35c4411 commit ae9cc6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
10 changes: 1 addition & 9 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,4 @@
<NuxtLayout>
<NuxtPage></NuxtPage>
</NuxtLayout>
</template>

<style>
body {
background: linear-gradient(rgba(0, 0, 0, 0.85),rgba(0, 0, 0, 0.85)), url('/video-game-system.jpg');
background-size: cover;
background-repeat: no-repeat;
}
</style>
</template>
9 changes: 8 additions & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div class="background-img">
<div class="flex flex-col">
<div class="bg-red-500 pt-6 border-b border-neutral-400">
<div class="mb-7 text-center">
Expand Down Expand Up @@ -75,6 +75,13 @@ const hideSuggestions = ref(true);
</script>

<style>
.background-img {
background: linear-gradient(rgba(65, 65, 65, 0.35),rgba(125, 125, 125, 0.35)), url('/video-game-system.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: 100% 50%;
}
.min-content-height {
min-height: 832px;
}
Expand Down

0 comments on commit ae9cc6d

Please sign in to comment.