BannerTitle.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. const props = defineProps({
  18. leftText: String,
  19. centerText: String,
  20. rightText: String,
  21. });
  22. </script>
  23. <style scoped>
  24. .container-title {
  25. display: flex;
  26. justify-content: space-around;
  27. line-height: 16px;
  28. display: flex;
  29. align-items: center;
  30. text-align: center;
  31. letter-spacing: 0.18em;
  32. border-bottom: 0.1rem solid #eaeaea;
  33. }
  34. .text-left {
  35. position: absolute;
  36. font-weight: 600;
  37. font-size: 2.3rem;
  38. line-height: 85px;
  39. opacity: 0.08;
  40. margin-top: 2rem;
  41. left:-2rem;
  42. margin-bottom: 2rem;
  43. }
  44. .text-right {
  45. position: absolute;
  46. right: -2rem;
  47. margin-top: 2rem;
  48. font-style: normal;
  49. font-weight: 600;
  50. font-size: 2.3rem;
  51. line-height: 85px;
  52. text-align: center;
  53. opacity: 0.08;
  54. margin-bottom: 2rem;
  55. }
  56. .logiciel {
  57. display: flex;
  58. justify-content: space-around;
  59. font-size: 2.3rem;
  60. line-height: 77px;
  61. color: #000000;
  62. text-align: center;
  63. }
  64. </style>