Skip to content

Commit

Permalink
Add background image to all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjelonek committed Dec 18, 2023
1 parent 3d6ac76 commit 1514c4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Binary file added src/assets/images/metacoder_species2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/assets/main.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
body {
--header-height: 80px;
--footer-height: 80px;
background-image: url("images/metacoder_species2.png");
background-repeat: no-repeat;
background-size: contain;
background-position-y: calc(51vh);
background-position-x: calc(70vw);
background-attachment: fixed;
}
#content {
margin-top: calc(var(--header-height) + 1rem);
Expand Down
3 changes: 0 additions & 3 deletions src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
query the repository
</p>
</div>
<div class="col-md-12 col-lg-6">
<img src="/krona_main.svg" class="w-100" />
</div>
</div>
</main>
</template>
Expand Down

0 comments on commit 1514c4a

Please sign in to comment.