52 行
1.0 KiB
Vue
52 行
1.0 KiB
Vue
<template>
|
|
<section class="section section--warm">
|
|
<div class="container">
|
|
<div class="overview-content">
|
|
<div class="overview-quote-mark" aria-hidden="true">"</div>
|
|
<p class="overview-text">{{ narrative }}</p>
|
|
<div class="overview-line"></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
<script setup>
|
|
defineProps({ narrative: { type: String, required: true } })
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.overview-content {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.overview-quote-mark {
|
|
font-size: 80px;
|
|
font-weight: @font-weight-bold;
|
|
color: @color-primary-lighter;
|
|
line-height: 0.5;
|
|
margin-bottom: @space-md;
|
|
font-family: Georgia, serif;
|
|
}
|
|
|
|
.overview-text {
|
|
font-size: @font-size-md;
|
|
line-height: @line-height-loose;
|
|
color: @color-text-secondary;
|
|
|
|
.respond-md({
|
|
font-size: @font-size-lg;
|
|
});
|
|
}
|
|
|
|
.overview-line {
|
|
width: 60px;
|
|
height: 3px;
|
|
background: @color-primary;
|
|
border-radius: 2px;
|
|
margin: @space-xl auto 0;
|
|
}
|
|
</style>
|