generated from Seekra/repository-template
Add content background
This commit is contained in:
+13
@@ -3,7 +3,20 @@ import Navbar from './features/nav/components/Navbar.vue';
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<div class="content-background">
|
||||||
<Navbar />
|
<Navbar />
|
||||||
|
|
||||||
<router-view />
|
<router-view />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.content-background {
|
||||||
|
background:
|
||||||
|
radial-gradient(ellipse at 40% 60%, rgba(255,255,255,0.55) 0%, transparent 75%),
|
||||||
|
linear-gradient(160deg, #c8d8f0, #7aa0d8, #5077C7, #dce8f8);
|
||||||
|
height: 300px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -5,15 +5,6 @@ body {
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-background {
|
|
||||||
background:
|
|
||||||
radial-gradient(ellipse at 40% 60%, rgba(255,255,255,0.55) 0%, transparent 75%),
|
|
||||||
linear-gradient(160deg, #c8d8f0, #7aa0d8, #5077C7, #dce8f8);
|
|
||||||
height: 300px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.global-header {
|
.global-header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user