<template>
  <div class="board_title">
    <div class="trapezoid1"/>
    <div class="trapezoid2"/>
    <div class="trapezoid3">
      <div class="left_half_trapezoid"/>
      <div class="right_half_trapezoid"/>
      <div class="title">
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<script>

export default {
  name: "BoardTitleLarge"
};
</script>

<style scoped>

.board_title {
  width: 100%;
  height: 54px;
}

.trapezoid1::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  margin-left: -75px;
  height: 6px;
  width: 150px;
  background-image: radial-gradient(#00F6F0, transparent 60%);
}

.trapezoid1 {
  position: absolute;
  top: -2px;
  left: 50%;
  margin-left: -108px;
  width: 216px;
  border-top: 54px solid #0D53B7;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
}

.trapezoid2 {
  position: absolute;
  top: -2px;
  left: 50%;
  margin-left: -105px;
  width: 210px;
  border-top: 52px solid var(--global-background-color);
  border-left: 21px solid transparent;
  border-right: 21px solid transparent;
}

.trapezoid3 {
  position: absolute;
  top: -2px;
  left: 50%;
  margin-left: -100px;
  height: 50px;
  width: 200px;
}

.title {
  position: absolute;
  width: 100%;
  font-size: 18px;
  font-family: 黑体,serif;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.2rem;
  white-space: nowrap;
  line-height: 50px;
  color: var(--lightblue-text-color);
}

.left_half_trapezoid {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.left_half_trapezoid::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 110%;
  left: 10px;
  background-image: linear-gradient(to bottom, #0933AD, transparent);
  transform: skewX(20deg);
}

.right_half_trapezoid {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.right_half_trapezoid::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 110%;
  right: 10px;
  background-image: linear-gradient(to bottom, #0933AD, transparent);
  transform: skewX(-20deg);
}

</style>

