knowyt/client/src/components/Quote.vue

41 lines
592 B
Vue
Raw Normal View History

2021-08-15 16:52:15 +00:00
<template>
<div class="quote">
2021-08-15 20:04:24 +00:00
<div class="quote__container">
<div class="quote__quote">{{ text }}</div>
</div>
2021-08-15 16:52:15 +00:00
</div>
</template>
<script>
export default {
props: ['text'],
}
</script>
<style lang="scss">
.quote {
2021-08-15 20:04:24 +00:00
&__container {
display: flex;
position: absolute;
left: 35%;
top: 35%;
width: 30%;
height: 30%;
align-items: center;
}
2021-08-15 16:52:15 +00:00
&__quote {
text-align: justify;
font-family: Dosis;
font-size: 24px;
color: #ffffff;
&:before {
content: '„';
}
&:after {
content: '“';
}
}
}
</style>