Add background to main page
This commit is contained in:
parent
6cd31674d5
commit
62c0c1db20
Binary file not shown.
After Width: | Height: | Size: 94 KiB |
|
@ -25,12 +25,26 @@
|
||||||
color: $textColorHighlight;
|
color: $textColorHighlight;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.background {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
background: no-repeat scroll 50% 50%;
|
||||||
|
background-size: cover;
|
||||||
|
background-image: url('~assets/images/background.jpg');
|
||||||
|
z-index: -1;
|
||||||
|
height: 100vh;
|
||||||
|
width: 100%;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="home">
|
<div class="home">
|
||||||
<section class="hero is-fullheight has-text-centered">
|
<section class="hero is-fullheight has-text-centered">
|
||||||
|
<div class="background" />
|
||||||
<Navbar :isWhite="true" />
|
<Navbar :isWhite="true" />
|
||||||
<div class="hero-body">
|
<div class="hero-body">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Reference in New Issue