generated from Seekra/repository-template
Add content background
This commit is contained in:
+15
-2
@@ -3,7 +3,20 @@ import Navbar from './features/nav/components/Navbar.vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Navbar />
|
||||
<div class="content-background">
|
||||
<Navbar />
|
||||
|
||||
<router-view />
|
||||
<router-view />
|
||||
</div>
|
||||
</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;
|
||||
}
|
||||
|
||||
.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 {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user