knowyt/client/pages/index.vue
2021-07-30 17:40:35 +02:00

64 lines
1.2 KiB
Vue

<template>
<div class="page-index">
<div class="page-index__titlebox">
<div class="page-index__titleborderbox2" />
<div class="page-index__titleborderbox3" />
<div class="page-index__titleborderbox1">
<h1 class="page-index__title">
Know Your Teammates!
</h1>
</div>
</div>
</div>
</template>
<script>
export default {}
</script>
<style lang="scss">
.page-index {
&__titlebox {
position: relative;
top: 120px;
left: 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 {
color: #e0e080;
font-size: 64px;
text-align: center;
}
}
</style>