[IMP] theme_*: prevent abuse of h1 and use font size classes

See related community PR.

task-1958098

closes odoo/design-themes#682

Related: odoo/enterprise#44986
Related: odoo/odoo#129791
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Guillaume (gdi)
2023-08-01 17:43:40 +02:00
committed by qsm-odoo
parent 8b45a6dc29
commit 1aa6700c98
22 changed files with 30 additions and 30 deletions
+4 -1
View File
@@ -11,8 +11,11 @@
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="attributes">
<attribute name="class" add="display-1-fs" remove="display-3-fs" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
<font style="font-size: 92px; font-weight: bold;">Once in a lifetime moments</font>
Once in a lifetime moments
</xpath>
<!-- Paragraph -->
<xpath expr="//p" position="replace" mode="inner">
+1 -1
View File
@@ -7,7 +7,7 @@
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2//font" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Love is in the air
</xpath>
<!-- Paragraphs -->
+1 -1
View File
@@ -7,7 +7,7 @@
<attribute name="class" add="o_cc o_cc2" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1//font" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Meet our team
</xpath>
</template>