76 lines
1.0 KiB
Vue
Executable File
76 lines
1.0 KiB
Vue
Executable File
<template>
|
|
<div class="TeamHero">
|
|
<div class="container">
|
|
<h1 class="title">
|
|
<slot name="title" />
|
|
</h1>
|
|
<p class="lead">
|
|
<slot name="lead" />
|
|
</p>
|
|
<p class="action">
|
|
<slot name="action" />
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.TeamHero {
|
|
padding: 48px 24px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.TeamHero {
|
|
padding: 64px 32px 48px;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
margin: 0 auto;
|
|
max-width: 960px;
|
|
}
|
|
|
|
.title,
|
|
.lead {
|
|
transition: color 0.25s;
|
|
}
|
|
|
|
.title {
|
|
line-height: 32px;
|
|
font-size: 32px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.title {
|
|
line-height: 40px;
|
|
font-size: 40px;
|
|
}
|
|
}
|
|
|
|
.lead {
|
|
padding-top: 8px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
max-width: 512px;
|
|
color: var(--vt-c-text-2);
|
|
}
|
|
|
|
.action {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.action :deep(a) {
|
|
display: inline-block;
|
|
line-height: 20px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-brand);
|
|
transition: color 0.25s;
|
|
}
|
|
|
|
.action :deep(a:hover) {
|
|
color: var(--vt-c-brand-dark);
|
|
}
|
|
</style>
|