knowyt/client/src/components/TitleBox.vue
2021-08-13 23:02:44 +02:00

60 lines
1.1 KiB
Vue

<template>
<div class="titlebox">
<div class="titlebox__titlebox">
<div class="titlebox__titleborderbox2" />
<div class="titlebox__titleborderbox3" />
<div class="titlebox__titleborderbox1">
<h1 class="titlebox__title">
Know Your Teammates!
</h1>
</div>
</div>
</div>
</template>
<style lang="scss">
.titlebox {
&__titlebox {
position: relative;
margin: 120px 0;
display: flex;
justify-content: center;
}
&__titleborderbox1,
&__titleborderbox2,
&__titleborderbox3 {
border: 4px solid #808040;
border-radius: 16px;
background-color: #6040c0;
}
&__titleborderbox1 {
display: flex;
width: 600px;
height: 200px;
justify-content: center;
align-items: center;
z-index: 3;
}
&__titleborderbox2 {
position: absolute;
top: 40px;
width: 720px;
height: 120px;
z-index: 2;
}
&__titleborderbox3 {
position: absolute;
top: 80px;
width: 760px;
height: 40px;
z-index: 1;
}
&__title {
font-size: 64px;
font-family: 'Wendy One';
color: #ffff80;
text-align: center;
}
}
</style>