Added style of main page
This commit is contained in:
BIN
public/home_bg-min.jpg
Normal file
BIN
public/home_bg-min.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 322 KiB |
BIN
public/home_bg.jpg
Normal file
BIN
public/home_bg.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
@@ -20,12 +20,11 @@ export default defineComponent({
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.fs-wrapper {
|
.fs-wrapper {
|
||||||
min-height: 100vh;
|
position: relative;
|
||||||
display: flex;
|
|
||||||
flex-flow: column;
|
|
||||||
.fs-content {
|
.fs-content {
|
||||||
padding: 70px 20px 20px;
|
margin-top: 70px;
|
||||||
flex-grow: 1;
|
padding-top: 20px;
|
||||||
|
min-height: calc(100vh - 90px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ body {
|
|||||||
background: $black;
|
background: $black;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6, .heading {
|
||||||
|
margin-top: 0;
|
||||||
font-family: $heading-font-family;
|
font-family: $heading-font-family;
|
||||||
font-weight: $fw-regular;
|
font-weight: $fw-regular;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ export default defineComponent({
|
|||||||
right: 0;
|
right: 0;
|
||||||
height: 70px;
|
height: 70px;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
background: $black;
|
background: $fs-black;
|
||||||
box-shadow: 0 5px 5px rgba($white, 0.1);
|
box-shadow: 0 5px 5px rgba($black, 0.3);
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -58,6 +58,7 @@ export default defineComponent({
|
|||||||
background-image: url("/nav-bg.png");
|
background-image: url("/nav-bg.png");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center right;
|
background-position: center right;
|
||||||
|
opacity: 0.75;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-menu {
|
.navbar-menu {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="home">
|
<section class="home">
|
||||||
<h2>Homepage</h2>
|
<h2 class="heading">Homepage</h2>
|
||||||
</div>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
@@ -11,3 +11,26 @@ export default defineComponent({
|
|||||||
name: "Home"
|
name: "Home"
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.home {
|
||||||
|
position: relative;
|
||||||
|
min-height: inherit;
|
||||||
|
padding: 0 20px;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
display: block;
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: -20px;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
background-image: url("/home_bg-min.jpg");
|
||||||
|
background-size: cover;
|
||||||
|
opacity: 0.5;
|
||||||
|
z-index: -1;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user