-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBlogHeader.vue
More file actions
56 lines (48 loc) · 937 Bytes
/
BlogHeader.vue
File metadata and controls
56 lines (48 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<template>
<header>
<div class="header-contents">
<h1><nuxt-link to="/">{{ siteData.name }}</nuxt-link></h1>
<p class="subhead">{{ siteData.description }}</p>
</div>
</header>
</template>
<script>
export default {
props: {
siteData: { type: Object }
}
}
</script>
<style lang="scss" scoped>
header {
padding: 4rem 0 7rem 0;
background-image: linear-gradient(325deg, #000380 2%, #197849 100%);
box-shadow: inset 0 1px 3px 0 rgba(0,0,0,0.50);
}
h1 {
font-weight: 900;
font-size: 3rem;
text-shadow: 2px 4px 4px rgba(0,0,0,0.40);
a {
color: #FFFFFF;
text-decoration: none;
&:hover {
text-decoration: none;
}
}
}
.header-contents {
margin: 0 auto;
width: 90%;
max-width: 1080px;
padding: 0 1rem;
display: flex;
justify-content: space-between;
align-items: baseline;
}
.subhead {
color: #ffffff;
font-weight: 600;
font-style: italic;
}
</style>