BannerTitle.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template>
  2. <LayoutContainer>
  3. <div class="container-title">
  4. <v-col cols="4" class="text-left">
  5. <h1>{{ leftText }}</h1>
  6. </v-col>
  7. <v-col cols="4" class="logiciel">
  8. <h1>{{ centerText }}</h1>
  9. </v-col>
  10. <v-col cols="4" class="text-right">
  11. <h1>{{ rightText }}</h1>
  12. </v-col>
  13. </div>
  14. </LayoutContainer>
  15. </template>
  16. <script setup>
  17. import { defineProps } from 'vue';
  18. const props = defineProps({
  19. leftText: String,
  20. centerText: String,
  21. rightText: String,
  22. });
  23. </script>
  24. <style scoped>
  25. .container-title {
  26. display: flex;
  27. justify-content: space-around;
  28. line-height: 16px;
  29. display: flex;
  30. align-items: center;
  31. text-align: center;
  32. letter-spacing: 0.18em;
  33. border-bottom: 0.1rem solid #eaeaea;
  34. }
  35. .text-left {
  36. position: absolute;
  37. font-weight: 600;
  38. font-size: 2.3rem;
  39. line-height: 85px;
  40. opacity: 0.08;
  41. margin-top: 2rem;
  42. left:-2rem;
  43. margin-bottom: 2rem;
  44. }
  45. .text-right {
  46. position: absolute;
  47. right: -2rem;
  48. margin-top: 2rem;
  49. font-style: normal;
  50. font-weight: 600;
  51. font-size: 2.3rem;
  52. line-height: 85px;
  53. text-align: center;
  54. opacity: 0.08;
  55. margin-bottom: 2rem;
  56. }
  57. .logiciel {
  58. display: flex;
  59. justify-content: space-around;
  60. font-size: 2.3rem;
  61. line-height: 77px;
  62. color: #000000;
  63. text-align: center;
  64. }
  65. </style>